Home
NX-CIF Serial Communications Interface Units User`s Manual
Contents
1. prom Abbrev Signal name I O morg Abbrev Signal name I O A1 SD Send data Output B1 RD Receive data Input A2 RS Request to send Output B2 CS Clear to send Input A3 ER Data terminal ready Input B3 DR Data set ready Output A4 SG Signal ground B4 SG Signal ground A5 NC Not used B5 NC Not used A6 SHLD Shield B6 SHLD Shield A7 NC Not used B7 NC Not used A8 FG Frame ground B8 FG Frame ground NX series Communications Interface Units User s Manual W540 4 Installation and Wiring I NX CIF105 Terminal Arrangement The terminal arrangement of the NX CIF105 is given below cu Abbrev Signal name VO i coa Abbrev Signal name y o A1 SDA Send data Output B1 SDB Send data Output A2 SDA Send data Output B2 SDB Send data Output A3 TER Terminal send data B3 TER Terminal send data SDA SDB 4 A4 RDA Receive data Input B4 RDB Receive data Input A5 RDA Receive data Input B5 RDB Receive data Input A6 TER Terminal receive data B6 TER Terminal receive RDA 2 RDB data
2. A E Le B 1 1 A1 OQ 1 eo 2 2 C IN A2 B2 Ld E 3 A3 O OI B3 z Le re 3 4 O O B4 8 es E A5 O B5 3 6 6 6 O OI Be 7 7 LEE AT OOB o Ai 2 8 y EMI 1 A A8 B8 gt z 3 m LLULIUBGGCOA YOCCLLLLOXOOCLnN o Letter Name Description 2 A Terminal number The terminal numbers are given by column letters A and B and row numbers 1 indication to 8 a The combination of the column and row gives the terminal numbers from A1 to aN A8 and B1 to B8 amp B Release hole Insert a flat blade screwdriver into this hole to connect and remove the wire C Terminal hole The wire is inserted into this hole D Ground terminal This mark indicates the ground terminals mark NX series Communications Interface Units User s Manual W540 3 3 3 Part Names and Functions 3 1 2 NX CIF210 This section gives the names of the parts of the NX CIF210 and describes the functions of the parts 00000 oooo p 9 ows e C E C J Letter Name Description A Marker attachment loca This is where the markers are attached OMRON markers are tion pre installed at the factory You can also install commercially available markers B NX bus connector This conn
3. Index hex Subindex hex I O entry name NX object name 6000 01 Ch1 Port Status Port Status 02 Ch1 Input SID Input SID 03 Ch1 Output SID Response Output SID Response 04 Ch1 Input Data Type Input Data Type 05 Ch1 Input Sub Info Input Sub Info 06 Ch1 Input Data Length Input Data Length 07 to 1A Ch1 Input Data 1 to 20 Input Data 01 to 20 6001 01 Ch2 Port Status Port Status 02 Ch2 Input SID Input SID 03 Ch2 Output SID Response Output SID Response 04 Ch2 Input Data Type Input Data Type 05 Ch2 Input Sub Info Input Sub Info 06 Ch2 Input Data Length Input Data Length 07 to 1A Ch2 Input Data 1 to 20 Input Data 01 to 20 7000 01 Ch1 Output SID Output SID 02 Ch1 Input SID Response Input SID Response 03 Ch1 Output Data Type Output Data Type 04 Ch1 Output Sub Info Output Sub Info 05 Ch1 Output Data Length Output Data Length 06 to 19 Ch1 Output Data 1 to 20 Output Data 01 to 20 7001 01 Ch2 Output SID Output SID 02 Ch2 Input SID Response Input SID Response 03 Ch2 Output Data Type Output Data Type 04 Ch2 Output Sub Info Output Sub Info 05 Ch2 Output Data Length Output Data Length 06 to 19 Ch2 Output Data 1 to 20 Output Data 01 to 20 NX series Communications Interface Units User s Manual W540 OLZ3IO XN 104 suoneo2yi2eds eed O I Z S 5 I O Data Specifications NX series Communications Interface Units User s Manual W540 Unit Settings This sec
4. Down Wiring Double check all switches and other settings and double check all wiring to make sure that they are correct before turning ON the power supply Use the correct wiring parts and tools when you wire the system Observe the following precautions when you wire communications cables The communications cables may be broken or the Units may malfunction a Do not fold communications cables b Do not pull on communications cables with excessive force Secure communications cables so that they are not pulled on excessively c Do not place heavy objects on top of communications cables For a terminal block cable ties can be used to secure the communications cable When wiring or installing the Units do not allow metal fragments to enter the Units 16 NX series Communications Interface Units User s Manual W540 Precautions for Safe Use Do not press the flat blade screwdriver straight into the release holes on a screwless clamping termi nal block Doing so may break the terminal block NG OK he me When you insert a flat blade screwdriver into a release hole on a screwless clamping terminal block press it down with a force of 30N or less Applying excessive force may damage the terminal block Do not incline or twist the flat blade screwdriver while it is in a release hole on a screwless clamping terminal block Doing so may damage the terminal block NG NG
5. Communi Step Process Communications master processing cations CIF Unit processing direction 4 Input The communications master The CIF Unit inputs the following input noti ting receives the input notification data fication data to pass 456 to the communica 456 given on the right tions master Discard The communications master knows At the same time the CIF Unit tells the ing 456 that the CIF Unit detected the end of communications master that the end of the the receive data because the End receive data was detected Detected n the Port Status in the Port Status 3012 hex End was detected input notification data is TRUE c Input SID 06 hex Incremented The communications master dis EN SID 03 hex i esponse cards 456 because it is part of the input Data Type 2000 hex This is the final receive data for which a parity error Input Sub Info 0000 hex receive data occurred Input Data Length 0003 hex 3 bytes Input Data 01 34 hex 456 35 hex 36 hex 00 hex 5 Input The communications master outputs The CIF Unit receives the output notification response the following output notification data to data given on the left for 456 tell the CIF Unit that 456 was received The CIF Unit knows that 456 was normally normally received by the communications master Output SID 03 hex because the Input SID Response in the out Input SID 06 hex Setthe Input put notification data is 06 hex
6. Event name Non volatile Memory Hardware Error Event code 00200000 hex Meaning An error occurred in non volatile memory Depends on where the Sysmac NX Unit When power is SN Source Detection Source Studio is connected and the details sis turned ON to System configuration the NX Unit Minor fault Restart the System Slave Terminal Error attributes Level Recovery and then reset Log category all errors in Controller Effects User program Continues Operation Writing to non volatile memory will not be possible System defined Variable Data type Name variables None Cause and Assumed cause Correction Prevention correction Non volatile memory failure Replace the NX Unit None Attached None information Precautions None Remarks NX series Communications Interface Units User s Manual W540 Control Parameter Error in Master Depends on where the Sysmac Studio is connected and the system configuration Minor fault NX Unit When the 9 Troubleshooting 10410000 hex An error occurred in the control parameters that are saved in the master When power is turned ON to the NX Unit System fail soft opera tion for the Communica tions Coupler Unit is set to stop restart the NX Unit and then reset all errors in Con troller When the fail soft opera tion for the Communica tions Coupler Unit is set to fail soft restart the
7. CO N MD om A o N oO 230 400 bps Subindex Obisetaane Daisirande Data I O alloca hex J g type tion Signal Wire Ch1 Signal Wire 1 0 or 1 USINT 1 Only the NX CIF105 which has an RS 422A 485 port has this object This object does not exist in the NX CIF101 RW NX series Communications Interface Units User s Manual W540 A 13 Appendices The following table gives the meanings of the set values for the Ch1 Signal Wire Set value Description 0 2 wire 1 4 wire Subindex 0 allo hex cation 5003 Data Bit Length m Lu 01 Ch1 Data Bit Length 0 or 1 USINT RW No Y The following table gives the meanings of the set values for the Ch1 Data Bit Length Set value Description 0 7 bits 1 8 bits Subindex I O allo hex cation 5004 Parity 01 Ch1 Parity 1 0 to 2 USINT RW No Y The following table gives the meanings of the set values for the Ch1 Parity Set value Description 0 9 Nome 1 Even 2 Odd Subindex I O allo hex cation 5005 Stop Bits um SEE 01 Ch1 Stop Bits 0 0 or 1 USINT RW No Y The following table gives the meanings of the set values of the Ch1 Stop Bits Set value Description 0 2 bits 1 1 bit A 14 NX series Communications Interface Units User s Manual W540 Appendices Subindex Data Tan de Data 0 allo
8. Data Index Subinde Object name Default Data range Unit Data Access Vo ud attri hex hex type cation bute 7001 Ch2 Output Data gt 00 Ch2 Number of Entries 6 1 to 15 USINT RO No il 01 Ch2 Output SID 00 hex USINT RW Yes a 02 Ch2 Input SID 00 hex USINT RW Yes S Response al 03 Ch2 Output Data Type 0000 hex WORD RW Yes E See below for details and n BOOL 04 Ch2 Output Sub Info 0000hex WORD RW Yes See below for details A 05 Ch2 Output Data 0 UINT RW Yes Length bytes 06 to 19 Ch2 Output Data 01 to 00 hex ARRAY RW Yes 20 4 x4x20 0 3 OF BYTE 1 The Output SID is incremented each process data communications cycle from 01 hex to FF hex It returns to 01 hex after FF hex If the Output SID is not changed from the previous transmission it means there is no change to the output data or that there is no output data 2 This is the operating status of the communications master 00 hex Not ready to receive Not 00 hex Ready to receive The value is the Output SID of the PDO that the communications master received last 3 If the set value exceeds 80 a setting of 80 bytes will be used OLZAIO XN 94 40 SjoefqO XN v 4 This is the send data that the CIF Unit sent to the serial line or the control command for the CIF Unit You can change the numb
9. 1 This object is valid when the reception completion condition is set to the number of characters to determine the end NX series Communications Interface Units User s Manual W540 Index hex 500B Index hex 5011 Appendices z Data Subingex Object name Default Data range Unit Daa Access uo allo attri hex type cation bute Initial RS Signal Value 01 Ch1 Initial RS Signal 0 0 or 1 USINT RW No Y Value 02 Ch2 Initial RS Signal 0 0 or 1 USINT RW No Y Value The following table gives the meanings of the set values for the Ch1 Initial RS Signal Value and Ch2 Initial RS Signal Value Set value Description 0 OFF 1 ON Data Subindex Object name Default Data range Unit Data Access ye alle attri hex type cation bute Start Serial Line Moni tor 01 Ch1 Start Serial Line 0 to 2 1 BYTE RW No Monitor 02 Ch2 Start Serial Line 0 to 2 1 BYTE RW No Monitor 1 You can write 1 or 2 as the set value If you read the value a value of 0 is always read Index hex 5012 s Data Subimdex Object name Default Data range Unit Data Access ie alle attri hex type cation bute Stop Serial Line Moni tor 01 Ch1 Stop Serial Line 0 or 1 BYTE RW No Monitor 02 Ch2 Stop Serial Line
10. A 3 3 NX Objects for the NX CIF210 gt Unit Information Object o This object gives the product information s x Data 2 Indexi iSubindEx Object name Default Data range Unit Data Access I2 allo attri A hex hex type cation a bute 1000 NX Bus Identity Infor mation A 00 Number of Entries 7 7 USINT RO No 02 Model il ARRAY RO No 0 11 OF T BYTE amp 04 Product Code 2 UDINT RO No 05 Vendor Code 00000001 UDINT RO No S hex 3 2 06 Unit Version 4 UDINT RO No g 07 Serial Number 5 00000000 to UDINT RO No 3 FFFFFFFF hex o 1001 Production Info Y 00 Number of Entries 4 4 USINT RO No e 01 Lot Number 6 00000000 to UDINT RO No FFFFFFFF hex 02 Hardware Version T ARRAY RO No 0 19 OF BYTE 03 Software Version ae ARRAY RO No 0 19 OF BYTE 1 This returns the model of the Unit in ASCII If all 12 bytes are not required the remaining bytes are filled with spaces 20 2 The product codes are assigned for each product model Bits 0 to 31 Product code 8 OMRON s vendor code 4 Bits 24 to 31 Integer part of the unit version Bits 16 to 23 Decimal part of the unit version Bits 0 to 15 Reserved Example for version 1 0 01000000 hex 5 The unique serial number of the product is giv
11. 1 5 Unit mm NX series Communications Interface Units User s Manual W540 Appendices e Installation Heights suoisuaulig Y gt OLCJ3IO XN c rv Unit mm NX series Communications Interface Units User s Manual W540 A 3 Appendices A 2 Changing NX Objects from a User Program If an NJ series CPU Unit is used as the communications master you can change the NX objects of a CIF Unit from a user program A 2 1 NX Objects That You Can Change Only writable NX objects for a CIF Unit can be changed from the user program Refer to A 3 2 NX Objects for the NX CIF101 and NX CIF105 on page A 6 for details on NX objects for CIF Units Writable NX objects are indicated in the NX object lists by RW in the Access column A 2 2 Procedure to Change NX Objects Use the following procedure to change an NX object 1 Use the NX ChangeWriteMode Change to NX Unit Write Mode instruction to change the specified CIF Unit to the mode that enables writing NX objects Use the NX WriteObj Write NX Unit Object instruction to change the value of the NX object 3 Use the NX SaveParam Save NX Unit Parameters instruction to save the values of the NX objects of the CIF Unit Use the RestartNXUnit Restart NX Unit instruction to restart the specified CIF Unit NX series Communications Interface Units User s Manual W540 Appendices A 3 List of NX Objects This se
12. 0 00 000s 4 6 4 4 2 Connecting to Serial Communications Devices 4 9 4 4 3 Examples of Recommended RS 232C and RS 422A 485 Wiring 4 13 NX series Communications Interface Units User s Manual W540 4 1 4 Installation and Wiring 4 1 Installing NX Units Refer to the section on installation in the user s manual for the connected Communications Coupler Unit for information on installing NX Units including CIF Units 4 2 NX series Communications Interface Units User s Manual W540 4 Installation and Wiring 4 2 Wiring the Power Supply and Ground to the Slave Terminal Refer to the section on wiring in the user s manual for the connected Communications Coupler Unit for information on wiring the power supply and ground to the Slave Terminal to which the CIF Unit is con nected ES Additional Information An I O power supply is not required for a CIF Unit An I O power supply is wired only when there is an NX Unit that requires an I O power supply in the Slave Terminal Normally the FG terminal on a CIF Unit must be grounded However if the DIN Track to which the Slave Terminal is installed is conductive the FG terminal on the CIF Unit will be electrically in contact with the DIN Track so wiring the FG terminal is not necessary Jeuiuua 9Ae S eu oj punog pue Ajddng 1ewog eui BuulM Z Y NX series Communications Interface Units User s Manual W540 4 3 4 Installation and Wiri
13. Setting range 0000 to 2710 hex 0 to 10 000 decimal The number of characters to determine the end is not set if 0000 hex is specified Unit 0 1 character 1 For example if 0064 hex 100 decimal is specified the number of characters to determine the end is 10 b The following table gives the Output Sub Info when the Change Communications Setup control command is specified If any of the set values is out of range 0003 hex setting out of range error is returned in the Input Sub Info from the CIF Unit Bit Item name Description 00 to 03 Baud Rate bps 0 hex No change 1 hex 1 200 2 hex 2 400 3 hex 4 800 4 hex 9 600 5 hex 19 200 6 hex 38 400 7 hex 57 600 8 hex 115 200 9 hex 230 400 04 to 05 Data Length bits 0 hex No change 1 hex 7 2 hex 8 06 to 07 Parity 0 hex No change 1 hex No parity 2 hex Even 3 hex Odd 08 to 09 Stop Bits bits 0 hex No change 1 hex 2 2 hex 1 10 to 11 Flow Control Method 0 hex No change 1 hex No flow control 2 hex RS CS flow control 3 hex Xon Xoff control 12 to 13 Flow Control Target 0 hex No change 1 hex Send receive 2 hex Send only 3 hex Receive only 14 to 15 Initial RS Signal Value 0 hex No change 1 hex ON 2 hex OFF 1 The NX CIF105 port is RS 422A 485 You cannot use RS CS flow control If you specify RS CS flow control for the NX CIF 105 a setting out of range error 0003 hex will occur 2 This item is not va
14. Shell SHLD Shield NX series Communications Interface Units User s Manual W540 4 Installation and Wiring 4 4 2 Connecting to Serial Communications Devices You can use the following connection forms to connect a CIF Unit to one or more serial communications devices Model number Connection form NX CIF101 or 1 1 NX CIF210 S Serial communications D CIF Unit device k H RS 232C s Es NX CIF 105 1 1 pi o Serial communications 3 CIF Unit device RS 422A 485 3 8 1 N S o CIF Unit SOR omania RS 422A 485 Turn ON the terminating Dog resistance y Turn ON the terminating resistance j Examples of 1 1 Connections to an RS 232 Port Connection Examples for E5CK Digital Controllers RS 232C terminal block on E5CK RS 232C terminal NX CIF101 NX CIF210 block on EBCK EN w m KCN SOOINEQ suoneoiunuiulo jenes oj BugoeuuoS Z p p 2 J A 02 s oR psf os ae NX CIF101 NX CIF210 NX series Communications Interface Units User s Manual W540 4 9 4 Installation and Wiring Connection Examples to a Host Computer RS 232C connector RS 232C connector NX CIF 101 on host computer NX CIF210 on host computer Terminal No Signal Shield ee S T eee Shield 2 m f 3 Ee 2 D 20 ER 4 RS 5 S 7 G V 15 T2 17 RT 22 Cl 1 FG S C S C S S NX CIF101 NX CIF210 Connection Examples to a Host Computer with RS C
15. f you use reed switches for the input contacts for AC Input Units use switches with an allowable cur rent of 1 A or greater If the capacity of the reed switches is too low inrush current may fuse the con tacts i Power Supply Design Use all Units within the I O power supply ranges that are given in the specifications Supply sufficient power according to the contents of this manual Use the power supply voltage that is specified in this manual Do not apply voltages that exceed the rated value to any Input Unit Do not apply voltages or connect loads to the Output Units or slaves in excess of the maximum rat ings Inrush current occurs when the power supply is turned ON When selecting fuses or breakers for external circuits consider their fusing and detection characteristics as well as the above precautions and allow sufficient margin in shut off performance Install external breakers and take other safety measures against short circuiting and overcurrents in external wiring i Turning ON the Power Supply When you set the Operating Mode at Startup confirm that no adverse effect will occur in the system I Actual Operation Before you start operation always register the NX Units that are connected to the Communications Coupler Unit in the host communications master as the Unit configuration information Check the user program data and parameter settings for proper execution before you use them for ac
16. Ch1 Input SID Ch1 Output SID Response Ch1 Input SID Ch1 Output SID Response N1 Ch1 Input SID N1 Ch1 Output SID Response Ch1 Input Data Type Ch1 Input Data Type N1 Ch1 Input Data Type Ch1 Receive Command Flag Ch1 Receive Command Flag N1 Ch1 Receive Command Flag Ch1 Receive Data Flag Ch1 Receive Data Flag N1 Ch1 Receive Data Flag Ch1 Receive Last Data Flag Ch1 Receive Last Data Flag N1 Ch1 Receive Last Data Flag Ch1 Receive Data Error Ch1 Receive Data Error N1 Ch1 Receive Data Error Flag Flag Flag Ch1 Input Sub Info Ch1 Input Sub Info N1 Ch1 Input Sub Info Ch1 Input Data Length Ch1 Input Data Length N1 Ch1 Input Data Length Ch1 Input Data 01 Ch1 Input Data 01 N1 Ch1 Input Data 01 Ch1 Input Data 02 Ch1 Input Data 02 N1 Ch1 Input Data 02 Ch1 Input Data 03 Ch1 Input Data 03 N1 Ch1 Input Data 03 Ch1 Input Data 04 Ch1 Input Data 04 N1 Ch1 Input Data 04 Ch1 Input Data 05 Ch1 Input Data 05 N1 Ch1 Input Data 05 NX series Communications Interface Units User s Manual W540 sojdwes Bulmweibolg Y Y gt sejduieg BuiuueJ60Jg e 0 UOWLUOD Swed L tp Vv Appendices A 4 2 Programming Sample 1 Restarting CIF Unit Ports The port on the CIF Unit is restarted to prepare to send or receive data You use the Restart Port control command in the Output Data Type object to restart a port Refer to A 3 List of NX Objects on page
17. Maximum communications 45 5 1 2006 155 distance m Connection configuration 1 1 1 N 1 1 Maximum value of N is 32 O refreshing method Free Run refreshing only PDO data size bytes Inputs or outputs 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 or 80 Transmission buffering enable disable set Enabled or disabled ting Functions to back up data Provided Terminating resistance setting Possible Isolation method No isolation Power supply trans No isolation former and photo coupler Signals Digital isola tors Power consumption 900 mW max 1 450 mW max 950 mW max Weight 66 g max 69 g max 91 g max 1 Setting is possible in the Unit operation settings of the Sysmac Studio 2 You cannot set RS CS flow control for the NX CIF105 3 This is the value of the RS signal when the port enters the Operational state or immediately after the port is restarted The initial value is disabled when RS CS flow control is set It is also disabled for the NX CIF105 NX series Communications Interface Units User s Manual W540 suoneoyioeds Z SHUN jenpiuipu jo suoneoyioeds z L z 2 Specifications and Application Procedures 4 5 6 Ta This setting is provided for communications protocols that assume the end of the data if data is not received for a specific period of time For example if the number of characters to determine the
18. Data I O entry name Size bytes Input data Ch1 Input Data 01 to 05 20 Output data Ch1 Output Data 01 to 05 20 A 30 NX series Communications Interface Units User s Manual W540 i I O Map The following I O map settings are made from the Sysmac Studio Appendices Unit I O port Description Name NX ECC201 NX Unit I O Data Active Sta NX Unit I O Data Active Sta E001 NX Unit IO Data Active S tus 125 tus tatus 125 NX CIF 101 Ch1 Output SID Ch1 Output SID N1 Ch1 Output SID Ch1 Input SID Response Ch1 Input SID Response N1 Ch1 Input SID Response Ch1 Output Data Type Ch1 Output Data Type N1 Ch1 Output Data Type Ch1 Send Command Flag Ch1 Send Command Flag N1 Ch1 Send Command Flag Ch1 Send Data Flag Ch1 Send Data Flag N1 Ch1 Send Data Flag Ch1 Send Last Data Flag Ch1 Send Last Data Flag N1 Ch1 Send Last Data Flag Ch1 Output Data Length Ch1 Output Data Length N1 Ch1 Output Data Length Ch1 Output Data 01 Ch1 Output Data 01 N1 Ch1 Output Data 01 Ch1 Output Data 02 Ch1 Output Data 02 N1 Ch1 Output Data 02 Ch1 Output Data 03 Ch1 Output Data 03 N1 Ch1 Output Data 03 Ch1 Output Data 04 Ch1 Output Data 04 N1 Ch1 Output Data 04 Ch1 Output Data 05 Ch1 Output Data 05 N1 Ch1 Output Data 05 Ch1 Send Completed Tog gle Bit Ch1 Send Completed Tog gle Bit N1 Ch1 Send Completed Toggle Bit
19. Setthe Output the Output SID Response in the input Response SOOT SID D nput Data Type ex notification data is 01 hex Input Sub Info 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex 5 The communications master outputs the The CIF Unit receives the output notification following empty output notification data data given on the left Not Output SID 01 hex __ incremented Input SID 00 hex Response Output Data 0000 hex Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 6 Response The communications master receives The CIF Unit inputs the following input reception the input notification data given on the notification data to notify the communica right tions master of the response The communications master knows Port Status 0010 hex that the port was restarted normally Input SID O1hex Incremented because the Input Data Type in the Output SID 01hex Setthe Output input notification data is 0201 hex Response SID Input Data Type 0201 hex Response Input Sub Info 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex 7 24 NX series Communications Interface Units User s Manual W540 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 7 Checking The communications master ou
20. hex g type cation 5006 Flow Control 01 Ch1 Flow Control O 0 t0 2 USINT RW No Y The following table gives the meanings of the set values for the Ch1 Flow Control Set value Description 0 None 1 RS CS flow control 2 Xon Xoff control Data l i D l llo Dex psubindex Object name Default Datarange Unit ata Access ee attri hex hex type cation bute 5007 Flow Control Target 01 Ch1 Flow Control 0 0 to 2 USINT RW No Y Target The following table gives the meanings of the set values for the Ch1 Flow Control Target Set value Description 0 Transmission and reception 1 Transmission 2 Reception A Data iex a SUBIT dax Object name Default Datarange Unit Data Access s alloca attri hex hex type tion bute 500A Number of Characters to Determine the End 01 Ch1 Number of Char 0 Oto 10 000 0 1 UINT RW No Y acters to Determine char the End acter 1 This object is valid when the reception completion condition is set to the number of characters to determine the end NX series Communications Interface Units User s Manual W540 sjoefqo XN Jo 1s 1 V gt GOLAIO XN Pue LOLJIO XN 8U JO Sji2e qO XN Z V Appendices Data Index oe ox Object name Default Data range Unit Data Access ue alle attri hex he
21. s Manual W540 Sections in this Manual Sections in this Manual Maintenance and Inspections Features and System Configuration Specifications and Application Procedures Part Names and Functions Installation and Wiring Appendices I O Data Specifications Unit Settings Serial Communications Serial Line Monitor Troubleshooting NX series Communications Interface Units User s Manual W540 31 32 Sections in this Manual NX series Communications Interface Units User s Manual W540 Features and System Configura tion ea This section describes the features of the Communications Interface Units and the sys tem configuration in which the Communications Interface Units are used 1 1 1 2 1 3 Features of Communications Interface Units 1 2 System Configuration 0 ccc eee nnn 1 3 Unit Models Functions and Support Software 1 5 1 3 1 Unit Model Numbers 0 0 0 0 0 0 ccc es 1 5 153 2 FUNGUONS 15 REPETIT ER C Ud 1 5 1 3 3 Support Software 0 0 eer 1 5 NX series Communications Interface Units User s Manual W540 1 1 1 Features and System Configuration 1 1 Features of Communications Inter face Units The NX series Communications Interface Units hereafter called CIF Units provide the following fea tures Features as Sysmac Devices The CIF Units are classified as Sy
22. 0014 hex 20 bytes Input Data 01 to 41 hex AtoT 05 42 hex 53 hex 54 hex The above input notification data is held until the communications master sends out put notification data in which the Input SID Response is 01 hex 3 Input The communications master outputs The CIF Unit receives the output notification response the following output notification data to data given on the left forAtoT tell the CIF Unit that ABCDEFGHI The CIF Unit knows that ABCDEFGHI JKLMNOPQRST was received nor JKLMNOPQRST was normally received by mally the communications master because the Output SID 02 hex Input SID Response in the output notifica Input SID O01hex Setthe Input tion data is 01 hex Response SID Output Data 0000 hex Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 4 Input The communications master The CIF Unit inputs the following input noti ting receives the input notification data fication data to pass UVWXYZ to the com string given on the right munications master UVWXY The communications master knows Atthe same time the CIF Unit tells the Z that the CIF Unit detected the end of communications master that the end of the Notifica the receive data because the End receive data was detected tion of Detected in the Port Status in the Port Status 3010 her Ena was delected end input notification data is TRUE Input SID 02 hex Incremented detec Output
23. 7 4 4 Example for a Parity Error during Data Reception This section gives an example of a parity error in the third character when a 6 byte string 123456 was received Here we will assume that the input notification data and output notification data are in the following sta tus before the data is received Input Notification Data NX object name Value Port Status 8012 hex Input SID 04 hex Output SID Response 03 hex Input Data Type 2000 hex Input Sub Info 0000 hex NX series Communications Interface Units User s Manual W540 7 Serial Communications NX object name Value Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex Output Notification Data NX object name Value Output SID 03 hex Input SID Response 04 hex Output Data Type 0000 hex Output Sub Info 0000 hex Output Data Length 0000 hex Output Data 01 00 hex 00 hex 00 hex 00 hex Communi Step Process Communications master processing cations CIF Unit processing N direction 2 1 Receiv The CIF Unit receives 123456 from the 8 ing serial line 9 123456 A parity error is detected E 2 Input The communications master The CIF Unit inputs the following input noti S ting 12 receives the input notification data fication data to pass 12 to the communica 9 Discard given on the right tions master 9 ing 12 The communications master
24. A7 SG Signal ground B7 SG Signal ground A8 FG Frame ground B8 FG Frame ground 1 For a two wire connection terminating resistance is turned ON when TERSDA is connected to TERSDB 2 For a four wire connection terminating resistance is turned ON when TERRDA is connected to TERRDB 3 The SG terminals are internally connected to the 0 V line inside the Unit It is normally not necessary to con nect the SG terminals However it may be possible to increase noise immunity by connecting the communi cations cables to the SG terminals H Precautions for Correct Use If you use the RS 422A 485 port check the polarity before you connect the cable The polarity of the SDA SDB and RDA RDB terminals and signals are reversed for some remote devices If the polarity is not correct malfunctions may occur NX series Communications Interface Units User s Manual W540 suoneoiunuiuo BuulM Y Y jueujeBueuy jeuiuue L p p 4 Installation and Wiring Arrangement of D sub Connector Pins on NX CIF210 The arrangement of the D sub connector pins on the NX CIF210 are given in the following table 5 CN 9 id o o o o o o M Oo 1 mm 6 Pin No Abbrev Signal name I O 1 Not used 2 RD Receive data Input 3 SD Send data Output 4 ER Data terminal ready Output 5 SG Signal ground 6 DR Data set ready Input 7 RS Request to send Output 8 CS Clear to send Input 9 Not used
25. Limitations of Liability i Warranties Exclusive Warranty Omron s exclusive warranty is that the Products will be free from defects in materials and workman ship for a period of twelve months from the date of sale by Omron or such other period expressed in writing by Omron Omron disclaims all other warranties express or implied Limitations OMRON MAKES NO WARRANTY OR REPRESENTATION EXPRESS OR IMPLIED ABOUT NON INFRINGEMENT MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OF THE PRODUCTS BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE Omron further disclaims all warranties and responsibility of any type for claims or expenses based on infringement by the Products or otherwise of any intellectual property right e Buyer Remedy Omron s sole obligation hereunder shall be at Omron s election to i replace in the form originally shipped with Buyer responsible for labor charges for removal or replacement thereof the non com plying Product ii repair the non complying Product or iii repay or credit Buyer an amount equal to the purchase price of the non complying Product provided that in no event shall Omron be responsible for warranty repair indemnity or any other claims or expenses regarding the Products unless Omron s analysis confirms that the Products were properly handled stored installed and maintained and not subject to contamina
26. N1 Ch1 Send Completed Toggle Bit Set Output SID ExpectedOutputSID zN1 Chil Output SID 1 IF ExpectedOutputSID USINT 0 THEN ExpectedOutputSID USINT41 If Output SID is 0 set 1 END IF N1 Ch1 Output SID ExpectedOutputSID SendStage INT 2 Transition to confirmation of send request completion 2 Confirm completion of send request from CIF Unit Confirm Output SID Response IF ExpectedOutputSID N1 Ch1 Output SID Response THEN Clear Output Data Type N1 Ch1 Send Data Flag FALSE N1 Ch1 Send Last Data Flag FALSI IM IF LastDatFlag TRUE THEN SendStage INT 3 Transition to confirmation of send completion ELSE SendStage INT 1 Transition to send request END IF END IF 3 Confirm completion of sending data on the serial line Check Send Completed Toggle Bit IF N1 Ch1 Send Completed Toggle Bit lt gt PreSendCompletedToggle THEN SendStage INT 0 Transition return to initial status END IF END CASE NX series Communications Interface Units User s Manual W540 A 37 sojdwes Hulmwesbolg Y Y gt geq 8uipues z ajdwes Buluwesboldg p v Appendices A 4 4 Programming Sample 3 Receiving Data This sample receives data that was sent from the serial communications device fl Procedure This programming sample is for the example given in 7 4 2 Example of Receiving Data on page 7 15 The p
27. N1 Ch1 Output Data 03 ARRAY 0 3 OF Ch1 Output Data 03 BYTE N1_Ch1_Output_Data_04 ARRAY 0 3 OF Ch1 Output Data 04 BYTE N1_Ch1_Output_Data_05 ARRAY 0 3 OF Ch1 Output Data 05 BYTE N1_Ch1_Output_Data_Length UINT Ch1 Output Data Length N1 Ch1 Output SID USINT Ch1 Output SID N1 Ch1 Output SID Response USINT Ch1 Output SID Response N1 Ch1 Output Data Type WORD Ch1 Output Data Type N1 Ch Send Completed Toggle Bit BOOL Ch1 Send Completed Toggle Bit N1 Ch Send Data Flag BOOL Ch1 Send Data Flag N1 Ch1 Send Last Data Flag BOOL Ch1 Send Last Data Flag E001 NX Unit IO Data Active Status 125 ARRAY 0 125 OF NX Unit I O Data Active Status BOOL i ST Program Restore default program status using establishing communications as the trigger InitialRequestTrigger R TRIG instance E001 NX Unit I O Data Active Status 125 1 InitialRequestTrigger IF InitialRequestTrigger TRUE THEN SendStage INT 0 Initialize END_IF If send processing is not in progress and SendRequest is TRUE request send SendRequest R TRIG instance SendRequest SendRequestTrigger IF SendRequestTrigger TRUE AND E001 NX Unit I O Data Active Status 125 1 TRUE AND SendStage INT 0 THEN Set the text string to send TestDat ABCDEFGHIJKLMNOPORSTUVWXYZ Set the send data and send data size SendSize StringToAry TestDat SendDat 0 SendDatOffset 0 SendStage INT 1 Transition to send request END_
28. OR CIFCmdCode N1 Ch1 Send Command Flag TRU Ei Set Output SID ExpectedOutputSIDResponse N1_Ch1_Output_SID 1 IF ExpectedOutputSIDResponse USINT 0 THEN ExpectedOutputSIDResponse USINT 1 If Output SID is 0 set 1 END_IF SHOd HUN 419 Bunsejsey ejduieg Bulwwes6olg Z p V N1_Ch1_Output_SID ExpectedOutputSIDResponse CmdStage INT 3 Transition confirm completion of Restart Port request END_IF 3 Confirm completion of Restart Port request IF ExpectedOutputSIDResponse N1_Ch1_Output_SID_Response THEN Clear Output Data Type N1 Ch1 Send Command Flag FALSE CmdStage INT44 Transition to confirmation of reception of Restart Port response END IF 4 Confirm reception of Restart Port response Confirm update of Input SID IF N1 Chl Input SID Response lt gt N1 Chl Input SID THEN Check for command response IF N1 Ch1 Receive Command Flag TRUE THEN Check command response code IF N1 Ch1 Input Sub Info WORDf 1630000 THEN Clear Output SID after normal completion to Restart Port ExpectedOutputSIDResponse 0 N1 Ch1 Output SID ExpectedOutputSIDResponse CmdStage INT45 Transition to confirmation of completion of clearing Output SID ELSE Error end NX series Communications Interface Units User s Manual W540 A 33 Appendices CmdStage INT 10 Transition to error end END_I
29. One of the following Major fault Major fault level Partial fault Partial fault level Minor fault Minor fault level Observation Information 2 One of the following Automatic recovery Normal status is restored automatically when the cause of the error is removed Error reset Normal status is restored when the error is reset after the cause of the error is removed Cycle the power supply Normal status is restored when the power supply to the Controller is turned OFF and then back ON after the cause of the error is removed Controller reset Normal status is restored when the Controller is reset after the cause of the error is removed Depends on cause The recovery method depends on the cause of the error 3 One of the following System System event log Access Access event log 4 One of the following Continues Execution of the user program will continue Stops Execution of the user program stops Starts Execution of the user program starts 5 System information indicates internal system information that is used by OMRON 6 Refer to the appendices of the NJ series Troubleshooting Manual Cat No W503 for the applicable range of the HMI Troubleshooter NX series Communications Interface Units User s Manual W540 oipnys oeuis S ay uo Bunoouse qnoJ pue sJ0413 104 BuryoeyD e 6 SeJnp 2001g Bunoouse qnoJ pue sJ0JJ3 10 SePOD 1ue 3 Z 6 9 Troubleshooting Error Descriptions
30. Output Notification Data NX object name Value Output SID 03 hex Input SID Response 05 hex Output Data Type 0000 hex Output Sub Info 0000 hex Output Data Length 0000 hex Output Data 01 00 hex 00 hex 00 hex 00 hex Communi q Step Process Communications master processing cations CIF Unit processing i direction g 1 Output The communications master initializes The CIF Unit receives the output notification o SID initial the value of the Output SID to 00 hex data given on the left 3 ization and outputs the following output notifi S cation data 9 Output SID 00 hex Initialization S Input SID 05 hex mn Response x Output Data 0000 hex i Type a Output Sub Info 0000 hex Es ii Output Data 0000 hex Length Output Data 01 00 hex ri 00 hex 00 hex 00 hex The above output notification data is held until the CIF Unit sends the input notification data in which the Output SID Response is 00 hex 2 Response The communications master receives The CIF Unit inputs the following input notifi to initial the input notification data given on the cation data to tell the communications mas ized Out right ter that the initialized Output SID was put SID The communications master knows received normally that initialized Output SID was nor Port Status 0010 hex mally received by the CIF Unit because Input SID 05 hex the Output SID Response in the input c
31. Output SID O0hex Setthe Output Response SID notification data is 00 hex Input Data Type 2000 hex Input Sub Info 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex uonnoex3 pueululo2 oJ1uo2 Jo ejduex3 G r NX series Communications Interface Units User s Manual W540 7 23 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 3 Request The communications master outputs the The CIF Unit receives the output notifica to restart following output notification data to exe tion data given on the left the port cute the Restart Port control command Output SID 01 hex Incremented Input SID 05 hex Response Output Data 0101 hex Restart Port E Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 4 Confirma The communications master receives The CIF Unit restarts the port tion of the input notification data given on the The value of the Input SID is initialized to reception right 00 hex ofthe port icati i The communications master knows Port Status 0010 hex restar that the control command was nor Input SID OO hex Initialization request mally received by the CIF Unit because Output SID 01 hex
32. Precautions for Safe Use ounce teisdest ua ce coc Sasate cL asasessSoccocees pRcopEcapA 15 Precautions for Correct Use eeeeeeeesseeee eese eene enne n nnn nnnm nnn nnn nnn nnn nnn 19 Regulations and Standards ccccccssseeeeeeeeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeseesenseeseeeeeees 21 Conformance to EC Directives cccccccceeceeeeeececeeeeee eee ceeeeeeaeaeesesesaaaeeseeesaaaeaeeeeseaaeaeeeesaeaeaeeeeseeeeaeeeeeeeees 21 Conformance to UL and CSA Standards cccccceceeeeeecee cece eeeee eee eee seceeee sees ceaeeeeeeccaeaeeeesesenaeeeeeeeeeeeeeees 22 Conformance to Shipbuilding Standards 0 cccccceceeeceeeceeecececeeeesenaeceeeeeeeaeceeeeseeeaeeeeeeseneeeeeeeseceeeeeeees 22 Conformance to KC Standards ese eerie Te eee po docte de do de uere dte eee rp Len aves 22 Software Licenses and Copyrights essssessseeeeeene nennen ennemi enne 22 Unit Versions inei prete ip ew Me E eee 23 UNIEVEISIONS RA Cx T 23 Unit Versions and Sysmac Studio Versions sssssssssssssssssseseee eee eene ennt enne 25 Related Mantals coto ee te eee ees 26 Reyision HISIOEV union crie SE INS REIS ID IG aa E CAE AA ect cca 29 Sections in this Manual inrita ccc uina n en Sec genu nen OE MMDSRdkeU dnas NP RUD DA A mnene 31 Section 1 Features and System Configuration 1 1 Features of Communications Interface Units
33. Response SID Output Data 0000 hex Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 1 Output notification data is output from communications master to CIF Unit lt Input notification data is input from CIF Unit to communications master 7 4 5 Example of Control Command Execution This example executes a control command to restart a port When the port is restarted the value of the Input SID is initialized to 00 hex In response to this the communications master must initialize the value of the Output SID In this example the value of the Output SID is initialized before the Restart Port control command is executed in case an unexpected error such as a communications error occurs For a programming sample for this example refer to A 4 2 Programming Sample 1 Restarting CIF Unit Ports on page A 32 Here we will assume that the input notification data and output notification data are in the following sta tus before the control command is executed Input Notification Data NX object name Value Port Status 0010 hex Input SID 05 hex Output SID Response 03 hex Input Data Type 2000 hex NX series Communications Interface Units User s Manual W540 NX object name Input Sub Info Value 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex 7 Serial Communications
34. Source Studio is connected and the PS details timing system configuration Error attributes Level inora Recovery Rese SAO Log category System NX Unit Continues The NX Unit will continue to operate If the internal buffer for received data is full the Effects User program Operation received data is discarded If the internal buffer for transmission data is full the transmission data is discarded System defined Variable Data type Name variables None Assumed cause Correction Prevention If the internal buffer for received Reduce the amount of data sent Reduce the amount of data sent data is full the task period was and received with serial devices and received with serial devices too short to read the received or increase the number of bytes or increase the number of bytes Cause and data assigned to the PDOs assigned to the PDOs correction If the internal buffer for trans mission data is full the trans mission data was too large or there are too many send requests Attached information 1 Port where error occurred 0001 hex Port 1 Attached 0010 hex Port 2 information Attached information 2 Buffer where error occurred 0001 hex Internal buffer for transmission data 0010 hex Internal buffer for received data Precautions Remarks You can change the event level to the observation level NX series Communications Interface Units User s Manual W540 oipn s oeuis S y uo Bunooys jqnos pu
35. The following system configuration is used Item Specification Communications master NJ501 1500 Communications Coupler Unit NX ECC201 CIF Unit NX CIF101 NX Unit number of CIF Unit 1 NJ series CPU Unit NJ501 1500 sejdwes Bulwwesbold e 0 UOWWOD swe L p v ZT ow X Is C C EtherCAT EtherCAT Coupler Unit NX ECC201 P NX CIF 101 qu _ NX Unit number 1 sar Serial communications device NX series Communications Interface Units User s Manual W540 A 29 Appendices i Unit Operation Settings for the CIF Unit The following Unit operation settings are made for the CIF Unit from the Sysmac Studio Refer to Sec tion 6 Unit Settings for the meanings of the settings and the setting procedures Item Setting Baud Rate bps 9 600 Data Bit Length bits 7 Parity Even Stop Bits bits 2 Initial RS Signal Value On Flow Control None Flow Control Target Send receive Number of Characters to Determine the End 35 Transmission Buffering Enable Disable Setting Enabled Event Level Settings All events set to observations i Setting the PDO Sizes The following PDO sizes are set from the Sysmac Studio as the default values Refer to 6 3 Setting the PDO Sizes on page 6 6 for a detailed setting procedure
36. or is alleged to arise from Buyer s acts or omissions under these Terms or in any way with respect to the Products Without limiting the foregoing Buyer at its own expense shall indemnify and hold harmless Omron and defend or set tle any action brought against such Companies to the extent based on a claim that any Product made to Buyer specifications infringed intellectual property rights of another party Property Confidentiality Any intellectual property in the Products is the exclu sive property of Omron Companies and Buyer shall not attempt to duplicate it in any way without the written permission of Omron Notwithstanding any charges to Buyer for engineering or tooling all engineering and tooling shall remain the exclusive property of Omron All information and materials supplied by Omron to Buyer relating to the Products are confidential and proprietary and Buyer shall limit distribution thereof to its trusted employees and strictly prevent disclosure to any third party Export Controls Buyer shall comply with all applicable laws regulations and licenses regarding i export of products or information iii sale of products to forbidden or other proscribed persons and ii disclosure to non citizens of regulated technology or information Miscellaneous a Waiver No failure or delay by Omron in exercising any right and no course of dealing between Buyer and Omron shall operate as a waiver of rights by Omron b Assignment
37. uct in combination with the end product machine system or other application or use Buyer shall be solely responsible for determining appropriateness of the particular Product with respect to Buyer s application product or system Buyer shall take application responsibility in all cases but the following is a non exhaustive list of applications for which particular attention must be given i Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this document ii Use in consumer products or any use in significant quantities iii Energy control systems combustion systems railroad systems aviation Systems medical equipment amusement machines vehicles safety equip ment and installations subject to separate industry or government regulations iv Systems machines and equipment that could present a risk to life or prop erty Please know and observe all prohibitions of use applicable to this Prod uct NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY OR IN LARGE QUANTITIES WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS AND THAT THE OMRON S PRODUCT IS PROP ERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM Programmable Products Omron Companies shall not be responsible for the user s programming of a programmable Product or any consequence thereof Perf
38. 1 I IF N1 Ch1 Receive Data Error Flag TRU OR RcvError TRUE THEN If a receive data error is detected skip the receive data until the end of the serial data is detected RcvSize UINT 0 RcvError TRUE Set the Input SID Response N1 Ch1 Input SID Response N1 Ch1 Input SID ELSIF N1 Ch1 Receive Data Flag TRUE OR Process 2 N1 Ch1 Receive Last Data Flag TRUE THEN When there is no receive data error and there is input data IF RcvlInitialize FALSE THEN Initialize reception process RcvSize UINT40 RcvInitialize TRU RcvDone FALSE END IF geq Bulnisoey ajdwes Bulwwes6olg p p v Gl Get receive data Set the RcvDat array to the following size Maximum receive data size bytes Input PDO size bytes AryMove N1_Ch1_Input_Data_01 0 RcvDat RcvSize UINT 4 AryMove N1_Ch1_Input_Data_02 0 RcvDat RcvSize 4 UINT 4 AryMove N1_Ch1_Input_Data_03 0 RcvDat RcvSize 8 UINT 4 AryMove N1_Ch1_Input_Data_04 0 RevDat RcvSize 12 UINT 4 AryMove N1_Ch1_Input_Data_05 0 RcvDat RcvSize 16 UINT 4 RevSize RcvSize N1_Ch1_Input_Data_Length Set the Input SID Response N1 Ch1 Input SID Response N1 Ch1 Input SID END IF Check for final data Process 3 IF N1 Ch1 Receive Last Data Flag TRUE THEN IF RcvError FALSE THEN If there is no reception
39. 270 273 279 19 200 135 137 140 146 38 400 69 70 73 79 57 600 46 48 51 57 115 200 24 26 29 35 230 400 13 15 18 24 7 32 NX series Communications Interface Units User s Manual W540 7 Serial Communications i Data Reception Times The data reception time is the total of time E and time F in the following diagram The first receive data is immediately sent to the communications master after it is passed from the serial line to the CIF Unit T EF l AAN I I Receive data sent from l I the CIF Unit to the WHH communications master l 1 Receive data on the serial line Definition The time from when the CIF Unit starts receiving data from the serial line until receiving is completed F The time from when the CIF Unit finishes receiving data from the serial line until transferring the data to the communications master is completed Data reception time ms E ms F ms Bits per character E ms x Number of characters x 1 000 Baud rate bps F ms Process data communications cycle ms x Number of I O refreshes 92ueuloJied suoneoiunululo9 9 4 The data reception times are the same as the data send times when transmission buffering is disabled For example the data reception times for various baud rates and process data communications cycles are given in the following table for these parameter values 7 Parameter Value Number
40. 8 Chn Remote Unit Com The remote node is busy The remote node is waiting to Sg munications Status receive data z 9 Chn Local Unit Commu Receive buffer contains 4 097 or Receive buffer contains 511 or nications Status more bytes of data fewer bytes of data o 10 Chn Line Monitoring Flag The serial line monitor is operat The serial line monitor is stopped 2 ing 11 Chn Receive Data Exist Receive buffer contains 1 or more Receive buffer contains O bytes of bytes of data data 12 Chn Parity Error A parity error occurs The parity error is cleared 13 Chn Framing Error A framing error occurs The framing error is cleared 14 Chn Overrun Error An overrun error occurs The overrun error is cleared 15 Chn End Detected An end is detected An end is not detected 1 n in Chn is the port number 2 This status bit is valid when RS CS or Xon Xoff flow control is performed The following table shows the Input Data Type You can access this data as WORD data or BOOL data Bits Description 15 Indicates whether there is an error in the receive data 0 hex There are no errors 1 hex There is an error 12 to 14 Indicates whether there is data received by the CIF Unit from the serial line 0 hex No data received and the end not detected 1 hex Data received and the end not detected 2 hex The end detected Whether there is data received depends on cases m 08 to 11 Indicates whether there is a r
41. 866 986 6766 www omron247 com Cono Sur 54 11 4783 5300 OMRON ELECTRONICS DE MEXICO HEAD OFFICE M xico DF 52 55 59 01 43 00 01 800 226 6766 mela omron com OMRON ELECTRONICS DE MEXICO SALES OFFICE OMRON CHILE SALES OFFICE Santiago 56 9 9917 3920 OTHER OMRON LATIN AMERICA SALES Apodaca N L 52 81 11 56 99 20 01 800 226 6766 mela omron com 54 11 4783 5300 OMRON ELETR NICA DO BRASIL LTDA HEAD OFFICE Sao Paulo SP Brasil 55 11 2101 6300 www omron com br OMRON EUROPE B V Wegalaan 67 69 NL 2132 JD Hoofddorp The Netherlands e 31 0 23 568 13 00 e www industrial omron eu Authorized Distributor Automation Control Systems Machine Automation Controllers MAC Programmable Controllers PLC e Operator interfaces HMI Distributed I O Software Drives amp Motion Controls Servo amp AC Drives Motion Controllers amp Encoders Temperature amp Process Controllers Single and Multi loop Controllers Sensors amp Vision e Proximity Sensors Photoelectric Sensors Fiber Optic Sensors Amplified Photomicrosensors Measurement Sensors Ultrasonic Sensors Vision Sensors Industrial Components RFID Code Readers Relays Pushbuttons amp Indicators e Limit and Basic Switches Timers Counters Metering Devices Power Supplies Safety e Laser Scanners Safety Mats Edges and Bumpers Programmable Safety Controllers Light Curtains Safety Relays Safety
42. 94 40J SjoefqO XN V Appendices Data Index uni ndex Object name Default Data range Unit Data Access ue alle attri hex hex type cation bute 5006 Flow Control 01 Ch1 Flow Control 0 0 to 2 USINT RW No Y 02 Ch2 Flow Control 0 0 to 2 USINT RW No Y The following table gives the meanings of the set values for the Ch1 Flow Control and Ch2 Flow Con trol Set value Description 0 None 1 RS CS flow control 2 Xon Xoff control Data index uiuo Object name Default Data range Unit Data Access HO all attri hex hex type cation bute 5007 Flow Control Target 01 Ch1 Flow Control 0 0 to 2 USINT RW No Y Target 02 Ch2 Flow Control 0 0 to 2 USINT RW No Y Target The following table gives the meanings of the set values for the Ch1 Flow Control Target and Ch2 Flow Control Target Set value Description 0 Transmission and reception 1 Transmission 2 Reception Data lndex oHbIndex Object name Default Data range Unit Data Access ue alee attri hex hex type cation bute 500A Number of characters to determine the end 01 Ch1 Number of Char 0 0 to 10 000 0 1 UINT RW No Y acters to Determine char the End acter 02 Ch2 Number of Char 0 0 to 10 000 0 1 UINT RW No Y acters to Determine char the End acter
43. A 5 for details on each object fi Procedure This programming sample is for the example given in 7 4 5 Example of Control Command Execution on page 7 22 The processes in the table in 7 4 5 Example of Control Command Execution on page 7 22 correspond to the CASE statements in the ST program as follows Step number in control command ER CAGE statement execution example Idle CASE 0 1 Output SID initialization CASE 1 2 Response to initialized Output SID 3 Request to restart the port CASE 2 4 Confirmation of reception of the port restart CASE 3 request 5 n EH 6 Response reception CASE 4 7 Checking response reception 8 Response to initialized Output SID CASE 5 fi Variable Table The following variable table is set from the Sysmac Studio All of the variables that you registered in the I O map are registered as global variables e Internal Variables Name Data type Initial value Comment InitialPortRestartRequestTrigger BOOL FALSE Execution condition to restart port InitialPortRestartRequestTrigger R TRIG instance R_TRIG Instance of R TRIG instruction CIFCmdCode WORD WORD 16 0 Command code CmdStage INT INT O State transition ExpectedOutputSIDResponse USINT USINT 0 Expected value of Out put SID Response External Variables Name Data type Comment N1 Ch1 Input SID Response USINT Ch1 Input SID Response N1 Ch1 Input SID USINT
44. CIF Unit to communications master NX series Communications Interface Units User s Manual W540 sejduiex3 suoneoiunuiuio Odd Y m uonnoex3 pueululo2 oJ1uo2 Jo ejduex3 G p 7 Serial Communications 7 5 User Programming to Send Data To send data user programming in the communications master must include the following processing 7 5 1 Creating and Outputting Output Notification Data The output notification data is created using the send data as the output data and the output notification data is output to the CIF Unit If the send data size is larger than the PDO size the send data must be divided into pieces and multiple output notification data must be created 7 5 2 Checking Input Notification Data User programming must check the contents of the input notification data that is input from the CIF Unit to confirm that the output notification data was correctly received by the CIF Unit 7 5 3 Processing Send Data Depending on the communications protocol of the serial communications device that is the destination of the send data it may be necessary to perform the following processing on the send data Adding the start code Adding the end code Adding a CRC For a programming sample to send data refer to A 4 3 Programming Sample 2 Sending Data on page A 35 7 26 NX series Communications Interface Units User s Manual W540 7 Serial Communications 7 6 User Programming to Receive Data To receive da
45. Ch1 Input SID N1 Ch1 Output SID USINT Ch1 Output SID N1 Ch1 Output SID Response USINT Ch1 Output SID Response N1 Ch1 Input Sub Info WORD Ch1 Input Sub Info N1 Ch1 Output Data Type WORD Ch1 Output Data Type N1 Ch1 Input Data Type WORD Ch1 Input Data Type N1 Ch1 Send Command Flag BOOL Ch1 Send Command Flag N1 Ch1 Receive Command Flag BOOL Ch1 Receive Command Flag E001 NX Unit IO Data Active Status 125 ARRAY 0 125 OF NX Unit I O Data Active Status BOOL A 32 NX series Communications Interface Units User s Manual W540 Appendices i ST Program If I O data communications are possible for CIF Unit at program execution restart port InitialPortRestartRequestTrigger R TRIG instance E001 NX Unit I O Data Active Status 125 1 InitialPortRestartRequestTrigger IF InitialPortRestartRequestTrigger TRUE THEN Set the CIF command code CIFCmdCode WORD 16 0001 0x0001 Restart port CmdStage INT41 Transition to Restart Port request END IF sojdwes BuruiueJBoJd Y Y gt CASE CmdStage OF 0 Idle 1 Clear Output SID ExpectedOutputSIDResponse 0 N1 Ch1 Output SID ExpectedOutputSIDResponse CmdStage INT 2 Transition confirm completion of Restart Port request 2 Request to restart the port IF ExpectedOutputSIDResponse N1 Chi Output SID Response THEN Set Output Data Type N1 Chi Output Data Type N1 Ch1 Output Data Type AND WORDH163FFO0O0
46. Data In this example a 4 byte text string ABCD is sent and a 4 byte text string 1234 is received at the same time It is assumed that the Number of Characters to Determine the End is set Here we will assume that the input notification data and output notification data are in the following sta tus before the data is sent and received Input Notification Data NX object name Value Port Status 8010 hex Input SID 02 hex Output SID Response 02 hex Input Data Type 2000 hex Input Sub Info 0000 hex Input Data Length 0006 hex Input Data 01 55 hex 56 hex 57 hex 58 hex Output Notification Data NX object name Value Output SID 02 hex Input SID Response 02 hex Output Data Type 0000 hex Output Sub Info 0000 hex Output Data Length 0000 hex Output Data 01 00 hex 00 hex 00 hex 00 hex Communi Step Process Communications master processing cations direction 1 Output The communications master outputs ting ABCD the following output notification data to pass ABCD to the CIF Unit Output SID 03 hex Incremented Input SID 02 hex Response Output Data 2000 hex This is the final Type send data Output Sub Info 0000 hex Output Data 0004 hex 4 bytes E Length Output Data 01 41 hex ABCD 42 hex 43 hex 44 hex The above output notification data is held until the CIF Unit sends input noti fication data in which the Output SID
47. Maj Major fault level Prt Partial fault level Min Minor fault level Obs Observation Info Information Symbol Meaning S Event levels that are defined by the system U Event levels that can be changed by the user a 1 This symbol appears only for events for which the user can change the event level Refer to the NJ series Troubleshooting Manual Cat No W503 for all NJ series event codes oipnys oeuis S ay uo Bunoouse qnoJ pue sJ0413 10 BuryoeyD e 6 Event Level Refer Event code ts Meaning Assumed cause Mj Prt Min Obs Info ence 00200000 hex Non vola An error occurred Non volatile memory failure P 9 8 tile Memory in non volatile S Hardware memory Error 10410000 hex Control An error occurred There is an error in the area of P 9 9 Parameter in the control the non volatile memory in the Error in parameters that Communications Coupler Unit in Master are saved in the which the Unit operation set master tings for the NX Unit are saved The power supply to the NX Unit S was turned OFF or Sysmac Stu dio communications were dis connected while writing the Unit operation settings was in prog SeJnp 20014 Bunoouse qnoJ pue sJ0JJ3 10 SePOD 1ue 3 Z 6 ress 40200000 hex NX Unit A fatal error An error occurred in the soft P 9 10 Processing occurred in an NX ware S Error Unit NX series Communications Interface Units User s Manual W540 9 5 9
48. NX Unit in the EtherCAT Slave Terminal Not attaching the End Cover may result in malfunction or failure of the EtherCAT Slave Terminal After you mount the Slave Terminal always install an End Plate on each side of the Slave Terminal to secure the Slave Terminal If you do not secure it the Slave Terminal may be damaged or malfunc tion Check the connector orientation and the socket and plug shapes before you connect the D Sub con nector If the connector is not connected correctly malfunctions may occur If you use the RS 422A 485 port check the polarity before you connect the cable The polarity of the SDA SDB and RDA RDB terminals and signals are reversed for some remote devices If the polarity is not correct malfunctions may occur If you use the RS 422A 485 port use either two wire or four wire connections Do not use both of them at the same time If you use two wire and four wire connections at the same time malfunctions may occur If you use the RS 422A 485 port ground the shield only at the CIF Unit Do not ground it at the other end of the cable If you ground both ends of the cable a difference in electrical potential between the two grounds may damage the equipment NX series Communications Interface Units User s Manual W540 19 20 Precautions for Correct Use i Transferring Data Before you transfer the communications settings to the Unit confirm that the controlled system will not be adversely affect
49. NX series Communications Interface Units User s Manual W540 4 Installation and Wiring 4 4 3 Examples of Recommended RS 232C and RS 422A 485 Wiring This section provides examples of the recommended RS 232C and RS 422A 485 wiring I Examples of Recommended RS 232C Wiring We recommend the following wiring for RS 232C communications particularly in environments where noise is common Use shielded twisted pair cable for the communications cable Pair the SD send data line with the SG signal ground line as one twisted pair and the RD receive data line with the SG signal ground line as a separate twisted pair Forthe NX CIF210 connect the shield on the communications cable to the shell SHLD on the D Sub connector on the NX CIF210 Also ground the ground terminal GR on the Power Supply Unit to 100 or less For the NX CIF101 connect the shield on the communications cable to A6 SHLD on the NX CIF101 Also ground the A8 FG on the NX CIF101 to 100 Q or less suoneoiunuiuo BuulM rv r Connection examples are given in the following figure Serial communications Serial communications NX CIF101 device NX CIF210 device Shield Ground the ground terminal GR on the Power Supply Unit to 100 O or less NX CIF 101 NX CIF210 I Examples of Recommended RS 422A 485 Wiring For RS 422A 485 we recommended that you use the following wiring method to ensure transmission quality Use shielded twisted p
50. SID 02 hex tion c Response Input Data Type 2000 hex This is the final Input Sub Info 0000 hex receive data Input Data Length 0006 hex 6 bytes Input Data 01 to 55 hex UVWXYZ 05 56 hex 57 hex 58 hex 59 hex 5A hex 00 hex NX series Communications Interface Units User s Manual W540 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 5 Input The communications master outputs The CIF Unit receives the output notification response the following output notification data to data given on the left for tell the CIF Unit that UVWXYZ was The CIF Unit knows that UVWXYZ was nor UVWXYZ received normally mally received by the communications mas Output SID 02 hex ter because the Input SID Response in the Input SID 02 hex Set the Input output notification data is 02 hex Response SID Output Data 0000 hex 2 Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 1 Output notification data is output from communications master to CIF Unit lt Input notification data is input from CIF Unit to communications master sejduiex3 suoneoiunuiuo Odd r Z m ejeg Bulnisoay Jo ejduex3 z r NX series Communications Interface Units User s Manual W540 7 17 7 Serial Communications 7 4 3 Simultaneously Sending and Receiving
51. Searching for Text Strings in Monitor Data sssseeneemm emen 8 4 8 1 6 Creating CSV Files of Monitor Data sssseeennem eene mener nene 8 5 8 1 7 Processing for Multiple Units and Ports sssseeene emere 8 5 Operation with the Sysmac Studio eeeeeeeeeeeeeeeeeeeenennnn nennen nennen nnn 8 6 8 2 1 Displaying the CIF Serial Line Monitor Tab Page senem 8 6 8 2 2 Starting and Stopping Monitoring and Displaying Monitor Data sessssssseseses 8 8 Troubleshooting How to Check for Errors wvcccc c csccecessteceeeeceseceeceessnecenetensecteneseesueceneedeseteersersesueeeeueeestoreesensneers 9 2 Checking for Errors with the Indicators eeeeeeeeeeneeeenennneeneenenen nnne nnne 9 3 Checking for Errors and Troubleshooting on the Sysmac Studio 9 4 9 3 1 Checking for Errors from the Sysmac Studio sssseeee een 9 4 9 3 2 Event Codes for Errors and Troubleshooting Procedures ssessee 9 5 Resetting Errors 9 18 Troubleshooting FOW 1 ces vactectecs cancececvvaccteccecdscteeceecsubanecdscaschseceeduassveceeesverecers 9 19 NX series Communications Interface Units User s Manual W540 Section 10 CONTENTS Maintenance and Inspections 10 1 Cleaning and Inspections eeeeseeeeeeeeeeeeeenenenen n
52. Sub 2 1 3 2 Functions All models of the CIF Units provide the following functions Function Description No protocol serial communications Data is sent to and received from external serial communications devices without a specific protocol or data conversion Serial line monitor You can display and save the log of the data that has been sent or received by the CIF Unit 1 3 3 Support Software The Sysmac Studio Support Software is used to make settings for the CIF Units Refer to A 5 Version Information on page A 42 for details NX series Communications Interface Units User s Manual W540 1 5 1 Features and System Configuration NX series Communications Interface Units User s Manual W540 Specifications and Application Procedures EIL This section provides the general specifications and individual Unit specifications and describes how to use the CIF Units 2 1 Specifications STE EEEE leg RR cadet Soe Hate cn EE NS 2 2 2 1 1 General Specifications illllilllll ls 2 2 2 1 2 Specifications of Individual Units 0 0 ellen 2 3 2 2 Application Procedures 0000 eee 2 5 NX series Communications Interface Units User s Manual W540 2 1 2 Specifications and Application Procedures 2 1 Specifications This section gives the general specifications and individual Unit specifications of the CIF Units 2 1 1 General Specifications The following table gives
53. The CIF Unit changes the Send Data data that is Exist in the Port Status to TRUE there not the final is data in the send buffer send data i Port Status 0011 hex There is data in Input SID the send buffer Output SID Response Input Data Type Input Sub Info Input Data Length Input Data 3 Sending The CIF Unit sends send data that is not send data the final send data to the serial line 2 that is not the final send data 4 Outputting The communications master outputs the The CIF Unit receives the output notifica the final following output notification data to pass tion data given on the left send data the final send data to the CIF Unit Output SID Input SID Response E Output Data 2000 hex Final send Type data Output Sub Info Output Data Length Output Data Final send data NX series Communications Interface Units User s Manual W540 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 5 Output The communications master receives The CIF Unit inputs the following input response the input notification data given on the notification data forthe final right The CIF Unit tells the communications send data master that the final send data was received normally e Port Status 0011 hex There is data in Input SID the sen
54. Unit Hardware User s Manual Cat No W500 and NJ series CPU Unit Soft ware User s Manual Cat No W501 NJ series Instructions W502 NJ501 Learning detailed The instructions in the instruction set Reference Manual NJ301 specifications on IEC 61131 3 specifications are the basic instruc described tions of an When programming use this manual NJ series CPU together with the NJ series CPU Unit Unit Hardware User s Manual Cat No W500 and NJ series CPU Unit Soft ware User s Manual Cat No W501 NJ series Motion Control W508 NJ501 Learning aboutthe The motion control instructions are Instructions Reference NJ301 specifications of described Manual 28 the motion control instructions When programming use this manual together with the NJ series CPU Unit Hardware User s Manual Cat No W500 NJ series CPU Unit Software User s Manual Cat No W501 and NJ series CPU Unit Motion Control User s Manual Cat No W507 NX series Communications Interface Units User s Manual W540 Revision History Revision History A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual t Revision code Revision code Date Revised content 01 February 2015 Original production NX series Communications Interface Units User s Manual W540 29 30 Revision History NX series Communications Interface Units User
55. can be more easily built into other devices or the overall machine The actual products have been checked for conformity to EMC standards 1 Whether the products conform to the standards in the system used by the customer however must be checked by the customer EMC related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration wiring and other conditions of the equipment or control panel on which the OMRON devices are installed The customer must therefore perform the final check to confirm that devices and the overall machine conform to EMC standards Applicable EMC Electromagnetic Compatibility standards are as follows EMS Electromagnetic Susceptibility EN 61131 2 EMI Electromagnetic Interference EN 61131 2 Radiated emission 10 m regulations Low Voltage Directive Always ensure that devices operating at voltages of 50 to 1 000 VAC and 75 to 1 500 VDC meet the required safety standards The applicable directive is EN 61131 2 Conformance to EC Directives The NX series Units comply with EC Directives To ensure that the machine or device in which the NX series Units are used complies with EC Directives the following precautions must be observed The NX series Units must be installed within a control panel The SELV requirements must be satisfied for the DC power supplies that are connected as the Unit power supplies and I O power supplies for the NX s
56. error and the final data is obtained RcvDone TRUE End reception END IF RcvError FALSE RcvInitialize FALSE END IF END IF NX series Communications Interface Units User s Manual W540 A 41 Appendices A 5 Version Information This section describes the compatibility between the versions of the CIF Units Communications Cou pler Units CPU Units and Sysmac Studio and it provides information on the functions supported for each unit version If you use any of the combinations of versions in the following table or later higher versions you can use all of the functions that are supported by that unit version of the CIF Units CIF Unit Model number Unit ial sion NX CIF101 Ver 1 0 NX CIF105 Ver 1 0 NX CIF210 Ver 1 0 Corresponding version NJ series CPU Unit Sysmac NJ501 I ID or NJ301 L1 Studio Ver 1 10 EtherCAT Coupler Unit NX ECC201 or NX ECC202 Ver 1 0 1 Ver 1 12 1 Some Units do not have all of the versions given in the above table If a Unit does not have the specified ver sion support is provided by the oldest available version after the specified version Refer to the user s manuals for the specific Units for the relation between models and versions NX series Communications Interface Units User s Manual W540 Index NX series Communications Interface Units User s Manual W
57. eseecesseeeseeeeeeeeeere 1 2 1 2 System Configuration eeeeeeeeeeeeeeeeeeeee eene nnnnnnnnn nnn nrnn nunt en nnn nnn entr nnn nennen 1 3 1 3 Unit Models Functions and Support Software cccssseseeeeeeeeee eene nennen nnn 1 5 1 3 1 Urit Model Numbers e e eese eor heeded ek Mas dd ered Wiebe 1 5 1 3 2 EUnDGCtiOns tene e e EE E ei e deer ae ei PR Hr REESE eLen 1 5 1 3 3 Support Software 5 nu ee qiio tee etat tibia lei aec e ine eec lati fete ated hae 1 5 2 NX series Communications Interface Units User s Manual W540 Section 2 2 1 2 2 Section 3 3 1 Section 4 4 1 4 2 4 3 Section 5 5 1 5 2 Section 6 6 1 6 2 6 3 Section 7 7 1 7 2 CONTENTS Specifications and Application Procedures Specifications A A A AT ar dno darles 2 2 2 121 General Specifications ere etd ibid ne e iere eoe a Dee e densi de do deed 2 2 2 1 2 Specifications of Individual Units nennen enne nnne nnne 2 3 Application Procedures 5 rer rene ne eene o EXER e aa a eH aeta eaaa Eaa vue 2 5 Part Names and Functions Part Names nei sete cecinere E usdccdoubucacsesuuabyalsecect sues X YeD ReDo ep Ni RN BIN NR EDDA E 3 2 3 1 1 NX CIF101 and NX CIF105 ssssssssseeeseeee n nennen nennen nenne nemen nene rrn inns asa asses ee en eene nnn 3 2 EA AE Masiaum E 3 4 WIC ALON S BREED TIBULUM 3 5 e Ea A Meme es ao Erie E EE EAA E It t e
58. functions of the NX series Communi Units User s Manual Communications cations Interface Unit are described Interface Units NX series Data Reference W525 NX Referencing lists of Lists of the power consumptions Manual the data that is weights and other NX Unit data that required to config is required to configure systems with ure systems with NX series Units are provided NX series Units NX series Digital I O Units W521 NX ID Learning how to The hardware setup methods and User s Manual NX IA use NX series Dig functions of the NX series Digital I O NX OC ital I O Units Units are described NX OD NX MD NX series Analog I O Units W522 NX AD Learning how to The hardware setup methods and User s Manual NX DA use NX series functions of the NX series Analog NX TS Analog I O Units I O Units and Temperature Input and Temperature Units are described Input Units NX series System Units W523 NX PD1 Learning how to The hardware and functions of the User s Manual NX PFO use NX series NX series System Units are NX PCO System Units described NX TBX01 NX series Position W524 NX ECO Learning how to The hardware setup methods and Interface Units NX ECS use NX series functions of the NX series Incremen User s Manual NX PGO Position Interface tal Encoder Input Units SSI Input Units Units and Pulse Output Unit are described NX series Safety Control Z930 NX SL Learning how to The hardware setup methods and Unit User s Manual NX SI use N
59. hex The Input SID is 00 hex so the mas to tell the communications master that no ter knows that there is no input data input data is included in the input notifica included in the input notification data tion data that was received c Port Status Input SID 00 hex Output SID Response Input Data Type Input Sub Info Input Data Length Input Data None NX series Communications Interface Units User s Manual W540 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 2 Input The communications master outputs The CIF Unit receives the output notification response the following output notification data data given on the left when The communications master has not thereisno yet received input data so the Input input data SID Response remains at 00 hex Output SID Input SID 00 hex i Response Output Data Type Output Sub Info Output Data Length Output Data 3 Data The CIF Unit receives data from the serial reception line 4 Inputting The communications master The CIF Unit inputs the following input the first receives the input notification data notification data data given on the right The CIF Unit sets the Input SID to 01 hex The Input SID is 01 hex so the mas to tell the communications master that the ter knows that the
60. is not Not in direct sunlight Protect the CIF Unit if necessary in direct sunlight Check for accumulation of No accumulation Clean and protect the CIF Unit if dirt dust salt or metal pow necessary der Check for water oil or chem No spray Clean and protect the CIF Unit if ical sprays hitting the CIF necessary Unit Check for corrosive or flam No corrosive or flam Check by smell or use a gas sensor mable gases in the area of mable gases the CIF Unit Check that the CIF Unit is not Vibration and shock Install cushioning or shock absorb subject to direct vibration or must be within specifi ing equipment if necessary shock cations Check for noise sources No significant noise Either separate the CIF Unit and nearby the CIF Unit sources noise source or protect the CIF Unit 3 Installa Check that the DIN Track No looseness Securely lock all DIN Track mount tion and mounting hooks on all NX ing hooks wiring Units are securely locked Check that cable connectors No looseness Correct any improperly installed are fully inserted and locked connectors Check that the screws on the No looseness Tighten loose screws with a Phillips End Plates PFP M are tight screwdriver Check that each NX Unit is The NX Units must be Connect each NX Unit along the connected along the hookup connected and hookup guides and insert each NX guides and fully inserted securely in place on the Unit until it contacts the DIN Track
61. is set to RS CS flow control execution is not possible and the command ends in an error 2 The new value is applied after the port is restarted 3 If this command is executed while monitoring is in progress monitoring is continued and the command ends normally 4 If this command is executed while monitoring is stopped monitoring remains stopped and the command ends normally 5 This command is valid only while monitoring is stopped If you attempt to execute this command while mon itoring is in progress execution is not possible and the command ends in an error The meaning of the Output Sub Info is different between when the Change Number of Characters to Determine the End control command is specified in the Output Data Type and when the Change Communications Setup control command is specified NX series Communications Interface Units User s Manual W540 Appendices a The following table gives the Output Sub Info when the Change Number of Characters to Deter mine the End control command is specified Bit Item name Description 00 to 15 Number of Characters to The value specified for the number of characters to determine the Determine the End end Setting range 0000 to 2710 hex 0 to 10 000 decimal The number of characters to determine the end is not set if 0000 hex is specified Unit 0 1 character Ssjoefqo XN JO3SIT V 1 For example if 0064 hex 100 decimal is specified the number of characte
62. line or a control com mand that the CIF Unit received from the communications master You can change the number of input data in the I O entry on the Sysmac Studio NX series Communications Interface Units User s Manual W540 Appendices The following table shows the Port Status You can access this data as WORD data or BOOL data Bit Status name Condition to change to TRUE Condition to change to FALSE 0 Chn Send Data Exist Send buffer contains one or more Send buffer contains 0 bytes of bytes of data data 1 Chn Send Completed The value alternates between TRUE and FALSE each time a transmis a Toggle Bit sion is completed 9 2 Chn Send Buffer Full Send buffer contains 4 097 or Send buffer contains 511 or fewer Flag more bytes of data bytes of data g 3 Chn Receive Buffer Full Receive buffer contains 4 097 or Receive buffer contains 511 or A Flag more bytes of data fewer bytes of data i 4 Chn RS Signal Receive buffer contains 4 097 or Receive buffer contains 511 or more bytes of data Or the RS Sig fewer bytes of data Or the RS A nal ON command is executed Signal OFF command is executed 5 Chn CS Signal The remote node is busy The remote node is waiting to receive data T 6 Chn ER Signal The ER Signal ON command is The ER Signal OFF command is executed executed x 7 Chn DR Signal The remote node turned ON the The remote node turned OFF the DR signal DR signal a
63. on the left for 1234 tell the CIF Unit that 1234 was The CIF Unit knows that 1234 was nor received normally mally received by the communications Output SID 03 hex master because the Input SID Response Input SID 03 hex Set the Input in the output notification data is 03 hex Response SID Output Data 0000 hex gt Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 6 Detecting the end of the receive data NX series Communications Interface Units User s Manual W540 The CIF Unit detects the end of the receive data sejduiex3 suonesiunwwog Odd Y bas ejeq Buiieoes pue Buipues Ajsnosueynwis p 2 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 7 Confirm The communications master receives The CIF Unit inputs the following input ing the input notification data given on the notification data and tells the communica sending right tions master that ABCD was sent to the of The communications master knows serial line ABCD that the CIF Unit sent ABCD to the At the same time the CIF Unit tells the Notifica serial line because the Send Com communications master that the end of tion of pleted Toggle Bit in the Port Status in the receive data was detected end the input notification data
64. output data in the I O entry on the Sysmac Studio H Precautions for Correct Use Output SID Specifications The send buffer in the CIF Unit is cleared if the Output SID is 00 hex No send data is stored in the send buffer in the CIF Unit until an Output SID with a value of 01 hex is received In this case an error does not occur The send data is also not stored in the send buffer in the CIF Unit if the value of the Output SID is not one higher than the value of the last received SID In this case an error does not occur The following table shows the Output Data Type You can access this data as WORD data or BOOL data Bits Description 12 to 15 Indicates presence of send data sent by the CIF Unit to the serial line 0 hex No data sent 1 hex Data sent but not the last 2 hex Last send data 08 to 11 Indicates presence of control command for CIF Unit 12 0 hex There is no control command 1 hex There is a control command 00 to 073 Indicates command code of control command See below for details 1 The CIF Unit will not perform any processing if the set value is out of range 2 Both send data and a control command can be sent at the same time 8 You cannot read or write this data as BOOL data To issue a control command access the data as WORD data The following table shows the command code of the control command If the set value is out of range 0002 hex undefined command is returned in the Inpu
65. received messages in hexadecimal ASCII The bottom row gives the received messages in ASCII characters Periods are dis played when the actual characters cannot be displayed such as for control charac 4 ters RS CS ER and DR The ON OFF values of the RS CS ER and DR control signals are displayed ON A red line is displayed above the base line OFF A blue line is displayed below the base line 2 3 Abbreviations are displayed for communications errors that occur i P Parity error F Framing error O Overrun error Comm error 1 You can show or hide the characters with the Display the characters button in the CIF Serial Line Monitor tab page 2 You can show or hide the signals with the Display the details button in the CIF Serial Line Monitor tab page 8 If more than one type of communications error occur at the same time the priority of the error display from the highest priority is as follows parity error framing error and overrun error abed gel JOU eur EAS 4ID 2 1 8 H Precautions for Correct Use The control signals are recorded from when one character of a message is sent or received Therefore changes in the control signals are not shown in the CIF Serial Line Monitor tab page even when they change unless a message is sent or received Also changes in the control sig nals may not be shown in the CIF Serial Line Monitor tab page if the signals change for periods shorter than the tim
66. separate file from the Sysmac Studio project file NX series Communications Interface Units User s Manual W540 8 Serial Line Monitor 8 1 2 CIF Serial Line Monitor Tab Page On the Sysmac Studio the monitor data is displayed in the CIF Serial Line Monitor tab page The con figuration of the CIF Serial Line Monitor tab page is shown below The data values are shown from left to right along a time scale The left edge is the starting point of the monitor Monitor type Oneshot Monitored port Port 1 TUBE Search type ASCII Search M Monitor status Offline Idle time characters Sent message Asc Received message RS cs ER DR Communications error Create CSV File Display item Description Data segment charac A serial number is given for each segment of 10 trace numbers ters Trace No Trace numbers are assigned to sent or received messages by character Idle time characters The idle time is the number of characters between two sent or received messages when nothing is sent or received for more than the time required for two characters The maximum value is 6 553 5 characters Sent message ASCII The top row gives the sent messages in hexadecimal The bottom row gives the sent messages in ASCII characters Periods are displayed 1 SYJOM 103IUOJJ SUIT BLUES Y MOH 1 8 when the actual characters cannot be displayed such as for control characters i Received message The top row gives the
67. slave Attached information 1 System information Attached information 2 Type of communications where error occurred 0 NX bus aana 1 EtherCAT information 2 Serial communications USB 3 EtherNet IP 65535 Internal Unit communications routing Precautions Remarks None NX series Communications Interface Units User s Manual W540 9 Troubleshooting Event name Parity Error Event code 85410000 hex Meaning A parity error occurred Depends on where the Sysmac Source NX Unit Detsctien Continuously Source Studio is connected and the A NE details timing system configuration Error attributes Level Observation Recovery Log category System Effects Secunia Continues Operation The NX Unit will continue to operate The received data may not be correct System defined Variable Data type Name variables None Assumed cause Correction Prevention The communications settings Use the same communications Use the same communications and baud rate setting do not settings and baud rate setting settings and baud rate setting for Cause and E agree with those of the remote for the remote device the remote device correction i device Noise Implement noise countermea Implement noise countermea sures sures NIE Attached information 1 Port where error occurred DORA 0001 hex Port 1 information 0010 hex Port 2 Precautions You can change the ev
68. source of the error Gives details 3 Tells when the Source Detection i Source details on the source timin error is of the error g detected E Tells the level of Gives the Tells which log non Level influence on Recovery recovery Log category the error is attributes T 12 43 control method saved in Tells what will Provides special information on the operation that happen to exe results from the error Effects User program cution of the Operation user program 4 indicators Gives the status of the built in EtherNet IP port and built in EtherCAT port indicators Indicator status is given only for errors in the EtherCAT Master Function Module and the EtherNet IP Function Module Variable Data type Name System defined 5 ae x m Varlabl s Lists the variable names data types and meanings for system defined variables that provide direct error notification that are directly affected by the error or that contain settings that cause the error Cause and Assumed cause Correction Prevention correction Lists the possible causes corrections and preventive measures for the error Attached This is the attached information that is displayed by the Sysmac Studio or an HMI information Precautions Remarks Provides precautions restrictions and supplemental information If the user can set the event level the event levels that can be set the recovery method operational information and other information are also provided 1
69. the Input SID is not changed from the previous transmission it means there is no change to the input data or X that there is no input data 9 The Input SID immediately after the Restart Port control command is executed is 00 hex The Input SID after the first PDO 9 reception is then 01 hex and the Input SID after the second PDO reception is 02 hex 2 This is the operating status of the CIF Unit 00 hex Not ready to receive Not 00 hex Ready to receive The value is the Output SID of the PDO that the CIF Unit received last 3 This is the response from the CIF Unit for the receive data that the CIF Unit received from the serial line or a control com mand that the CIF Unit received from the communications master You can change the number of input data in the I O entry on the Sysmac Studio NX series Communications Interface Units User s Manual W540 A 7 Appendices The following table shows the Port Status You can access this data as WORD data or BOOL data Bit Status name Condition to change to TRUE Condition to change to FALSE 0 Ch1 Send Data Exist Send buffer contains one or more Send buffer contains O bytes of bytes of data data 1 Ch1 Send Completed The value alternates between TRUE and FALSE each time a transmis Toggle Bit sion is completed 2 Ch1 Send Buffer Full Send buffer contains 4 097 or Send buffer contains 511 or fewer Flag more bytes of data bytes of data 3 Ch1 Rec
70. the following input the sec receives the input notification data notification data ond data given on the right The CIF Unit sets the Input SID to 02 hex The communications master checks to tell the communications master that the the Input SID second input data is included in the input The Input SID is 02 hex so the mas notification data ter knows that the second input data Port Status is included in the input notification Input SID 02 hex data that was received c Output SID Response The input data is stored in the Input Data Type receive buffer Input Sub Info Input Data Length Input Data The second data received from the serial line 7 Second The communications master outputs The CIF Unit receives the output notifica input the following output notification data tion data given on the left response e The communications master sets the The CIF Unit knows that the communica Input SID Response to the value of tions master has normally received the the Input SID 02 hex to tell the CIF second input data because the Input SID Unit that the communications master Response in the output notification data is has normally received the second 02 hex input data Output SID Input SID 02 hex Response Output Data Type Output Sub Info Output Data Length Output Data 8 Comple The communications master The CIF Unit inputs the following input tion of receives the input notification data notific
71. until it contacts the DIN DIN Track Track Check for damaged external No visible damage Check visually and replace cables if wiring cables necessary NX series Communications Interface Units User s Manual W540 10 3 suoljoedsu pue HuluesjD 1 01 uonoedsu oipoued z L 0L 10 Maintenance and Inspections E Tools Required for Inspections Required Tools Phillips screwdriver Flat blade screwdriver Voltage tester or digital voltmeter Industrial alcohol and clean cotton cloth Tools Required Occasionally Oscilloscope Thermometer and hygrometer 10 4 NX series Communications Interface Units User s Manual W540 10 Maintenance and Inspections 10 2 Maintenance Procedures Refer to the section on maintenance and inspection in the user s manual for the connected Communi cations Coupler Unit for the data backup procedures and replacement procedures for CIF Units SoJnpaooJdg eoueuojureyw Z 0L NX series Communications Interface Units User s Manual W540 10 5 10 Maintenance and Inspections 10 6 NX series Communications Interface Units User s Manual W540 Appendices The appendices provide additional information for CIF Units such as dimensions and object lists A 1 A 3 A 5 Dimensions ee ee ead Dok Pwo kv eo eee Peete A 2 A 1 C1 NX CIF101 and NX CIF105 0 0 eee A 2 A 2122 NX CIE210 on ian Vn caer UR E Oa ete ee PR A 2 Changing NX Objects from a U
72. will accept no order less than 200 net billing Governmental Approvals Buyer shall be responsible for and shall bear all costs involved in obtaining any government approvals required for the impor tation or sale of the Products Taxes All taxes duties and other governmental charges other than general real property and income taxes including any interest or penalties thereon imposed directly or indirectly on Omron or required to be collected directly or indirectly by Omron for the manufacture production sale delivery importa tion consumption or use of the Products sold hereunder including customs duties and sales excise use turnover and license taxes shall be charged to and remitted by Buyer to Omron Financial If the financial position of Buyer at any time becomes unsatisfactory to Omron Omron reserves the right to stop shipments or require satisfactory security or payment in advance If Buyer fails to make payment or otherwise comply with these Terms or any related agreement Omron may without liabil ity and in addition to other remedies cancel any unshipped portion of Prod ucts sold hereunder and stop any Products in transit until Buyer pays all amounts including amounts payable hereunder whether or not then due which are owing to it by Buyer Buyer shall in any event remain liable for all unpaid accounts Cancellation Etc Orders are not subject to rescheduling or cancellation unless Buyer indemnifies Omron against al
73. 0 or 11 BYTE RW No Monitor 1 You can write only 1 as the set value If you read the value a value of 0 is always read NX series Communications Interface Units User s Manual W540 A 27 The following table gives the meanings of the set values for the Ch1 Start Serial Line Monitor and Ch2 Start Serial Line Monitor Set value 1 Description Set continuous monitor mode and start monitoring 2 Set one shot monitor mode and start monitoring sjoefqo XN Jo 1s 1 V gt OLZAIO XN 94 40 SjoefqO XN V Appendices The following table gives the meanings of the set values for the Ch1 Stop Serial Line Monitor and Ch2 Stop Serial Line Monitor Set value Description 1 Stop monitoring A 28 NX series Communications Interface Units User s Manual W540 Appendices A 4 Programming Samples This appendix provides programming samples in the ST language for the communications master to use a CIF Unit to perform communications with a serial communications device These samples assume that an NJ series CPU Unit is used for the communications master The following three programming samples are provided Restarting CIF Unit Ports Sending Data Receiving Data sojdwes BuruiuejBoJ4d Y Y gt A 4 1 Items Common to all Programming Samples This section describes the items that are the same in all three programming samples i System Configuration
74. 02 ARRAY 0 3 OF BYTE Ch1 Input Data 02 N1 Ch1 Input Data 03 ARRAY 0 3 OF BYTE Ch1 Input Data 03 N1 Ch1 Input Data 04 ARRAY 0 3 OF BYTE Ch1 Input Data 04 N1 Ch1 Input Data 05 ARRAY 0 3 OF BYTE Ch1 Input Data 05 N1_Ch1_Input_SID USINT Ch1 Input SID N1 Ch1 Input SID Response USINT Ch1 Input SID Response N1 Ch1 Input Data Length UINT Ch1 Input Data Length N1 Ch1 Input Data Type WORD Ch1 Input Data Type N1 Ch Receive Data Flag BOOL Ch1 Receive Data Flag N1 Ch1 Receive Last Data Flag BOOL Ch1 Receive Last Data Flag N1 Ch1 Receive Data Error Flag BOOL Ch1 Receive Data Error Flag E001 NX Unit IO Data Active Status 125 ARRAYT 0 125 OF BOOL NX Unit I O Data Active Status NX series Communications Interface Units User s Manual W540 Appendices i ST Program gt Initialize program status using establishing communications as the trigger InitialRequestTrigger R TRIG instance E001 NX Unit I O Data Active Status 125 1 3 InitialRequestTrigger z IF InitialRequestTrigger TRUE THEN a RcvInitialize FALSE Initialize n w D END_IF 3 3 o o See if I O communications are enabled and if Input SID was updated IF E001 NX Unit I O Data Active Status 125 1 TRUE AND N1 Ch1 Input SID Response lt gt N1 Ch1 Input SID THEN Ej gt Process
75. 1 9 Troubleshooting Event name NX Unit Clock Not Synchronized Error Event code 80240000 hex Meaning An error occurred in the clock information between the EtherCAT Coupler Unit and the NX Unit Depends on where the Sysmac NX Unit Continuousl Source En is connected and he Oca pee Hiec j details timing System configuration Error attributes Level Minor taun Recovery EE mens Log category System Continues The NX Unit will continue to operate Effects User program Operation Input data Inputs are stopped Output data Outputs are stopped System defined Variable Data type Name variables None Assumed cause Correction Prevention There is a hardware error in the If the error occurred in only a None Cause and cor rection NX Unit There is a hardware error in the EtherCAT Coupler Unit specific NX Unit in the Slave Terminal replace the NX Unit If the error occurred in all of the NX Units on the Slave Terminal except for the System Units replace the EtherCAT Coupler Unit Attached infor None mation Precautions None Remarks NX series Communications Interface Units User s Manual W540 9 Troubleshooting Event name Data Discarded Due to Full Internal Buffer Event code 85400000 hex Meaning An internal buffer is full The input data is discarded Depends on where the Sysmac Saree NX Unit Detection Continuously
76. 1 Product name Communication Interface Unit Unit version 10 NX Unit Number 1 NX Unit Mounting Setting Enabled Serial Number 0x00000000 Power consumption 0 90 Unit width 12 Ch1 Output SID 8 bits Ch1 Input SID Response 8 bits Chi Output Data Type 16 bits Chi Output Sub Info 16 bits Ch1 Output Data Length 16 bits Chi Output Data 01 32 bits Chi Output Data 02 32 bits Chi Output Data 03 32 bits Ch1 Output Data 04 32 bits Chi Output Data 05 32 bits Ch1 Port Status 16 bits VO allocation settings Chl Input SID 8 bits Chi Output SID Response 8 bits Chi Input Data Type 16 bits Chi Input Sub Info 16 bits Chi Input Data Length 16 bits Chi Input Data 01 32 bits Chi Input Data 02 32 bits Chi Input Data 03 32 bits Chi Input Data 04 32 bits Chi Input Data 05 32 bits Edit I O Allocation Settings Unit operation settings Edit Unit Operation Settings NX series Communications Interface Units User s Manual W540 6 Unit Settings 2 Click the Edit I O Allocation Settings button The following tab page is displayed I O Allocation Status 1 I O data size Input 64 1024 bytes Output 28 1024 bytes 2 Number of I O entry mappings Input 3 255 Output 1 255 I O Entry Mapping List I O entries included in the Output Data Set 1 Input 240 bits Index Size Data Type I O entry name Output 224 bits Selection Input Output I O entry mapping nam
77. 2 hex when the end is detected 4 Both data reception and a command response may occur at the same time 5 You cannot read this data as BOOL data To read the command code of a control command access the data as WORD data Ssjoefqo XN Jo 1s 1 V The following table shows the Input Sub Info If the Input Data Type indicates a control command response the result of the control command is stored in the Input Sub Info gt Value Execution result of Desenpion hex control command 0000 Normal end Normal end gt 0001 Execution is not possi The RS Signal ON or RS Signal OFF control command was exe E ble because an opera cuted when the flow control method was set to RS CS flow control z tion is in progress One of the following control commands was executed for the S NX CIF105 RS Signal ON RS Signal OFF ER Signal ON or ER Signal OFF 2 The Clear Serial Line Monitor Buffer control command was executed a when serial line monitoring was in progress 0002 Undefined command An undefined control command was specified and therefore it cannot A be executed F 0003 Setting out of range The Change Number of Characters to Determine the End or Change S error Communications Setup control command was executed and the 2 value of the Output Sub Info was out of range z The Flow Control Method in the Output Sub Info for the NX CIF105 o was set to RS CS flow control oa Data ister Sa al O
78. 540 1 1 Index Index A ACCESS a ee A eben ee ee A 5 ASSUME CAUSE ornin e aiea aa 9 5 C communications error cesses 8 3 D data attribute sseessessssseennne nn A 5 data range innan pee ee t ce A 5 data segment characters sseseesss 8 3 data type 5 occum ite dee teen neret trees A 5 defau lli2 intere S p rte eter Pee Fete eu eer tuit A 5 DIN Track contact plate ssssssssss 3 2 3 4 DIN Track mounting hooks ssesssss 3 2 3 4 D Sub connector sse 3 4 E End COVE i tierce to Le tede deed pode eg toate 1 3 error descriptions cssseeeee 9 7 ESIMIGS oie A E E TN EN 1 4 EtherCAT Coupler Unit sseeee 1 3 EtherGAT Master ooo eer eec ive ie rete Pe S 1 3 event code EE EET E E EET 9 5 AATE Lap E AA E EEA ea a es 9 5 F FG terminal cc cccceesseseeecececeeeeseeaeeeseeeeeceeseeseeaueaaeeees 3 4 G grounding terminal mark eee eeeeeeeeeeeeeeeeeneeeeenes 3 3 l I O allocation eanan eee A 5 I O allocation objects esses A 7 A 18 idle time Characters sessen 8 3 IND OX emo A 5 iil Catore e ir edite tee e P d EC ERO 3 2 3 4 Input Data Type visioi ente eene ne 7 9 input notification data se 7 6 Input SID ceci repe ee e eee 7 6 Input SID Response eem 7 6 M marker attachm
79. 9 1 How to Check for Errors Use one of the following error checking methods Checking the indicators Troubleshooting with the Sysmac Studio 9 2 NX series Communications Interface Units User s Manual W540 9 Troubleshooting 9 2 Checking for Errors with the Indica tors You can use the TS indicators on the CIF Units to check the CIF Unit status and level of errors This section describes the meanings of errors that the TS indicator shows and the troubleshooting pro cedures for them In this section the status of the indicator is indicated with the following abbreviations Abbrev Indicator status Lit Lit Not Lit Not lit FS Flashing The numeric value in parentheses is the flashing interval Undefined The TS indicator can light either in green or red The indicator status CIF Unit status and corrections are given in the following table Indicator status Green Red Lit Not Lit The Unit is operating normally CIF Unit status Correction The Unit is ready for I O refreshing FS 2 s Not Lit Initializing This status does not indicate an error Wait until processing is completed FS 0 5 s Not Lit Automatic creation of the Unit configura This status does not indicate an error Wait tion is in progress until processing is completed O checking is in progress Not L it Not Lit There is insufficient or no Unit power supply Check the following items and make sure th
80. Buffering Is Disabled If transmission buffering is disabled the first send data is immediately sent to the serial line after it is passed from the communications master to the CIF Unit Therefore the data send time will be the total of time C and time D in the following diagram The first send data is immediately sent to the serial line after it is passed from the communications master to the CIF Unit Send data sent from the communications WKH master to the CIF Unit N Y X I l I Send data on the serial line por Definition The time from when the communications master starts sending the data to the CIF Unit until the CIF Unit starts sending the data to the serial line D The time from when the CIF Unit starts sending the data to the serial line until sending is completed Data send time ms C ms D ms C ms Process data communications cycle ms x Number of I O refreshes Bits per character D ms x Number of characters x 1 000 Baud rate bps For example the data send times for various baud rate and process data communications cycles are given in the following table for these parameter values Parameter Value Number of I O refreshes Always 3 Bits per character 10 Output data size bytes 256 Data Send Times ms Process data communications Baud rate cycle ms bps 05 1 2 4 1 200 2 135 2 137 2 140 2 146 2 400 1 069 1 070 1 073 1 079 4 800 535 537 540 546 9 600 269
81. Buyer may not assign its rights hereunder without Omron s written consent c Law These Terms are governed by the law of the jurisdiction of the home office of the Omron company from which Buyer is purchasing the Products without regard to conflict of law princi ples d Amendment These Terms constitute the entire agreement between Buyer and Omron relating to the Products and no provision may be changed or waived unless in writing signed by the parties e Severability If any provi sion hereof is rendered ineffective or invalid such provision shall not invalidate any other provision f Setoff Buyer shall have no right to set off any amounts against the amount owing in respect of this invoice g Definitions As used herein including means including without limitation and Omron Compa nies or similar words mean Omron Corporation and any direct or indirect subsidiary or affiliate thereof Certain Precautions on Specifications and Use 1 Suitability of Use Omron Companies shall not be responsible for conformity with any standards codes or regulations which apply to the combination of the Product in the Buyer s application or use of the Product At Buyer s request Omron will provide applicable third party certification documents identifying ratings and limitations of use which apply to the Product This information by itself is not sufficient for a complete determination of the suitability of the Prod
82. Default Data range Unit Data Access o es attri hex hex type cation bute 1000 NX Bus Identity 00 Number of Entries 7 7 USINT RO No 02 Model ARRAY RO No 0 11 OF BYTE 04 Product Code 2 g UDINT RO No 05 Vendor Code 00000001 UDINT RO No hex 3 06 Unit Version 4 UDINT RO No 07 Serial Number 5 00000000 to UDINT RO No FFFFFFFF hex 1001 Production Info 00 Number of Entries 4 4 USINT RO No 01 Lot Number 6 00000000 to UDINT RO No FFFFFFFF hex 02 Hardware Version f ARRAY RO No 0 19 OF BYTE 03 Software Version 7 ARRAY RO No 0 19 OF BYTE 1 This returns the model of the Unit in ASCII If all 12 bytes are not required the remaining bytes are filled with spaces 20 2 The product codes are assigned for each product model Bits 0 to 31 Product code 3 OMRON s vendor code 4 Bits 24 to 31 Integer part of the unit version Bits 16 to 23 Decimal part of the unit version Bits 0 to 15 Reserved Example for version 1 0 010000010 hex 5 The unique serial number of the product is given Bits 0 to 31 Serial number 6 The date of manufacture is given for the lot number Bits 24 to 31 Day of month of manufacture Bits 16 to 23 Month of manufacture Bits 8 to 15 Year of manufacture Bits 0 to 7 Reserved 7 The ver
83. F ND_IF E Set the Input SID Response N1 Chi Input SID Response N1 Ch1 Input SID END IF 5 Confirm completion of clearing Output SID IF ExpectedOutputSIDResponse N1 Ch1 Output SID Response THEN Normal end CmdStage INT 0 Transition return to initial status END IF 10 Error end END CASE NX series Communications Interface Units User s Manual W540 A 4 3 Programming Sample 2 Sending Data Appendices This sample sends the following 26 bytes text string to the serial line ABCDEFGHIJKLMNOPQRSTU VWXYZ i Procedure This programming sample is for the example given in 7 4 1 Example of Sending Data on page 7 12 The processes in the table in 7 4 1 Example of Sending Data on page 7 12 correspond to the CASE statements in the ST program as follows Step number in bU of sending Process CASE statement Idle CASE 0 1 Outputting string from A to T CASE 1 2 Output response for A to T CASE 2 3 Sending A to T 4 Outputting UVWXYZ CASE 1 5 Output response for UVWXYZ CASE 2 6 Sending UVWXYZ 7 CASE 3 8 Confirming sending of UVWXYZ CASE 3 i Variable Table The following variable table is set from the Sysmac Studio All of the variables that you registered in the I O map are registered as global variables e Internal Variables Name Data type Initial value Comment SendSize UINT UI
84. IF CASE SendStage OF 0 Idle 1 Send request to CIF Unit Total output data size 20 Size of data sent to CIF Unit in one send IF SendSize SendDatOffset gt 20 THEN OutputDataLength 20 LastDatFlag FALSE Not final data ELSE OutputDataLength SendSize SendDatOffset LastDatFlag TRUE Final data END IF A 36 NX series Communications Interface Units User s Manual W540 Appendices Set Output Data Length N1_Ch1_Output_Data_Length OutputDataLength Set output data Set the SendDat array to the following size Number of divisions of send data Output PDO size bytes AryMove SendDat SendDatOffset N1_Ch1_Output_Data_01 0 UINT 4 AryMove SendDat SendDatOffset 4 N1 Ch1 Output Data 02 0 UINT 4 AryMove SendDat SendDatOffset 8 N1 Ch1 Output Data 03 0 UINT 4 AryMove SendDat SendDatOffset 12 N1 Chl Output Data 04 0 UINT 4 AryMove SendDat SendDatOffset 16 N1 Chl Output Data 05 0 UINT 4 SendDatOffset SendDatOffset OutputDataLength Set Output Data Type IF LastDatFlag TRUE THEN N1 Ch1 Send Data Flag FALSE N1 Ch1 Send Last Data Flag TRUE ELSE N1 Ch1 Send Data Flag TRUE N1 Ch1 Send Last Data Flag FALSE END IF Get current Send Completed Toggle Bit status before sending data PreSendCompletedToggle
85. Interlock Switches W540 E1 01 02 15 Note Specifications are subject to change 2015 Omron Electronics LLC Printed in U S A Printed on recycled paper amp
86. Monitoring will start Click the Stop monitoring button at any time Monitoring stops If the monitor type is set to One shot monitoring will automatically stop when the buffer becomes full even if you do not click the Stop monitoring button Click the Read the monitor data button The monitor data is displayed Also the following dialog box is displayed 4 Reading was completed The serial line monitor data is not saved in the project Do you want to save the data by the serial line monitor data export function bin OK Cancel Click the OK button to export the monitor data Click the Cancel button to not export the monitor data and only display the monitor data NX series Communications Interface Units User s Manual W540 Troubleshooting This section describes the error information and corrections for errors that can occur when the CIF Units are used 9 1 9 2 9 3 9 4 9 5 How to Check for Errors 0 00 cece 9 2 Checking for Errors with the Indicators sse 9 3 Checking for Errors and Troubleshooting on the Sysmac Studio 9 4 9 3 1 Checking for Errors from the Sysmac Studio 2005 9 4 9 3 2 Event Codes for Errors and Troubleshooting Procedures 9 5 Resetting Errors 4 0002 0c teeta ete hr eee eee ees 9 18 Troubleshooting Flow eee eee eee 9 19 NX series Communications Interface Units User s Manual W540 9 1 9 Troubleshooting
87. NTZO Total size of the send data in bytes SendDat ARRAY 0 39 OF 40 16420 Send data BYTE TestDat STRING 27 me Text string to send SendDatOffset UINT UINTZO Send data offset LastDatFlag BOOL FALSE Final data flag OutputDataLength UINT UINTZO Output data size SendRequest BOOL FALSE Send request flag SendRequest R TRIG instance R TRIG Instance of R_TRIG instruction InitialRequestTrigger BOOL FALSE Condition to establish commu nications InitialRequestTrigger R TRIG inst R TRIG Instance of R_TRIG instruction ance SendRequestTrigger BOOL FALSE Send execution condition SendStage INT INTZO Current state ExpectedOutputSID USINT USINT 0 Expected value of Output SID Response PreSendCompletedToggle BOOL FALSE Send Completed Toggle Bit before sending data 1 Set the size of the SendDat array to the following size or larger Number of divisions of send data x Output PDO size bytes In this sample the send data is divided into two divisions A to T and U to Z and the output PDO size is 20 bytes so the array size is 40 NX series Communications Interface Units User s Manual W540 sojdwes Bulmweibolg Y Y gt ejeq 8uipues z ajdwes Buluwesbold p v Appendices External Variables Name Data type Comment N1_Ch1_Output_Data_01 ARRAY 0 3 OF Ch1 Output Data 01 BYTE N1 Ch1 Output Data 02 ARRAY 0 3 OF Ch1 Output Data 02 BYTE
88. NX Unit and then reset errors in Com munications Coupler Unit I O refreshing for the NX Unit stops Continues None Do not turn OFF the power sup ply to the NX Unit or disconnect Sysmac Studio communications while transfer of the Unit opera tion settings for the NX Unit or execution of the NX SaveParam is in progress There is an error in the area of the non volatile memory in the Communications Coupler Unit in which the Unit operation set tings for the NX Unit are saved The power supply to the NX Unit was turned OFF or Sysmac Stu dio communications were dis connected while writing the Unit operation settings was in prog ress None Download the Unit operation settings of the NX Unit again and restart the Communica tions Coupler Unit If the error occurs again even after you make the above cor rection replace the Communi cations Coupler Unit None NX series Communications Interface Units User s Manual W540 oipnjs 2euis S ay uo Burnoouse qnou pue sJ0413 104 Dur429u2 6 sounp eoo0Jg Bunoouse qnoi pue sJ0JJ3 10 SPON 1u9 3 Z 6 9 Troubleshooting Event name NX Unit Processing Error Event code 40200000 hex Meaning A fatal error occurred in an NX Unit Depends on where the Sysmac NX Unit A Continuously ak Source Detection Source Studio is connected and the AC details
89. OMRON Machine Automation Controller NX series Communications Interface Units User s Manual NX CIFLILILI Communications Interface Units p J A J always in control W540 E1 01 NOTE All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained herein Moreover because OMRON is constantly striving to improve its high quality products the information contained in this manual is subject to change without notice Every precaution has been taken in the preparation of this manual Neverthe less OMRON assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained in this publication Trademarks Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products Microsoft Windows Windows Vista Excel and Visual Basic are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries EtherCATe is registered trademark and patented technology licensed by Beckhoff Automation GmbH Germany Safety over EtherCATe is registere
90. PQRST was nor was received normally mally received by the CIF Unit because There is data in the Output SID Response in the input Port Status 0011 hex the send buffer a Input SID 00 hex notification data is 01 hex gu Output SID 01 hex Set the Output Response SID Input Data Type 0000 hex Input Sub Info 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex 3 Sending The CIF Unit sends ABCDEFGHIJKLM AtoT NOPQRST to the serial line 4 Output The communications master outputs the The CIF Unit receives the output notifica ting output notification data given below to pass tion data given on the left UVWXY the following part of the text string to the Z CIF Unit UVWXYZ Output SID 02 hex lncremented Input SID 00 hex Response Output Data 2000 hex This is the final Type send data Output Sub Info 0000 hex xd Output Data 0006 hex 6 bytes Length Output Data 01 55 hex UVWXYZ to 05 56 hex 57 hex 58 hex 59 hex 5A hex 00 hex NX series Communications Interface Units User s Manual W540 sejduiex3 suoneoiunuiuio Odd Y m ejeg Buipues jo ejdurex3 L p 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 5 Output The communications master receives the The CIF Unit inputs the followi
91. RESPONSES teres cies ideid i eaa ek iniaa 7 6 7 3 3 Input Data Type and Output Data Type ssssssseeeneene mene eem em nennen 7 9 7 3 4 Send Completed Toggle Bitsin miniere nge nne aaa i Aaa A tede neueren negent 7 9 PDO Communications Examples c seeeceeeeeee eee eeeeeeeeeeaeeeeeeseeeeeeeeeseeesseaaeeeseeeeeeeeeeees 7 12 7 4 1 Example of Sending Datas ecan a e seen ete nene Sae tenentes nnns enn tenens nnn 7 12 7 4 2 Example of Receiving Data ssssssssssssssesssseee esent entere inneren nnns nnn nnns nnn 7 15 7 4 3 Simultaneously Sending and Receiving Data esssse eme 7 18 7 4 4 Example for a Parity Error during Data Reception sssssssssseeeee 7 20 7 4 5 Example of Control Command Execution ccccccccececeeeceeeceeeeesaeceeeesesaeaeeeeseseaeseseneeaeeeeees 7 22 User Programming to Send Data eeseeeeeeeeee eene enne nnne rien nennen 7 26 7 5 1 Creating and Outputting Output Notification Data ssssssssssseeneeeenene ren 7 26 7 5 2 Checking Input Notification Data sssseeeeenenem emen nennen nnne 7 26 b 3 Processing Send Data iiie eene edP eed ee TH Deed decedere cd nice ede c 7 26 User Programming to Receive Data eseeeeeeeeeeeeeeee enne nennen nennen 7 27 7 6 1 Checking Input Notification Data sssseeeeennnenm eme nemen enne eren 7 27 7 6 2 Creating and Outpu
92. Response is 03 hex CIF Unit processing The CIF Unit receives the output notification data given on the left 2 Receiving 1234 The CIF Unit receives 1234 from the serial line 2 7 18 NX series Communications Interface Units User s Manual W540 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 3 Output The communications master receives The CIF Unit inputs the following input respon the input notification data given on the notification data to tell the communica se for right tions master that ABCD was received nor ABCD The communications master knows mally Input that ABCD was normally received by At the same time it passes 1234 to the ting the CIF Unit because the Output SID communications master 1234 Response in the input notification data Por Status 0010 hex incremented is 03 hex c Input SID 03hex Setthe Output Output SID 03 hex SID Response There is receive data Input Data Type 1000 hex that is not the final Input Sub Info 0000 hex receive data Input Data Length 0004 hex 4 bytes Input Data 01 31hex 1234 32 hex 33 hex 34 hex 4 Sending The CIF Unit sends ABCD to the serial line ABCD 5 Input The communications master outputs The CIF Unit receives the output notifica response the following output notification data to tion data given
93. S Flow Control RS 232C 25 pin connector RS 232C 9 pin connector NX CIF101 on host computer NX CIF101 on host computer 3 P 2 o 20 ER 6 OR 4 Rs 5 cs 7 sc 8 co 15 sre o er 22 a 3 2 20 4 5 7 15 17 22 24 1 NX CIF101 4 10 NX series Communications Interface Units User s Manual W540 NX series Communications Interface Units User s Manual W540 4 4 Installation and Wiring RS 232C 25 pin connector RS 232C 9 pin connector NX CIF210 on host computer NX CIF210 on host computer 2 m 2 2 HOS De ee e oR e or 6 oR s v C fast s os CTS Ls e Fs es wi sus NX CIF210 Connection Examples to Modems NX CIF 101 Modem NX CIF210 Modem NX CIF 101 NX CIF210 11 SODINQ suoneoiunuiulo jenas oj BugoeuuoS Z p p ES suoneoiunuiuo BuulM rv p 4 Installation and Wiring i Examples of 1 1 Connections to an RS 422A 485 Port Two wire serial Four wire serial NX CIF105 communications device NX CIF105 communications device Shield Shield i Examples of 1 N Connections to an RS 422A 485 Port Two wire serial Four wire serial NX CIF105 enisi communications device NX CIF105 Shield communications device ie A RDA SDA Z m Two wire serial communications device Four wire serial _ communications device 4 12
94. Troubleshooting Event z Level Refer Event code hame Meaning Assumed cause Maj Prt Min Obs Info ence 80200000 hex NX Unit I O An I O communi An NX Unit is not mounted prop P 9 11 Communi cations error erly cations occurred between The power cable for the Unit Error the Communica power supply is disconnected tions Coupler Unit Or the wiring from the Unit and the NX Unit power supply to the NX Units is incorrect The power cable for the Unit S power supply is broken The voltage of the Unit power supply is outside the specified range Or the capacity of the Unit power supply is insufficient There is a hardware error in the NX Unit 80240000 hex NX Unit An error occurred There is a hardware error in the P 9 12 Clock Not in the clock infor NX Unit Synchro mation between There is a hardware error in the S nized Error the EtherCAT EtherCAT Coupler Unit Coupler Unit and the NX Unit 85400000 hex Data Dis The internal buf If the internal buffer for received P 9 13 carded Due fer is full The data is full the task period was to Full Inter input data is dis too short to read the received nal Buffer carded data s lu If the internal buffer for transmis sion data is full the transmission data was too large or there are too many send requests 80220000 hex NX Mes An error was The message communications P 9 14 sage Com detected in mes load is high munications sage commu
95. Unit When com n Source Detection Source Studio is connected and the 3 aX A manded from f details timing system configuration user Error attributes Level Information Recovery Log category Access Effects User program Continues Operation Not affected System defined Variable Data type Name variables None Assumed cause Correction Prevention Cause and d The event log was cleared by correction the user Attached information 1 Events that were cleared Attached B 1 The system event log was cleared information 2 The access event log was cleared Precautions Remarks None NX series Communications Interface Units User s Manual W540 oipnys oeuis S ay uo Bunoouse qnoJ pue sJo413 104 BuryoeyD e 6 SeJnp 2001g Bunoouse qnoJ pue sJ0JJ3 10 SePOD 1ue 3 Z 6 9 Troubleshooting 9 4 Resetting Errors Refer to the user s manual for the connected Communications Coupler Unit for information on resetting errors 9 18 NX series Communications Interface Units User s Manual W540 9 Troubleshooting 9 5 Troubleshooting Flow Refer to the user s manual for the connected Communications Coupler Unit for the standard flow for troubleshooting Mo 4 Bunoouse qnoJ 6 6 NX series Communications Interface Units User s Manual W540 9 19 9 Troubleshooting NX series Communications Interface Units User s Manual W540 10 Maintenance and Inspections E This section des
96. User s Manual W540 3 5 3 Part Names and Functions 3 2 2 Send Receive Indicators CIF101 LIE So Te ae m These indicators show the communications status with the serial communications device The following table lists the possible states for these indicators and what they mean Indicator Color Status Send receive status SD Yellow x Pa Lit Sending data z L S Not lit Waiting to send data RD Yellow x Lit Receiving data L 7 Not lit Waiting to receive data 1 The NX CIF210 has the following four indicators SD1 RD1 SD2 and RD2 The SD1 and RD1 indicators show the send and receive status for port 1 The SD2 and RD2 indicators show the send and receive status for port 2 3 6 NX series Communications Interface Units User s Manual W540 Installation and Wiring Ime This section describes how to install the CIF Units how to wire the power supplies used in the Slave Terminal and how to wire the CIF Units 4 1 Installing NX Units leeeeeen RII IIIA 4 2 4 2 Wiring the Power Supply and Ground to the Slave Terminal 4 3 4 3 Wiring the Terminals sseeee RR 4 4 4 3 1 Wiring the Screwless Clamping Terminal Blocks 4 4 4 3 2 Wiring the D Sub Connector 00 00 c eee 4 5 4 4 Wiring Communications seeen eee 4 6 4 4 1 Terminal Arrangement
97. X series functions of the NX series Safety NX SO Safety Control Control Unit are described Units NX series Safety Control Z931 NX SL Learning about the The instructions for the Safety CPU Unit Instruction Reference specifications of Unit are described Manual instructions for the When programming use this manual Safety CPU Unit together with the NX series Safety Control Units User s Manual Cat No Z930 Sysmac Studio Version 1 W504 SYSMAC Learning about the Describes the operating procedures Operation Manual SE2 operating proce of the Sysmac Studio 26 dures and func tions of the Sysmac Studio NX series Communications Interface Units User s Manual W540 Related Manuals Manual name Cat No Model numbers Application Description NJ series Troubleshooting W503 NJ501 Learning about the Concepts on managing errors that Manual NJ301 errors that may be may be detected in an NJ series detected in an Controller and information on individ NJ series Control ual errors are described ler Use these manuals together with the NJ series CPU Unit Hardware User s Manual Cat No W500 and NJ series CPU Unit Software User s Manual Cat No W501 NX series EtherCAT W519 NX ECC20 Leaning how to The following items are described Coupler Unit use an NX series the overall system and conf
98. above formula is less than 4 bytes set the PDO size to 4 bytes Also the largest PDO size that you can set is 80 bytes so if the result of the above formula is greater than 80 bytes set the PDO size to 80 bytes For example the data send times for various baud rates and process data communications cycles are given in the following table for these parameter values Parameter Value Number of I O refreshes 3 Bits per character 10 Optimum PDO Sizes bytes Process data communications Baud rate cycle ms bps 05 1 2 4 1 200 4 4 4 4 2 400 4 4 4 4 4 800 4 4 4 8 9 600 4 4 8 12 19 200 4 8 12 24 38 400 8 12 24 48 57 600 12 20 36 72 115 200 20 36 72 80 230 400 36 72 80 80 NX series Communications Interface Units User s Manual W540 7 Serial Communications l Precautions for Correct Use PDO Size Limits for EtherCAT The following restrictions apply to the PDO sizes when you use EtherCAT When you adjust the PDO sizes to improve communications performance consider these restrictions as well Item Specification bytes Maximum total PDO size that you can use for EtherCAT 5 736 Maximum total PDO size that you can use for PDO communications for one 1 024 EtherCAT slave EN Additional Information Optimizing PDO Sizes When Transmission Buffering Is Enabled If transmission buffering is enabled the send data is sent to the serial line only after all of the send data is passed f
99. age and click the Edit Slave Termi nal Configuration button 2 Go online 3 Right click the EtherCAT Coupler Unit on the Slave Terminal tab page and select Display Pro duction Information from the menu The Production Information dialog box is displayed 24 NX series Communications Interface Units User s Manual W540 Unit Versions IB Production In x gt Model Information Serial No Model Information Serial No Slot 000 NX ECC201 Ver 1 2 00000001 Slot 000 NX ECC201 Ver 1 2 00000001 D ban TR TEA ardware Version 4 Slot 001 NX CIF101 Ver 1 0 00000000 Er ERN i Slot 002 NX CIF105 Ver 1 0 00000000 Total power ON time 952 hours 2 Slot 001 NX CIF101 Ver 1 0 00000000 Slot 003 NX CIF210 Ver 1 0 00000000 der REEREE Hardware Version v1 00 Software Version V1 00 00 Output file Show Detail Total power ON time 4 hours Slot 002 NX CIF105 Ver 1 0 00000000 Close LOT No 33053 Hardware Version v1 00 Software Version 1 00 00 H Total power ON time 28 hours Simple Display Slot 003 NX CIF210 Ver 1 0 00000000 LOT No 33053 Hardware Version v1 00 Software Version V1 00 00 Total power ON time 224 hours Output file Show Outline Close Detailed Display In this example Ver 1 0 is displayed next to the Unit model The following items are displayed Slot number Unit model number Unit version Serial number Lot number Hardware version Software version Total power ON time The software version is displa
100. air cable for the communications cable Connect the shield on the communications cable to A8 or B8 FG on the NX CIF105 Also ground the A8 or B8 FG on the NX CIF101 to 100 Q or less Always turn ON the terminating resistance at the end nodes for RS 422A 485 communications To turn ON the terminating resistance connect TERSDA and TERSDB for a two wire connection and connect TERRDA and TERRDB for a four wire connection DuulM Sgv vezcv Su pue OZEZ SU pepueuiuooes jo sejduex3 r y H Precautions for Correct Use Ground the shield only at the CIF Unit Do not ground it at the other end of the cable If you ground both ends of the cable a difference in electrical potential between the two grounds may damage the equipment NX series Communications Interface Units User s Manual W540 4 13 4 Installation and Wiring Connection examples are given in the following figures Two wire Connections Serial communications Serial communications device NX CIF 105 device ut n 2 ie Scie ees ee se indoka aN Terminatin Terminatin resistance 9 resistance 56 TERRDA Lee reme Serial communications Serial communications NX CIF 105 evice device J Ud ee H TT 7 pee n Terminatin iens ms TERRDB NX series Communications Interface Units User s Manual W540 4 Installation and Wiring Four wire Connections with One Transmitting Node and N R
101. at power is correctly supplied from the Unit power supply Make sure that the power supply cable is wired properly SJ03je2Ipu BY YYM SJ0413 10 Bun429u2 Z 6 Make sure that there are no breaks in the power supply cable Make sure that the power supply voltage is within the specified range Make sure that the power supply has enough capacity Make sure that the power supply has not failed Restarting is in progress for the Slave This status does not indicate an error Wait Terminal until processing is completed Waiting for initialization to start Unit failure Replace the Unit Not Lit Lit A hardware error WDT error or other criti Replace the Unit cal error that is common to all Units Not Lit FS 1s Communications error or other NX Refer to the following event on NX Unit I O bus related error that is common to all Units Communications Error on page 9 11 NX series Communications Interface Units User s Manual W540 9 3 9 Troubleshooting 9 3 Checking for Errors and Trouble shooting on the Sysmac Studio 9 3 1 Error management on the NX Series is based on the methods used for the NJ series Controllers This allows you to use the Sysmac Studio to check the meanings of errors and troubleshooting procedures Checking for Errors from the Sysmac Studio When an error occurs you can place the Sysmac Studio online with the Controller or the Communications Coupler Unit to check curr
102. ate inhouse as the EtherCAT master The elements in the system configuration are described in the following system configuration diagram E Support Software A EtherCAT Master Sysmac Studio NJ series CPU Unit or a master that you create inhouse Connection to the peripheral z J USB port or built in 1 EtherNet IP port on an NJ series CPU Unit o t ule E NA Ww VZD URL ws N Built in EtherCAT port F ESI Files EtherCAT E Support Software Sysmac Studio G Communications Cable iiemet cable eEtherCAT Slave Terminal Peripheral USB Port B NX series 2A I EtherCAT Coupler Unit EHEH t Connection to the peripheral USB port on an EtherCAT xw Coupler Unit O M D End Cover F ESI Files C NX Units H CIF Unit Serial line I Serial Communications Device Letter Item Description A EtherCAT master The EtherCAT master manages the network monitors the status of the slaves and exchanges l O data with the slaves B EtherCAT Coupler Unit The EtherCAT Coupler Unit is an interface that performs process data com munications over an EtherCAT network between the NX Units and the Ether CAT master The I O data for the NX Units is accumulated in the EtherCAT Coupler Unit and then all of the data is exchanged with t
103. ation data data input given on the right The CIF Unit leaves the Input SID set to The communications master checks 02 hex to tell the communications master the Input SID that no input data is included in the input The Input SID is still 02 hex so the notification data master knows that there is no new lt Port Status input data included in the input notifi Input SID 02 hex cation data that was received Output SID Response Input Data Type Input Sub Info Input Data Length Input Data None 1 Output notification data is output from communications master to CIF Unit lt Input notification data is input from CIF Unit to communications master NX series Communications Interface Units User s Manual W540 7 Serial Communications i Output SID and Output SID Response The Output SID and Output SID Response are used when the communications master outputs send data to the CIF Unit They are used in the same way as the Input SID and Input SID Response 7 3 3 Input Data Type and Output Data Type If the send data size is larger than the PDO size the send data is separated into more than one PDO and sent from the communications master to the CIF Unit If the receive data size is larger than the PDO size the receive data is separated into more than one PDO and sent from the CIF Unit to the communications master It is therefore necessary for the communications master to tell the CIF Unit w
104. below 5 120 bytes When send data is discarded a Data Discarded Due to Full Internal Buffer event event code 85400000 hex is recorded in the event log Receive buffer Any new receive data from the serial line is discarded until the data in the receive buffer becomes full goes below 5 120 bytes When receive data is discarded a Data Discarded Due to Full Internal Buffer event event code 85400000 hex is recorded in the event log i Send Buffer Full Flag and Receive Buffer Full Flag If more than 4 097 bytes accumulate in the send or receive buffer capacity of 5 120 bytes each when data is sent or received the Send Buffer Full Flag or the Receive Buffer Full Flag in the Port Status for the relevant port changes to TRUE Monitor the Send Buffer Full Flag and Receive Buffer Full Flag in user programming and do not allow the buffers to become full Or adjust the PDO sizes so that the buf fers do not become full After the Send Buffer Full Flag or Receive Buffer Full Flag changes to TRUE it will return to FALSE when the amount of data in the send or receive buffer declines to 511 bytes or less Refer to A 3 List of NX Objects on page A 5 for details on the Send Buffer Full Flag and Receive Buffer Full Flag The following figure illustrates the relationship between the amount of data in the send buffer or receive buffer and the value of the Send Buffer Full Flag or Receive Buffer Full Flag A Data Discarded Due to Full Internal B
105. bject name Default Datarange Unit paa Access He ale attri hex hex type cation bute 7000 ChlOutputData 00 Ch1 Number of Entries 6 1 to 15 USINT RO No 01 Ch1 Output SID 00 hex USINT RW Yes 02 Ch1 Input SID 00 hex USINT RW Yes Response 2 03 Ch1 Output Data Type 0000 hex WORD RW Yes See below for details and BOOL 04 Ch1 Output Sub Info 0000 hex WORD RW Yes See below for details 05 Ch1 Output Data 0 UINT RW Yes Length bytes 06 to 19 Ch1 Output Data 01 to 00 hex ARRAY RW Yes 20 4 x4x20 0 3 OF BYTE 1 The Output SID is incremented each process data communications cycle from 01 hex to FF hex It returns to 01 hex after FF hex If the Output SID is not changed from the previous transmission it means there is no change to the output data or that there is no output data NX series Communications Interface Units User s Manual W540 A 9 Appendices 2 This is the operating status of the communications master 00 hex Not ready to receive Not 00 hex Ready to receive The value is the Output SID of the PDO that the communications master received last 3 If the set value exceeds 80 a setting of 80 bytes will be used 4 This is the send data that the CIF Unit sent to the serial line or the control command for the CIF Unit You can change the number of
106. ble and the command ends in an error gt 2 These commands are valid only when the flow control setting is not set to RS CS flow control If you at tempt to execute this command when the flow control setting is set to RS CS flow control execution is not possible and the command ends in an error 3 The new value is applied after the port is restarted 4 f this command is executed while monitoring is in progress monitoring is continued and the command ends normally 5 If this command is executed while monitoring is stopped monitoring remains stopped and the command ends normally 6 This command is valid only while monitoring is stopped If you attempt to execute this command while mon itoring is in progress execution is not possible and the command ends in an error GOLAIO XN Pue LOLJIO XN 8U JO Sji2e qO XN Z V NX series Communications Interface Units User s Manual W540 A 11 Appendices The meaning of the Output Sub Info is different between when the Change Number of Characters to Determine the End control command is specified in the Output Data Type and when the Change Communications Setup control command is specified a The following table gives the Output Sub Info when the Change Number of Characters to Deter mine the End control command is specified Bit Item name Description 00 to 15 Number of Characters to The value specified for the number of characters to determine the Determine the End end
107. cables and other items with locking devices are properly locked into place i Installation Do not apply labels or tape to the Unit When the Units are installed or removed adhesive or scraps may adhere to the pins in the NX bus connector which may result in malfunctions Do not touch the pins in the NX bus connector on the Unit Dirt may adhere to the pins in the NX bus connector which may result in malfunctions Example NX Unit 12 mm width NX series Communications Interface Units User s Manual W540 15 Precautions for Safe Use Do not write on the Communications Coupler Unit or an NX Unit with ink within the restricted region that is shown in the following figure Also do not get this area dirty When the Unit is installed or removed ink or dirt may adhere to the pins in the NX bus connector which may result in malfunctions in the Slave Terminal Restricted region shaded portion Communications Coupler NX Unit Unit or NX Unit Forthe installation orientations in the following figure support the cables e g with a duct so that the End Plate on the bottom is not subjected to the weight of the cables The weight of the cables may cause the bottom End Plate to slide downward so that the Slave Terminal is no longer secured to the DIN Track which may result in malfunctions Up
108. changed The Send detec The communications master knows Completed Toggle tion that the CIF Unit detected the end of s SOT SHS DEE Ae ie A u ex nd was detected the receive data because the End Input SID Oi hes incremented Detected in the Port Status in the input Output SID 03 hex notification data is TRUE Response Input Data Type 2000 hex This is the final Input Sub Info 0000 hex receive data Input Data Length 0000 hex 0 bytes Input Data 01 00 hex 00 hex 00 hex 00 hex 8 Input The communications master outputs the The CIF Unit receives the output notifica response following output notification data to tell tion data given on the left for end the CIF Unit that notification of the detec The CIF Unit knows that the communica detection tion of the end of the receive data was tions master has normally received the received normally notification of the detection of the end of Output SID 03 hex the receive data because the Input SID l Input SID 04 hex Set the Input Response in the output notification data is Response SID 04 hex Output Data 0000 hex Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 1 Output notification data is output from communications master to CIF Unit Input notification data is input from CIF Unit to communications master 2 n this example the end is not detected when the CIF Unit receives ABCD
109. cribes how to clean inspect and maintain the CIF Units 10 1 Cleaning and Inspections seeeeeee nnn nn 10 2 1071 1 Gleaning ier Beb reor er ebur ur D E ro n ied 10 2 10 1 2 Periodic Inspection pra a r IIR 10 2 10 2 Maintenance Procedures 0c cece eee eee 10 5 NX series Communications Interface Units User s Manual W540 10 1 10 Maintenance and Inspections 10 1 Cleaning and Inspections This section describes daily maintenance and the cleaning and inspection methods Inspect the CIF Unit daily or periodically in order to keep it in optimal operating condition 10 1 1 Cleaning Clean the CIF Unit regularly as described below in order to keep it in optimal operating condition Wipe the CIF Unit over with a soft dry cloth when doing daily cleaning If dirt remains even after wiping with a soft dry cloth wipe over with a cloth that has been wet with a sufficiently diluted detergent 296 and wrung dry Asmudge may remain on the NX Units from gum vinyl or tape that was left on for a long time Remove the smudge when cleaning V Precautions for Correct Use Never use volatile solvents such as paint thinner benzene or chemical wipes Do not touch the NX bus connector 10 1 2 Periodic Inspection Although the major components in NX Units have an extremely long life time they can deteriorate under improper environmental conditions Periodic inspections are thus require
110. cription Gives the model number of the Unit without the prefix For example CIF210 is given for the NX CIF210 The TS indicator shows the current operating status of the Unit The other indi cators show the send receive status of the communications data Model number indication Indicators Jojeo pu SL L C 3 2 1 TS Indicator ri uit HE The TS indicator shows the current status of the CIF Unit and the communications status with the Communications Coupler Unit EM ROM The following table lists the possible states for this indicator and what they mean Color Status Description Green x Lit The Unit is operating normally A The Unit is ready for I O refreshing EN z Flashing at 2 s Initializing P intervals aN Flashing at 0 5 s Automatic creation of the Unit configuration is in progress intervals I O checking is in progress Red S Lit A hardware error WDT error or other critical error that is common to all Units occurred Pann Flashing at 1 s A communications error or other NX bus related error that is common dA intervals to all Units occurred ASNS Not lit There is insufficient or no Unit power supply L Restarting is in progress for the Slave Terminal Waiting for initialization to start Unit failure NX series Communications Interface Units
111. ction describes the NX objects of the CIF Units A 3 1 Format of NX Object Descriptions In this manual NX objects are described with the following format Subindex Object name Data range Pate type Ssjoefqo XN JO3SIT V gt Index hex This is the index of the NX object that is expressed as a four digit hexadecimal number is Subindex hex This is the subindex of the NX object expressed by a two digit hexadecimal number E Object name This is the name of the object For a subindex this is the name of the subindex 3 Default This is the value that is set by default Data range Fora read only RO NX object this is the range of the data you can read Fora gt read write RW NX object this is the setting range of the data 5 Unit The physical unit of the object 2 Data type This is the data type of the object z Access This data tells if the object is read only or read write 9 RO Read only 3 RW Read write a I O allocation This tells whether I O allocation is allowed Data attribute This is the timing when changes to writable NX objects are enabled Y Enabled by restarting N Enabled at all times Write prohibited NX series Communications Interface Units User s Manual W540 A 5 Appendices A 3 2 NX Objects for the NX CIF101 and NX CIF105 i Unit Information Object These objects are related to product information Data inox subiudex Object name
112. d Stopping Monitoring and Displaying Monitor Data 8 8 NX series Communications Interface Units User s Manual W540 8 1 8 Serial Line Monitor 8 1 8 1 1 How the Serial Line Monitor Works Monitor in the serial line monitor means to store a log of the data that is sent and received by the CIF Unit in a buffer inside the CIF Unit The data stored in this buffer is called the monitor data You can check the monitor data to see when and which data was sent and received You can use this to confirm whether data is sent and received according to the system design You can use the serial line monitor to start and stop monitoring and to display monitor data on the Sys mac Studio There is a different buffer for each port You can therefore monitor the line data and display the monitor data for a specific port Monitor Data Contents The contents of the monitor data are given in the following table Category Data Description Sent or received SD Sent message messages RD Received message Control signals RS Request to send CS Clear to send ER Data terminal ready DR Data set ready Communications error flags Parity Error Flag These flags indicate when errors occur Framing Error Flag Overrun Error Flag l Precautions for Correct Use The monitor data is not included in the Sysmac Studio project To save the monitor data use the monitor data export operation and save it in a
113. d buffer Output SID E Response Input Data Type Input Sub Info Input Data Length Input Data 6 Sendingthe The CIF Unit sends the final send data to final send the serial line data 7 The communications master outputs the following output notification data There is no new output data Output SID Input SID Response T Output Data 0000 hex There is no Type send data Output Sub Info Output Data Length Output Data None 8 Checking The communications master receives The CIF Unit inputs the following input sending of the input notification data given on the notification data and tells the communi the final right cations master that the final send data send data The Send Completed Toggle Bit in the was sent to the serial line Port Status in the input notification The CIF Unit changes the Send Com data changed so the communications pleted Toggle Bit in the Port Status master knows that the CIF Unit sent c Port Status 0012 hex The Send the final send data to the serial line Input SID E Completed Output SID Toggle Bit Response changed 1 Output notification data is output from communications master to CIF Unit lt Input notification data is input from CIF Unit to communications master Input Data Type Input Sub Info Input Data Length Input Data 2 The CIF Unit sends the output data to the serial line immediately after receiving it from th
114. d in the Sysmac Stu dio You can obtain the ESI files for the latest models through the Sysmac Studio s automatic update function G Communications cable Use double shielded cables with aluminum tape and braiding of Ethernet cat egory 5 100BASE TX or higher and use straight wiring H CIF Unit A CIF Unit is a type of NX Unit that performs serial communications with an external serial communications device 1 Serial communications device This external device performs serial communications for the application 1 An EtherCAT Slave Terminal cannot be connected to any of the OMRON CJ1W NCLI81 or CJ1W NCLI82 Po sition Control Units even though they can operate as EtherCAT masters NX series Communications Interface Units User s Manual W540 1 Features and System Configuration 1 3 Unit Models Functions and Support Software pue suonouny sjapo HUN L semyos woddns The following three models of CIF Units are available They have different serial interfaces connec tions and numbers of serial ports 1 3 1 Unit Model Numbers The following three models of CIF Unit are available They have different serial interfaces connections e and numbers of serial ports e 3 Model number Serial interface External connection terminals E a NX CIF101 RS 232C Screwless Clamping Terminal Block 1 NX CIF 105 RS 422A 485 Screwless Clamping Terminal Block 1 g NX CIF210 RS 232C D
115. d on improvements and other reasons It is our practice to change part numbers when published ratings or features are changed or when significant construction changes are made However some specifications of the Product may be changed without any notice When in doubt special part numbers may be assigned to fix or establish key specifications for your application Please consult with your Omron s representative at any time to confirm actual specifications of purchased Product i Errors and Omissions Information presented by Omron Companies has been checked and is believed to be accurate how ever no responsibility is assumed for clerical typographical or proofreading errors or omissions 10 NX series Communications Interface Units User s Manual W540 Safety Precautions Safety Precautions Definition of Precautionary Information The following notation is used in this manual to provide precautions required to ensure safe usage of an NX series Communications Interface Unit The safety precautions that are provided are extremely important to safety Always read and heed the information provided in all safety precautions The following notation is used Indicates a potentially hazardous situation which if not avoided could AN ING N G result in death or serious injury Additionally there may be severe prop erty damage Indicates a potentially hazardous situation which if not avoided may result in minor or moderate i
116. d to ensure that the required conditions are being maintained Inspection is recommended at least once every six months to a year but more frequent inspections will be necessary in adverse environments Take immediate steps to correct the situation if any of the conditions in the following table are not met 10 2 NX series Communications Interface Units User s Manual W540 10 Maintenance and Inspections i Periodic Inspection Items No Item Inspection Criteria Correction 1 External Measure the power supply The voltage must be Use a voltage tester to check the power voltage at the terminal within the power supply power supply at the terminals Take supplies blocks and make sure that voltage range necessary steps to bring voltage of they are within the criteria the supplied power to within the voltage power supply voltage range 2 Ambient Check that the ambient oper 0 to 55 C Use a thermometer to check the environ ating temperature is within temperature and ensure that the ment the criteria ambient temperature remains within the allowed range of 0 to 55 C Check that the ambient oper 10 to 95 Use a hygrometer to check the ating humidity is within the With no condensation humidity and ensure that the ambi criteria ent humidity remains between 10 and 95 Make sure that condensation does not occur due to rapid changes in temperature Check that the CIF Unit
117. d trademark and patented technology licensed by Beckhoff Automation GmbH Germany ODVA CIP CompoNet DeviceNet and EtherNet IP are trademarks of ODVA The SD and SDHC logos are trademarks of SD 3C LLC S ad Other company names and product names in this document are the trademarks or registered trademarks of their respective companies Copyrights Microsoft product screen shots reprinted with permission from Microsoft Corporation Introduction Introduction Thank you for purchasing an NX series Communications Interface Unit This manual contains information that is necessary to use the NX series Communications Interface Units Please read this manual and make sure you understand the functionality and performance of the NX series Communications Interface Unit before you attempt to use it in a control system Keep this manual in a safe place where it will be available for reference during operation Intended Audience This manual is intended for the following personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent Personnel in charge of introducing FA systems Personnel in charge of designing FA systems Personnel in charge of installing and maintaining FA systems Personnel in charge of managing FA systems and facilities For programming this manual is intended for personnel who understand the programming language specifications in interna
118. divided into ABCD and EFGH and sent separately EFGH An end was detected For a programming sample to receive data refer to A 4 4 Programming Sample 3 Receiving Data on page A 38 NX series Communications Interface Units User s Manual W540 7 Serial Communications 7 7 User Programming to Restart a Port The communications master and CIF Unit exchange input notification data and output notification data in each PDO communications cycle The Input SID in the input notification data and the Output SID in the output notification data must match Refer to 7 3 2 SIDs and SID Responses on page 7 6 for detailed specifications for the Input SID and Output SID If the values of the Input SID and Output SID do not match the port on the CIF Unit must be restarted to initialize the values so that they match again Place processing to restart the CIF Unit port in the user programming that is executed in the communications master 7 7 1 Mismatched Values for the Input SID and Output SID The values for the Input SID and Output SID may become mismatched in the following cases A power interruption occurs only in the communications master A power interruption occurs only in the Slave Terminal or CIF Unit An EtherCAT error occurs and is then reset 7 7 2 User Program Processing Use the NX Unit I O Data Active Status in the I O data of the Communications Coupler Unit to detect when the values of the Input SID and Output SID d
119. ds to the CIF Unit is then sent to the serial line The Send Completed Toggle Bit in the Port Status in the input notification data tells whether the final send data has been sent to the serial line The Send Completed Toggle Bit changes between TRUE and FALSE each time the send data is sent to the serial line until the final data is sent The default value of the Send Completed Toggle Bit is FALSE The following table gives an operation example for the Send Completed Toggle Bit ed eyeq 1ndino pue ed geq yndu e e 7 NX series Communications Interface Units User s Manual W540 7 9 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 1 Outputting The communications master outputs The CIF Unit receives the output notifica send data the following output notification data to tion data given on the left that is not pass the send data that is not the final the final send data to the CIF Unit send data Output SID Input SID z Response There is send Output Data 1000 hex data that is not ese Type the final send Output Sub Info data Output Data Length Output Data Send data that is not the final send data 2 Output The communications master receives The CIF Unit inputs the following input response the input notification data given on the notification data for send right
120. e Ethernet line PDO communica tions The following procedure is used to receive data 1 The receive data on the serial line is stored in the receive buffer in the CIF Unit 2 In each process data communications cycle the receive data in the receive buffer in the CIF Unit is sent in order to the communications master The size of receive data that is transferred each time depends on the PDO settings You can change the PDO size to between 4 and 80 bytes The default setting is 20 bytes paAla28 pue juag S ejeq MOH Z Z m V Precautions for Correct Use The CIF Unit may not store receive data that is on the serial line in the receive buffer when the Controller power supply is turned ON or during initialization processing immediately after the CIF Unit is restarted A parity or framing error may occur pe I928M S ejeq MOH Z Z Z NX series Communications Interface Units User s Manual W540 7 5 7 Serial Communications 7 3 Data Used in PDO Communications 7 3 1 This section describes the data that is used in PDO communications between the communications master and a CIF Unit Input Notification Data and Output Notification Data The data that is sent from a CIF Unit to the communications master is called the input notification data The data that is sent from the communications master to a CIF Unit is called the output notification data All of the input notification data and output notification data can be
121. e Flag 0x7000 02 8 bit USINT Chi Input SID Respon 0x7000 03 16 bit WORD Chi Output Data Type 0x7000 04 16 bit WORD Chi Output Sub Info 0x7000 05 16 bit UINT Ch1 Output Data Leng 0x7000 06 32 bit ARRAY 0 3 OF BYTE Chi Output Data 01 0x7000 07 32 bit ARRAY 0 3 OF BYTE Chi Output Data 02 0x7000 08 32 bit ARRAY 0 3 OF BYTE Chi Output Data 03 0x7000 09 32 bit ARRAY 0 3 OF BYTE Chi Output Data 04 0x7000 0A 32 bit ARRAY 0 3 OF BYTE Chi Output Data 05 Input Input Data Set 1 Editable Add 1 0 Entry o 4 Cancel 3 Select Output Data Set n in the I O entry mapping name column and click the Add I O Entry button The following dialog box is displayed Ig Add 1 0 Ent 0x7000 0B Chi Output Data 06 0x7000 0C Chi Output Data 07 0x7000 0D Chi Output Data 08 0x7000 0E Chi Output Data 09 0x7000 0F Chi Output Data 10 0x7000 10 Chi Output Data 11 0x7000 11 Chi Output Data 12 0x7000 12 Chi Output Data 13 0x7000 13 Chi Output Data 14 0x7000 14 Chi Output Data 15 0x7000 15 Chi Output Data 16 0x7000 16 Chi Output Data 17 0x7000 17 Chi Output Data 18 0x7000 18 Chi Output Data 19 0x7000 19 Chi Output Data 20 Cancel 4 Select the I O entry to add and click the OK button The I O entry is added 5 Click the OK button or Apply button in the Edit I O Allocation Settings pane The I O entries will be added to the CIF Unit settings 6 Transfer the Unit operation settings to the Controller Refer to Transferring the Slave Term
122. e Display the details button to perform this type of search 8 4 NX series Communications Interface Units User s Manual W540 8 Serial Line Monitor 8 1 6 Creating CSV Files of Monitor Data You can save the monitor data that is displayed in the CIF Serial Line Monitor tab page to a CSV file on your computer However you cannot save the monitor data if monitoring is in progress or if the monitor data is not dis played in the CIF Serial Line Monitor tab page Use the Create CSV File button in the CIF Serial Line Monitor tab page to create a CSV file of the mon itor data The format of the CSV file that is created follows the display in the CIF Serial Line Monitor tab page as shown below The values for each item are separated with commas for individual trace numbers Trace No 1 2 3 4 5 Idle time characters 20 5 Sent message 31 32 ASCII A B Received message 33 ASCII C RS 0 0 1 1 1 CS 0 0 0 0 0 ER 0 0 0 0 0 DR 0 0 0 0 0 Communications error P l Precautions for Correct Use The CSV file cannot be read by the Sysmac Studio If you must read the monitor data that you save on the computer with the Sysmac Studio import and export binary monitor data SYJOM 10 UOW 9UI1 BLUES Y MOH 1 8 8 1 7 Processing for Multiple Units and Ports The following table describes the CIF Serial Line Monitor tab page and starting and stopping monitoring when more than one CIF Unit is connected or when more t
123. e communications master only when transmission buffering is disabled If transmission buffering is enabled all of the output data is sent at the same time after it has been received NX series Communications Interface Units User s Manual W540 suoneoiunuluo OGd U pasn eeg E Z m yg 9j660 pejejduio pues p e 7 Serial Communications 7 4 PDO Communications Examples 7 4 1 This section gives some examples of PDO communications between a communications master and CIF Unit Example of Sending Data In this example the following 26 byte text string is sent ABCDEFGHIJKLMNOPQRSTUVWXYZ The text string is separated into the first 20 bytes ABCDEFGHIJKLMNOPQRST and the remaining 6 bytes UVWXYZ to output it from the communications master to the CIF Unit For a programming sample for this example refer to A 4 3 Programming Sample 2 Sending Data on page A 35 Here we will assume that the input notification data and output notification data are in the following default status before the data is sent The default status will exist immediately after the power supply to the Controller is turned ON or the CIF Unit is restarted Input Notification Data NX object name Value Port Status Depends on port status Input SID 00 hex Output SID Response 00 hex Input Data Type 0000 hex Input Sub Info 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex Output Not
124. e from when the communications master starts sending the data to the CIF Unit until the CIF Unit starts sending the data to the serial line B The time from when the CIF Unit starts sending the data to the serial line until sending is completed Data send time ms A ms B ms Process data communications cycle ms x Number of I O refreshes x Output data size bytes A ms f PDO size bytes 92ueulojied SUOIJEDIUNWILUOD 8 Bits per character B ms x Number of characters x 1 000 Baud rate bps x For example the data send times for various baud rate and process data communications cycles are given in the following table for these parameter values Parameter Value Number of I O refreshes Always 3 Bits per character 10 Output data size bytes 256 PDO size bytes 20 1 Refer to 6 3 Setting the PDO Sizes on page 6 6 for the procedure to set PDO sizes Data Send Times ms Baud rate Process data communications cycle ms bps 0 5 1 2 4 1 200 2 153 2 172 2 211 2 287 2 400 1 086 1 106 1 144 1 221 4 800 553 572 611 687 9 600 286 306 344 421 19 200 153 172 211 287 38 400 86 106 144 221 57 600 64 83 122 199 115 200 42 61 100 176 230 400 31 50 88 165 NX series Communications Interface Units User s Manual W540 eoueuuJoneg suoneoiunululo2 eui Bugene 1 9 2 7 Serial Communications fi Data Send Times When Transmission
125. e s10113 104 BuryoeyD e 6 SeJnp 2001g Bunoouse qnoJ pue sJ0JJ3 10 SePOD 1ue 3 Z 6 9 Troubleshooting Event name NX Message Communications Error Event code 80220000 hex Meaning An error was detected in message communications and the message frame was discarded Depends on where the Sysmac NX Unit During NX Source Studio is connected and the BONES DO coon message com details timing e system configuration munications Error attributes Level Observation Recovery Log category System Effects User program Continues Operation Not affected System defined Variable Data type Name variables None Assumed cause Correction Prevention The message communications Reduce the number of times Reduce the number of times that load is high that instructions are used to instructions are used to send NX send NX messages messages Refer to the appendix of the NJ series Instructions Refer ence Manual Cat No W502 for information on the instruc tions that send messages Cause and The communications cable is Connect the communications Connect the communications correction disconnected or broken cable securely cable securely This cause does not apply if attached information 2 is 0 NX bus Message communications were cut off as the result of executing a synchronization or restoration operation on the Sysmac Stu dio or as the result of discon necting an EtherCAT
126. e to send or receive one character o NX series Communications Interface Units User s Manual W540 8 8 Serial Line Monitor 8 1 3 Processing When a Buffer Becomes Full The buffer size for each port is 4 096 characters The processing that is performed when a buffer becomes full depends on the monitor type as described in the following table The monitor type is set with the Monitor type button in the CIF Serial Line Monitor tab page Monitor type Processing Continuous After the buffer becomes full the data is discarded from the oldest and monitoring continues One shot Monitoring automatically stops when the buffer becomes full 8 1 4 Importing and Exporting Monitor Data You can export the monitor data that is displayed in the CIF Serial Line Monitor tab page to a binary file on your computer You can also import monitor data and display it in the CIF Serial Line Monitor tab page However importing and exporting monitor data is not possible while monitoring is in progress Also exporting monitor data is not possible unless the monitor data is displayed in the CIF Serial Line Moni tor tab page Use the Import button and Export button in the CIF Serial Line Monitor tab page to import and export monitor data V Precautions for Correct Use You cannot import or export monitor data when the CIF Unit is monitoring data or reading mon itor data from the buffer However if more than one CIF Unit is connect
127. eceiving Nodes Terminating Terminating resistance resistance Serial communications Serial communications i device device NX CIF105 T A1 SDA Cnm o h ma DOO te aea RDB ee en A I ET a4 RDA SDA z EX T5 B4 El EZ 2 Terminating Lm renra 1 Terminating S Terminating resistance Serial communications device Serial communications NX CIF105 device Terminal No 5 s HY ow m Ha Bs TERRp p e 4 a f 5 4 Terminating resistance DuulM Sgv vezcv Su pue OZEZ SU pepueuiuooes jo sejduex3 r y NX series Communications Interface Units User s Manual W540 4 15 4 Installation and Wiring NX series Communications Interface Units User s Manual W540 I O Data Specifications e are This section describes the data that you can set for I O allocations 5 1 I O Data Specifications for NX CIF101 and NX CIF105 5 2 5 2 I O Data Specifications for NX CIF210 000 e eee eee eee 5 3 NX series Communications Interface Units User s Manual W540 5 1 5 I O Data Specifications 5 1 I O Data Specifications for NX CIF101 and NX CIF105 All of the data that you can set for the I O allocations of the NX CIF101 and NX CIF105 on the Sysmac Studio correspond to NX objects The following table shows the correspondence be
128. ector is used to connect each Unit C Unit hookup guides These guides are used to connect two Units D DIN Track mounting hooks These hooks are used to mount the NX Unit to a DIN Track E Protrusions for removing These protrusions are to hold onto when you need to pull out the Unit the Unit F Indicators The indicators show the current operating status of the Unit Refer to 3 2 Indicators on page 3 5 G D Sub connector This connector is used to connect the external serial communications device This is the D Sub connector plug H FG terminal This is the external ground connection terminal It is a screwless clamp ing terminal Unit specifications The specifications of the Unit are given here J DIN Track contact plate This plate is connected internally to the functional ground terminal on the terminal block NX series Communications Interface Units User s Manual W540 3 Part Names and Functions 3 2 Indicators A CIF Unit has indicators that show information such as the current operating status of the Unit or sig nal I O status This section gives the names of the parts of the indicators and describes the functions of the indicators n o ie Coy A LIS sow B RDM ss0yeoIpul Z oN NX CIF101 NX CIF210 NX CIF105 Des
129. ed fi Actual Operation f you change the event level of an error the output status when the error occurs may also change Confirm safety before you change an event level Do not exceed the NX Unit power supply capacity If you exceed the NX Unit power supply capacity failure or malfunction may occur Use CPU Unit Communications Coupler Unit and Sysmac Studio versions that support the CIF Unit If you use versions that do not support the CIF Unit malfunctions may occur fi Turning OFF the Power Supply Do not turn OFF the power supply while data is being transferred Do not turn OFF the power supply while parameters are being written to the Communications Cou pler Unit or NX Units i General Communications Refer to the user s manual for the Communications Coupler Unit for precautions for the correct use of communications with the connected Communications Coupler Unit i Unit Replacement When removing an NX Unit remove multiple Units together which include the one you want to remove If you attempt to remove only one Unit it is stuck and hard to pull out NX series Communications Interface Units User s Manual W540 Regulations and Standards Regulations and Standards Conformance to EC Directives I Applicable Directives EMC Directives Low Voltage Directive i Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they
130. ed you can import or export monitor data for a CIF Unit that is not monitoring data or reading monitor data even when another CIF Unit is monitoring data or reading monitor data 8 1 5 Searching for Text Strings in Monitor Data You can search for a specified text string in the monitor data that is currently displayed in the CIF Serial Line Monitor tab page If the text string is found it is highlighted in blue The search string can contain up to 16 characters You can set any of the following three search types The search type is set with the Search type button in the CIF Serial Line Monitor tab page Search type Processing ASCII The ASCII characters that are displayed for the sent or received messages are searched for the text string that you specified for the search string a HEX The hexadecimal values that are displayed for the sent received messages are searched for the hexadecimal conversion of the text string that you specified for the search string Comm error The communications errors are searched for the characters that you specify for the search string The following letters are used to indicate the communications errors P Parity error F Framing error O Overrun error 1 The characters must be displayed in the CIF Serial Line Monitor tab page with the Display the characters button to perform this type of search 2 The hexadecimal values must be displayed in the CIF Serial Line Monitor tab page with th
131. eer A 35 A 4 4 Programming Sample 3 Receiving Data ssssssssssssssesseeeenennne erre enne A 38 A 5 Version Information 5 crier DEI A 42 Index NX series Communications Interface Units User s Manual W540 Relevant Manuals Relevant Manuals The table below provides the relevant manuals for the NX series Communications Interface Units Read all of the manuals that are relevant to your system configuration and application to make the most of the NX series Communications Interface Units Other manuals such as related product manuals are necessary for specific system configurations and applications Refer to Related Manuals on page 26 for the related manuals Manual name Application NX series Communications Inter Learning how to use NX series Communications Interface Units face Units User s Manual NX series Data Reference Manual Referencing lists of the data that is required to configure systems with NX series Units 6 NX series Communications Interface Units User s Manual W540 Manual Structure Page Structure and Icons The following page structure and icons are used in this manual 4 Installation and Wiring 4 3 Mounting Units Level 2 heading Level 3 heading 4 3 1 Connecting Controller Components The Units that make up an NJ series Controller can be connected simply by pressing the Units together and locking the sliders by moving them toward the back of the Units The End Cove
132. eive Buffer Full Receive buffer contains 4 097 or Receive buffer contains 511 or Flag more bytes of data fewer bytes of data 4 Ch1 RS Signal Receive buffer contains 4 097 or Receive buffer contains 511 or more bytes of data Or the RS Sig fewer bytes of data Or the RS nal ON command is executed Signal OFF command is executed 5 Ch1 CS Signal The remote node is busy The remote node is waiting to receive data 6 Ch1 ER Signal The ER Signal ON command is The ER Signal OFF command is executed executed 7 Ch1 DR Signal The remote node turns ON the DR The remote node turns OFF the signal DR signal 8 Ch1 Remote Unit Com The remote node is busy The remote node is waiting to munications Status receive data 9 Ch1 Local Unit Commu Receive buffer contains 4 097 or Receive buffer contains 511 or nications Status more bytes of data fewer bytes of data 10 Ch1 Line Monitoring Flag The serial line monitor is operat The serial line monitor is stopped ing 11 Ch1 Receive Data Exist Receive buffer contains 1 or more Receive buffer contains O bytes of bytes of data data 12 Ch1 Parity Error A parity error occurs The parity error is cleared 13 Ch1 Framing Error A framing error occurs The framing error is cleared 14 Ch1 Overrun Error An overrun error occurs The overrun error is cleared 15 Ch1 End Detected An end is detected An end is not detected 1 This status bit is valid when RS CS or Xon Xoff flow cont
133. en Bits 0 to 31 Serial number 6 The date of manufacture is given for the lot number Bits 24 to 31 Day of month of manufacture Bits 16 to 23 Month of manufacture Bits 8 to 15 Year of manufacture Bits 0 to 7 Reserved 7 The version is returned in ASCII It is given as follows V 56 integer part of version period 2E decimal part of version If all 20 bytes are not required the remaining bytes are filled with spaces 20 Example for version 1 00 56 31 2E 30 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 NX series Communications Interface Units User s Manual W540 Appendices fl I O Allocation Objects The following table lists the objects that you can set for the I O allocations Data Index Subindx Object name Default Data range Unit vate Access US ae attri hex hex type cation bute 6000 Ch1 Input Data 00 Ch1 Number of Entries 7 1to 16 USINT RO No 01 Ch1 Port Status 0000 hex WORD RO Yes See below for details and BOOL 02 Ch1 Input SID 00 hex USINT RO Yes 03 Ch1 Output SID 00 hex USINT RO Yes Response 2 04 Ch1 Input Data Type 0000 hex WORD RO Yes See below for details and BOOL 05 Ch1 Input Sub Info 0000 hex WORD RO Yes See below for details 06 Ch1 Input Data Length 0 UINT RO Yes bytes 07 to 1A Ch1 Input Data 01 to 00
134. end is set to 35 the end of the data will be assumed if data is not received for the time required to receive 3 5 characters If the baud rate is set to higher than 19 200 bps refer to the manual for the remote communications device The maximum total cable length for multidrop connections is 1 200 m The settings that are backed up are saved in memory in the Communications Coupler Unit The settings that are backed up are not saved in the CIF Unit NX series Communications Interface Units User s Manual W540 2 Specifications and Application Procedures 2 2 Application Procedures The following table gives the application procedures of the CIF Units Procedure Item Description Reference 4 Creating the Unit The CIF Unit is registered on the Sysmac Studio Section 5 I O Data Settings The Unit settings of the CIF Unit are made offline Specifications Writing the User The user program is created in the communica NJ series CPU Unit Program tions master Software User s Man 2 If the communications master is an NJ series CPU ual Cat No W501 Unit the user program is created on the Sysmac Studio 3 Installing Units The CIF Unit is installed on the Slave Terminal Section 4 Installation and Wiring 4 Wiring the Unit The CIF Unit is wired Section 4 Installation and Wiring Transferring Unit The Unit settings that were created on the Sysmac Section 5 I O Data 5 Settings and the Studio are transferred to the CIF Un
135. ennen nennen nennen nnn tenen nn nn nennen 10 2 1021 1 Cleaning zi a eq en ee Set eene be pei sodes neice eat 10 2 1021 2 Periodic Inspection 1 eere tei Si cene eee eee veo ted e Eee rece RUE 10 2 10 2 Maintenance Procedures eeeeeeeeseseeeeeenee nennen nennen nnn nnn nnne n ntn nnn nnn tnn nnne nn nennen 10 5 Appendices AI DIMONSIONS ETE A 2 A 1 1 NX CIF 101 and NXeCIE 1055 12 5 niit bs ep eeindye ee credi Ere RUE dap ipee E coated cg toss A 2 A 1172 NX CIE210 5 tenue ide tem eene deitas exta A 2 A 2 Changing NX Objects from a User Program seeeeeeeeeneenenn enne nnn nnt A 4 A 2 1 NX Objects That You Can Change ccccecceceecneeeeeeeeeaeeeeeeeeaeeeeeesesaeeeeeeseaaeaeseeseqeaeeeeseeenaeees A 4 A 2 2 Procedure to Change NX Objects sssssssesee ee nennen nennen enne A 4 A 3 List of NX Objects o oe e voce Cece dusts cena P ERR PED ERE REX Le FIERE ERR A 5 A 3 1 Format of NX Object Descriptions nennen A 5 A 3 2 NX Objects for the NX CIF101 and NX CIF 105 nennen A 6 A 3 3 NX Objects for the NXCIF2 T Oiane riire enee oa E tenente EE tenen nnne nen A 17 A 4 Programming Samples eese nennen nnnrnnn nennen inne nent nn nennen A 29 A 4 1 Items Common to all Programming Samples sese eem A 29 A 4 2 Programming Sample 1 Restarting CIF Unit Ports sesssseee e A 32 A 4 3 Programming Sample 2 Sending Data m
136. ent errors and the log of past errors Refer to the user s manual for the connected Communications Coupler Unit for information on checking errors i Current Errors Open the Sysmac Studio s Controller Error tab page to check the current error s level source source details event name event codes details attached information 1 to 4 and correction Errors in obser vation level are not displayed on this tab page fi Log of Past Errors Open the Sysmac Studio s Controller Event Log tab page to check the following information on past errors times levels sources source details event names event codes details attached information 1 through 4 and corrections Refer to the NJ series Troubleshooting Manual Cat No W503 and the Sysmac Studio Version 1 Operation Manual Cat No W504 for information on the items you can check and for how to check for errors Refer to 9 3 2 Event Codes for Errors and Troubleshooting Procedures on page 9 5 for details on event codes NX series Communications Interface Units User s Manual W540 9 Troubleshooting 9 3 2 Event Codes for Errors and Troubleshooting Procedures This section describes the errors events that can occur and how to troubleshoot them I Error Table The errors i e events that can occur in the Communications Interface Units are given on the following pages The following abbreviations are used in the Level column Abbreviation Meaning
137. ent level to the minor fault level If you change the level to the minor fault level Remarks the Recovery column above will be changed to Reset error in NX Unit Event name Framing Error Event code 85420000 hex Meaning A framing error occurred Depends on where the Sysmac Soire NX Unit Detection Continuously Source Studio is connected and the x fae details timing system configuration Error attributes Level Observation Recovery Log category System Effects Uea pecen Continues Gaon The NX Unit will continue to operate The received data may not be correct System defined Variable Data type Name variables None Assumed cause Correction Prevention The communications settings Use the same communications Use the same communications and baud rate setting do not settings and baud rate setting settings and baud rate setting for Cause and agree with those of the remote for the remote device the remote device correction p device Noise Implement noise countermea Implement noise countermea sures sures ached Attached information 1 Port where error occurred Spite 0001 hex Port 1 information 0010 hex Port 2 Precautions Remarks You can change the event level to the minor fault level If you change the level to the minor fault level the Recovery column above will be changed to Reset error in NX Unit NX series Communications Interface Units User
138. ent location eses 3 2 3 4 1 2 N NX bus connector osese 3 2 3 4 NX objects a fees E utes fee t aes slats A 5 NX UNIT E 1 3 O object NAME cies ce eie pini dehtes A 5 other objects sess A 13 A 24 Output Data Type sseeem ee 7 9 output notification data seen 7 6 Output SID sissies ee ele dii 7 9 Output SID Response see 7 9 P periodic inspection items neeese 10 3 protrusions for removing the Unit 3 2 3 4 R received message sinisiin iniia inte ite rene dn 8 3 release hole nemen eterne 3 3 S Send Completed Toggle Bit sees 7 9 sent message sss eee eee 8 3 serial line monitor sssssssssseemn 8 2 setting the PDO sizes sseem 6 6 lm 7 6 SID RESPONSE remm mre de 7 6 C52ds c E A 5 oupport SoftWare 2 tete D a iia 1 4 Sysmiac Studio 5 hein detecte e a Ei 1 4 T terminal block zoe t t teme 3 2 terminal hole 5 2 nein cec erred niti cu 3 3 terminal number indication eeen 3 3 Ic Ie number kenere ie eiaeia ee a Ra En 8 3 transmission buffering 2 0 eee cece e eect eeeneeeteneeeeeeeeeees 6 2 U UNI eS A 5 Unit hookup guides emm 3 2 3 4 Unit information objects sssssssssss A 6 A 17 Unit specification
139. eption error flag RcvDat Receive data storage area CUER E Gey occurs V Receive data is stored in RcvDat Receive data is not stored in RcvDat NX series Communications Interface Units User s Manual W540 sojdwes Bulmwesbolg Y Y gt geq Bulnisoey ajdwes Bulwwes6olg p p v Appendices i Variable Table The following variable table is set from the Sysmac Studio All of the variables that you registered in the I O map are registered as global variables e Internal Variables Name Data type Initial value Comment RovSize UINT UINTZO Size of the received data in bytes Rovlnitialize BOOL FALSE Initial processing execution flag for reception processing RevError BOOL FALSE Reception error flag RcvDone BOOL FALSE Reception completed flag InitialRequestTrigger BOOL FALSE Condition to establish communications InitialRequestTrigger R TRIG Instance of R_TRIG instruction R TRIG instance RevDat ARRAY 0 45 OF BYTE 46 16 0 Receive data storage area 1 Set the size of the RcvDat array to the following size or larger Maximum receive data size bytes Input PDO size bytes In this sample the maximum receive data size is 26 assuming A to Z is received and the input PDO size is 20 bytes so the array size is 46 e External Variables Name N1 Ch1 Input Data 01 Data type ARRAY 0 3 OF BYTE Comment Ch1 Input Data 01 N1 Ch1 Input Data
140. er of output data in the I O entry on the Sysmac Studio Vi Precautions for Correct Use Output SID Specifications The send buffer in the CIF Unit is cleared if the Output SID is 00 hex No send data is stored in the send buffer in the CIF Unit until an Output SID with a value of 01 hex is received In this case an error does not occur The send data is also not stored in the send buffer in the CIF Unit if the value of the Output SID is not one higher than the value of the last received SID In this case an error does not occur The following table shows the Output Data Type You can access this data as WORD data or BOOL data Bits Description 12 to 15 Indicates presence of send data sent by the CIF Unit to the serial line 0 hex No data sent 1 hex Data sent but not the last 2 hex Last data sent 08 to 11 Indicates presence of control command for CIF Unit 12 0 hex There is no control command 1 hex There is a control command 00 to 073 Indicates command code of control command See below for details 1 The CIF Unit will not perform any processing if the set value is out of range 2 Both send data and a control command can be sent at the same time NX series Communications Interface Units User s Manual W540 A 21 Appendices 3 You cannot read or write this data as BOOL data To issue a control command access the data as WORD data The following table shows the command code of the control comma
141. eries Units We recommend that you use the OMRON S8JX series Power Supplies EMC standard compli ance was confirmed for the recommended Power Supplies NX series Units that comply with EC Directives also conform to the Common Emission Standard EN 61131 2 Radiated Emission characteristics 10 m regulations may vary depending on the configuration of the control panel used other devices connected to the control panel wiring and other conditions You must therefore confirm that the overall machine or equipment in which the NX series Units are used complies with EC Directives You must use power supplies with an output hold time of 10 ms or longer for the DC power sup plies that are connected as the Unit power supplies and I O power supplies for the NX series Units This is a Class A product for industrial environments In a residential environment it may cause radio interference If radio interference occurs the user may be required to take appropriate mea sures NX series Communications Interface Units User s Manual W540 21 Regulations and Standards Conformance to UL and CSA Standards Some NX series products comply with UL and CSA standards If you use an NX series product that complies with UL or CSA standards and the machinery or system in which you use the NX series prod uct must also comply with the standards refer to the Instruction Sheet that is provided with the product The Instruction Sheet provides the applica
142. esponse from the CIF Unit to the control command sent from the communications master to the CIF Unit 4 0 hex No response 2 hex Response 00 to 079 Indicates the command code of the control command that the communications master sent to the CIF Unit 1 This bit indicates a parity error framing error or overrun error that occurred when data was received from the serial communications device NX series Communications Interface Units User s Manual W540 A 19 Appendices 2 The value will be 2 hex only when the Number of Characters to Determine the End is set to a value other than 0 If the Number of Characters to Determine the End is set to 0 and there is receive data the value will be 1 hex 3 If the Number of Characters to Determine the End is not set to 0 the value will be 1 hex when the final receive data is received The value will then change to 2 hex when the end is detected 4 Both data reception and a command response may occur at the same time 5 You cannot read this data as BOOL data To read the command code of a control command access the data as WORD data The following table shows the Input Sub Info If the Input Data Type indicates a control command response the result of the control command is stored in the Input Sub Info Value Execution result of Bescrisiion hex control command 0000 Normal end Normal end 0001 Execution is not possi T
143. et the baud rate for the ch1 port 0 1 200 bps 1 2 400 bps 2 4 800 bps Make all of the required settings Value 9600 bps 7 bits Even 2 bits None SEND amp RECEIVE On v C 2 neces Observation Observation Observation Observation Return to Default Value Transfer the Unit operation settings to the Controller Refer to Transferring the Slave Terminal Configuration Information in the Sysmac Studio Version 1 Operation Manual Cat No W504 for the procedure to transfer the Unit operation settings to the Controller NX series Communications Interface Units User s Manual W540 o 1 N c 3 o no m a o 3 o 2 2 Q v x o o oO a c o 6 Unit Settings 6 3 Setting the PDO Sizes You can set the PDO sizes for PDO communications between the communications master and CIF Unit You can edit the I O allocation settings on the Sysmac Studio to set the PDO sizes to between 4 and 80 bytes for both inputs and outputs You can adjust the PDO sizes to improve communications performance Refer to 7 8 2 Adjusting PDO Sizes to Improve Communications Performance on page 7 34 for information on improving communications performance Use the following procedure to set the PDO output data size 1 Click the CIF Unit on the Slave Terminal tab page 1 E v i The following pane is displayed The following screen capture is for the NX CIF 101 Item name Value Model name NX CIF10
144. ex hex 5004 Index hex 5005 Appendices z Data Subingex Object name Default Data range Unit Data Access ue alg attri hex type cation bute Data Bit Length 01 Ch1 Data Bit Length 0 Oor 1 USINT RW No Y 02 Ch2 Data Bit Length 0 0 or 1 USINT RW No Y The following table gives the meanings of the set values for the Ch1 Data Bit Length and Ch2 Data Bit Length Set value 0 7 bits Description 1 8 bits Data Ssubindex Object name Default Data range Unit pata Access He elles attri hex type cation bute Parity 01 Ch1 Parity 1 0 to 2 USINT RW No Y 02 Ch2 Parity 1 0 to 2 USINT RW No Y The following table gives the meanings of the set values for the Ch1 Parity and Ch2 Parity Set value Description 0 None 1 Even 2 Odd Data Subindex Object name Default Data range Unit Data Access ue alle attri hex type cation bute Stop Bits 01 Ch1 Stop Bits 0 0 or 1 USINT RW No Y 02 Ch2 Stop Bits 0 Oor1 USINT RW No Y The following table gives the meanings of the set values for the Ch1 Stop Bits and Ch2 Stop Bits Set value 0 2 bits Description 1 1 bit NX series Communications Interface Units User s Manual W540 sjoefqo XN JO3SIT V gt OLZAIO XN
145. f the power supply as shown in the following figure NX Unit Communications Coupler Unit power supply Non isolated DC power supply internal power supply circuit Peripheral device e g computer Peripheral device cable Ground terminal Unit power supply Tighten cable screws to the specified torque Loose screws may result in fire or malfunc tion Ask the cable manufacturer for the specified torque for the screws NX series Communications Interface Units User s Manual W540 13 Safety Precautions i Online Editing Execute online editing only after confirming that no adverse effects will be caused by devia tions in the timing of I O If you perform online editing the task execution time may exceed the task period I O may not be refreshed with external devices input signals may not be read and output timing may change 14 NX series Communications Interface Units User s Manual W540 Precautions for Safe Use Precautions for Safe Use i Transporting When transporting any Unit use the special packing box for it Also do not subject the Unit to excessive vibration or shock during transportation Do not drop any Unit or subject it to abnormal vibration or shock Doing so may result in Unit malfunction or burning Mounting Mount terminal blocks and connectors only after checking the mounting location carefully Be sure that the terminal blocks expansion
146. firm that the controlled system will not be adversely affected before you perform any of the fol lowing operations Changing the operating mode of the CPU Unit including changing the setting of the Operating Mode at Startup Changing the user program or settings Changing set values or present values Forced Refreshing Always sufficiently check the safety at the connected devices before you change the settings of a slave or Unit i General Communications Do not exceed the ranges that are given in the specifications for the communications distance and number of connected Units Refer to the user s manual for the Communications Coupler Unit for precautions for the safe use of communications with the connected Communications Coupler Unit fi Disposal Dispose of the product according to local ordinances as they apply i Using Communications Interface Units Always check polarity before connecting RS 422A 485 cables The polarity of the SDA SDB and RDA RDB terminals and signals are reversed for some remote devices 18 NX series Communications Interface Units User s Manual W540 Precautions for Correct Use Precautions for Correct Use i Storage Mounting and Wiring Follow the instructions in this manual to correctly perform installation and wiring Do not operate or store the Units in the following locations Doing so may result in malfunction in operation stopping or in burning Locations subject to di
147. first input data is first input data is included in the input noti included in the input notification data fication data that was received Port Status The input data is stored in the Input SID 01 hex c receive buffer Output SID Response Input Data Type Input Sub Info Input Data Length Input Data The first data received from the serial line 5 First input The communications master outputs The CIF Unit receives the output notifica response the following output notification data tion data given on the left The communications master sets the The CIF Unit knows that the communica Input SID Response to the value of tions master has normally received the the Input SID 01 hex to tell the CIF first input data because the Input SID Unit that the communications master Response in the output notification data is has normally received the first input 01 hex data Output SID Input SID 01 hex Response Output Data Type Output Sub Info Output Data Length Output Data NX series Communications Interface Units User s Manual W540 suoljesluNWIWOD OGd U pasn ged E Z ba sesuodses CIS pue SAIS Z 2 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 6 Inputting The communications master The CIF Unit inputs
148. from the Input Data Length given in the input notification data NX series Communications Interface Units User s Manual W540 7 27 7 Serial Communications Communications master CIF Unit Receive buffer PDO size User programming 20 bytes must perform process ing to get only 10 bytes Even if there are only 10 bytes the data is sent at the send timing in PDO commu nications The value of the Input Data Length is OA hex Receive data 10 bytes not the final receive data Operation When More Than One End Is Detected in the Receive Data in the Receive Buffer If the Number of Characters to Determine the End is set and more than one end is detected in the receive data in the receive buffer the receive data is separated into the different sets of input data and sent to the communications master For example if the receive data in the receive buffer is ABCDEFGH and ends are detected between D and E and after H the receive data is divided into ABCD and EFGH input data and sent to the commu nications master separately Therefore if you set the Number of Characters to Determine the End it is not necessary to divide input data with user programming Communications master CIF Unit ABCD An end was detected Receive buffer It is not necessary to divide the input data with user programming EFGH ABCD An end was detected A ond wacdetected The data is
149. han one port is used on the NX CIF210 Application Processing g conditions CIF Serial Line Monitor tab page Starting or stopping monitoring m Multiple CIF Units You can display a different tab page for You can start and stop monitoring for each 9 connected each Unit Unit separately a Using multiple You cannot display the CIF Serial Line Mon You can start and stop monitoring for each a ports on one CIF itor tab page for more than one port atthe port separately 2 Unit same time To stop or start monitoring do so after dis m You must change the Monitored port setting playing the CIF Serial Line Monitor tab page a to display the CIF Serial Line Monitor tab for the port you want to start or stop monitor 2 page for the port ing S o w l Precautions for Correct Use If you change the monitored port the monitor data for the port that is not displayed is cleared from the buffer If you must save the monitor data export the monitor data before you change the monitored port NX series Communications Interface Units User s Manual W540 8 5 8 Serial Line Monitor 8 2 Operation with the Sysmac Studio This section describes how to use the serial line monitoring on the Sysmac Studio in the following two parts Displaying the CIF Serial Line Monitor tab page Starting and stopping monitoring and displaying monitor data 8 2 1 Displaying the CIF Serial Line Monitor Tab Page You can display the CIF Serial Line M
150. he EtherCAT master at the same time The EtherCAT Coupler Unit can also perform message communications SDO communications with the EtherCAT master nits e nits perform processing with connected external devices C NX Unit The NX Units perf I O i ith ted ext devi Process data communications PDO communications with the EtherCAT master are performed through the EtherCAT Coupler Unit D End Cover The End Cover is attached to the end of the Slave Terminal NX series Communications Interface Units User s Manual W540 1 3 uoneinByuoy uiejs S Z L 1 Features and System Configuration Letter E Item Support Software Sys mac Studio Description The Sysmac Studio runs on a personal computer and it is used to configure the EtherCAT network and EtherCAT Slave Terminals and to program mon itor and troubleshoot the Controller You can connect the computer in which the Sysmac Studio is installed to the peripheral USB port or built in EtherNet IP port on an NJ series CPU Unit Or you can connect it to the peripheral USB port on the EtherCAT Coupler Unit to set up the EtherCAT Slave Terminal F ESI EtherCAT Slave Information files The ESI files contain information that is unique to the EtherCAT Slave Termi nals in XML format You can load an ESI file into the Sysmac Studio to easily allocate Slave Terminal process data and make other settings The ESI files for OMRON EtherCAT slaves are installe
151. he RS Signal ON or RS Signal OFF control command was exe ble because an opera cuted when the flow control method was set to RS CS flow control tion is in progress The Clear Serial Line Monitor Buffer control command was executed when serial line monitoring was in progress 0002 Undefined command An undefined control command was specified and therefore it cannot be executed 0003 Setting out of range The Change Number of Characters to Determine the End or Change error Communications Setup control command was executed and the value of the Output Sub Info was out of range The Flow Control Method in the Output Sub Info for the NX CIF105 was set to RS CS flow control Data Index subladex Object name Default Data range Unit Data Access HO aes attri hex hex type cation bute 7000 Ch1 Output Data 00 Ch1 Number of Entries 6 1to 15 USINT RO No 01 Ch1 Output sip 00 hex USINT RW Yes 02 Ch1 Input SID 00 hex USINT RW Yes Response 2 03 Ch1 Output Data Type 0000 hex WORD RW Yes See below for details and BOOL 04 Ch1 Output Sub Info 0000 hex WORD RW Yes See below for details 05 Ch1 Output Data 0 UINT RW Yes Length bytes 06 to 19 Ch1 Output Data 01 to 00 hex ARRAY RW Yes 204 x4x20 0 3 OF BYTE A 20 NX series Communications Interface Units User s Manual W540 Appendices
152. hether the sent output data is final or if other data will follow The same thing is true when the CIF Unit sends input data to the com munications master The following data is used for that purpose Input Data Type in the input notifica tion data and Output Data Type in the output notification data The following table gives the meanings of bits 12 to 14 of the Input Data Type and bits 12 to 15 of the Output Data Type Data Description Bits 12 to 14 in the Input Data Type Presence of receive data received by the CIF Unit from the serial line 0 hex No data received and the end not detected 1 hex Data received and the end not detected 2 hex The end detected Whether there is data received depends on cases 12 Bits 12 to 15 in the Output Data Type Presence of send data sent by the CIF Unit to the serial line 0 hex No data sent 1 hex Data sent but not the last 2 hex Last data sent suoneoiunuluo odd U pesn 2ed Z 1 The value will be 2 hex only when the Number of Characters to Determine the End is set to a value other than 0 If the Number of Characters to Determine the End is set to 0 and there is receive data the value will be 1 hex ix 2 f the Number of Characters to Determine the End is not set to 0 the value will be 1 hex when the last data is received The value will then change to 2 hex when the end is detected 7 3 4 Send Completed Toggle Bit The send data that the communications master sen
153. hex ARRAY RO Yes 20 3 x4x20 0 3 OF BYTE 6001 Ch2 Input Data 00 Ch2 Number of Entries 7 1to 16 USINT RO No 01 Ch2 Port Status 0000 hex WORD RO Yes See below for details and BOOL 02 Ch2 Input SID 00 hex USINT RO Yes 03 Ch2 Output SID 00 hex USINT RO Yes Response 2 04 Ch2 Input Data Type 0000 hex WORD RO Yes See below for details and BOOL 05 Ch2 Input Sub Info 0000 hex WORD RO Yes See below for details 06 Ch2 Input Data Length 0 UINT RO Yes bytes 07 to 1A Ch2 Input Data 01 to 00 hex ARRAY RO Yes 20 3 x4x20 0 3 OF BYTE 1 The Input SID is incremented each process data communications cycle from 01 hex to FF hex It returns to 01 hex after FF hex If the Input SID is not changed from the previous transmission it means there is no change to the input data or that there is no input data The Input SID immediately after the port is restarted is 00 hex The Input SID after the first PDO reception is then 01 hex and the Input SID after the second PDO reception is 02 hex 2 This is the operating status of the CIF Unit 00 hex Not ready to receive Not 00 hex Ready to receive The value is the Output SID of the PDO that the CIF Unit received last 3 This is the response from the CIF Unit for the receive data that the CIF Unit received from the serial
154. ification Data NX object name Value Output SID 00 hex Input SID Response 00 hex Output Data Type 0000 hex Output Sub Info 0000 hex Output Data Length 0000 hex Output Data 01 to 05 00 hex 00 hex NX series Communications Interface Units User s Manual W540 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 1 Output The communications master outputs the The CIF Unit receives the output notifica ting output notification data given below to tion data given on the left string pass the following part of the text string to from A to the CIF Unit ABCDEFGHIJKLM T NOPQRST Output SID 01 hex j Incremented Pin SID ooihgx There is send esponse Output Data 1000 hex data that is not Type the final Output Sub Info 0000 hex gt Output Data 0014 hex 20 bytes Length Output Data 01 41 hex AtoT to 05 42 hex 53 hex 54 hex The above output notification data is held until the CIF Unit sends the input notifica tion data in which the Output SID Response is 01 hex 2 Output The communications master receives the The CIF Unit inputs the following input noti response input notification data given on the right fication data to tell the communications forAtoT The communications master knows that master that ABCDEFGHIJKLMNOPQRST ABCDEFGHIJKLMNO
155. iguration User s Manual EtherCAT Coupler methods of an EtherCAT Slave Ter Unit and Ether minal which consists of an CAT Slave Termi NX series EtherCAT Coupler Unit nals and NX Units and information on hardware setup and functions to set up control and monitor NX Units through EtherCAT NX series EtherNet IP W536 NX EIC202 Leaning how to The following items are described Coupler Unit User s Man use an NX series the overall system and configuration ual EtherNet IP Cou methods of an EtherNet IP Slave pler Unit and Eth Terminal which consists of an erNet IP Slave NX series EtherNet IP Coupler Unit Terminals and NX Units and information on hardware setup and functions to set up control and monitor NX Units through EtherNet IP NJ series CPU Unit W500 NJ501 Learning the basic An introduction to the entire Hardware User s Manual NJ301 specifications of NJ series system is provided along the NJ series CPU with the following information on the Units including CPU Unit introductory infor Features and system configuration mation designing Overview installation and Part names and functions maintenance f Mainly hardware General specifications information is pro Installation and wiring vided Maintenance and inspection Use this manual together with the NJ series CPU Unit Software User s Manual Cat No W501 NJ series CPU Unit W501 NJ501 Learning how to The following information is pr
156. inal Configuration Information in the Sysmac Studio Version 1 Operation Manual Cat No W504 for the procedure to transfer the Unit operation settings to the Controller Each I O entry for the output data has a size of 4 bytes If you add I O entries for Output Data 01 to Out put Data 20 the PDO output data size will be 80 bytes You can use the same procedure to select Input Data Set n in the I O Entry Mapping Name column to add I O entries and change the PDO input data size NX series Communications Interface Units User s Manual W540 6 7 seziS Odd 24 Bumes 9 6 Unit Settings NX series Communications Interface Units User s Manual W540 Serial Communications The CIF Units support no protocol communications as the communications protocol This section describes the communications protocol and the serial communications specifications 7 1 No protocol Communications 0 anaana eee ee 7 3 7 2 How Data Is Sent and Received cece esses 7 4 7 2 4 How Data ls Sent 0 eens 7 4 7 2 2 How Data Is Received see en ee ee ER RR 7 5 7 3 Data Used in PDO Communications eese 7 6 7 3 1 Input Notification Data and Output Notification Data 7 6 7 3 2 SlDsand SID Responses 0 ccc ee es 7 6 7 3 3 Input Data Type and Output Data Type llle 7 9 7 3 4 Send Completed Toggle Bit 0 0 cee 7 9 7 4 PDO Communications Exa
157. ions master to the CIF Unit is immediately sent to the serial line Therefore in this case the data sent from the CIF Unit to the serial line may also be divided into pieces You can enable or disable transmission buffering with a setting on the Sysmac Studio Differences between When Transmission Buffering Is Enabled and Disabled The differences in how send data is sent with and without transmission buffering are described in the following table Transmission buff aie Features Enabled The send data that is sent to the serial line is never divided into pieces default Time is required to start sending the send data to the serial line after it is sent from the communications master Disabled The send data that is sent to the serial line may be divided into pieces Little time is required to start sending the send data to the serial line after it is sent from the communications master 6 2 NX series Communications Interface Units User s Manual W540 6 Unit Settings Timing Chart When Transmission Buffering Is Enabled Time is required to start sending the send data to the serial line after it is sent from the communications master Send data sent from i the communications H H H I master to the CIF Unit Send data on the o serial line Period during which send data is stored Period during which send in the send buffer in the CIF Unit data is sent to serial line Ti
158. it Specifications User Program If the communications master is an NJ series CPU Unit the user program is also transferred Checking Opera The serial line monitor is used to check the com Section 7 Serial 6 tion munications status with the external serial commu Communications nications device NX series Communications Interface Units User s Manual W540 sainpesoig uoneoiddy Z z 2 Specifications and Application Procedures NX series Communications Interface Units User s Manual W540 Part Names and Functions SSS This section gives the names of the parts of the CIF Units and describes the functions of the parts 3 1 Part Names 0 fi Sdn Re sO AEA RSG ERI Bo ee ee Xa ER 3 2 3 1 1 NX CIF101 and NX CIF105 2 0 0 ee eens 3 2 321 2 ANXeCIR 210 cin n i omnt Ru rop oe D Lace eh etn ced ae eo ape Cour te teer te das 3 4 3 2 IndiCatOts 5 seats Anise tee aia ea eee x ae ede Paca c VR Pe we a 3 5 3 21 TS INGICALONS u wee rte eeain ee esas kok ae INR eee aoe SS T EA 3 5 3 2 2 Send Receive Indicators 0 0 ce eee eens 3 6 NX series Communications Interface Units User s Manual W540 3 1 3 Part Names and Functions 3 1 Part Names This section gives the names of the parts of the CIF Units and describes the functions of the parts 3 1 1 NX CIF101 and NX CIF105 This section gives the names of the parts of the NX CIF101 and NX CIF105 and describes the func tions of the pa
159. ith monitoring of external power supply voltage as required so that the system operates safely in such a case You must take fail safe measures to ensure safety in the event of incorrect missing or abnormal signals caused by broken signal lines momentary power interruptions or other causes Soo o e Not doing so may result in serious accidents due to incorrect operation 12 NX series Communications Interface Units User s Manual W540 Safety Precautions i Voltage and Current Inputs Make sure that the voltages and currents that are input to the Units and slaves are within the specified ranges Inputting voltages or currents that are outside of the specified ranges may cause accidents or fire I Transferring Always confirm safety at the destination node before you transfer Unit configuration infor mation parameters settings or other data from tools such as the Sysmac Studio The devices or machines may operate unexpectedly regardless of the operating mode of the Controller Cautions I Wiring When you connect a computer or other peripheral device to a Communications Coupler Unit or Communications Interface Unit that has a non isolated DC power supply either ground the 0 V side of the external power supply i e Unit power supply or do not ground it at all If the peripheral devices are grounded incorrectly the external power supply i e Unit power supply may be short circuited Never ground the 24 V side o
160. ition are met However if Number of Characters to Determine the End is set as the reception completion condition you can check the End Detected in the Port Status in the input notification data to see if the reception completion condition is met For protocols in which the receive data contains a CRC or other check code the user programming must perform processing to confirm the check codes 7 6 4 Precautions for Writing User Programming to Receive Data Observe the following precautions when you write the user programming to receive data from the serial line ejeq uoneonnoN ndu Buyoayo L 9 Operation When the Size of Receive Data in the Receive Buffer Is Less Than the PDO Size In each PDO communications cycle the CIF Unit sends the receive data in the receive buffer to the communications master Therefore even if the size of receive data in the receive buffer is less than the PDO size the receive data is sent to the communications master at the send timing in PDO communi cations For example if the PDO size is 20 bytes there are 10 bytes of receive data in the receive buffer and the data is not the final receive data the 10 bytes of receive data in the receive buffer is sent to the communications master as input data at the send timing in PDO communications In this case the user programming would have to get the 10 bytes of input data from the 20 byte PDO that was received You can determine the size of the input data
161. knows Atthe same time the CIF Unit tells the mn that there is a parity error because communications master that there is a par 5 the Parity Error in the Port Status in ity error 9 the input notification data is TRUE There is a parity o The communications master dis Port Status 1012 hex error Input SID 05 hex Incremented caras 12 Output SID 03 hex 7 Response There is an Input Data Type _ 9000 hex error in the Input Sub Info 0000 hex receive data m Input Data Length 0002 hex 2 bytes k Input Data 01 31 hex 12 m 32 hex amp 00 hex 3 LO Hex__ o The above input notification data is held S until the communications master sends out put notification data in which the Input SID 2 Response is 05 hex m 3 Input The communications master outputs The CIF Unit receives the output notification 9 response the following output notification data to data given on the left 3 for 12 tell the CIF Unit that 12 was received The CIF Unit knows that 12 was normally a normally received by the communications master 3 Output SID 03 hex because the Input SID Response in the out 2 Input SID O5hex Setthe Input put notification data is 05 hex 9 Response SID E Output Data 0000 hex Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex NX series Communications Interface Units User s Manual W540 7 21 7 Serial Communications
162. l related costs or expenses Force Majeure Omron shall not be liable for any delay or failure in delivery resulting from causes beyond its control including earthquakes fires floods strikes or other labor disputes shortage of labor or materials accidents to machinery acts of sabotage riots delay in or lack of transportation or the requirements of any government authority Shipping Delivery Unless otherwise expressly agreed in writing by Omron a Shipments shall be by a carrier selected by Omron Omron will not drop ship except in break down situations b Such carrier shall act as the agent of Buyer and delivery to such carrier shall constitute delivery to Buyer c All sales and shipments of Products shall be FOB shipping point unless oth erwise stated in writing by Omron at which point title and risk of loss shall pass from Omron to Buyer provided that Omron shall retain a security inter est in the Products until the full purchase price is paid d Delivery and shipping dates are estimates only and e Omron will package Products as it deems proper for protection against nor mal handling and extra charges apply to special conditions Claims Any claim by Buyer against Omron for shortage or damage to the Products occurring before delivery to the carrier must be presented in writing to Omron within 30 days of receipt of shipment and include the original trans portation bill signed by the carrier noting that the carrier
163. le third party certification documents identifying ratings and limitations of use which apply to the Product This information by itself is not sufficient for a com plete determination of the suitability of the Product in combination with the end product machine sys tem or other application or use Buyer shall be solely responsible for determining appropriateness of the particular Product with respect to Buyer s application product or system Buyer shall take applica tion responsibility in all cases NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS AND THAT THE OMRON PRODUCT S IS PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM i Programmable Products Omron Companies shall not be responsible for the user s programming of a programmable Product or any consequence thereof Disclaimers I Performance Data Data presented in Omron Company websites catalogs and other materials is provided as a guide for the user in determining suitability and does not constitute a warranty It may represent the result of Omron s test conditions and the user must correlate it to actual application requirements Actual perfor mance is subject to the Omron s Warranty and Limitations of Liability i Change in Specifications Product specifications and accessories may be changed at any time base
164. lid when no flow control is set A 12 NX series Communications Interface Units User s Manual W540 Appendices 3 This is the value of the RS signal when EtherCAT communications are in the Operational state or im mediately after restarting the port This item is invalid when the flow control method is set to RS CS flow control and the initial RS signal value will always be ON If the Initial RS Signal Value is set to OFF use the RS Signal ON control command to turn ON the RS signal a eo r i Other Objects g o p g z This section lists other objects x g Data A Indexi iSubindex Object name Default Data range Unit Data Access Mo ii attri ii hex hex type cation bute 5000 Transmission Buffering A Enable Disable Setting 01 Ch1 Transmission Buffer 1 0 or 1 USINT RW No Y ing Enable Disable Setting The following table gives the meanings of the set values for the Ch1 Transmission Buffering Enable Disable Setting Set value Description 0 Disabled 1 Enabled Subindex Datrrange Data I O alloca hex g type tion GOLAIO XN Pue LOLJIO XN 9U JO Sji2efqO XN Z V 5001 Baud Rate 01 Ch1 Baud Rate 3 0 to 8 USINT RW No Y The following table gives the meanings of the set values for the Ch1 Baud Rate Set value Description 1 200 bps 2 400 bps 4 800 bps 9 600 bps 19 200 bps 38 400 bps 57 600 bps 115 200 bps
165. mation is provided in the notched area on the Unit Name Functions Lot number and unit ver Gives the lot number and unit version of the Unit sion DDMYYZ Lot number O Used by OMRON M gives the month 1 to 9 January to September X October Y November Z December 10 Unit version The decimal portion of the unit version is omitted It is provided in the Unit speci fications i Confirming Unit Versions with the Sysmac Studio You can use the Display Production Information menu command on the Sysmac Studio to check the unit versions of Communications Coupler Units and NX Units An example for an EtherCAT Slave Terminal is given below Refer to the user s manual for the connected Communications Coupler Unit for the procedure to con firm the unit versions of the Units on any other type of Slave Terminal 1 Double click EtherCAT under Configurations and Setup in the Multiview Explorer and then double click the EtherCAT Coupler Unit Or right click the EtherCAT Coupler Unit and select Edit from the menu The Slave Terminal tab page is displayed You can also display the Slave Terminal tab page with any of the following operations Double click EtherCAT under Configurations and Setup in the Multiview Explorer right click the EtherCAT Coupler Unit in the EtherCAT tab page and select Edit Slave Terminal Configu ration Or select the EtherCAT Coupler Unit on the EtherCAT tab p
166. ming Chart When Transmission Buffering Is Disabled Little time is required to start sending the send data to the serial line after it is sent from the communications master Send data sent from La the communications i master to the CIF Unit P N X I Send data on the HHH serial line sBunjes uone1edo yun 1 9 The send data that is sent to the serial line may be divided into pieces Detecting the Final Data When Transmission Buffering Is Enabled When transmission buffering is enabled the communications master must tell the CIF Unit when all of the send data is stored in the send buffer The Output Data Type in the output notification data that is sent from the communications master to the CIF Unit is used for this purpose The meanings of bits 12 to 15 in the Output Data Type are given in the following table Buuejing uoissiusueJ Z L 9 Bits 12 to 15 in the Output Data Type Description 0 hex There is no send data 1 hex There is send data that is not the final send data 2 hex There is send data that is the final send data If the value of bits 12 to 15 of the Output Data Type is 2 hex the CIF Unit knows that all of the send data is stored in the send buffer It sends all of the send data together to the serial line For details on the Output Data Type refer to 7 3 3 Input Data Type and Output Data Type on page 7 9 or to A 3 List of NX Objects on page A 5 H Precautions for Correct Use Even if tra
167. mples 000 000 ee eee eee 7 12 7 4 1 Example of Sending Data 20 00 00 c eee 7 12 7 4 2 Example of Receiving Data 0 00000 eee 7 15 7 4 3 Simultaneously Sending and Receiving Data 24 7 18 7 4 4 Example for a Parity Error during Data Reception 7 20 7 4 5 Example of Control Command Execution 0 0000 c cece eee 7 22 7 5 User Programming to Send Data eee eee 7 26 7 5 1 Creating and Outputting Output Notification Data 7 26 7 5 2 Checking Input Notification Data 0 0 00002 eee 7 26 7 5 3 Processing Send Data 00 00 cece 7 26 7 6 User Programming to Receive Data ccc eee eee eee 7 27 7 6 4 X Checking Input Notification Data 0 0 00002 eee 7 27 7 6 2 Creating and Outputting Output Notification Data 7 27 7 6 3 Determining Conditions to Start Reception and Conditions for the Completion of the Reception 2 iersihi4 See a eis ee ex es ION IER N 7 27 7 6 4 Precautions for Writing User Programming to Receive Data 7 27 7 7 User Programming to Restart a Port 0 0 cece ee eee eee 7 29 7 7 4 Mismatched Values for the Input SID and Output SID 7 29 7 7 2 User Program Processing 000 c cece eee eee tenes 7 29 NX series Communications Interface Units User s Manual W540 7 1 7 Serial Communications 7 8 Communica
168. nd If the set value is out of range 0002 hex undefined command is returned in the Input Sub Info from the CIF Unit FAM Command name Description 01 Restart Port Restarts the port 04 Clear Receive Buffer com Clears the receive buffer in the CIF Unit mand 05 Clear Send Buffer Clears the send buffer in the CIF Unit 06 Clear Send and Receive Clears the send and receive buffers in the CIF Unit Buffers 11 ER Signal ON Turns ON the ER signal 12 ER Signal OFF Turns OFF the ER signal 13 RS Signal ON Turns ON the RS signal 14 RS Signal OFF Turns OFF the RS signal 21 Change Number of Char Changes the Number of Characters to Determine the End to acters to Determine the the value specified in the Output Sub Info End 22 Change Communications Changes the communications setup to the values specified Setup in the Output Sub Info 31 Start One shot Monitoring Sets the monitor type of the serial line monitor to one shot monitoring and starts data monitoring 32 Start Continuous Monitor Sets the monitor type of the serial line monitor to continuous ing monitoring and starts data monitoring 33 Stop Monitoring 4 Stops serial line monitoring 34 Clear Serial Line Monitor Clears the buffer for the serial line monitor Buffer 1 These commands are valid only when the flow control setting is not set to RS CS flow control If you attempt to execute this command when the flow control setting
169. nd communications errors H Import Imports monitor data that was saved on the computer and displays it 1 Export Exports the monitor data that is displayed in the tab page to the computer J Search type Sets the search type K Search string Enter a search string L Search Previous Displays the previous search result M Search Next Displays the next search result N Monitor status Displays the monitoring status of the specified port on the CIF Unit Offline Offline Executing Monitoring is in progress Stopped Monitoring is stopped O Create CSV File Exports the monitor data that is displayed in the tab page to a CSV file on the computer 1 If you click the Read the monitor data button when there is no monitor data in the buffer no monitor data is displayed and an error message is also not displayed The CIF Serial Line Monitor tab page closes when you click the tab close button or when you right click the tab and select Close from the menu abe gel JOWUOW eur jeues 410 eui Buikejdsiq 1 z 8 NX series Communications Interface Units User s Manual W540 8 7 8 Serial Line Monitor 8 2 2 Starting and Stopping Monitoring and Displaying Monitor Data You can start monitoring stop monitoring and display monitor data for any CIF Unit port Use the fol lowing procedure 1 Make the following settings in the CIF Serial Line Monitor tab page Monitor type Monitored port Click the Start monitoring button
170. nd to turn ON the RS signal NX series Communications Interface Units User s Manual W540 A 23 Appendices i Other Objects This section lists other objects Subindex hex Index hex 5000 Object name Transmission Buffer ing Enable Disable Setting Default Data range Unit Data type Access I O allo cation 01 Ch1 Transmission Buffering Enable Dis able Setting 0 or 1 USINT RW No 02 Ch2 Transmission Buffering Enable Dis able Setting 0 or 1 USINT RW No The following table gives the meanings of the set values for the Ch1 Transmission Buffering Enable Disable Setting and Ch2 Transmission Buffering Enable Disable Setting Set value 0 Description Disabled 1 Enabled Subindex hex Index hex 5001 Object name Baud Rate Default Data range Data type Access I O allo cation 01 Ch1 Baud Rate 0 to 8 USINT RW No 02 Ch2 Baud Rate 0 to 8 USINT RW No The following table gives the meanings of the set values for the Ch1 Baud Rate and Ch2 Baud Rate Set value 1 200 bps Description 2 400 bps 4 800 bps 9 600 bps 19 200 bps 38 400 bps 57 600 bps 115 200 bps co N o oO A o N o 230 400 bps NX series Communications Interface Units User s Manual W540 Index hex 5003 Ind
171. ng 4 3 Wiring the Terminals This section describes how to wire the terminals on the CIF Units AN WARNING Make sure that the voltages and currents that are input to the Units and slaves are within the speci fied ranges Inputting voltages or currents that are outside of the specified ranges may cause accidents or fire Precautions for Safe Use Do not apply voltages that exceed the rated value to any Input Unit Do not apply voltages or connect loads to the Output Units or slaves in excess of the maxi mum ratings Turn ON the power after checking the connector wiring Observe the following precautions when you wire communications cables The communica tions cables may be broken or the Units may malfunction Do not fold communications cables Do not pull on communications cables with excessive force Secure communications cables so that they are not pulled on excessively Do not place heavy objects on top of communications cables For a terminal block cable ties can be used to secure the communications cable 4 3 1 Wiring the Screwless Clamping Terminal Blocks Refer to the user s manual for the connected Communications Coupler Unit for information on wiring the Screwless Clamping Terminal Block The following table gives the recommended ferrules and wires Unit model Wiring number part NX CIF 101 Wires Shielded twisted pair cable Size AWG28 to AWG16 0 08 to 1 5 mm Ferrules Refer to the use
172. ng input noti response input notification data given on the right fication data to tell the communications for The communications master knows that master that UVWXYZ was received nor UVWXY UVWXYZ was normally received by the mally Z CIF Unit because the Output SID There is data in Response in the input notification data is ort Status 0011 hex _ the send buffer Input SID 00 hex 01 hex PE Output SID 02hex Setthe Output Response SID Input Data Type 0000 hex Input Sub Info 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex 6 Sending The CIF Unit sends UVWXYZ to the serial UVWXY line Z 7 The communications master outputs the following output notification data There is no new output data Output SID 02 hex Not incremented Input SID 00 hex Response Output Data 0000 hex There is no Type send data Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 8 Confirm The communications master receives the The CIF Unit inputs the following input noti ing send input notification data given on the right fication data and tells the communications ing of The communications master knows that master that UVWXYZ was sent to the UVWXY the CIF Unit sent UVWXYZ to the serial serial line Z line because the Send Completed Toggle The Send Bit in the Port Status in the input notifica Completed tion data changed Port S
173. nica The communications cable is Error tions and the disconnected or broken message frame Message communications were S was discarded cut off as the result of executing a synchronization or restoration operation on the Sysmac Studio or as the result of disconnecting an EtherCAT slave 85410000 hex Parity Error A parity error The communications settings P 9 15 occurred and baud rate setting do not agree with those of the remote U S device Noise 85420000 hex Framing A framing error The communications settings P 9 15 Error occurred and baud rate setting do not agree with those of the remote U IS device Noise 85430000 hex Overrun An overrun error The next data was received dur P 9 16 Error occurred ing processing of received data U S because the baud rate is too high 90400000 hex Event Log The event log was The event log was cleared by the S P 9 17 Cleared cleared user NX series Communications Interface Units User s Manual W540 9 Troubleshooting i Error Descriptions This section describes the information that is given for individual errors Controller Error Descriptions The items that are used to describe individual errors events are described in the following copy of an error table Event name Gives the name of the error Event code Gives the code of the error Meaning Gives a short description of the error Gives the
174. njury or property damage Symbols The circle and slash symbol indicates operations that you must not do The specific operation is shown in the circle and explained in text This example indicates prohibiting disassembly The triangle symbol indicates precautions including warnings The specific operation is shown in the triangle and explained in text This example indicates a precaution for electric shock The triangle symbol indicates precautions including warnings The specific operation is shown in the triangle and explained in text This example indicates a general precaution gt eO The filled circle symbol indicates operations that you must do The specific operation is shown in the circle and explained in text This example shows a general precaution for something that you must do NX series Communications Interface Units User s Manual W540 11 Safety Precautions Warning AN WARNING li During Power Supply Do not touch the terminal section while power is ON Electric shock may occur Do not attempt to take any Unit apart In particular high voltage parts are present in Units that supply power while power is sup plied or immediately after power is turned OFF Touching any of these parts may result in electric shock There are sharp parts inside the Unit that may cause injury Do not place heavy objects on top of the cables Doing so may break the cables i Fail safe Measu
175. nnen nint tnn inni n nennen nnn tenens 6 2 6 1 1 Communications Specifications sssssssssssssssssssseseeeeeeeeene nennen enne nnne nrr sinn rsen 6 2 6 1 2 Transmission Buffering essssssssssssesessesee eene nennen nnne tenent enters innen nnns 6 2 eE e A E ae A cu 6 4 Unit Operation Setting Procedure eceescccceeseeeeeeeeeeeeseeeeeeeeeseeeeeseenseeseeseeeseeeesseenseeeseeeenes 6 5 Setting the PDO Sizes ii ic ctieccsccesseeeetceeciceceteecateneeeceeedceeeerveceeneseevetecesesteiceeesesenteeeswerveedeeressteee 6 6 Serial Communications No protocol Communications eelseeeeseeeesesseeseee eene nennnnnn nne nn nennen nnn nn nette nnn 7 3 How Data Is Sent and Received cccsccecssseseneseseaaseeseeseeeeeeeesaaaseeeesseseenaeseaaaaseeeeeseooeessaneees 7 4 7 2 1 HOW Data Is S6ht ssec a ern rna e vo Uc ae raa exa cede anna Ee Tou eR ind 7 4 7 2 2 How Data Is RECOIVE 0 ccc cc ccccc cee ssessececeececeeceaeeaueeseeeeceececesseaueasesseeeeeeeeseeaseaaenseeeeeeeeseeeeeaaeags 7 5 NX series Communications Interface Units User s Manual W540 CONTENTS 7 3 7 5 7 6 7 7 7 8 Section 8 8 1 Section 9 9 1 9 2 9 3 9 4 9 5 Data Used in PDO Communications ccccccesseeneeeseeeeeeeeeneeeeeeseeeseeeeseeeneeeeeesesesseeneeneeeseneees 7 6 7 3 1 Input Notification Data and Output Notification Data seme 7 6 7 3 2 SIDS and SID
176. not to do to ensure safe usage of the product H Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance ES Additional Information Additional information to read as required This information is provided to increase understanding or make operation easier L Version Information Information on differences in specifications and functionality for CPU Units and Communica tions Coupler Units with different unit versions and for different versions of the Sysmac Studio is given Note References are provided to more detailed or related information Precautions on Terminology n this manual download refers to transferring data from the Sysmac Studio to the physical Control ler and upload refers to transferring data from the physical Controller to the Sysmac Studio For the Sysmac Studio synchronization is used to both upload and download data Here synchro nize means to automatically compare the data for the Sysmac Studio on the computer with the data in the physical Controller and transfer the data in the direction that is specified by the user n this manual the directions in relation to the Units are given in the following figure which shows upright installation D NX series Communications Interface Units User s Manual W540 Terms and Conditions Agreement Terms and Conditions Agreement Warranty
177. nput Notification Data NX object name Value E Port Status 0010 hex A Input SID 00 hex g Output SID Response 02 hex 9 Input Data Type 0000 hex 3 Input Sub Info 0000 hex S Input Data Length 0000 hex S Input Data 01 to 05 00 hex 00 hex 9 m Output Notification Data 5 F NX object name Value i Output SID 02 hex Input SID Response 00 hex 7 Output Data Type 0000 hex Output Sub Info 0000 hex Output Data Length 0000 hex Output Data 01 00 hex 00 hex 00 hex 00 hex Communi Step Communications master processing cations CIF Unit processing direction 1 Receiving The CIF Unit receives ABCDEFGHIJKLM AtoZ NOPQRSTUVWXYZ from the serial line ejeg BulAisoay Jo ejduex3 z r NX series Communications Interface Units User s Manual W540 7 15 7 Serial Communications Communi Step Process Communications master processing cations CIF Unit processing direction 2 Inputting The communications master receives The CIF Unit inputs the following input noti string from the input notification data given on the fication data to pass ABCDEFGHIJKLM AtoT right NOPQRST to the communications master Port Status 0010 hex Input SID 01 hex Incremented Output SID 02 hex There is receive Response data that is not Input Data Type 1000 hex the final receive Input Sub Info 0000 hex data Input Data Length
178. nsmission buffering is enabled all of the data in the send buffer is sent to the serial line if the amount of send data in the send buffer exceeds 4 096 bytes even if all of the send data is not yet in the send buffer NX series Communications Interface Units User s Manual W540 6 3 6 Unit Settings You can set the event levels for errors that occur in the CIF Units 6 4 NX series Communications Interface Units User s Manual W540 6 Unit Settings 6 2 Unit Operation Setting Procedure Use the following procedure from the Sysmac Studio to set the Unit operation settings 1 Q N Double click the CIF Unit in the Multiview Explorer The following pane is displayed The following screen capture is for the NX CIF101 All parameters Item name Data Bit Length Ch1 Data Bit Length Parity Ch1 Parity Stop Bit Ch1 Stop Bit Flow Control Ch1 Flow Control Flow Control Target Ch1 Flow Control Target Initial RS Signal Value Ch1 Initial RS Signal Value Number of Characters to Determine the End Ch1 Number of Characters to Transmission Buffering Enable Disable Setting Ch1 Transmission Buffering Event Level Setting Event 1 Event Level Setting Level Setting of Event 1 Event Level Setting Event 2 Event Level Setting Level Setting of Event 2 Event Level Setting Event 3 Event Level Setting Level Setting of Event 3 Event Level Setting Event 4 Event Level Setting Level Setting of Event 4 Help Data type Comment S
179. nual W540 7 3 7 Serial Communications 7 2 How Data Is Sent and Received 7 2 1 This section describes how the send and receive buffers in a CIF Unit are used to send and receive data The definitions of the terms used for sending and receiving data are described in the following table Term Meaning Sending Sending data from the Controller to the serial line data Although data is sent and received between the communications master and CIF Unit within a Controller the device sending the data such as the communications master or CIF Unit is spec ified in that case and the wording data is sent is used Receiving Receiving data from the serial line at the Controller data Although data is sent and received between the communications master and a CIF Unit within a Controller the device receiving the data such as the communications master or CIF Unit is specified in that case and the wording data is received is used Send data The data that is sent from the Controller to the serial line Although data is sent and received between the communications master and a CIF Unit within a Controller send data is used only for the data that is finally sent from the Controller to the serial line Receive The data that is received by the Controller from the serial line data Although data is sent and received between the communications master and a CIF Unit within a Controller receive data is used only for the da
180. o not match The value of NX Unit I O Data Active Status changes to TRUE when the values become unmatched HOd Weysey 0 BuruuiejBojg 1SN 7 4 Therefore assign a variable to NX Unit I O Data Active Status in the I O map as shown below In this example the Communications Coupler Unit is the NX ECC201 and NX Unit I O Data Active Status 125 is used as the port i O Pot Description Name NX ECC201 NX Unit I O Data Active NX Unit I O Data Active E001 NX Unit IO Data Active Status 125 Status Status 125 When you detect a change to TRUE in the NX Unit I O Data Active Status execute the Restart Port control command When restarting the port is completed execute the user programing to send and receive data ix For a programming sample for restarting a port refer to A 4 2 Programming Sample 1 Restarting CIF Unit Ports on page A 32 IS 1ndino pue gis 1ndu eui Joy senjeA peuojeuistW 7 7 NX series Communications Interface Units User s Manual W540 7 29 7 Serial Communications 7 8 Communications Performance This section describes how to calculate the communications performance of the CIF Unit You can adjust the PDO sizes to improve communications performance 7 8 1 Calculating the Communications Performance The communications performance is determined by the transfer time between the communications master and CIF Unit and the transfer time between the CIF Unit and serial line The calcula
181. of I O refreshes 2 Bits per character 10 Input data size bytes 256 Data Reception Times ms Process data communications Baud rate cycle ms bps 0 5 1 2 4 1 200 2 135 2 136 2 138 2 141 2 400 1 068 1 069 1 071 1 075 4 800 535 536 538 542 9 600 268 269 271 275 19 200 135 136 138 142 eoueuuJoneg SUOHedUNWWOD 34 Bugene 1 9 2 38 400 68 69 71 75 57 600 46 47 49 53 115 200 24 25 27 31 230 400 13 14 16 20 NX series Communications Interface Units User s Manual W540 7 33 7 Serial Communications 7 8 2 Adjusting PDO Sizes to Improve Communications Performance The communications performance is determined by the transfer time between the communications master and CIF Unit and the transfer time between the CIF Unit and serial line Therefore you can achieve efficient communications if you optimize the PDO sizes for the process data communications cycle between the communications master and CIF Unit and the baud rate between the CIF Unit and serial line You can use the following formula to calculate the optimum PDO size Baud rate bps x Process data commu Bits per character x 1 000 nications cycle ms Optimum PDO sizes bytes x Number of I O refreshes However the PDO sizes must be set in increments of 4 bytes so use the next higher multiple of 4 bytes from the value found with the above formula Also the smallest PDO size that you can set is 4 bytes so if the result of the
182. onitor tab page Use the following procedure 1 Right click the target CIF Unit on the Slave Terminal tab page and select CIF Serial Line Moni tor Change Model Edit Unit Operation Settings Import NX Unit Settings and Insert New Unit Export NX Unit Settings Show Model Unit Name 8 6 NX series Communications Interface Units User s Manual W540 8 Serial Line Monitor The CIF Serial Line Monitor tab page is displayed A B C D E F G H I J K L M Monitor type Oneshot Monitored port Port 1 i Search type NE N Monitor status Offline 0 1 Data segment characters Trace No 1 2 3 4 5 6 if 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Idle time characters Sent message Asci Received message ASCH RS cs ER DR Communications error O e N o The buttons and boxes on the CIF Serial Line Monitor tab page are described in the following table E Letter Item Description A Start monitoring Starts monitoring i B Stop monitoring Stops monitoring C Read the monitor data Reads the monitor data from the buffer and displays it o D Monitor type Sets the monitor type 3 E Monitored port Sets the number of the port to monitor This button is enabled for the i NX CIF210 E F Display the characters Shows and hides the characters for the sent and received messages o G Display the details Shows and hides the control signals a
183. ormance Data Data presented in Omron Company websites catalogs and other materials is provided as a guide for the user in determining suitabil ity and does not constitute a warranty It may represent the result of Omron s test conditions and the user must correlate it to actual application require ments Actual performance is subject to the Omron s Warranty and Limitations of Liability Change in Specifications Product specifications and accessories may be changed at any time based on improvements and other reasons It is our prac tice to change part numbers when published ratings or features are changed or when significant construction changes are made However some specifica tions of the Product may be changed without any notice When in doubt spe cial part numbers may be assigned to fix or establish key specifications for your application Please consult with your Omron s representative at any time to confirm actual specifications of purchased Product Errors and Omissions Information presented by Omron Companies has been checked and is believed to be accurate however no responsibility is assumed for clerical typographical or proofreading errors or omissions OMRON AUTOMATION amp SAFETY OMRON AUTOMATION AND SAFETY THE AMERICAS HEADQUARTERS Chicago IL USA 847 843 7900 800 556 6766 e www omron247 com OMRON CANADA INC HEAD OFFICE OMRON ARGENTINA SALES OFFICE Toronto ON Canada 416 286 6465
184. oupler Unit a and NX Unit g Continues The NX Unit will continue to operate Effects User program Operation Input data Inputs are stopped 3 Output data Outputs are stopped s System defined Variable Data type Name Q variables None Assumed cause Correction Prevention E The NX Unit is not mounted Mount the NX Units and End Mount the NX Units and End 5 properly Cover securely and secure Cover securely and secure them o them with End Plates with End Plates 2 The power cable for the Unit Correctly wire the Unit power Correctly wire the Unit power power supply is disconnected supply to the NX Units supply to the NX Units Or the wiring from the Unit power supply to the NX Units is C d incorrect MU S The power cable for the Unit Replace the power cable None s power supply is broken between the Unit power supply S eo and the NX Units pis The voltage of the Unit power Correctly configure the power Correctly configure the power supply is outside the specified supply system according to the supply system according to the Oo range Or the capacity of the power supply design methods power supply design methods a Unit power supply is insufficient There is a hardware error in the If the error occurs again even None m NX Unit after you make the above cor 3 rection replace the NX Unit S Attached None information g Precautions None 3 Remarks 8 D NX series Communications Interface Units User s Manual W540 9 1
185. ovided Software User s Manual NJ301 program and set on a Controller built with an NJ501 NX series Communications Interface Units User s Manual W540 up an NJ series CPU Unit Mainly software information is pro vided CPU Unit CPU Unit operation CPU Unit features Initial settings Programming based on IEC 61131 3 language specifications Use this manual together with the NJ series CPU Unit Hardware User s Manual Cat No W500 27 Related Manuals Manual name Cat No Model numbers Application Description NJ series CPU Unit Built in W505 NJ501 Using the built in Information on the built in EtherCAT EtherCAT Port User s NJ301 EtherCAT porton port is provided Manual an NJ series CPU This manual provides an introduction Unit and information on the configuration features and setup Use this manual together with the NJ series CPU Unit Hardware User s Manual Cat No W500 and NJ series CPU Unit Software User s Manual Cat No W501 NJ series CPU Unit Motion W507 NJ501 Learning about The settings and operation of the Control User s Manual NJ301 motion control set CPU Unit and programming con tings and program cepts for motion control are ming concepts described When programming use this manual together with the NJ series CPU
186. party software The license and copyright information associated with this software is available at http www fa omron co jp nj info e 22 NX series Communications Interface Units User s Manual W540 Unit Versions Unit Versions This section describes the notation that is used for unit versions the confirmation method for unit ver sions and the relationship between unit versions and Sysmac Studio versions Unit Versions A unit version has been introduced to manage the Units in the NX Series according to differences in functionality accompanying Unit upgrades I Notation of Unit Versions on Products The unit version is given with the Unit specifications on the side of the Unit or in the notched area Notched area specifications pP q r L Lot number Unit version NX series Communications Interface Units User s Manual W540 23 Unit Versions The following information is provided in the Unit specifications on the Unit Name Function Unit model number Gives the model of the Unit Unit version Gives the unit version of the Unit Lot number Gives the lot number of the Unit DDMYYL I Lot number O Used by OMRON M gives the month 1 to 9 January to September X October Y November Z December The following infor
187. r is connected in the same way to the Unit on the far right side of the Controller 1 Join the Units so that the connectors fit exactly A step in a procedure Indicates a procedure appe Tt 2 The yellow sliders at the top and bottom of each Unit lock the Units together Move the sliders toward the back of the Units as shown below until they click into place Move the sliders toward the back until they lock into place n Precautions for Correct Use p M M The sliders on the tops and bottoms of the Power Supply Unit CPU Unit I O Units Special I O Units and CPU Bus Units must be completely locked until they click into place after connecting the adjacent Unit connectors Special information Icons indicate precautions additional information or reference information HBe NJ series CPU Unit Hardware User s Manual W500 Manual name syun Bununoy r Sjueuoduioo 1ejjanuoo Bunoeuuoo L E Manual Structure Level 1 heading Level 2 heading r Level 3 heading Gives the current headings Page tab Gives the number of the main section Note This illustration is provided only as a sample It may not literally appear in this manual NX series Communications Interface Units User s Manual W540 Manual Structure Special Information Special information in this manual is classified as follows Precautions for Safe Use Precautions on what to do and what
188. r s manual for the connected Communications Coupler Unit NX CIF 105 Wires Shielded twisted pair cable Size AWG28 to AWG16 0 08 to 1 5 mm Characteristic impedance 1 MHz 100 Q standard Static capacity 1 kHz 64 pF m standard Attenuation 1 MHz 30 dB km max Ferrules Refer to the user s manual for the connected Communications Coupler Unit Specifications 4 4 NX series Communications Interface Units User s Manual W540 4 Installation and Wiring 4 3 2 Wiring the D Sub Connector Connect the D Sub connector to the external serial communications device with a Cable with a D Sub Connector socket Use 4 40UNC inch screws for the connector lock screws The following table gives the recommended wires and D Sub connectors Socket XM3D 0921 9 pin Wiring part Specifications Recommended products Wires Shielded twisted pair cable n Size AWG28 to AWG22 s 0 08 to 0 34 mm Z D Sub 9 pin socket OMRON E connector Hood XM2S 0913 9 pin inch screws ul o 3 2 2 o 10 9euuo qns q eui BUI z e y NX series Communications Interface Units User s Manual W540 4 5 4 Installation and Wiring 4 4 Wiring Communications This section describes how to wire a CIF Unit to perform communications with an external serial com munications device 4 4 1 Terminal Arrangement I NX CIF101 Terminal Arrangement The terminal arrangement of the NX CIF101 is given below
189. received the Products from Omron in the condition claimed Warranties a Exclusive Warranty Omron s exclusive warranty is that the Products will be free from defects in materials and workmanship for a period of twelve months from the date of sale by Omron or such other period expressed in writing by Omron Omron disclaims all other warranties express or implied b Limitations OMRON MAKES NO WARRANTY OR REPRESENTATION EXPRESS OR IMPLIED ABOUT NON INFRINGEMENT MERCHANTABIL 14 15 16 17 18 ITY OR FITNESS FOR A PARTICULAR PURPOSE OF THE PRODUCTS BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE Omron further disclaims all warranties and responsibility of any type for claims or expenses based on infringement by the Products or oth erwise of any intellectual property right c Buyer Remedy Omron s sole obli gation hereunder shall be at Omron s election to i replace in the form originally shipped with Buyer responsible for labor charges for removal or replacement thereof the non complying Product ii repair the non complying Product or iii repay or credit Buyer an amount equal to the purchase price of the non complying Product provided that in no event shall Omron be responsi ble for warranty repair indemnity or any other claims or expenses regarding the Products unless Omron s analysis confirms that
190. rect sunlight Locations subject to temperatures or humidity outside the range specified in the specifications Locations subject to condensation as the result of severe changes in temperature Locations subject to corrosive or flammable gases Locations subject to dust especially iron dust or salts Locations subject to exposure to water oil or chemicals Locations subject to shock or vibration Take appropriate and sufficient countermeasures during installation in the following locations Locations subject to strong high frequency noise Locations subject to static electricity or other forms of noise Locations subject to strong electromagnetic fields Locations subject to possible exposure to radioactivity Locations close to power lines Before touching a Unit be sure to first touch a grounded metallic object in order to discharge any static build up Use the rated power supply voltage for the Units that supply power Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied in places where the power supply is unstable Install the Units away from sources of heat and ensure proper ventilation Not doing so may result in malfunction in operation stopping or in burning Do not allow foreign matter to enter the openings in the Unit Doing so may result in Unit burning electric shock or failure Always mount an End Cover to the end of the EtherCAT Slave Terminal to protect the last
191. res Provide safety measures in external circuits to ensure safety in the system if an abnormality occurs due to malfunction of the CPU Unit other Units or slaves or due to other external factors affecting operation oD Not doing so may result in serious accidents due to incorrect operation Emergency stop circuits interlock circuits limit circuits and similar safety measures must be provided in external control circuits The CPU Unit will turn OFF all outputs from Basic Output Units in the following cases The remote I O slaves will operate according to the settings in the slaves If a power supply error occurs If the power supply connection becomes faulty f a CPU watchdog timer error or CPU reset occurs f a Controller error in the major fault level occurs While the CPU Unit is on standby until RUN mode is entered after the power is turned ON External safety measures must be provided to ensure safe operation of the system in such cases The outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors As a countermeasure for such problems external safety measures must be provided to ensure safe operation of the system If external power supplies for slaves or other devices are overloaded or short circuited the voltage will drop outputs will turn OFF and the system may be unable to read inputs Pro vide external safety measures in controls w
192. rn i Uti PP Pee 3 5 3 2 2 Send Receive Indicators 20 0 ceeeeeseeseeceececeececeeceessseeceeceeeceaueeasesecceceeeeeeseaueeaseseeceeseeeseeaeeanenss 3 6 Installation and Wiring Installing NX Units certi cerei cee ceerteceecccusbpeceseeegsncererevsuseeeeererbecescedusvabieeneneceiys 4 2 Wiring the Power Supply and Ground to the Slave Terminal esee 4 3 Wiring the Terminals assirinassi enaa a aaa ENEAN ei daueceesseaveudetesedeusueeeesunetees 4 4 4 3 1 Wiring the Screwless Clamping Terminal Blocks eeseeee e 4 4 4 3 2 Wiring the D Sub Connector enciende reed nnn dne ieina eda cin nate nane 4 5 Wiring Communications 1 ener ec c eterne rennen rte rnnt nne tna nondom pe ra naar ie aura pone eye 4 6 4 4 1 Terminal Arrangement ccccccceceeeeeeee cee eeeeeeeaeeeeeeeesaeeeeee ees tenete tenete neni t eset nens sese tenens seien nen nns 4 6 4 4 2 Connecting to Serial Communications Devices sessee emen 4 9 4 4 3 Examples of Recommended RS 232C and RS 422A 485 Wiring sees 4 13 I O Data Specifications 1 0 Data Specifications for NX CIF101 and NX CIF105 eeueeeeeseeeeee 5 2 1 0 Data Specifications for NX CIF210 seeeeeseessessesesseeseeeeen rennen nennen 5 3 Unit Settings Unit Operation Settings seeeeeeeeeeeeee eene nennen ne
193. rocesses in the table in 7 4 2 Example of Receiving Data on page 7 15 correspond to the com ment process numbers in the ST program as follows Step number in example of receiving data Skipping reading receive data when a reception error occurs Process Comment process number in ST program 1 Receiving A to Z 2 Inputting string from A to T 2 3 Input response for A to T 2 4 Inputting string UVWXYZ 2 Notification of end detection 3 5 Input response for UVWXYZ 2 A 38 NX series Communications Interface Units User s Manual W540 Appendices Timing Chart The following figure shows a timing chart for the main variables Each time the Input SID is incremented and input data is received from the CIF Unit the input data is stored in RcvDat receive data storage area If a parity error or other communications error occurs and the value of N1 Ch Receive Data Error Flag changes to TRUE the receive data is assumed to be incorrect until the value of NT Ch1 Receive Last Data Flag changes to TRUE The incorrect received data is not stored in RcvDat E001 NX Unit IO Data Active Status 125 NX Unit I O Data Active Status N1 Ch1 Input SID Ch1 Input SID N1 Ch1 Receive Data Flag Ch1 Receive Data Flag N1 Ch1 Receive Last Data Flag Ch1 Receive Last Data Flag N1 Ch1 Receive Data Error Flag Ch1 Receive Data Error Flag RcvDone Reception completed flag RevError Rec
194. rol is performed The following table shows the Input Data Type You can access this data as WORD data or BOOL data Bits 15 Description Indicates whether there is an error in the receive data 0 hex There are no errors 1 hex There is an error 12 to 14 Indicates whether there is data received by the CIF Unit from the serial line 0 hex No data received and the end not detected 1 hex Data received and the end not detected 2 hex The end detected Whether there is data received depends on cases Ted 08 to 11 Indicates whether there is a response from the CIF Unit to the control command sent from the communications master to the CIF Unit 0 hex No response 2 hex Response 00 to 07 Indicates the command code of the control command that the communications master sent to the CIF Unit 1 This bit indicates a parity error framing error or overrun error that occurred when data was received from the serial communications device NX series Communications Interface Units User s Manual W540 Appendices 2 The value will be 2 hex only when the Number of Characters to Determine the End is set to a value other than 0 If the Number of Characters to Determine the End is set to 0 and there is receive data the value will be 1 hex 3 If the Number of Characters to Determine the End is not set to 0 the value will be 1 hex when the final receive data is received The value will then change to
195. rom the communications master to the CIF Unit Therefore to improve communications performance you can adjust the PDO sizes to minimize divisions of send data that is sent from the communications master to the CIF Unit The optimum PDO size is determined by the send data size as given in the following table Send data size Optimum PDO size 80 bytes or more 80 bytes Less than 80 bytes A size that is larger than the send data size 92ueulojied suoneoiunululo9 9 m eoueuuojieg suoneoiunululo2 e oJduJ o1 sezis odd Bunsnipy z 9 NX series Communications Interface Units User s Manual W540 7 35 7 Serial Communications 7 8 3 Processing When the Send Buffer or Receive Buffer Becomes Full If the transfer time from the communications master to the CIF Unit is shorter than the transfer time from the CIF Unit to the serial line when data is sent the send data may accumulate in the send buffer If the transfer time from the serial line to the CIF Unit is shorter than the transfer time from the CIF Unit to the communications master when data is received the receive data may accumulate in the receive buffer The send buffer and receive buffer each has a capacity of 5 120 bytes The CIF Unit performs the fol lowing processing if the send buffer or receive buffer becomes full Problem Processing Send buffer Any new send data from the communications master is discarded until the data in the becomes full send buffer goes
196. rs to determine the end is 10 gt b The following table gives the Output Sub Info when the Change Communications Setup control command is specified If any of the set values is out of range 0003 hex setting out of range T error is returned in the Input Sub Info from the CIF Unit do z Bit Item name Description s 00 to 03 Baud Rate bps 0 hex No change T 1 hex 1 200 T 2 hex 2 400 3 hex 4 800 2 4 hex 9 600 x 5 hex 19 200 9 6 hex 38 400 2 7 hex 57 600 8 hex 115 200 9 hex 230 400 04 to 05 Data Length bits 0 hex No change 1 hex 7 2 hex 8 06 to 07 Parity 0 hex No change 1 hex No parity 2 hex Even 3 hex Odd 08 to 09 Stop Bits bits 0 hex No change 1 hex 2 2 hex 1 10 to 11 Flow Control Method 0 hex No change 1 hex No flow control 2 hex RS CS flow control 3 hex Xon Xoff control 12 to 13 Flow Control Target 0 hex No change 1 hex Send receive 2 hex Send only 3 hex Receive only 14 to 15 Initial RS Signal Value 2 0 hex No change 1 hex ON 2 hex OFF 1 This item is not valid when no flow control is set 2 This is the value of the RS signal when EtherCAT communications are in the Operational state or im mediately after restarting the port This item is invalid when the flow control method is set to RS CS flow control and the initial RS signal value will always be ON If the Initial RS Signal Value is set to OFF use the RS Signal ON control comma
197. rts i Unit Parts B C D E C SG ORO D Q UJ J a iod ox SU p 3 DI Or Letter Name Description A Marker attachment loca This is where the markers are attached OMRON markers are pre installed at tion the factory You can also install commercially available markers B NX bus connector This connector is used to connect each Unit C Unit hookup guides These guides are used to connect two Units D DIN Track mounting These hooks are used to mount the NX Unit to a DIN Track hooks E Protrusions for remov These protrusions are to hold onto when you need to pull out the Unit ing the Unit F Indicators The indicators show the current operating status of the Unit Refer to 3 2 Indicators on page 3 5 G Terminal block This terminal block is used to connect the external serial communications device H Unit specifications The specifications of the Unit are given here 1 DIN Track contact plate This plate is connected internally to the functional ground terminal on the ter minal block NX series Communications Interface Units User s Manual W540 3 Part Names and Functions i Terminal Block The model number of the Screwless Clamping Terminal Block is NX TBC162
198. s sssssessssssee 3 2 3 4 NX series Communications Interface Units User s Manual W540 Terms and Conditions of Sale omnon Ti Qa 9 10 11 12 Offer Acceptance These terms and conditions these Terms are deemed part of all quotes agreements purchase orders acknowledgments price lists catalogs manuals brochures and other documents whether electronic or in writing relating to the sale of products or services collectively the Products by Omron Electronics LLC and its subsidiary companies Omron Omron objects to any terms or conditions proposed in Buyers purchase order or other documents which are inconsistent with or in addition to these Terms Prices Payment Terms All prices stated are current subject to change with out notice by Omron Omron reserves the right to increase or decrease prices on any unshipped portions of outstanding orders Payments for Products are due net 30 days unless otherwise stated in the invoice Discounts Cash discounts if any will apply only on the net amount of invoices sent to Buyer after deducting transportation charges taxes and duties and will be allowed only if i the invoice is paid according to Omron s payment terms and ii Buyer has no past due amounts Interest Omron at its option may charge Buyer 1 1 2 interest per month or the maximum legal rate whichever is less on any balance not paid within the stated terms Orders Omron
199. s Manual W540 oipnys oeuis S ay uo Bunoouse qnoJ pue sJ0413 104 BuryoeyD e 6 SeJnp 2001g Bunoouse qnoJ pue sJ0JJ3 10 sepo29 1ue 3 Z 6 9 Troubleshooting Event name Overrun Error Event code 85430000 hex Meaning An overrun error occurred Depends on where the Sysmac NX Unit Continuously n Source Detection Source Studio is connected and the A details timing System configuration Error attributes Level Observation Recovery Log category System Effects ues Continues Operon The NX Unit will continue to operate The received data may not be correct System defined Variable Data type Name variables None Assumed cause Correction Prevention The next data was received dur Reduce the baud rate Reduce the baud rate Cause and i Colrocton ing processing of received data because the baud rate is too high Altached Attached information 1 Port where error occurred NAE 0001 hex Port 1 information 0010 hex Port 2 Precautions Remarks You can change the event level to the minor fault level If you change the level to the minor fault level the Recovery column above will be changed to Reset error in NX Unit NX series Communications Interface Units User s Manual W540 9 Troubleshooting Event name Event Log Cleared Event code 90400000 hex Meaning The event log was cleared Depends on where the Sysmac NX
200. ser Program lesse A 4 A 2 1 NX Objects That You Can Change 0000 cee eee eee A 4 A 2 2 Procedure to Change NX Objects 0000 ccc eee A 4 List of NX Objects rm cer goede eee ex meter eee etes A 5 A 3 1 Format of NX Object Descriptions llllllllllllllles A 5 A 3 2 NX Objects for the NX CIF101 and NX CIF105 0 0 0 0 eee eee A 6 A 3 3 NX Objects for the NX CIF210 00 0 cece eee A 17 Programming Samples s eee nn nnn A 29 A 4 1 Items Common to all Programming Samples slslsus A 29 A 4 2 Programming Sample 1 Restarting CIF Unit Ports A 32 A 4 3 Programming Sample 2 Sending Data 2002000000 A 35 A 4 4 Programming Sample 3 Receiving Data llle eee eee eee A 38 Version Information 0 0 cece n n nnn A 42 NX series Communications Interface Units User s Manual W540 A 1 Appendices A 1 Dimensions A 1 1 NX CIF101 and NX CIF105 14 1 0 5 sie 12 0 al 104 5 99 FU 19 eats y4 y 65 2 lt gt 71 He gt k 80 N Unit mm HH A 1 2 NX CIF210 LQ 19 16 1 ELI soa son W olo o Ser o of a S 2 a X i e o o o9 JJ 9l y amp SEL
201. set in the I O allocations on the Sysmac Studio Refer to Section 5 I O Data Specifications for details on the data that you can set in the I O allocations The following table gives the data indices for I O allocation of the input notification and output notifica tion data Data Index hex Input Notification Data 6000 and 6001 Output Notification Data 7000 and 7001 In each process data communications cycle the communications master and CIF Unit exchange input notification data and output notification data 7 3 2 SIDs and SID Responses It is necessary to confirm that the input notification data and output notification data that are sent between the communications master and CIF Unit are received normally The following data is used for that purpose Input SID and Output SID Response in the input notification data and Output SID and Input SID Response in the output notification data The default values for all of these is 00 hex i Input SID and Input SID Response Step The Input SID and Input SID Response are used as described in the following table when the CIF Unit inputs receive data to the communications master Communi Process Communications master processing cations CIF Unit processing direction No data The communications master The CIF Unit inputs the following input reception receives the input notification data notification data given on the right The CIF Unit sets the Input SID to 00
202. sion is returned in ASCII It is given as follows V 56 integer part of version period 2E decimal part of version If all 20 bytes are not required the remaining bytes are filled with spaces 20 Example for version 1 00 56 31 2E 30 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 NX series Communications Interface Units User s Manual W540 Appendices i I O Allocation Objects The following table lists the objects that you can set for the I O allocations gt i Data A Index Subindex Object name Default Datarange Unit Data Access VO alles attri e hex hex type cation z bute E 6000 Ch1 Input Data 9 00 Ch1 Number of Entries 7 1 to 16 USINT RO No 8 01 Ch1 Port Status 0000 hex WORD RO Yes T See below for details and BOOL A 02 Ch1 Input SID 00 hex USINT RO Yes 03 Ch1 Output SID 00 hex USINT RO Yes Response us 04 Ch1 Input Data Type 0000 hex WORD RO Yes See below for details and X BOOL S 05 Ch1 Input Sub Info 0000 hex WORD RO Yes amp See below for details Sg 06 Ch1 Input Data Length 0 UINT RO Yes F bytes B 07 1A Ch1 Input Data 01 to 00 hex ARRAY RO Yes o 208 x4x20 0 3 OF BYTE z 1 The Input SID is incremented each process data communications cycle from 01 hex to FF hex It returns to 01 hex after a FF hex If
203. smac devices Sysmac device is a generic name for EtherCAT slaves EtherNet IP slaves and other OMRON control components that were designed with the same communications and user interface specifications You can use Sysmac devices together with NJ series Machine Automation Controllers and the Sysmac Studio Automation Software to achieve optimum functionality and ease of operation Features as NX Units The CIF Units are classified as NX Units and are used in Slave Terminals A Slave Terminal is a building block remote I O slave that is created by mounting a group of NX Units to an NX series Communications Coupler Unit The NX Units can be flexibly combined with an Communications Coupler Unit to achieve the opti mum remote I O slave for the application with less wiring less work and less space Features as Serial Communications Devices The CIF Units are also classified as serial communications devices Both RS 232C and RS 422A 485 are supported as the serial interface No protocol communications are supported as the communications protocol Other convenient functions include logging send receive data and a serial line monitor that you can use to display and save line data NX series Communications Interface Units User s Manual W540 1 Features and System Configuration 1 2 System Configuration CIF Units are connected to EtherCAT Slave Terminals in EtherCAT networks You can use an NJ series CPU Unit or a master that you cre
204. t Sub Info from the CIF Unit See Command name Description 01 Restart Port Restarts the port 04 Clear Receive Buffer Clears the receive buffer in the CIF Unit 05 Clear Send Buffer Clears the send buffer in the CIF Unit 06 Clear Send and Receive Clears the send and receive buffers in the CIF Unit Buffers 11 ER Signal ON Turns ON the ER signal 12 ER Signal OFF Turns OFF the ER signal 13 RS Signal ON Turns ON the RS signal 14 RS Signal OFF 2 Turns OFF the RS signal 21 Change Number of Char Changes the Number of Characters to Determine the End to acters to Determine the the value specified in the Output Sub Info End 22 Change Communications Changes the communications setup to the values specified Setup in the Output Sub Info k NX series Communications Interface Units User s Manual W540 Appendices Command T Command name Description code hex 31 Start One shot Monitoring Sets the monitor type of the serial line monitor to one shot monitoring and starts data monitoring gt 32 Start Continuous Monitor Sets the monitor type of the serial line monitor to continuous d ing monitoring and starts data monitoring a o 33 Stop Monitoring Stops serial line monitoring x 34 Clear Serial Line Monitor Clears the buffer for the serial line monitor o o Buffer m o 1 If you attempt to execute this command for the NX CIF105 execution is not possi
205. ta user programming in the communications master must include the following process ing 7 6 1 Checking Input Notification Data User programming must check the contents of the input notification data that was input from the CIF Unit If there is input data the user programming must store it in the receive buffer If the receive data size is larger than the PDO size the receive data is divided into pieces and sent in multiple input data In that case the multiple input data must be rejoined to restore the receive data You can also use the input notification data to see if a communications error has occurred 7 6 2 Creating and Outputting Output Notification Data User programming must create the output notification data and output it to the CIF Unit By outputting the output notification data the communications master tells the CIF Unit whether it received the input notification data normally 7 6 3 Determining Conditions to Start Reception and Conditions for the Completion of the Reception ejeg aAie28M 0 Burwood 1SN 9 7 Depending on the communications protocol of the serial communications device that is the source of the receive data there may be settings made for the reception start condition and reception completion condition for the receive data x The user programming in the communications master must interpret the contents of the receive data and determine when the reception start condition and reception completion cond
206. ta that is initially received by the Controller from the serial line How Data Is Sent When data is sent the send data is first stored in the send buffer in the CIF Unit as shown in the follow ing figure before the data is sent to the serial line The send buffer size is 5 120 bytes per port CIF Unit Communications master Serial communi Send buffer cations device Serial line Ethernet line PDO communica tions Receive buffer The following procedure is used to send data 1 In each process data communications cycle the send data from the communications master is sent in order to the send buffer in the CIF Unit The size of send data that is transferred each time depends on the PDO settings You can change the PDO size to between 4 and 80 bytes The default setting is 20 bytes 2 The send data in the send buffer in the CIF Unit is sent to the serial line You can change the baud rate in the Unit operation settings for the CIF Unit NX series Communications Interface Units User s Manual W540 7 Serial Communications 7 2 2 How Data Is Received When data is received the receive data is first stored in the receive buffer in the CIF Unit as shown in the following figure before the data is sent to the communications master The receive buffer size is 5 120 bytes per port CIF Unit Serial communi cations device Communications bissla Send buffer Receive buffer Serial lin
207. tandards cULus Listed UL508 ANSI ISA 12 12 01 EC EN 61131 2 RCM and KC KC Registration 1 Refer to the OMRON website http www ia omron com or consult your OMRON representative for the most recent applicable standards for each model NX series Communications Interface Units User s Manual W540 2 Specifications and Application Procedures 2 1 2 Specifications of Individual Units The following table gives the specifications of individual CIF Units Item NX CIF101 NX CIF105 NX CIF210 Number of ports 1 1 2 Communications ports RS 232C RS 422A 485 RS 232C Communications protocol No protocol Communi Communications method Full duplex Half duplex for Full duplex cations two wire connection specifica Full duplex for tions four wire connection Signal lines Two lines or four Data length bits lines Baud rate bps 1 200 2 400 4 800 9 600 19 200 38 400 57 600 115 200 or 230 400 7or8 Parity Even odd or none Start bits bits Always 1 Stop bits bits 1or2 Flow control None RS CS flow control 2 or Xon Xoff control Flow control target Send receive send only or receive only Initial RS signal value 13 ON or OFF Number of characters to determine the end 0 to 10 000 in increments of 0 1 character 0 The end is not detected You can change between two wire and four wire con nections
208. tatus 0012 hex Toggle Bit Z Input SID 00 hex changes Output SID 02 hex No change Response Input Data Type 0000 hex Input Sub Info 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex 1 Output notification data is output from communications master to CIF Unit lt Input notification data is input from CIF Unit to communications master 2 The CIF Unit sends the output data to the serial line immediately after receiving it from the communications master only when transmission buffering is disabled If transmission buffering is enabled all of the output data is sent at the same time after it has been received NX series Communications Interface Units User s Manual W540 7 Serial Communications 7 4 2 Example of Receiving Data In this example the following 26 byte text string is received ABCDEFGHIJKLMNOPQRSTUVWXYZ The text string is separated into the first 20 bytes ABCDEFGHIJKLMNOPQRST and the remaining 6 bytes UVWXYZ to send it from the CIF Unit to the communications master It is assumed that the Number of Characters to Determine the End is set as the condition to determine the reception completion For a programming sample for this example refer to A 4 4 Programming Sample 3 Receiving Data on page A 38 Here we will assume that the input notification data and output notification data are in the following sta tus before the data is received I
209. the Products were prop erly handled stored installed and maintained and not subject to contamina tion abuse misuse or inappropriate modification Return of any Products by Buyer must be approved in writing by Omron before shipment Omron Compa nies shall not be liable for the suitability or unsuitability or the results from the use of Products in combination with any electrical or electronic components circuits system assemblies or any other materials or substances or environ ments Any advice recommendations or information given orally or in writing are not to be construed as an amendment or addition to the above warranty See http www omron247 com or contact your Omron representative for pub lished information Limitation on Liability Etc OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL INDIRECT INCIDENTAL OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED IN CONTRACT WARRANTY NEGLIGENCE OR STRICT LIABILITY Further in no event shall liability of Omron Companies exceed the individual price of the Product on which liability is asserted Indemnities Buyer shall indemnify and hold harmless Omron Companies and their employees from and against all liabilities losses claims costs and expenses including attorney s fees and expenses related to any claim inves tigation litigation or proceeding whether or not Omron is a party which arises
210. the general specifications of the CIF Units Enclosure Item Specification Mounted in a panel Grounding method Ground of 100 Q or less If a conductive DIN Track is used a CIF Unit is grounded through the DIN Track from the System Power Supply Unit If a non conductive DIN Track is used a CIF Unit is grounded from the FG terminal Operat ing envi ronment Ambient operating tempera ture 0 to 55 C Ambient operating humidity 10 to 95 with no condensation or icing Atmosphere Must be free from corrosive gases Ambient storage temperature 25 to 70 C with no condensation or icing Altitude 2 000 m max Pollution degree 2 or less Conforms to JIS B 3502 and IEC 61131 2 Noise immunity 2 kV on power supply line Conforms to IEC 61000 4 4 Overvoltage category Category II Conforms to JIS B 3502 and IEC 61131 2 EMC immunity level Zone B Vibration resistance Conforms to IEC 60068 2 6 5 to 8 4 Hz with 3 5 mm amplitude 8 4 to 150 Hz Acceleration of 9 8 m s 100 min in X Y and Z directions 10 sweeps of 10 min each 100 min total Shock resistance Conforms to IEC 60068 2 27 147 m s 3 times each in X Y and Z directions Insulation resistance 20 MQ min between isolated circuits at 100 VDC Dielectric strength 510 VAC between isolated circuits for 1 minute with leakage current of 5 mA max Applicable s
211. timing System configuration Error attributes Level Minor fault Recovery EE Hes Log category System Continues F I O refreshing for the NX Unit stops Messages can Effects User program Operation not be sent to the NX Unit System defined Variable Data type Name variables None Assumed cause Correction Prevention Cause and An error occurred in the soft Contact your OMRON represen None correction ware tative Attached information 1 System information Attached Attached information 2 System information information Attached information 3 System information Attached information 4 System information Precautions Remarks None NX series Communications Interface Units User s Manual W540 9 Troubleshooting Event name NX Unit I O Communications Error Event code 80200000 hex Meaning An I O communications error occurred between the Communications Coupler Unit and the NX Unit Depends on where the Sysmac Sea NX Unit Detection Continuously Source Studio is connected and the a PE details timing system configuration Minor fault When the System fail soft opera tion for the Communica tions Coupler Unit is set to Stop reset all errors in Con troller Error attributes Level Recovery When the Log category e fail soft opera e tion for the S Communica E tions Coupler amp Unit is set to g fail soft reset m errors in Com 3 munications C
212. tion abuse misuse or inappropriate modification Return of any Products by Buyer must be approved in writing by Omron before shipment Omron Companies shall not be liable for the suitability or unsuitability or the results from the use of Products in combi nation with any electrical or electronic components circuits system assemblies or any other materi als or substances or environments Any advice recommendations or information given orally or in writing are not to be construed as an amendment or addition to the above warranty See http www omron com global or contact your Omron representative for published information i Limitation on Liability Etc OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL INDIRECT INCIDENTAL OR CON SEQUENTIAL DAMAGES LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED IN CONTRACT WARRANTY NEGLIGENCE OR STRICT LIABILITY Further in no event shall liability of Omron Companies exceed the individual price of the Product on which liability is asserted NX series Communications Interface Units User s Manual W540 9 Terms and Conditions Agreement Application Considerations i Suitability of Use Omron Companies shall not be responsible for conformity with any standards codes or regulations which apply to the combination of the Product in the Buyer s application or use of the Product At Buyer s request Omron will provide applicab
213. tion conditions for complying with the standards Conformance to Shipbuilding Standards Some NX series products comply with shipbuilding standards If you use an NX series product that complies with shipbuilding standards and the machinery or system in which you use the NX series product must also comply with the standards consult with your OMRON representative Application conditions are defined according to the installation location Application may not be possible for some installation locations i Usage Conditions for NK and LR Shipbuilding Standards A Communications Interface Unit must be installed within a control panel Gaps in the door to the control panel must be completely filled or covered with gaskets or other material The following noise filter must be connected to the power supply line Name Manufacturer Model number Noise Filter Cosel Co Ltd TAH 06 683 Conformance to KC Standards Observe the following precaution if you use NX series Units in Korea Aw 717 S72 HH gAl7 AER e FFAS SP 84A 3 AAA E7 7 amp A Bah TE ABRAH R BS FANNA HEPA ARAA A SOA AA BSE AL ye Fue Class A Device Broadcasting Communications Device for Office Use This device obtained EMC registration for office use Class A and it is intended to be used in places other than homes Sellers and or users need to take note of this Software Licenses and Copyrights This product incorporates certain third
214. tion describes the Unit operation settings and how to set PDO sizes for CIF Units 6 1 6 2 6 3 Unit Operation Settings 00 cece eee eee 6 2 6 1 1 Communications Specifications llle 6 2 6 1 2 Transmission Buffering 0 000 eee ee 6 2 6 123 EventLevels fawkes oe eee ee ee TAI ee be PEOR Rd 6 4 Unit Operation Setting Procedure 00 e eee eee eee eee 6 5 Setting the PDO Sizes 0 ccc n nnn 6 6 NX series Communications Interface Units User s Manual W540 6 1 6 Unit Settings 6 1 Unit Operation Settings The following operation settings are made for a CIF Unit from the Sysmac Studio Communications specifications Transmission buffering Event levels 6 1 1 Communications Specifications You must set the communications specifications for the ports on the CIF Units Refer to 2 1 2 Specifica tions of Individual Units on page 2 3 for the items to set and the setting ranges 6 1 2 Transmission Buffering The send data from the communications master to a CIF Unit may sometimes be divided into pieces and sent over multiple PDO communications cycles With transmission buffering CIF Unit first stores the divided send data in a send buffer inside the CIF Unit When all of the send data has been received the CIF Unit sends all of it at the same time on the serial line When transmission buffering is not used each piece of the send data sent separately from the commu nicat
215. tion formulas for the transfer time between the communications master and CIF Unit and the transfer time between the CIF Unit and serial line are given for the following three cases Data send times when transmission buffering is enabled Data send times when transmission buffering is disabled Data reception time CIF Unit Serial communi cations device Communications Send buffer master Ethernet line Serial line Receive buffer The communications performance is determined by these two transfer times M Precautions for Correct Use The values found with the calculation formulas for the communications performance are only guidelines Actual transfer times will vary Always test performance with the actual equipment before you use the system 7 30 NX series Communications Interface Units User s Manual W540 7 Serial Communications i Data Send Times When Transmission Buffering Is Enabled If transmission buffering is enabled the send data is sent to the serial line only after all of the send data is passed from the communications master to the CIF Unit Therefore the data send time will be the total of time A and time B in the following diagram The send data is sent to the serial line only after all of the send data is passed from the communications master to the CIF Unit Send data sent from the communications master to the CIF Unit l Send data on the serial line E Definition The tim
216. tional standard IEC 61131 3 or Japanese standard JIS B 3503 Applicable Products This manual covers the following products NX series Communications Interface Units NX CIF Part of the specifications and restrictions for the CPU Units are given in other manuals Refer to Rele vant Manuals on page 6 and Related Manuals on page 26 NX series Communications Interface Units User s Manual W540 1 CONTENTS CONTENTS _ en DYER CRUG TION ooo aciei ote aec sucess ISI CLE 1 Intended Audierice deed LA n ie pet ied ron ques ose foes aden ha Mee ded 1 Applicable Products 3 5 5 e ee e t Ue SR diee io eM itt 1 Relevant Manuals hieme a NA UM pec LEE 6 Manual SIr ctUle oec ee iiie ecu drea y eee D EE ELLE 7 Page Str cture and IGONS a a e e ad lea i exe tbc Seeley evade red Go pean 7 Special Information 5 2 EATE E p ecco cet creed E TE rada ep o 8 Precautions on Terminology 5 2 aae contio doceo ce eti eet dete Lee Sou ES nee saved cade E eese eevee 8 Terms and Conditions Agreement eeeeeeeeeseeeeeeeerenennnnnennnnnnnnnnnn 9 Warranty Limitations of Liability sessssssssesessssseseen nennen enn nenrr nn nnna nr nlsi nnn trn nnne nnn 9 Application Considerations paci ee I ena ort na dlat nil telnet 10 DISCIAIMENS etit eee en e eas ene NOE 10 Safety Precautions 11
217. tions Performance cece ence eee nne 7 30 7 8 1 Calculating the Communications Performance sess 7 30 7 8 2 Adjusting PDO Sizes to Improve Communications Performance 7 34 7 8 3 Processing When the Send Buffer or Receive Buffer Becomes Full 7 36 NX series Communications Interface Units User s Manual W540 7 Serial Communications 7 1 No protocol Communications With no protocol communications data is sent and received without any conversions Communications protocols to perform retry processing data type conversion processing branch processing according to the receive data and other processing are not used You can use no protocol communications to send data to and receive data from serial communications devices that have an RS 232C or RS 422A 485 port For example you can use it for simple no protocol data transfers such as inputting data from a barcode reader or outputting data to a printer Controlling the RS and CS signals and other control signals is also possible l Precautions for Correct Use Precaution for EtherCAT Communications State EtherCAT communications must be in the Operational state to perform PDO communications between the communications master and CIF Units Confirm that EtherCAT communications are in the Operational state before you perform serial communications SUOI EDIUNWIWIO o203o4d oN ix NX series Communications Interface Units User s Ma
218. tputs The CIF Unit receives the output notifica response the following output notification data to tion data given on the left reception notify the CIF Unit that the response The CIF Unit knows that the response was was received normally received by the communications When the port is restarted the value of master because the Input SID Response the Output SID is initialized to 00 hex in the output notification data is 01 hex Output SID 00 hex Initialization Input SID 01 hex Set the Input E Response SID Output Data 0000 hex Type Output Sub Info 0000 hex Output Data 0000 hex Length Output Data 01 00 hex 00 hex 00 hex 00 hex 8 Response The communications master receives The CIF Unit inputs the following input notifi to initial the input notification data given on the cation data to tell the communications mas ized Out right ter that the initialized Output SID was put SID e The communications master knows received normally that initialized Output SID was nor Port Status 0010 hex mally received by the CIF Unit because Input SID 05 hex the Output SID Response in the input PI Output SID O0hex Setthe Output notification data is 00 hex Response SID Input Data Type 2000 hex Input Sub Info 0000 hex Input Data Length 0000 hex Input Data 01 00 hex 00 hex 00 hex 00 hex 1 Output notification data is output from communications master to CIF Unit lt Input notification data is input from
219. tting Output Notification Data 7 27 7 6 3 Determining Conditions to Start Reception and Conditions for the Completion of the Reception sssssssssssee rennen rennen enne 7 27 7 6 4 Precautions for Writing User Programming to Receive Data sseeeee 7 27 User Programming to Restart a Port cccccceesseneeeeeseeeeeeeeeeeeneeeeeseeeeeeeeaseeeneeeeessenneeeensees 7 29 7 7 4 Mismatched Values for the Input SID and Output SID se 7 29 f f 2 UserProgram Processing arse eL rte eiie itti d eed aged aed anaes erba cibos 7 29 Communications Performance eeeeeeseeseeeeeeeee eene enne nnn nnne nenne nennen nn nennen 7 30 7 8 1 Calculating the Communications Performance seen emen 7 30 7 8 2 Adjusting PDO Sizes to Improve Communications Performance secen 7 34 7 8 3 Processing When the Send Buffer or Receive Buffer Becomes Full sesssss 7 36 Serial Line Monitor How the Serial Line Monitor Works eeeeeeeeeeennneenen nnne nnn nnne nennen nnn 8 2 8 1 1 Monitor Data Contents 2 es Dies ee eR Leet eel de cea Nae eee oa pie dede 8 2 8 1 2 CIF Serial Line Monitor Tab Page ssssseeeene emen eren nnne ennemis 8 3 8 1 3 Processing When a Buffer Becomes Full sesse eene enne 8 4 8 1 4 Importing and Exporting Monitor Data sssssssseneeenm eene rennen 8 4 8 1 5
220. tual operation If you change the fail soft operation setting the output status when the error occurs may also change Confirm safety before you change the fail soft operation setting NX series Communications Interface Units User s Manual W540 17 Precautions for Safe Use If you use fail soft operation write programming to determine whether Unit I O data is valid Without such programming the user program cannot distinguish between Units for which I O refreshing is continued and Units for which I O refreshing is stopped Before you operate the controlled system with the user program make sure that doing so will not adversely affect the controlled system fi Turning OFF the Power Supply Donot disconnect the cable or turn OFF the power supply to the Controller or a Slave Terminal when downloading data or the user program from Sysmac Studio Always turn OFF the external power supply to the Units before attempting any of the following Mounting or removing an NX Unit Communications Coupler Unit or CPU Unit Assembling Units Setting DIP switches or rotary switches Connecting or wiring cables Attaching or removing terminal blocks or connectors Units that supply power continue to supply power to the Units for up to several seconds after the power supply is turned OFF The PWR indicator remains lit as long as power is supplied Confirm that the PWR indicator is not lit before you perform any of the above i Operation Con
221. tween I O entry names and NX object names Refer to O Allocation Objects on page A 7 for details on the NX objects Refer to the user s manual for the connected Communications Coupler Unit for details on setting I O allocations from the Sysmac Studio Index hex Subindex hex I O entry name NX object name 6000 01 Ch1 Port Status Port Status 02 Ch1 Input SID Input SID 03 Ch1 Output SID Response Output SID Response 04 Ch1 Input Data Type Input Data Type 05 Ch1 Input Sub Info Input Sub Info 06 Ch1 Input Data Length Input Data Length 07 to 1A Ch1 Input Data 1 to 20 Input Data 01 to 20 7000 01 Ch1 Output SID Output SID 02 Ch1 Input SID Response Input SID Response 03 Ch1 Output Data Type Output Data Type 04 Ch1 Output Sub Info Output Sub Info 05 Ch1 Output Data Length Output Data Length 06 to 19 Ch1 Output Data 1 to 20 Output Data 01 to 20 5 2 NX series Communications Interface Units User s Manual W540 5 I O Data Specifications 5 2 I O Data Specifications for NX CIF210 All of the data that you can set for the I O allocations of the NX CIF201 on the Sysmac Studio corre spond to NX objects The following table shows the correspondence between I O entry names and NX object names Refer to O Allocation Objects on page A 7 for details on the NX objects Refer to the user s manual for the connected Communications Coupler Unit for details on setting I O allocations from the Sysmac Studio
222. uffer event is registered in event log New data is discarded until the amount of data is Send Buffer Full Flag and reduced to less than 5 120 bytes Receive Buffer Full Flag TRUE FALSE 1 0 511 4 097 5 120 Amount of data in the send buffer or receive buffer bytes The Send Buffer Full Flag The Send Buffer Full Flag or Receive Buffer Full Flag or Receive Buffer Full returns to FALSE Flag changes to TRUE NX series Communications Interface Units User s Manual W540 Serial Line Monitor IEEE With the serial line monitor you can display and save the log of the data that has been sent or received by the CIF Unit This section describes the serial line monitor in detail 8 1 How the Serial Line Monitor Works eeeeennnnnnn 8 2 8 1 1 Monitor Data Contents ssseseee e 8 2 8 1 2 CIF Serial Line Monitor Tab Page 00 00 cece eee eee 8 3 8 1 3 Processing When a Buffer Becomes Full 20000200 00 8 4 8 1 4 Importing and Exporting Monitor Data 2 020002 eee 8 4 8 1 5 Searching for Text Strings in Monitor Data 2 20 22005 8 4 8 1 6 Creating CSV Files of Monitor Data 0 00000 cece 8 5 8 1 7 Processing for Multiple Units and Ports llle 8 5 8 2 Operation with the Sysmac Studio llleeeeeeeeeeese 8 6 8 2 1 Displaying the CIF Serial Line Monitor Tab Page 8 6 8 2 2 Starting an
223. x type cation bute 500B Initial RS Signal Value 01 Ch1 Initial RS Signal O 0 or 1 USINT RW No Y Value The following table gives the meanings of the set values for the Ch1 Initial RS Signal Value Set value Description 0 OFF 1 ON Data l i D I O allo naea i SUDINARK Object name Default Data range Unit ata Access iv 2 S attri hex hex type cation bute 5011 Start Serial Line Moni tor 01 Ch1 Start Serial Line 0 to 2 1 BYTE RW No Monitor 1 You can write 1 or 2 as the set value If you read the value a value of 0 is always read The following table gives the meanings of the set values for the Ch1 Start Serial Line Monitor Set value Description 1 Set continuous monitor mode and start monitoring 2 Set one shot monitor mode and start monitoring Data Index Rubine Object name Default Data range Unit Data Access ve a attri hex hex type cation bute 5012 Stop Serial Line Moni tor 01 Ch1 Stop Serial Line 0 or 1 BYTE RW No Monitor 1 You can write only 1 as the set value If you read the value a value of 0 is always read The following table gives the meanings of the set values for the Ch1 Stop Serial Line Monitor Set value 1 Stop monitoring Description NX series Communications Interface Units User s Manual W540 Appendices
224. yed only for Units that contain software ae CIA Version Information The total power ON time is provided by function to monitor the total power ON time The func tion to monitor the total power ON time was added for a Communications Coupler Unit version upgrade Refer to the user s manual for the Communications Coupler Unit for the versions that support monitoring total power ON time Unit Versions and Sysmac Studio Versions The functions that are supported depend on the unit version of the Unit The version of Sysmac Studio that supports the functions that were added for an upgrade is required to use those functions Refer to A 5 Version Information on page A 42 for the functions that are supported by each unit version NX series Communications Interface Units User s Manual W540 25 Related Manuals Related Manuals The following manuals are related Use these manuals for reference Manual name Cat No Model numbers Application Description NX series W540 NX CIF Learning how to The hardware setup methods and Communications Interface use NX series
Download Pdf Manuals
Related Search
Related Contents
"取扱説明書" Da-Lite Designer Contour Electrol Samsung GT-E1210M Керівництво користувача www.myskillslab Contrat d`études prospectives - Construction Aéronautique et Spatiale BA LC3000 Version 5 Metrologic Instruments MS7620 User's Manual AIR-CONDITIONER バイキングGE101 GA_20_Texto 10.pmd Copyright © All rights reserved.
Failed to retrieve file