
CONTENTS
4NX-series Communications Interface Units User’s Manual (W540)
7-3-1 Input Notification Data and Output Notification Data................................................................... 7-6
7-3-2 SIDs and SID Responses ........................................................................................................... 7-7
7-3-3 Input Data Type and Output Data Type ....................................................................................7-10
7-3-4 Send Completed Toggle Bit ...................................................................................................... 7-10
7-4 Examples of Communications between CPU Unit or Communications Master and
CIF Unit................................................................................................................................. 7-13
7-4-1 Example of Sending Data ......................................................................................................... 7-13
7-4-2 Example of Receiving Data....................................................................................................... 7-16
7-4-3 Simultaneously Sending and Receiving Data ...........................................................................7-19
7-4-4 Example for a Parity Error during Data Reception.................................................................... 7-21
7-4-5 Example of Control Command Execution ................................................................................. 7-23
7-5 User Programming to Send Data ....................................................................................... 7-27
7-5-1 Creating and Outputting Output Notification Data..................................................................... 7-27
7-5-2 Checking Input Notification Data............................................................................................... 7-27
7-5-3 Processing Send Data .............................................................................................................. 7-27
7-6 User Programming to Receive Data .................................................................................. 7-28
7-6-1 Checking Input Notification Data............................................................................................... 7-28
7-6-2 Creating and Outputting Output Notification Data..................................................................... 7-28
7-6-3 Determining Conditions to Start Reception and Conditions for the Completion
of the Reception........................................................................................................................ 7-28
7-6-4 Precautions for Writing User Programming to Receive Data .................................................... 7-28
7-7 User Programming to Restart a Port ................................................................................. 7-30
7-8 Communications Performance .......................................................................................... 7-31
7-8-1 Calculating the Communications Performance ......................................................................... 7-31
7-8-2 Adjusting Divided Data Sizes to Improve Communications Performance................................. 7-35
7-8-3 Processing When the Send Buffer or Receive Buffer Becomes Full ........................................ 7-37
Section 8 Serial Line Monitor
8-1 How the Serial Line Monitor Works ..................................................................................... 8-2
8-1-1 Monitor Data Contents ................................................................................................................ 8-2
8-1-2 CIF Serial Line Monitor Tab Page............................................................................................... 8-3
8-1-3 Processing When a Buffer Becomes Full.................................................................................... 8-4
8-1-4 Importing and Exporting Monitor Data ........................................................................................ 8-4
8-1-5 Searching for Text Strings in Monitor Data .................................................................................8-5
8-1-6 Creating CSV Files of Monitor Data............................................................................................ 8-6
8-1-7 Processing for Multiple Units and Ports ...................................................................................... 8-6
8-2 Support Software Operations............................................................................................... 8-7
8-2-1 Displaying the CIF Serial Line Monitor Tab Page ....................................................................... 8-7
8-2-2 Starting and Stopping Monitoring and Displaying Monitor Data.................................................. 8-9
Section 9 Troubleshooting
9-1 How to Check for Errors ....................................................................................................... 9-2
9-2 Checking for Errors with the Indicators .............................................................................. 9-3
9-3 Checking for Errors and Troubleshooting on the Support Software ............................... 9-4
9-3-1 Checking for Errors from the Sysmac Studio.............................................................................. 9-4
9-3-2 Checking for Errors from Support Software Other Than the Sysmac Studio .............................. 9-5
9-3-3 Event Codes for Errors and Troubleshooting Procedures .......................................................... 9-6
9-4 Resetting Errors .................................................................................................................. 9-20
9-5 Troubleshooting Flowchart ................................................................................................ 9-21
Section 10 Maintenance and Inspections