Home
CJ-series DeviceNet Units Operation Manual for NJ
Contents
1. 3 49 A 28 I O Data Communications Status ee 3 33 3 37 KOMAD e renee termes netfee ent ere et ates ere See SC 3 5 OOM UA Aeucosccensuisi eaten RS 3 2 3 4 I O setting CHECK error oo cecccsesseeeeeeeeeeeeseseeaeeeeeees 9 32 MACO ace sins fate ate teeta aden teat aqeeeteecemasaceamatetat aces ete 2 4 IIGIGATOF status zearo ENSS 8 8 9 2 Invalid Message Timer List Error 3 29 9 59 A 15 Invalid Scan List Data sssrinin innn 9 43 Invalid Scan List Data Error eecsccscccsecceenn 3 34 A 16 Invalid Scan List Data Flag C200H Master Replacement Area 3 50 A 28 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Invalid Setup Data cccccceeeeeeeeeeeeeeeees 3 40 9 43 A 17 M mantenant fives 5 tance dice ants Ancaigs aaa cetudsetnunlctesss 9 60 Master COS Send Switch aaeain 3 23 A 5 A 35 Master Disable Switch eeceeeeeeeeeeeeeeeees 3 13 A 4 Masier Enable SwitCn nearse 3 13 A 4 Master Error C200H Master Replacement Area 3 50 Master Fixed Allocation Area Setting PGUGG maa eia a TS 3 36 9 51 A 16 Master Fixed Allocation Setting 1 2 3 Switch 4 3 A 4 Master Function Enable Disable Failed 3 35 9 50 A 16 Master Function Enabled Status 8 3 31 A 15 Master Function Error cccccccccceccecee ese eeseeeeeees 3 26 A 15 Master I O Allocation Status cccccceeccceeeceseeeeeeeeeeees 3 3
2. 3 51 A 28 Communication Error C200H Master Replacement Area 3 49 A 28 Communications Connector cccceeseeeeeeeeeeeeeeeeeeeeeees 2 8 Communications Cycle Time Reference Table Clear SWIG ana a 3 17 A 4 Communications Cycle Time Setting oo000000annnnnnnn A 28 Communications Cycle Time Setting FF All Clr aa 3 37 9 47 A 16 Communications Cycle Time Setting Switch 3 17 A 4 Configuration Error C200H Master Replacement Area 3 49 A 28 CC OMMGUNATON eresi entsaio cube se seaedenceeseneeta asses A 43 Connection FP AUN aaee A 37 Connection type eececcccceeeeceeeeeeeseeeeeeeeeeeeeeaeees 4 11 5 10 COMMONE REM OF anea A 9 35 Controller reset c cziscachaosvanntsnntandnateenneraredianeoueetusels 4 31 SO ica rts tanks eantobasaisanrsaataiiern tata ssadniareenunns 5 12 A 35 COS Send Failed eee eeeceseeeeeeeceeeeeeeeeeeeaeees 3 43 A 17 COS cyclic heartbeat timer Setting cccceeeeeeeeeeees 1 11 CPU Unit watchdog timer error cceeeeeeeeeeeseeeeeeeeees 9 29 SV GMI aana eceardautecpaseseatcateaies A 35 Cyclic CONNECTION 0 0 cece ccececcceeseeeeeeeeeeeeeeeseaseeeeeeeeeeeeess 5 12 Index 2 D Data Exchange with the CPU Unit eeeee eens 3 2 Detailed Slave Status Table cccccceseeeeeeeees 3 51 3 61 Detailed status Of slave oo ccc ceccceceeeseeeeeseeeeeeeeeees 3 51 Device data check function cece cece ee
3. Downloading Always confirm safety at the destination before you transfer a user program configuration data setup data device variables or values in memory used for CJ series Units from the Sysmac Studio The devices or machines may perform unexpected operation regardless of the operating mode of the CPU Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Safety Precautions Application Do not touch any Unit when power is being supplied or immediately after the power supply is turned OFF Doing so may result in burn injury Ei Wiring Be sure that all terminal screws and cable connector screws are tightened to the torque specified in the relevant manuals The loose screws may result in fire or malfunction Online Editing Execute online editing only after confirming that no adverse effects will be caused by deviations 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 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 23 Precautions for Safe Use Precautions for Safe Use 24 i Disassembly and Dropping e Do not attempt to disassemble repair or modify any Units Doing so may result in malfunction or fire e Do not drop any Unit or subject it to abnormal vibration or shock Do
4. 00 cece eee 4 31 4 5 3 Restarting Remote I O Communications 0 000 4 31 4 6 Example of User Program for Remote I O Communications 4 32 4 7 Errors that May Occur in Remote I O Communications 05 4 33 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 1 4 Remote I O Master Communications 4 1 Master Remote I O Communications Remote I O communications are used to automatically transfer data between slaves and the CPU Unit without any special programming in the CPU Unit under which the Master Unit is mounted Master Communications NJ series CPU Unit CJ series DeviceNet Unit master Slaves Note A CJ series DeviceNet Unit can function as either a master or slave in remote I O communi cations and it can even function as both a master and a slave at the same time Change Sw1MstrEnbiCmd Master Enable Switch to TRUE to set the CJ series DeviceNet Unit to function as a master Once master communications are enabled the Unit will continue to per form master communications regardless of whether the power is turned OFF and back ON again Change Sw1MstrDsbiCmd Master Disable Switch to TRUE to stop master communica tions Master communications are the focus of this section In the following descriptions a CJ series DeviceNet Unit set to function as a master is referred to as a Master Unit and a CJ series DeviceNet Unit set to function as a slave is referred t
5. 3 Data Exchange with the CPU Unit 3 2 10 Slave Status 2 Slav2Sta Slave Status 2 is used to reference 2 types of information Master Node Address and Slave I O Allocation Status Use MstrNdAdrSta Node Address of The Remote Master for Slave Communications and SlavlOAlocSta Slave I O Allocation Status to reference individual information MstrNdAdrSta Node Address of The Remote Master for Slave Communications This indicates the node address of the remote master for slave communications This information is valid when Slav1 O2CommSta Remote I O Communications for OUT 2 IN 2 and Slav1lO01CommSta Remote I O Communications for OUT 1 IN 1 are TRUE in Slave Status 1 UEMYOS UUM SELIES gt 10 Se qeUeA 2A Z E SOSME S SOURIMS SlaviOAlocSta Slave I O Allocation Status This indicates the I O allocation status of the slave o Code Details 16 00 Unit starting up D 16 01 Fixed allocation status 1 o 16 02 Fixed allocation status 2 16 03 Fixed allocation status 3 b 16 20 User set allocations with set device variable for CJ series Unit 16 30 User set allocations set by CX Integrator 16 80 Slave function disabled Name of device variable for Slav2Sta WORD Slave Sta Bits 00 to 07 Master Node Address tus 2 Bits 08 to 15 Slave I O Allocation Status Default 1640000 MstrNdAdrSta USINT Node This indicates the node address of the Address of remote master for slave communications The D
6. Machine Automation Controller CJ series DeviceNet Units Operation Manual for NJ series CPU Unit CJ1W DRM21 DeviceNet Units W497 E1 03 OMRON 2011 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 Nevertheless 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 Introduction Introduction Thank you for purchasing a CJ series CJ1W DRM21 DeviceNet Unit This manual contains information that is necessary to use the CJ series CJU1W DRM21 DeviceNet Unit for an NJ series CPU Unit Please read this manual and make sure you understand the functionality and performance of the NJ series CPU 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 fo
7. OB Hex Slave scan list OC Hex Message moni toring timer list OD Hex Scan time 0211 Node address duplication cause Local node address 0300 Packet discarded because of parameter error Same as the code such as 0101 Hex in the dis No carded explicit message packet 0340 Bus Off detected 00 Hex 0341 Network power supply error 00 Hex 9 30 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Error Detail code Record code First byte Second byte stored in Hex EEPROM 0343 Structure error 01 Hex I O area dupli Slave s node address cation 02 Hex I O area range exceeded 03 Hex Unsupported slave 01 Hex Non existent Slave s node address slave 0344 Verification error 02 Hex Illegal vendor 03 Hex Illegal device type 04 Hex Illegal product code 05 Hex Unsupported connection 06 Hex I O size mis match 07 Hex Illegal connec tion path 01 Hex Master 02 Hex Slave Master Slave s node address Slave Master s node address 0345 Remote I O communications error 0346 Remote I O comm error Remote I O communications stopped because 01 Hex Remote O of a remote I O communications error communications error 02 Hex Network power supply error 03 Hex Transmission timeout Slave s node address Power supply error Local master s node address Transmission timeout Local master s
8. To Slaves From Slaves IO 3400 Address 0 Master Fixed Allocation ClO 3400 CIO 3401 _ Address 1 Setting 2 Switch To Slaves ClO 3463 CIO 3462 Address 62 User defined IO 3463 Address 63 variable IO 3500 Address 0 CIO 3500 CIO 3501 Address 1 CIO 3563 block 2 CIO 3562 Address 62 IO 3563 Address 63 From Slaves IO 3600 Address 0 Master Fixed Allocation CIO 3600 Output CIO 3601 Address 1 Setting 3 Switch OUT E SAUNG AANS CIO 3663 block 3 CIO 3662 Address 62 User defined IO 3663 Address 63 variable IO 3700 Address 0 CIO 3700 Input CIO 3701 _ Address 1 wy o a CIO 3763 block 3 CIO 3762 Address 62 IO 3763 Address 63 To Slaves From Slaves Specify using master fixed allocation setting switches 1 3 Words are allocated to slaves that start from address 0 in the output OUT and input IN blocks Each address is allocated at least one byte rightmost e More than one word is allocated for each slave according to its node address with more than16 I O points e The rightmost byte of the word is allocated to each slave that has 8 I O points or less i User set Allocations The following methods are used for user set allocations e Using the CX Integrator e Using the device variable for CJ series Unit Master User set Allocations Setup Table CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 3 J f f i 8
9. A s A g fe 7 Define user defined variables in the area to which I O data is allocated Switch the CPU Unit to RUN mode Slave remote I O communications will begin Note Enable slave communications in CJ1W DRM21 Properties if the CX Integrator is used Post operation SUOIJEDIUNWWWIOD SARIS O I B OWSY Buisp 10 Seunped01g L G CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 5 5 Remote I O Slave Communications 5 6 User set Remote I O Allocations Using Device Variables for CJ series Unit Switch the CPU Unit to PROGRAM mode Change _Sw2SlavDsbICma Slave Stop Switch to TRUE from the Sysmac Studio 1 Input data in advance into _SlavAlocTbICfg 0 to _SlavAlocTbICfg 5 Slave User set Allocations Setup Table and the Allocation Size Setup Table from the Sysmac Studio 2 Set _Sw2SlavAlocCma Slave User Allocations Switch to TRUE from the Sysmac Studio allocations Change _Sw2SlavEnblICmad Slave Enable Switch to TRUE from the Sysmac Studio Slave function Define user defined variables in the area to which I O data is allocated Switch the CPU Unit to RUN mode Slave remote I O communications will begin Note Slave communications must be disabled prior to area allocation and must be enabled after area allocation The order of the procedure is 1 stop slave communications allo cate areas and then enable slave communications The allocated areas wi
10. Definition of Precautionary Information The following notation is used in this manual to provide precautions required to ensure safe usage of a CJ series DeviceNet 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 result in death or serious injury Additionally there may be severe property damage Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage D recautions for Safe Use Indicates precautions on what to do and what not to do to ensure safe usage of the product la Precautions for Correct Use Indicates precautions on what to do and what not to do to ensure proper operation and performance CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 19 Safety Precautions Symbols 20 SP i gt 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 inclu
11. FALSE Returns to FALSE after the fixed alloca tions areas are set Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Master function is enabled e Scan list status is disabled Sw1MstrFixAloc2Cmd BOOL RW Master Functions the same as Fixed Allo _Sw1MstrFixAloc1Cmd Master Fixed cation Set Allocation Setting 1 Switch Sets the I O ting 2 allocation area to the following words Switch The Unit automatically restarts e OUT area CIO 3400 to CIO 3463 1 word 1 node address fixed e IN area CIO 3500 to CIO 3563 1 word 1 node address fixed Swi1MstrFixAloc3Cmd BOOL RW Master Functions the same as Fixed Allo _Sw1MstrFixAloc1Cmd Master Fixed cation Set Allocation Setting 1 Switch Sets the I O ting 3 allocation area to the following words Switch The Unit automatically restarts e OUT area CIO 3600 to CIO 3663 1 word 1 node address fixed e IN area CIO 3700 to CIO 3763 1 word 1 node address fixed CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for Sw1MstrAlocCmd BOOL RW Master lt Operation specifications gt neon FALSE TRUE Seis eal Reads setting data from MstrAlocTb iCfg 0 to MstrAlocTbiCfg 5 Master User set Allocations Setup Table and registers the scan list The Unit automatically restarts Once registered the Unit will operate w
12. Red flashing Red flashing ee Seg ment 1 Red lit OFF OFF OFF OFF OFF FF Pepe a ai i a CPU Unit exchange Node address duplication Bus Off detected Unit num ber dupli cation CPU Unit faulty H2 DeviceNet Unit faulty Node address setting error Communi cations speed set ting error CPU Unit faulty H6 I O table not regis tered Error Likely cause category The master s node address is duplicated on another node A Bus Off condition was detected The unit number is dupli cated on another Unit The node address set on the rotary switches is out of range 64 or higher The communications speed is set incorrectly The CPU Unit s I O table is not registered DeviceNet Unit response e The Unit will go offline and communications will be disabled Error responses will be returned to all communi cations requests The exchange of data with the CPU Unit will continue The Unit will go offline and communications will be disabled Error responses will be returned to all communi cations requests The exchange of data with the CPU Unit will continue Stops operation Stops operation Stops operation Stops operation Stops operation e Records the error in the error log The time infor mation is set to all zeroes e Stops operation e Records the error in the error log e Stops operation
13. Condition 7 seg ment indica tor Error Mstr1StruE Duplicate The same I O word is allocated to Reconnect with MS Not do occurs in rr Structure I O area two or more slaves This occurs the error slave related fixed allo Error is whenever a slave that is allocated and continue NS cations TRUE multiple words has one of the remote I O com Flashes with the words allocated to the node munications red scan list address of another Slave disabled p N m d T g i fe A i O fe 3 5 A eh fe a I O area A slave is allocated an area out d1 range side the fixed allocations area exceeded This occurs whenever slaves are allocated multiple words and a slave is allocated a word beyond node address 63 in the fixed allo cations area The I O size of a slave exceeds d2 200 bytes 100 words This occurs if either the IN or the OUT size exceeds 200 bytes Error Mstr1VefyE No slaves A Slave registered in the scan list d5 occurs in rr Verifica present is not present either fixed tion Error iS 1 9 size The I O size registered in the scan d6 or user set TRUE mis list does not match the I O size of alloca matched the slave tions with the scan Note O size is compared in 8 list point 1 byte units If I O enabled size is registered at 8 points for example then an error O size mismatch will not occur with a Slave with just one input point connecte
14. CycleTmRefTblSta 1 UINT Communi Indicates the present value of communica cations tions cycle time cycle Pi Data range 0 to 65535 presen l valie Default 0 CycleTmRefTblSta 2 UINT Communi Indicates the maximum value of communi cations cations cycle time cycle time Data range 0 to 65535 maximum l ale Default 0 CycleTmRefTblSta 3 UINT Communi Indicates the minimum value of communi cations cycle time minimum value cations cycle time Data range 0 to 65535 Default 0 3 3 5 Master User set Allocations Reference Table 3 58 You can access the settings area and size for a maximum of four blocks OUT block 1 OUT block 2 IN block 1 and IN block 2 in the Master User set Allocations Reference Table The OUT 1 and IN 1 block settings can be referenced if CX Integrator is not being used Type RW area Data range 0 to 20 UINT OUT block 1 area Default 0 MstrAlocRefTblSta 1 UINT First wordin Stores the first word for OUT 1 area block Data range 0 to 32767 Default 0 UINT No of bytes Stores the size of OUT 1 area in OUT The OUT 1 block is not allocated if the block 1 value is 0 Data range 0 to 1000 Default 0 UINT IN block 1 Stores the IN 1 area area Data range 0 to 20 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Name of device variable for CJ series Unit MstrAlocRefTblSta 0 Function Stores the OUT 1 area MstrAlocRefTblS
15. Processing after an error completion 5 6 14 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications l Precautions for Correct Use The message service function does not guarantee that a given message will reach the remote node Messages may be lost during communication due to noise etc When the message ser vice function is used normally the node that issues an instruction performs resend to avoid the above condition With the SendCmd instruction the resend process is performed automatically when the number of resends is specified For the number of resends be sure to specify a value other than 0 q N v S m 3 g UOHONSU PUUDPUSS Huisn sebessayy y dxg Builpues zg z 9 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 15 6 Message Communications 6 3 Receiving Explicit Messages 6 16 CJ series DeviceNet Unit contains a PLC Object The Unit will receive messages addressed to the PLC Object process service requests addressed to the CPU Unit and return responses The following services are provided by the PLC Object e CPU Unit status read write e CPU Unit I O memory read write The explicit messages can be received from the following sources e DeviceNet masters made by other manufacturers PLCs with C200H series DeviceNet Master Units C2O0OHW DRM21 V1 PLCs with CVM1 CV series DeviceNet Master Units CVM1 DRM21 V1 NJ series PLCs
16. This is the default setting for the Unit The words allocated by this switch are used as the I O area for the slave Use Sw2SlavEnblCmd Slave Enable Switch FALSE Returns to FALSE after fixed allocations are set Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Slave function is stopped Functions the same as Sw2SlavFixAloc 1Cmd_DRM2 Slave Fixed Allocation Setting 1 Switch Sets the Slave Fixed Allocation Area to the following words e OUT 1 area input to the CPU Unit CIO 3570 1 word allocated e IN 1 area output from the CPU Unit CIO 3470 1 word allocated e OUT 2 area Not used e IN 2 area Not used Functions the same as Sw2SlavFixAloc 1Cmd_DRM2 Slave Fixed Allocation Setting 1 Switch Sets the Slave Fixed Allocation Area to the following words e OUT 1 area input to the CPU Unit CIO 3770 1 word allocated e IN 1 area output from the CPU Unit CIO 3670 1 word allocated e OUT 2 area Not used e IN 2 area Not used 3 Data Exchange with the CPU Unit Ww N Name of device variable for y SUES al Type Rw area ieee 0 Sw2SlavAlocCmd BOOL RW Slave User lt Operation specifications gt f Allocations FALSE gt TRUE a SEN Reads setting data from i SlavAlocTbI Cfg 0 to A _SlavAlocTbICfg 5 Slave User set Allo b cations Setup Table and registers slave ug user set allocations Once registered the E R Unit will operat
17. This section describes the system configuration used for NJ series Controllers This section describes the parts and functions of the configuration devices in the NJ series Controller configuration including the CPU Unit and Configuration Units This section describes where and how to install the CPU Unit and Configuration Units and how to wire them This section describes the event codes error confirmation methods and corrections for errors that can occur This section describes the contents of periodic inspections the service life of the Bat tery and Power Supply Units and replacement methods for the Battery and Power Supply Units The appendices provide the specifications of the Basic I O Units Unit dimensions load short circuit protection detection line disconnection detection and measures for EMC Directives i NJ series CPU Unit Software User s Manual Cat No W501 Section Section 1 Introduction Section 2 CPU Unit Operation Section 3 I O Ports Slave Configuration and Unit Configuration Section 4 Controller Setup Section 5 Designing Tasks Section 6 Programming Section 7 Checking Operation and Actual Operation Section 8 CPU Unit Functions Section 9 Communications Setup Section 10 Example of Actual Application Pro cedures Section 11 Troubleshooting Appendices CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Description This section provides
18. Use the software switches or CX Integrator to start or stop communications Check to see if both the MS and NS indicators are lit green on the Master Unit and all slaves Note The mode can be confirmed from the dots on the 7 segment indicator on the Master Unit Left dot not lit Scan list enabled Left dot flashing Scan list disabled Read the network components using the CX Integrator Save the components as a project file using the CX Integrator 1 S ca O ep O WY S fa O 2 lt lt O 2 O Q ba O J SEN O I BJoweyY HuISN 10 ainpsd01d v L Y Define user defined variables in the area to which I O data is allocated Switch the CPU Unit to RUN mode EN Additional Information Post operation You can stop remote I O communications with a specified slave to effectively disconnect the slave from the network by changing _CnctCmd Disconnect Connect Switches to TRUE You can do this when a slave is replaced or to register a slave in the scan list in preparations to con nect it to the network at a later time The Disconnect Connect Switches however are cleared when the power supply is turned OFF so the bit must be changed back to TRUE from the user program after the power turns ON in order for it to remain effective CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 9 4 Remote I O Master Communications User se
19. 5 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 Remote I O Slave Communications 5 3 User set Allocations With a CJ series DeviceNet Unit you can allocate remote I O communication slaves in any area of a memory used for CJ series Unit CIO WR HR DM or EM using one of the following methods e Setting through CX Integrator e Setting through the device variables for CJ series Unit Slave User set Allocations Setup Table User set Allocations Methods Set through the device variables for Method Set through CX Integrator CJ series Unit Slave User Allocations Setup Table Areas in memory used for Cu CIO CIO 0000 to CIO 6143 series Unit available for alloca WR W000 to W511 tions HR HOOO to H511 DM D00000 to D32767 EM E _00000 to E 32767 0 to C No of allocation blocks 3 blocks OUT 1 IN 1 and IN 2 2 blocks OUT 1 and IN 1 Allocation size Per block 100 words max 300 words max for a total of 3 blocks 200 words max for a total of 2 blocks Connection type Automatic or user specified Automatic connection specified by the master You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subsequent banks y W G v g 7 Q gt R a 0 a l Precautions for Correct Use Functions will vary as shown below depending on whether allocations are set through the device variables for CJ series Unit Slave User Allocations Setup
20. CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 27 Appendices The device variables for CJ series Units that correspond to bits O to 15 of a word starting with ClO n 24 are as follows CJ series I O memory address NJ series device variables for CJ series Unit CIO n 24 a ee CMstrMemErr Unit Memory Error CMstrNdDupErr Node Address Duplicated Bus Off Error Reserved by system Configuration Error Structure Error p 5 O OMStSendEr Send Error p68 OMstrOEr Communication Error Verification Error CMstrlOStopSta I O Data Communications Not Run ning Status CMstrMsgEnblSta Message Communications Permitted CMstrSListDsblSta Invalid Scan List Data Flag 14 CMstrErr Error is occurring or Remote I O Communications is stopped due to error Master Error 15 ee CMstrlOCommSta Remote I O Communications Flag O1 i CPU Bus Unit Words Allocated in DM Area D m Communications Cycle Time Setup Table CJ series I O memory address NJ series device variables for CJ series Unit Dm Oto 15 CommCycleTmCfg Communications Cycle Time Setting D m 1 to m 7 Master User set Allocations Setup Table CJ series I O memory address NJ series device variables for CJ series Unit D m 1 D m 2 D m 3 D m 4 D m 5 D m 6 D m 7 A 28 Allocation size setup table area Oto 15 MstrAlocTblCfg 5 First word in the Allocation Size Setup Table 1 Oto 15 MstrAlocTblCfgSta Setti
21. S lt C S C amp XR ervey system 13 of each word Nd1COSSendErr Master COS Send Error for node address Nd3COSSendErr 1 3 to 63 to Nd63COSSendErr 14 of each word Nd1SListRegSta Scan List Registration Flag for node Nd3SListRegSta address 1 3 to 63 to Nd63SListRegSta 15 of each word Nd1lOCommSta Remote I O Communications Flag at Nd3lOCommSta node address 1 3 to 63 to Nd63lIOCommSta A 34 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices A 2 DeviceNet Connections DeviceNet has several different protocols for remote I O communications between Master and Slave devices Connections are units used to manage those protocols There are four kinds of DeviceNet remote I O communications protocols connections Poll bit strobe COS change of state and cyclic CJ series DeviceNet Units support all four types The connection used by the DeviceNet Unit is automatically selected if the CX Integrator is not used If you use the CX Integrator you can automatically select the connection by the DeviceNet Unit or you can specify the connections for each slave You can set up to two connections COS and cyclic connec tions cannot be specified at the same time Note If you use COS and cyclic connections do not connect multiple Master Units on one network The characteristics of each connection are outlined in the following table Connection Characteristics Poll Used f
22. and the Allocation Size Setup Table specify the position in MstrAlocTb iCfg 4 and MstrAlocTbiCfg 5 from the Sysmac Studio Change _ Sw1MstrAlocCma Master User set Allocations Switch to TRUE from the Sysmac Studio Master remote I O communications will begin with the scan list enabled Create a network configuration file and device parameters file from the CX Integrator Enable master function in CJ1W DRM21 property at this time Download the above files to the devices on the network Master remote I O communications will begin with the scan list enabled Define user defined variables in the area to which I O data is allocated Switch the CPU Unit to RUN mode Turn ON the communications power supply before turning ON the slave power supplies or the slaves may not go online NO Execute this only when master communications are turned OFF If the Master Enable Switch is turned ON when master communications are enabled a Unit error will occur and a C2 error will be displayed on the 7 segment indicator on the front panel 1 18 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features and System Configuration Precautions for Safe Use Make sure the scan list is enabled when you use the master function This will allow you to check whether slaves are online or not from the CPU Unit so that you will be able to determine whether or not the Devic
23. block and the input IN block from the user program allocate a user defined variable to the applica ble area OUT block 15 0 Address 0 Address 1 Address 2 to Output to Slaves 15 0 15 0 Bit eee CIO 3700 CIO 3700 Address 0 Address 1 Address 2 to Address 60 Address 61 Address 62 to IN block CIO 3702 q Input from Slaves CIO 3763 The Slave allocation order is fixed in the output OUT and IN blocks that start from address 0 Each address is allocated at least one byte rightmost e More than one word is allocated for each slave according to it s node address with more than16 I O points e The rightmost byte of the word is allocated to each slave that has 8 I O points or less 4 3 3 Changing System Components 4 18 The scan list must be cleared in the following situations e Adding a slave e Disconnecting a slave e Changing a node address Set the CPU Unit to PROGRAM Mode Change Sw7 SListCirCmd Scan List Clear Switch to TRUE to clear the scan list Remote I O communications will be performed with the scan list disabled using fixed allocations in the fixed allocations area that was used the last time the list was disabled Make sure that communications with all slaves are operating properly after the scan list is cleared and the system component is changed and then change _Sw1SListEnb Cmd Scan List Enable Switch to TRUE again to register all slaves currently online
24. e All of the required Slaves are participating in communications e No errors are being indicated at the DeviceNet Unit e Messages aren t being produced in the Network from another company s configurator for example EN Additional Information The values provided by these equations may not be accurate if another company s DeviceNet Master or Slave is being used in the Network 8 1 1 Communications Cycle Time This section explains the communications cycle time and communications time per slave required for calculating processing time by the DeviceNet Unit i Communications Cycle Time The communications cycle time is the time from the completion of a Slave s remote I O communications processing until remote I O communications with the same Slave are processed again The communi cations cycle time is used to calculate the maximum I O response time The communications cycle time depends on the number of Masters in the Network and on whether or not message communications are being performed The following explanation is for a network with one Master For networks with two or more Masters refer to 8 1 3 More than One Master in Network Communications Cycle Time Graph The following graph shows communications cycle time for the number of slaves when there are both 16 point output and 16 point input slaves Inputs Bit strobe Outputs Poll connection 60 50 40 30 20 Communications cycle time ms 2 4
25. 1 or 3 Error to 7 of CMsitrSta C200H Master Replacement Master Status 1 is TRUE Default FALSE MstrlOCommSta BOOL Remote I O This is the same as Msir1 OCommSta Data Com I O Data Communications Status munica Default FALSE tions Flag 3 50 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit 3 3 Device Variables for CJ series Unit Allocations Setting Table Slave W W 0 5 p Detailed Status j go es Mh ng l l 2 R The following device variables for CJ series Unit are used to set Allocations Setting Tables reference e setup statuses and reference detailed statuses of slaves R z E CommCycleTmCfg UINT Communications Cycle Time Setting as MstrAlocTbICfg 0 to 5 UINT Master User set Allocations Setup Table A 5 7 _MstrAlocTblCfgSta WORD R Setting Results of Master User set Allocations Setup ai SlavAlocTbICfg 0 to 5 UINT Slave User set Allocations Setup Table SlavAlocTbiCfgSta WORD R Setting Results of Slave User set Allocations Setup CycleTmRefTblSta 0 to 3 UINT R Communications Cycle Time Reference Table MstrAlocRefTblSta 0 to 11 UINT R Master User set Allocations Reference Table SlavAlocRefTblSta 0 to 11 UINT R Slave User set Allocations Reference Table NdOSta to _Nd63Sta BYTE loan Detailed Slave Status Table for Node Addresses 0 to 63 You can use one of the following methods to set the Communications
26. 6 11 6 Message Communications Operation Here an example of reading the vendor code OMRON vendor code 002F hex from the DeviceNet Slave unit address 16 10 Command source Destination Sdata 0 Sdata 1 Sdata 7 Command code Sdata 8 interpretation l SendCmd Execute Done DstNetAdr Busy CommPort Error CmdDat ErrorlD CmdSize ErrorlDEx RespDat RespDat Option Rdata 0 ont Rdata 1 aes Execution Rdata 8 Rdata 9 Input Variable Example Details Execute The operation SendCmd is executed when TRUE is set DstNetAdr The destination network address is specified with the use of Network address 0 the network address node address unit address Node address 0 Unit address 16 10 CommPort The destination port is specified NONE Default CmdDat Command code 16 28 ClassID 16 00 InstancelD 16 00 command data to be sent is specified RespDat Command code 16 28 End code 16 00 Number of bytes received 16 00 Slave node address 11 16 0B ServiceCode when completed normally 16 8E Vendor code 16 2F Retry 2 6 12 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications EN Additional Information You can send explicit messages to OMRON slaves and DeviceNet devices made by other manu facturers by setting the command code to 28 01 In this case set the response monitoring time to at least the value set for the message monito
27. 63 Slave1_OutData_C 63 w BOOL type Slave1_OutData_C 63 b 0 to 3263 00 Slave1_OutData_C 63 b 15 3263 15 The user program accesses the slave with WORD type or BOOL type variables When you use the union prepare the union data type Mem that you can access with WORD and BOOL as shown below Base Type UNION ARRAY O 15 OF BOOL CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 7 3 Data Exchange with the CPU Unit EN Additional Information For details on memory used for CJ series Unit variable allocation and user defined variable registration refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 3 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit 3 2 Device Variables for CJ series Unit Software Switches Statuses When you operate and reference software switches and statuses use the following device variables for CJ series Unit allocated to the I O port of this Unit Name a pine haa for Aes SwiCmd Software Switches 1 Sw2Cmd Software Switches 2 MstrCOSSendCmd Master COS Send Switch CnctCmd Disconnect Connect Switches Unit1Sta WORD R Unit Status 1 Unit2Sta WORD R Unit Status 2 MstriSta WORD ol Master Status 1 Mstr2Sta WORD Ro Master Status 2 Slav1Sta WORD R Slave Status 1 Slav2Sta WORD R Slave Status 2 RegSlavTblSta WORD R Registered Slave Table
28. 9 Troubleshooting and Maintenance 84740000 hex Bus Off Detected 84750000 hex Remote I O Communica tions Error 84760000 hex Remote I O Communica tions Error during Slave Operation 84770000 hex Slave COS Send Failed 048A0000 hex File Read Write Error 148C 0000 hex Invalid Mes sage Timer List Error 9 40 A Bus Off error occurred i e com munications stopped because there were too many communica tions errors A timeout occurred in remote I O com munications An error occurred in remote I O commu nications An attempt was made to send COS data to the master using the Slave COS Send Switch software switch 2 device variable Sw2SlavCOSSen dCma but the send failed An error occurred when user setup data was read from an SD Memory Card in the CPU Unit or when data was written as a file to an SD Memory Card The data in the message monitor ing timer list is not correct Liwa O CACA dial e The master and slave have dif page 9 55 ferent baud rates e Communications cable lengths trunk line and branch lines are unsuitable A communications cable is dis connected or loose The terminating resistance is somewhere other than the ends of the trunk line Noise The master and slaves have dif ferent baud rates Communications cable lengths trunk line and branch lines are unsuitable A communications cable is dis connected o
29. Communi cations Cycle Time Setting Failed will change to TRUE if there is a set ting error In this case CycleTmRefTblSta 0 to CycleTmRefTblSta 3 _ Communi cations Cycle Time Reference Table will not be cleared Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode SwiCycleTmClrCmd BOOL RW Communi lt Operation specifications gt ue FALSE gt TRUE ee ae Clears data from _CycleTmRefTblSta 0 Reference to _CycleTmRefTb Sta 3 Communica Table Clear Switch tions Cycle Time Reference Table The data that is cleared will be updated with new data FALSE Returns to FALSE after the data from CycleTmRefTbiSta 0 to CycleTmRefTblSta 3 Communica tions Cycle Time Reference Table is cleared Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 17 BUEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSMETS SOURIMS NO i ep O jad D ep O a gt D 3 Data Exchange with the CPU Unit 3 2 2 Software Switches 2 n 1CH 3 18 Use one of the following device variables for CJ series Unit to operate Software Switches 2 from the user program e WORD type device variable for CJ series Unit holding all switch functions contained in Software Switches 2 e BOOL type device variable for CJ series Unit separating functions per each switch contained in Soft ware Switches 2
30. Cycle TmRefTb lSta 3 Communica tions Cycle Time Reference Table will be cleared before the switch returns to FALSE if the change was successfully completed CycleTmRefTblSta 0 to CycleTmRefTblSta 3 Communica tions Cycle Time Reference Table will be cleared before the switch returns to FALSE if the change was successfully completed Note Msitri CycleTmSetErr Communi cations Cycle Time Setting Failed will change to TRUE if there is a set ting error and the Communications Cycle Time Reference Table will not be cleared Default FALSE 3 16 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for SwiCycleTmSetCmd BOOL RW Communi lt Operation specifications gt oe FALSE gt TRUE Set oe Reads setting data from etting s TIEN Switch CommCycleTmCfg Communications Cycle Time Setting to change the com munications cycle time and to store the communications cycle time in non volatile memory in the Unit The setting will there fore be valid again when the power is turned OFF and back ON or when the Unit is restarted FALSE Returns to FALSE after the communica tions cycle time is changed Cycle TmRefTbiSta 0 to CycleTmRefTb Sta 3 Communica tions Cycle Time Reference Table will be cleared before the switch returns to FALSE if the change was successfully completed Note Msir1CycleTmSetErr
31. Q fe g 0 A U Cc C gt rF Z fe 2 v 0 8 Wwesbold Jasn wo Buissaooy Ul S8OUDIOWIG Z L Y CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 23 Appendices The device variable for CJ series Units that correspond to bits 0 to 15 of 4 words from CIO n 20 to n 23 are as follows CJ series I O memory address CIO n 20 NormSlavTbINdSta 0 Normal Slave Table Corresponding to Node Address 0 Slave A 24 NJ series device variables for CJ series Unit NormSlavTbINdSta 1 Normal Slave Table Corresponding to Node Address 1 Slave NormSlavTbINdSta 2 Normal Slave Table Corresponding to Node Address 2 Slave NormSlavTbINdSta 3 Normal Slave Table Corresponding to Node Address 3 Slave NormSlavTbINdSta 4 Normal Slave Table Corresponding to Node Address 4 Slave NormSlavTbINdSta 5 Normal Slave Table Corresponding to Node Address 5 Slave NormSlavTbINdSta 6 Normal Slave Table Corresponding to Node Address 6 Slave NormSlavTbINdSta 7 Normal Slave Table Corresponding to Node Address 7 Slave NormSlavTbINdSta 8 Normal Slave Table Corresponding to Node Address 8 Slave NormSlavTbINdSta 9 Normal Slave Table Corresponding to Node Address 9 Slave NormSlavTbINdSta 10 Normal Slave Table Corresponding to Node Address 10 Slave NormSlavTbINdSta 1 1 Normal Slave Table Corresponding to Node Address 11 Slave NormSlavTbINdSta 1 2 Normal Slave Table Correspon
32. Structure error 2 I O area range There was an error in the parameters specified in the user settings and the requested settings could not be made Two or more software switches were changed to TRUE simultaneously or a second software switch was changed to TRUE before a prior operation was completed The slave s I O areas over lap Occurred with the scan list disabled Note Errors will occur in the slaves that join afterwards The slave s I O area isn t within the allowed range Occurs with the scan list disabled e The only response is the error code displayed on the 7 segment indicator e The error display will be cleared the next time that a software switch operation is completed normally The master will periodi cally attempt to reconnect with the slave with the structure error exceeded 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 2 When a master function structure error or verification error occurs only the most recent error is displayed for each slave If the Unit is set to stop the remote I O communications for a communications error two errors can be displayed The slave s communications error and its most recent error 9 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Mast
33. communications error occurs stopping is not released even after a stop release operation Probable cause When pin 3 on the DIP switch is ON communications will be stopped if a communications error transmission timeout or network power supply error occurs While communications are stopped the 7 segment indicators will alter nately display error code AO and the error code of the communications error that caused the stoppage In the case of a network power supply error or a transmission timeout the error code will disappear and the indicator will show just the communica tions stoppage code AO after the correction e When communications can t be restarted with slaves that were communi cating normally before the stoppage stop the communications again Check that the slave has started up and perform the clear communica tions error stoppage operation e t may be necessary to perform the operation twice if the network con tains another company s slave that take a long time to join the network 9 3 5 Scan List Problems Error A scan list couldn t be created by the cre ate scan list operation A scan list couldn t be cleared by the clear scan list operation The create scan list or clear scan list operation was executed but the master s 7 segment indicators still display The display usually lasts for 1 second after the create scan list operation or 0 1 seconds after the clear scan list
34. function enabling data or monitoring timer and oper the slave scan list ation continues Error6 For Error 7 An error occurs while read The communications cycle ing or writing the message time is set automatically monitoring timer and operation continues Error7 For Error 8 An error occurs while read Operation continues ing or writing the communi cations cycle time set value Errors An error occurs while read ing the identity information during Identity object server processing Note This error does occur for checksum errors while reading data 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 9 18 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Master Status 1 for CJ series Units CMstrSta _CMstrSta CMstrErr Master Error and UnitErr Unit Error and _ MemErr Replace the Unit if the error recurs CMstrMemErr Unit Memory Error are Unit Memory Error are TRUE TRUE F g 7 3 ct a S g g D Z R c gt 3 A g d yun IONS9IA9Qg y u Bunn s10114 Bunooys jqnoIL Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 19 9 Troubleshooting and Maintenance Red flashing Red flashing Red lit Red flashing Red flashing
35. j 6 5 3 l i gt ke oi q v CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 45 Appendices Object instance Max No of 1 instances Instance Explicit Message type Produc Cyclic a trig Server port type Trans port class Attribute Get Value lt i 1 State sw ews no fo 8 Consumed_connection_ size Yes No Format 16 16 557 Format 8 8 555 Format 16 8 8 16 556 9 Expected _packed_rate 12 Watchdog_timeout_action Tors 13 Produced_connection_path_ Yes No 0 length 14 Produced_connection_path empty 15 Consumed_connection_path_ Yes No 0 length Service Parameter option No No A 46 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices Object instance Max No of 2 instances Instance Polled I O type Produc Cyclic m trig s Server port type Trans port class Attribute Get Value Nes Ne 1 State a ews fe hT i 8 Consumed connection size ves no an a 12 Watchdog_timeout_action 13 Produced_connection_path_ length 14 Produced_connection_path Yes No 20 94 24 01 hex 15 Consumed_connection_path_ Yes No 4 length Service Parameter option No No 1 Number of input bytes used by Slave 2 Number of output bytes used by Slave gt A j 5 3 l gt ke coi a ro v CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W49
36. opera tion 9 34 Probable cause Neither the scan list clear nor create scan list operations can be performed until _Mstr1 OCommSta I O Data Communications changes to TRUE in the Master Status Area after the power is turned ON and the I O Data Com munications Status will change to TRUE again after the scan list clear oper ation is executed Make sure that the I O Data Communications Status changes to TRUE before attempting to execute the create scan list or scan list clear opera tions Restart the DeviceNet Unit execute the clear scan list operation and then the create scan list operation if necessary Replace the DeviceNet Unit if this doesn t correct the problem CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance 9 4 EventLogs 9 4 1 Overview of the Event Logs You use the same methods to manage all of the events that occur on the NJ series Controller The events include errors and information You can use the Sysmac Studio or an NS series PT to confirm current Controller events and the logs of events that have occurred These logs are called event logs Controller errors that occur for this Unit are also reported as events in the NJ series CPU Unit Refer to the NJ series CPU Unit Software User s Manual Cat No W501 for details on the event logs in an NJ series CPU Unit Refer to the NJ series Troubleshooting Manual Cat No W503 for details on Contr
37. ory Card to the DeviceNet Unit Data setup file can be restored into a DeviceNet Unit simply by carrying the SD Memory Card to the site if the device parameter file prepared from the CX Integrator is saved to SD Memory Card from a personal computer Supported You can access the history with the CX Integrator Supported in the device variable for CU series Unit or from the CX Inte grator Sets the response monitoring time explicit connection opening inter val in the DeviceNet Unit for explicit message communications You can make settings separately for all targeted devices with the use of the CX Integrator Sets the minimum SEND interval in COS or cyclic connections for all tar geted devices The setting is made using the CX Integrator Performs a comparison check on the following device data when slave data registered in the scan list is compared with actual slave data You can use the CX Integrator to set this function for all targeted Slaves Vendor device type and product code Built in EtherNet IP port on CPU Unit or peripheral USB port Rotary switches Unit No hexadecimal x 1 node address decimal x 2 Front panel DIP switch Baud rate stop or continue communications when an error occurs CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 11 i N 3 h A 5 n HU ONSTAGE L g 1 Features and System Configuration Item Specifications Display section Two indicators
38. 0 05 ms Sint The number of Input Slave input words Tp The baud rate factor 500 kbit s Tp 2 250 kbit s Tp 4 125 kbit s Tp 8 Mixed I O Slaves with Less Than 8 Bytes of Input or Output Trt 0 016 x Tp x Soyte Sino 0 11 x Tg 0 07 ms SouT2 The number of Mixed I O Slave output words Sino The number of Mixed I O Slave input words Tp The baud rate factor 500 kbit s Tg 2 250 kbit s Tp 4 125 kbit s Tp 8 Slaves with More Than 8 Bytes of Input or Out put Trt Tou Tpyte in X Bin Tpyte out x Bout ms Tou Protocol overhead TpyTe IN The input byte transmission time Bin The number of input words Tpyte out The output byte transmission time BouT The number of output words 500 kbit s 0 036 ms 250 kbit s 0 069 ms 125 kbit s 0 135 ms For Input Slaves take Boyt to be 0 and for Output Slaves take B y to be 0 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 Communications Timing 8 1 2 Calculating Guidelines for I O Response Times This section describes the formulas to use to calculate the minimum and maximum I O response times for the following configuration Refer to 8 1 1 Communications Cycle Time for the communications cycle time and the communications time per slave which are used in the formulas User program NJ series CPU Unit DeviceNet eeeceeeeeeoeoooooooooce 3 DeviceNet Output slave N1 OUT1 I O respo
39. 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 9 20 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Status of C200H Master Replacement Master Status 1 CMstrSta _CMsitrSta CMstrErr Master Error and CMstrNdDupErr Node Address Dupli cated Bus Off Error are TRUE CMstrErr Master Error and CMstrNdDupErr Node Address Dupli cated Bus Off Error are TRUE 9 Troubleshooting and Maintenance Status of device variables for CJ series Units UnitErr Unit Error and NdAdrDupErr Node Address Dupli cated are TRUE UnitErr Unit Error and BusoffErr Bus Off Error are TRUE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Check the node addresses set on other nodes in the network Correct the settings to eliminate the duplica tion and restart the DeviceNet Units Check the following e Matching master and slave baud rates Proper cable lengths trunk and branch lines Broken or loose cables Installation of terminators only at both ends of the trunk line Excessive noise Set the unit numbers correctly and restart the DeviceNet Units Replace the CPU Unit if the error recurs when the Controller is restarted Replace the DeviceNet Unit if the same error recurs when the Unit is mounted to another CPU Unit Set the node address correctly and restart the D
40. 1 block is not allocated if the value is 0 Data range 0 to 200 Default 0 Slave OUT Stores the OUT 2 area 2 area Data range 0 to 20 Default 0 Firstwordin Stores the first word for OUT 2 area Slave OUT Data range 0 to 32767 pice Default 0 Slave OUT Stores the size of OUT 2 area 2 area size The OUT 1 block is not allocated if the value Is 0 Data range 0 to 200 Default 0 Slave IN2 Stores the IN 2 area area Data range 0 to 20 Default 0 First wordin Stores the first word for IN 2 area Slave IN2 Data range 0 to 32767 Default 0 SlavAlocRefTblSta 2 UINT SlavAlocRefTblSta 3 UINT SlavAlocRefTblSta 4 UINT SlavAlocRefTblSta 5 UINT SlavAlocRefTblSta 6 UINT SlavAlocRefTblSta 7 UINT SlavAlocRefTblSta 8 UINT SlavAlocRefTblSta 9 UINT SlavAlocRefTblSta 10 UINT area 3 60 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for SlavAlocRefTblSta 1 1 UINT Slave IN2 Stores the first word for IN 2 area area size The OUT 1 block is not allocated if the value is 0 Data range 0 to 200 Default 0 Areas and Word Ranges Code Area name in Memory for CJ series Units Word range The block is not used Sas parera Snes 8 qGeL Huns 0 1 CIO Area CIO 0 to 6143 3 Data Memory DM 0 to 32767 5 Holding Relay HR 0 to 511 8 to 20 Expansion Data Me
41. 2 Transmis sion time out error Network Red Memory access Message monitoring timer list logic error flashing Slave scan list logic error flashing Error Likely cause category A transmission request was not completed nor mally for one of the follow ing reasons e There is not even one device such as a slave in the network e The communications speed settings are not the same in all of the nodes e CAN controller error There is an error in the contents of the message monitoring timer list stored in non volatile memory There is an error in the contents of the slave scan list stored in non volatile memory DeviceNet Unit response As long as transmission timeout Is in effect remote I O communications will remain stopped and errors will be returned in response to requests for message transmissions The indicator status scan ning and message pro cessing will return to normal when the transmis sion timeout returns to nor mal although scanning will not resume if the DeviceNet Unit is set to stop remote I O communi cations when a communi cations error occurs Records the error in the error log Operation will continue using the default message monitoring timer values e Records the error in the error log The slave remote I O communications will be stopped Message processing and the exchange of data with the CPU Unit will continue Normal operatio
42. 2 colors Display Unit and network status Module Sta tus and Network Status Two 7 segment indicators Displays the DeviceNet Unit node address error code and node address where an error occurred 2 dot indicators Display whether the registration scan list is enabled or not Front connector One communications connector communications data CAN H and CAN L communications power supply V V shielded Use the XW4B 05C1 H1 D connector provided to connect the communi cations cable Note Use the XW4B 05C4 T D connector sold separately for multi drop connections Communications power supply voltage 11 to 25 VDC supplied from the communications connector Current consumption Communications power supply 18 mA at 24 VDC supplied from the communications connector Internal circuit power supply 290 mA max at 5 VDC supplied from the Power Supply Unit External dimensions 31 x 90 x 65 mm W x H x D Weight 118 g connector provided included Standard accessories One XW4B 05C1 H1 D connector to connect to a node from a T branch Tap 1 12 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features and System Configuration 1 3 Overview of CX Integrator You can set allocations for remote I O communications in any order of node addresses with the CX Integrator Users can also set remote I O communications connections For details refer to the CX ntegrator Ver 2 OPERATION MANUAL Cat No W
43. 3570 CIO 3470 Change _ Sw2SlavFixAloc2Cmd Slave Fixed Allocation Setting 2 Switch to TRUE Fixed allocation area 3 ClO 3770 ClO 3670 Change _Sw2SlavFixAloc3Cmd Slave Fixed Allocation Setting 3 Switch to TRUE You can include a maximum of 3 CJ series DeviceNet Units as slaves in a single NJ series CPU Unit because the three allocation areas above are set individually for fixed allocations The default setting is fixed allocation area 1 i Allocation Procedures Step 1 Set the CPU Unit to PROGRAM Mode y N gt 3 et SPJOM p oolly L z 9 Step 2 Stop Slave Communications If the Unit already functions as a Slave Unit change _Sw2SlavDsblCmd Slave Stop Switch to TRUE to stop slave communications This step is not necessary if slave communications are stopped Step 3 Selecta Fixed Allocation Area Change Sw2SlavFixAloc1Cmd to _ Sw2SlavFixAloc3Cmd Slave Fixed Allocation Setting 1 to 3 Switch to TRUE to select a fixed allocations area between 1 and 3 One word is allocated for the output OUT area from the Slave Unit to the CPU Unit and another word is allocated for the input IN area from the CPU Unit to the Slave Unit in the memory used for CJ series Unit as shown below CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 7 5 Remote I O Slave Communications Name of device Fixed allocation area Allocated output Allocated input IN variables for Cj OUT area area
44. 4 digit hexadecimal Write Data Command The specified area and write data is returned in order from word H higher byte bits 8 to 15 to word L lower byte bits 0 to 7 If an odd number is specified the last 1 byte of data will be written to word H Important Points The actual address L address H and number of write data words that can be specified depends on the type of CPU Unit with CJ series DeviceNet Unit mounted and the type of memory area Do not exceed the boundary of the data areas for the CPU Unit you are using CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications i Word Data Write Service Code 1F Hex Word Data Write writes data to any I O memory area in the memory used for CJ series Unit in a CPU Unit with a CJ series DeviceNet Unit mounted The write word data is in word units The response block is returned from low to high bytes Command Block 1F 2F OON e A o k oo Class ID Address L or data L Word data L Service Code Instance ID Address H Word data H Word data H Write data 200 bytes max Note A body format of either 8 bits or 16 bits is possible Response Block Service Code Parameters Service Code command response 1F Hex is specified for commands For responses the high est bit will turn ON and 9F Hex will be returned Class ID command Always 2F Hex Instance ID command The type of area in the memory used for CJ
45. 500 output words x 1 block DeviceNet allocations variable for Unit CJ series Unit By CX Inte 32 000 pts 500 input words x 2 blocks 500 output words x 2 blocks grator Max No of Fixed allocations 1 024 pts 32 input words 32 output words VO per Slave User set By device 3 200 pts 100 input words 100 output words controllable by allocations variable for a DeviceNet CJ series Unit Unit By CX Inte grator 3 200 pts 100 input words 100 output words 4 1 3 Precautions on the Number of Master Units You can construct the following system configurations based on various numbers of Master Units when DeviceNet Units are used Pattern One Master Unit con Multiple Master Units con Multiple Master Units con nected on a single net nected on a single network nected to a single CPU Unit Configuration Remote I O communications Fixed allo Xx O You can use up to 3 Master tions Units User set alloca tions ca By O See note O CX Inte grator By O See note O device vari able for CJ series Unit 4 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications Pattern One Master Unit con Multiple Master Units con Multiple Master Units con nected on a single net nected on a single network nected to a s
46. 54 8 to 15 Nd55Sta Detailed Slave Status Table for Node Address 55 D m 71 0to7 Nd56Sta Detailed Slave Status Table for Node Address 56 8 to 15 Nd57Sta Detailed Slave Status Table for Node Address 57 A 32 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices CJ series I O memory address NJ series device variables for CJ series Unit D m 72 0to7 Nd58Sta Detailed Slave Status Table for Node Address 58 8 to 15 Nd59Sta Detailed Slave Status Table for Node Address 59 D m 73 0to7 Nd60Sta Detailed Slave Status Table for Node Address 60 8 to 15 Nd61Sta Detailed Slave Status Table for Node Address 61 D m 74 0to7 Nd62Sta Detailed Slave Status Table for Node Address 62 8 to 15 Nd63Sta Detailed Slave Status Table for Node Address 63 The device variables for CJ series Units that correspond to bits O to 15 of each word are as follows CJ series I O memory address NJ series device variables for CJ series Unit D m 43 m 44 0 of each word NdOErr Slave Error for node address 0 2 to 62 to m 74 Nd2Err to Nd62Err 1 of each word NdOVefyErr Slave Verification Error for node address 0 2 to Nd2VefyErr 62 to Nd62VefyErr 2 of each word NdOCfgErr Slave Configuration Error for node address 0 2 Nd2CfgErr to 62 to Nd62CfgErr 3 of each word NdOlOErr Slave Remote I O Communications Error for Nd2lOeErr node address 0 2 to 62 to Nd62IOErr dofeachword
47. 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 Number of Slaves s Communications cycle time 500 kbit s ms a Communications cycle time 250 kbit s ms 4 Communications cycle time 125 kbit s ms 8 2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 Communications Timing Communications Cycle Time Calculation Use the equations shown below to calculate the communications cycle time Try for a network with one Master Note that if the result of this calculation is less than 2 ms the actual communications cycle time will be 2 ms Tram Communications time per Slave High density Unit processing time Explicit message communications time COS Cyclic connection time ms 0 01 x N 1 0 ms Communications Time per Slave This is the communications time required for a single Slave x Communications time per Slave represents the total of the Communications time per Slave for all the Slaves in the network High density Unit Processing Time 3 5 MS This is added if there are any Slaves in the network that use at least 8 bytes for input output or both Explicit Message Communications Time 0 11 x Tp x n ms The explicit message communications time is added as a delay time when explicit communications sending or receiving are performed n Number of explicit messages both sending and receiving that occur simultaneo
48. Allocation Area Setting 1 Switch device variable _Sw1MstrFixAloc1Cmda e Fixed Allocation Area Setting 2 Switch device variable _Sw1MstrFixAloc2Cmda e Fixed Allocation Area Setting 3 Switch device variable _Sw1MstrFixAloc3Cma PLC Function Module Source details CJ series Unit At user operation timing CPU Unit is not in PROGRAM mode Change the CPU Unit to PROGRAM Change the CPU Unit to PROGRAM mode mode Execute the software switch opera Execute the software switch opera tions one at a time tions one at a time More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was com pleted for a previous software switch None None 9 51 amp m 6 A m amp W suoduos q JOA p 6 9 Troubleshooting and Maintenance Meaning An operating error occurred when registering or clearing the scan list by performing one of the following operations e Scan List Enable Switch device variable _Sw1SListEnb Cmd e Scan List Clear Switch device variable _Sw1SListCirCma Source Error attributes Effects Not affected PLC Function Module Source details CJ series Unit At user operation timing PER Cause and correction CPU Unit is not in PROGRAM mode Request processing is not possible in this status or the request was made when the operation was already in progress The following are the main causes of Unit status errors e A
49. CX Integrator Status and Unit Status Tabs Execute the device monitor function from the CX Integrator Current Communications Cycle Time Tab Execute the device parameter edit function from CX Integrator Communications Cycle Time Tab Save the network configuration from the CX Inte grator Insert a SD Memory Card in the CPU Unit and change the Unit Setup File Backup Switch in the device variables for CJ series Unit to TRUE Replace the DeviceNet Unit Change Sw2FileRestoreCmd Unit Setup File Restore Switch to TRUE Change _Sw1SListEnblCmd Scan List Enable Switch in the device variables for CJ series Unit to TRUE Make sure the slave is connected and then change Sw1SListEnb iCmd Scan List Clear Switch in the device variables for CJ series Unit to TRUE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 E Ul W rF Section h 3 2 1 Software g Switches 1 0 of 3 2 1 Software S 9 Switches 1 5 vl ed 3 2 1 Software Switches 1 4 2 Scan List 3 2 8 Master Status 2 3 2 11 Regis tered Slave Table 3 2 12 Normal Slave Table 3 2 6 Unit Sta tus 2 9 2 Error Log Functions CS CJ CP NSJ Series CX Inte grator Ver 2 OPERATION MANUAL W464 7 1 SD Mem ory Card Backup Func tions 9 5 3 Replacing Faulty Units 1 23 1 Features and System Configuration 1 24 CJ series DeviceNet Units Operation Manual for NJ series CPU
50. Communications will not operate Error responses are returned to all communica tions requests Data refreshing with the CPU Unit will con tinue Communications are not performed if two DeviceNet Units have the same node address The node address of the DeviceNet Correct the node address of the Set node addresses so that each one DeviceNet Unit so that it is not set for is used only once any other node Unit is also set for another node None None Routing Table Error 34BC 0000 hex There is illegal data in the routing tables set in the CPU Unit PLC Function Module Source details CJ series Unit Detection At power ON or timing Controller reset Level Minor fault Recovery Cycle the power Log category System supply or reset the Controller Processing will continue without using routing tables The local DeviceNet Unit is not in the Correct the routing tables so that the Make sure that the local DeviceNet local DeviceNet Unit is included in Unit is in the routing tables them The routing table format is incorrect Correct the routing tables so that the Make sure that the routing tables are proper format is used set correctly Reading the routing tables timed out Check the status of the CPU Unit and None then perform the required corrective routing tables actions None You can change the event level to the observation level If you change the level to the observation level the Recovery
51. Controller I DeviceNet Unit i Slave a S 3 S OO O 17 E DeviceNet O swe CO Controller eses akese Remote I O Remote O Note Refer to 4 7 Master Remote I O Communications for details CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 3 1 Features and System Configuration Multiple DeviceNet Units on a Single Controller You can mount up to 16 CJ series DeviceNet Units to a single Contoller This feature enables greater DeviceNet remote I O control capacity and ensures that DeviceNet can easily handle line expansion as well as other applications CJ series DeviceNet Unit master See note 1 Cu series DeviceNet Unit master CJ series DeviceNet Unit DeviceNet slave See note 2 CJ series DeviceNet Unit master See note 1 DeviceNet Note 1 You can mount multiple Units without the CX Integrator 2 You can mount DeviceNet Units as slaves with those as masters Note Refer to 4 7 Master Remote I O Communications for details 1 4 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features and System Configuration DeviceNet Unit Setup Files SD Memory Card Backup You can write setup data e g scan lists of a DeviceNet Unit as a file to the SD Memory Card mounted in a CPU Unit This feature greatly simplifies DeviceNet Unit replacement You can also save a DeviceNet Unit device
52. Correct the settings so that the mas ter and slaves use the same baud rate Refer to the communications specifi cations and adjust all of the cables to suitable lengths Connect the communications cable securely If the communications cable is broken replace it Connect terminating resistance only to the ends of the trunk line Set the master and slaves to the same baud rate Refer to the communications specifi cations and adjust all of the cables to suitable lengths Connect the communications cable securely Check to see if the commu nications cable is operating properly Connect terminating resistance only to the ends of the trunk line You can change the event level to the observation level If you change the level to the observation level recovery proce dures are not required CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Event name Remote I O Communications Error during Slave Opera 84760000 hex tion Meaning An error occurred in remote I O communications Source PLC Function Module Source details CJ series Unit Detection During DeviceNet timing communications Effects User program Continues Operation Outputs will be retained or cleared according to the set tings if there are output words es Mon fe Cause and Assumed cause Correction Prevention Sele Mel The master is not in operation Check to see if the master is operat Ch
53. Cycle Time Setting Master User set Allocations Setup Table Slave User Set Allocations Setup Table 1 Use Special Unit Setup Editing screen of Sysmac Studio 2 Use a user program If it is necessary to change the System Setting while the user program is being executed use the user program to change the System Setting vs rs O e 3 3 Z O gt D O lt o D 3 D op 2 z 3 3 1 Communications Cycle Time Setting This sets the communications cycle time for the master using CommCycleTmCig You can update the standard communications cycle time with SwiCycle mITmpSet Temporary Setting Switch for Communications Cycle Time and _ Sw1CyclelmSetCmd Communications Cycle Time Setting Switch For details on these switches refer to 3 2 1 Software Switches 1 of 3 2 Device Variables for CJ series Unit Software Switches Statuses Name of device variable for i CommCycleTmCfg UINT RW Communi Sets the communications cycle time in mil cations liseconds If this bit is set to FALSE the Cycle Time optimum time calculated by the Unit will Setting be used If a value higher than 500 ms is set the Unit will operate at 500 ms If the setting cannot be correctly made for some reason Mstr1CycleTmSetErr Communications Cycle Time Setting Failed in Master Status 1 is changed to TRUE and SwiCycleTmTmpSet Tem porary Setting Switch for Communications Cycle Time and Sw1CycleTmSetCmd return to FALS
54. DeviceNet Units Operation Manual for NJ series CPU Unit W497 Precautions for Safe Use e You cannot upload or download information for forced refreshing with the Sysmac Studio After downloading data that contains forced refreshing change to RUN mode and then use the Sys mac Studio to perform the operation for forced refreshing Depending on the difference in the forced status the control system may operate unexpectedly e Do not specify the same address for the AT specification for more than one variable Doing so would allow the same entity to be accessed with different variable names which would make the user program more difficult to understand and possibly cause programming mistakes i General Communications e When you use data link communications check the error information that is given in ErrSta Control ler Error Status to make sure that no error has occurred in the source device Write the user program to use the received data only if there is no error If there is an error in the source device the data for the data link may contain incorrect values e Unexpected operation may result if inappropriate data link tables are set Even if appropriate data link tables have been set confirm that the controlled system will not be adversely affected before you transfer the data link tables The data links start automatically after the data link tables are trans ferred e All CPU Bus Units are restarted when routing tables are trans
55. Holding Relay HR 0 to 511 to 20 Expansion Data Memory EM O to 32767 EO 00000 to EO 32767 Bank 0 to bank C 13 banks EC _00000 to EC_32767 for all banks Note You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subse quent banks CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 59 3 Data Exchange with the CPU Unit 3 3 6 Slave User set Allocations Reference Table You can access the slave block seitings in the Slave User set Allocations Reference Table You can use a maximum of two OUT and two IN areas OUT 1 IN 1 OUT 2 and IN 2 areas for slave communica tions and you can access their area and size in the table The OUT 1 and IN 1 areas and their sizes can be referenced if CX Integrator is not being used Name of device variable for SlavAlocRefTblSta 0 UINT Slave OUT Stores the OUT 1 area 1 area Data range 0 to 20 Default 0 SlavAlocRefTblSta 1 UINT Firstwordin Stores the first word for OUT 1 area Slave OUT Data range 0 to 32767 1 area Default 0 Slave OUT Stores the size of OUT 1 area 1 area size The OUT 1 block is not allocated if the value is 0 Data range 0 to 200 Default 0 Slave IN 1 Stores the IN 1 area area Data range 0 to 20 Default 0 Firstwordin Stores the first word for IN 1 area Slave IN1 Data range 0 to 32767 oe Default 0 Slave IN 1 Stores the first word for IN 1 area area size The OUT
56. If two different function modules are used together such as when you use CJ series Basic Output Units and EtherCAT slave outputs take suitable measures in the user program and external controls to ensure that safety is maintained in the controlled system if one of the function modules stops The relevant outputs will stop if a partial fault level error occurs in one of the function modules e Always confirm safety at the connected equipment before you reset Controller errors with an event level of partial fault or higher for the EtherCAT Master Function Module When the error is reset all slaves that were in any state other than Operational state due to a Con troller error with an event level of partial fault or higher in which outputs are disabled will go to Oper ational state and the outputs will be enabled Before you reset all errors confirm that no Controller errors with an event level of partial fault have occurred for the EtherCAT Master Function Module e Always confirm safety at the connected equipment before you reset Controller errors for a CJ series Special Unit When a Controller error is reset the Unit where the Controller error with an event level of observation or higher will be restarted Before you reset all errors confirm that no Controller errors with an event level of observation or higher have occurred for the CJ series Special Unit Observation level events do not appear on the Controller Error Tab Page so it is possible
57. Information The above file is data compatible with device parameter files for the Master this Unit created with CX Integrator CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Communications Timing SS This section describes the time required for remote I O communications and message communications 8 1 Remote I O Communications CharacteristicS 0eeeenee eens 8 2 8 1 1 Communications Cycle Time 5 04 04 2 0540 eee le ee Ae ee hee 8 2 8 1 2 Calculating Guidelines for I O Response Times 00000 0 8 5 8 1 3 More than One Master in Network 0 0000 cece eee ees 8 7 8 1 4 System Startup Time secsi tatione aa secede 2haGcuk de 8 8 8 2 Message Communications ccccce eee e eee e eee eee ees 8 10 8 2 1 Message Communications Time 0 0 cece eee ee eens 8 10 8 2 2 Calculating the Maximum Message Response Time 8 11 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 1 8 Communications Timing 8 1 Remote I O Communications Characteristics This section describes the characteristics of remote I O communications when the DeviceNet Unit is used as a master in combination with OMRON DeviceNet slaves Use this section for reference when planning operations that require precise I O timing The equations provided here are valid under the following conditions e The DeviceNet Unit is operating with the scan list enabled
58. List Register Clear Failed Bit 12 Communications Cycle Time Set ting Failed Bit 13 Reserved by system Bit 14 Reserved by system Bit 15 I O Data Communications Status Default 16 0000 The following device variables for CJ series Unit are used to reference individual information Name of device variable for Mstr1 VefyErr BOOL Verification lt Operation specifications gt Error TRUE Indicates that the slave information regis tered in the scan list is different from the actual slave information It occurs with the scan list enabled FALSE Indicates that a verification error did not occur Or changes to FALSE when a veri fication error is cleared Default FALSE Mstr1 StruErr BOOL Structure lt Operation specifications gt Error TRUE Indicates that I O allocations cannot be made with the scan list disabled FALSE Indicates that a structure error did not occur Or changes to FALSE when a structure error is cleared Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 33 UEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSME S SOURIMS o i N zZ o D ep o Cc k 3 Data Exchange with the CPU Unit Name of device variable for Mstr11OErr BOOL Remote I O lt Operation specifications gt Communi TRUE n Indicates that a remote I O communica rror tions timeout occurred during remote I O communications with slaves Not
59. Manual Cat No W505 for details Bf Motion Control e Confirm the axis number carefully before you perform an MC Test Run e The motor is stopped if communications are interrupted between the Sysmac Studio and the CPU Unit during an MC Test Run Connect the communications cable between the computer and CPU Unit securely and confirm that the system will not be adversely affected before you perform an MC Test Run e Always execute the Save Cam Table instruction if you change any of the cam data from the user pro gram in the CPU Unit or from the Sysmac Studio If the cam data is not saved the previous condition will be restored when the power is turned ON again possibly causing unexpected machine operation e The positive drive prohibit input POT negative drive prohibit input NOT and home proximity input DEC of the Servo Drive are used by the MC Function Module as the positive limit input negative limit input and home proximity input Make sure that the signal widths for all of these input signals are longer than the control period of the MC Function Module If the input signal widths are shorter than the control period the MC Function Module may not be able to detect the input signals resulting in incorrect operation Battery Replacement e The Battery may leak rupture heat or ignite Never short circuit charge disassemble heat or incin erate the Battery or subject it to strong shock e Dispose of any Battery that has
60. Memory Card Backup Functions s sssssssssssnssnnnsnnnnnnn 7 2 7 1 1 Outline of FUNCIONS 2 2 lt 2 S a 2 e 425 4 o 2 fered ee deed A E A E A ENA 7 3 7 1 2 File Names asics ed os ache ete aaa a a Boe ed Fe ea 7 4 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 7 1 7 Other Functions 7 1 SD Memory Card Backup Functions The DeviceNet Unit stores the following setup data in the internal non volatile memory e Master scan lists e Slave scan lists e Message monitoring timer lists e Communications cycle time settings e Master Slave functions enabled disabled settings Note Backup is possible only when scan lists are enabled With the CJ series DeviceNet Unit all this setup data can be backed up to and restored from an SD Memory Card mounted to the CPU Unit If all setup data for a DeviceNet Unit that starts normally is saved on an SD Memory Card that data can be read and used when replacing DeviceNet Units making the replacement process smooth Device parameter files dvf files created using the CX Integrator can be saved from the computer to the SD Memory Card and can be restored to the DeviceNet Unit mounted to the CPU Unit This means that setup data created using the CX Integrator scan lists and other parameters can be downloaded to DeviceNet Units simply by taking the SD Memory Card to site CJ series DeviceNet Unit All setup data NJ series CPU Unit Unit Setup File Backup Switc
61. More than one software switch Execute the software switch opera tions one at atime Execute the software switch opera tions one at a time changed to TRUE at the same time Or another software switch changed to TRUE before processing was com pleted for a previous software switch None None CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Event name Send Timeout Error 64AC 0000 hex Meaning A send timeout occurred Source details CJ series Unit Detection When trying to timing establish a link or during DeviceNet communications ery Effects User program Continues Operation The DeviceNet Unit will stop remote I O communications and return errors for message send requests wherever there is a transmission timeout When the system returns to normal status from the transmission timeout the error display will stop remote I O communications will start and message processing will return to normal Remote I O communications will not start again after recovery to nor mal operation however if remote I O communications are set to stop when a communications error occurs conectan There is no slave or other device on Add at least one device to the net Connect at least one device to the the network work network The same baud rate is not set for all Correct the settings so that all nodes Set all nodes to the same baud rate nodes use the same baud rate Comm
62. NJ series CPU Unit W497 A 5 Appendices The device variables for n 5 are as follows CJ series I O memory address CJ series Units that correspond to bits 0 to 15 of 4 words from CIO n 2 to NJ series device variables for CJ series Unit MstrCOSSendNdCmd 0 Master COS Send Switch for Node Address 0 Slave MstrCOSSendNdCmd 1 Master COS Send Switch for Node Address 1 Slave MstrCOSSendNdCmd 2 Master COS Send Switch for Node Address 2 Slave MstrCOSSendNdCmd 3 Master COS Send Switch for Node Address 3 Slave MstrCOSSendNdCmd 4 Master COS Send Switch for Node Address 4 Slave MstrCOSSendNdCmd 5 Master COS Send Switch for Node Address 5 Slave MstrCOSSendNdCmd 6 Master COS Send Switch for Node Address 6 Slave MstrCOSSendNdCmd 7 Master COS Send Switch for Node Address 7 Slave MstrCOSSendNdCmd 8 Master COS Send Switch for Node Address 8 Slave MstrCOSSendNdCmd 9 Master COS Send Switch for Node Address 9 Slave MstrCOSSendNdCmd 1 0 Master COS Send Switch for Node Address 10 Slave MstrCOSSendNdCmd 1 1 Master COS Send Switch for Node Address 11 Slave MstrCOSSendNdCmd 1 2 Master COS Send Switch for Node Address 12 Slave MstrCOSSendNdCmd 13 Master COS Send Switch for Node Address 13 Slave MstrCOSSendNdCmd 1 4 Master COS Send Switch for Node Address 14 Slave MstrCOSSendNdCmd 15 Master COS Send Switch for Node Address 15 Slave CJ series DeviceNet Units Operation Manual for NJ
63. NormSlavTbINdSta 28 Normal Slave Table Corresponding to Node Address 28 Slave NormSlavTbINdSta 29 Normal Slave Table Corresponding to Node Address 29 Slave NormSlavTbINdSta 30 Normal Slave Table Corresponding to Node Address 30 Slave 15 NormSlavTbINdSta 31 Normal Slave Table Corresponding to Node Address 31 Slave gt a y 6 gt A 5 gt 5 D ea 0 TI gt A c fe gt W f Q gt Q fe g 0 A U Cc Cc gt rF Z fe 2 v 0 8 Wwesbold Jasn wo Buissaooy Ul S8OUDIOWIG Z L Y CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 25 Appendices CJ series I O memory address NJ series device variables for CJ series Unit CIO n 22 NormSlavTbINdSta 32 Normal Slave Table Corresponding to Node Address 32 Slave A 26 1 NormSlavTbINdSta 33 Normal Slave Table Corresponding to Node Address 33 Slave 2 NormSlavTbINdSta 34 Normal Slave Table Corresponding to Node Address 34 Slave 3 NormSlavTbINdSta 35 Normal Slave Table Corresponding to Node Address 35 Slave 4 NormSlavTbINdSta 36 Normal Slave Table Corresponding to Node Address 36 Slave 5 NormSlavTbINdSta 37 Normal Slave Table Corresponding to Node Address 37 Slave NormSlavTbINdSta 38 Normal Slave Table Corresponding to Node Address 38 Slave 7 NormSlavTbINdSta 39 Normal Slave Table Corresponding to Node Address 39 Slave NormSlavTbINdSta 40 Normal Slave Table Corr
64. ON only after the power supply to the Controller has turned ON If the power supply to the Controller is turned ON after the control power supply temporary errors may result in incorrect control system signals because the output terminals on Output Units may momentarily turn ON when power supply is turned ON to the Controller e If you transfer data from a backup file on an SD Memory Card to the Controller when the power sup ply is turned ON properly select the data groups to transfer If the data for an unintended data group is transferred to the Controller it may cause the equipment to operate unpredictably Actual Operation e Check the user program data and parameter settings for proper execution before you use them for actual operation f Turning OFF the Power Supply e Never turn OFF the power supply to the Controller when the BUSY indicator is flashing While the BUSY indicator is lit the user program and settings in the CPU Unit are being backed up in the built in non volatile memory This data will not be backed up correctly if the power supply is turned OFF Also a major fault level Controller error will occur the next time you start operation and operation will stop e Do not turn OFF the power supply or remove the SD Memory Card while SD Memory Card access is in progress i e while the SD BUSY indicator flashes Data may become corrupted and the Control ler will not operate correctly if it uses corrupted data To rem
65. Range CJ series Unit SlavAlocTbICfg 0 0 to 20 SlavAlocTbICfg 1 0 to 32767 SlavAlocTbICfg 2 0 to 200 SlavAlocTbICig 3 0 to 20 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 Remote I O Slave Communications Name of device variables for Type Ranae CJ series Unit yP g SlavAlocTblCfg 4 UINT First word in slave IN 1 area 0 to 32767 _ SlavAlocTblCfgSta WORD _ Setting Results of Slave User set 16 0000 to Allocations Setup FFFF e Areas and Word Ranges for the OUT 1 IN 1 Areas Area name in memory for CJ series Unit 0 pe The block is not used 5 8 Code Word range Holding Area HR O to 511 to 20 Expansion Data Memory EM 0 to 32767 EO 00000 to EO 32767 Bank 0 to C 13 banks EC_00000 to EC_32767 for all banks y W G v g 7 Q gt R a 0 a Note You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subse quent banks Step 4 Change the Slave User set Allocations Switch to TRUE Change Sw2SlavAlocCmd Slave User Allocations Switch to TRUE Step 5 Change the Slave Enable Switch to TRUE Change Sw2SlavEnbiCmd Slave Enable Switch to TRUE This will allocate the above areas as slave areas and the DeviceNet Unit will start slave remote I O communications qeL dnjes suonevolly 1OS JOSF SARIS pun SEL9S D JO SejqeleA svd yno sBulljeS Z E G Note Once slave communications are enabled by changing the Sla
66. Reserved by system 5 of each word NdOCOSSendErr Master COS Send Error for node address 0 2 to Nd2COSSendErr 62 to Nd62COSSendErr 6 of each word NdOSListRegSta Scan List Registration Flag for node address Nd2SListRegSta 0 2 to 62 to Nd62SListRegSta 7 of each word Nd0lIOCommsSta Remote I O Communications Flag at node Nd2lIOCommsSta address 0 2 to 62 to Nd62lIOCommSta CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 33 welbold Jasn WOJ Buissaooy Ul SSOUSIOWIG Z L Y gt a y 6 gt A 5 gt 5 D ea 0 TI m A c fe gt W f Q gt Q fe g 0 A U Cc C gt rF Z fe 2 v 0 8 Appendices The device variables for CJ series Units that correspond to bits 0 to 15 of each word are as follows CJ series I O memory address NJ series device variables for CJ series Unit Wordaddress Bi Variablename _ serfes function name D m 43 m 44 8 of each word NdiErr Slave Error for node address 1 3 to 63 to m 74 Nd3Err to Nd63Err 9 of each word Ndi VefyErr Slave Verification Error for node address Nd3VefyErr 1 3 to 63 to Nd63VefyErr 10 of each word Nd1CfgErr Slave Configuration Error for node Nd3CfgErr address 1 3 to 63 to Nd63CfgErr 11 of each word Nd1lIOErr Slave Remote I O Communications Error NdSlOErr for node address 1 3 to 63 to Nd63IOErr 2ofeachword
67. Setup Table set the areas and first words for the output block OUT 1 and the input block IN 1 and set the area and first word for the Alloca tion Size Setup Table You can allocate each slave two blocks OUT 1 and IN 1 according to the set tings in this device variable for CJ series Unit The OUT and IN blocks will be allocated in order of slave node addresses Each block is a maximum of 500 words To access the allocated area from the user program a user defined variable that specifies the AT specification of that area needs to be defined User program CPU Unit Ascending order that start from address 0 Address Device variables for Cu series Unit User defined variable OUT block 1 To Slaves Address Ascending order that start from address 0 Address D From Slave Address IN User defined variable block 1 Specify the area first word and allocation size to allocate output input block 1 Each address is allocated at least one byte rightmost e More than one word is allocated for each slave with more than16 I O points according to its node address e The rightmost byte of the word is allocated to each slave that has 8 I O points or less 4 4 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications 4 1 2 Remote I O Master Specifications Item Slave alloca tion methods No of Masters that you c
68. Source local node Node Address Response Returns the local node DeviceNet node address that was the source of the explicit message Error Code Response Returns the error code defined by the DeviceNet Explanation The Explicit Message Send command sends a DeviceNet defined explicit message to an OMRON Special I O Slave Unit or a DeviceNet Slave manufactured by another company and receives a response The input variables DstNetAdr Destination network address in the SendCmd instruction speci fies the local node DeviceNet Master Unit when the Explicit Message Send command is sent The actual destination node is specified with the use of the Destination Node Address in the Explicit Message Send command EN Additional Information e Refer to DeviceNet Specifications for explicit message parameter details e For information on explicit messages for OMRON slave refer to the DRT2 Series DeviceNet Slaves Operation Manual Cat No W404 e Contact the ODVA to obtain copies of the DeviceNet specification ODVA s URL http www odva org A 42 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices A 4 Multi vendor Applications This appendix provides precautions and reference material needed when you use DeviceNet Compo Bus D Units as DeviceNet components in a multi vendor environment Connecting another Company s DeviceNet Slaves to an OMRON Master For connecting another Company s Device
69. Status Areas 1 Each time a communications error occurs an error code is placed in an error record in the error history kept in the RAM of the DeviceNet Unit Up to 96 records can be stored in the error his tory The time and date the record occurred is also recorded Code Can be monitored from the CX Integrator 96 records Master Unit Monitor _ CX Integrator 2 You can use the MS and NS indicators and the 7 segment indicator on the front panel of the DeviceNet Unit together with the _Unit1 Sta Unit Status 1 in the CPU Unit to obtain informa tion on a communications error that has occurred This information can be used as the basis for troubleshooting Unit1Sta Unit Status 1 NJ Series Master CPU Unit Unit Example Routing table error Flashing red a rr NS Not relevant a al o 2 6 1 5 Message Monitoring Timer A message monitoring timer monitors responses for the DeviceNet Unit A timer can be set for each device that will be communicated with each message destination You can set the timers with the CX Integrator The default setting is 2 seconds 2 000 ms The setting range is 500 to 30 000 ms If the response from the remote communications device message destination is slow the timer setting must be increased The next message cannot be sent to the same communications device during the response waiting time so the setting should not be s
70. SwiMstrFixAloc3C Master Fixed Allocation Fixed allocations area CIO 3600 to CIO 3700 to md Setting 3 Switch 3 CIO 3663 CIO 3763 Step 5 Change the Scan List Enable Switch to TRUE Remote I O communications will start with the scan list disabled after you select a fixed allocations area Check to see if communication is proceeding normally with each slave and then change Sw1SListEnblCmd Scan List Enable Switch to TRUE to communicate with the scan list enabled SOINPSOOJd UONCDOIIV C F 7 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 15 4 Remote I O Master Communications 4 16 Step 6 Define the User defined Variable Define a user defined variable for the area to which each slave is allocated By using the user defined variable the user program can access the allocation area of the slave Below is an example of a user defined variable in which fixed allocations area 1 is selected Data Type Initial Value AT DRMO1_Out ARRAY 0 63 OF WORD 64 1670 0 3200 Fixed Allocations Area 1 OUT blocks are allocated to slaves from CIO 3200 to ClO 3263 and IN blocks are allocated to slaves from CIO 3300 to ClO 3363 in the memory used for CJU series Unit To access the output OUT block and the input IN block from the user program allocate a user defined variable to the applica ble area OUT block Bit 15 0 Address 0 Address 1 Address 2 CIO Area in memory for CJ series Uni
71. Table ccccecceesseeceeeeeeeeeeeeeeeees 3 47 A 23 NS INGIGALOR ei E eek E EREE 2 3 O OnlmMe Stat s iacr eda aai 3 30 A 15 P PLG OD EC iarunn a a 6 16 POI eraa oasis 5 12 A 35 Power OFF retention xccasceccccce cote iniaa earte e teannar EEE 1 7 PFOGUCH COC nean a a a West 4 11 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Index R Registered Slave Table cccccceecceseseeeeeeeeeees 3 46 A 18 Remote I O and Slave Communication 0 ccee 5 3 Remote I O Communications Ed gaere ee aan RAR Dei nn te ee re et Tate 3 34 9 56 9 57 A 16 Remote I O Communications Error for OUT IN 8 39 A 17 Remote I O Communications Flag ccccccseeeeeeeees Remote I O Communications for OUT IN Remote I O Communications Start Switch Remote I O Communications Status Remote I O Communications Stop Switch Remote I O Data Communications Flag C200H Master Replacement Area cccc00 3 50 Remote I O Master Specification cccccceeeeeeeeees 4 5 Restarting Remote I O Communication 00 4 31 Restoring Unit Setup File 0 0 0 0 eeececceceseeseeeeeeeseeeees 7 3 Routing Table Error ccccccceceseeeceeeeeees 3 29 9 44 A 15 S Scams jatescecesnct sade ninctcene peta ce eet ee 4 11 Scan List Clear Switch cceeeeceeeeeeeeeeeeeeeeeeneees 3 10 3 11 Scan List Disabled etonne 4 12 Scan List Disa
72. Table or through the CX Integrator You can only allocate two blocks OUT 1 and IN 1 when settings are made with the device vari ables for CJ series Unit but there are three blocks OUT 1 and IN 1 2 available with the CX Inte grator soyesBejul KD YyBnosu BUS L S G 5 3 1 Setting through CX Integrator You can allocate a maximum of three blocks at any location in I O memory for the output OUT area block 1 input IN area block 1 and input IN area block 2 To access a slave allocated to the memory used for CJU series Unit from the user program user defined variables that specify the AT specification of the memory used for CJ series Unit to which the slave is allocated must be defined CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 9 5 Remote I O Slave Communications Specified areas in memory used for CJ series Unit User set block order Master Bit 15 0 First word specified Slave output to OUT area 1 OUT area Bit 15 0 First word specified Slave input to IN area 1 IN area Bit 15 0 First word specified Slave input to IN area 2 IN area You can set the block allocation order and block allocation areas as required Refer to CX ntegrator Ver 2 OPERATION MANUAL Cat No W464 Connection Types You can specify the type of connection if the CX Integrator is used for settings The number of applica ble allocation areas varies with the type of connection used
73. Unit W497 3 19 UEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSMETS SOURIMS K D M ep O p D D ep o a gt D oO N k O T lt Operation specifications gt FALSE TRUE Stops slave communications The Unit automatically restarts Set this switch to TRUE if the Unit will be used only for master communications FALSE Returns to FALSE after slave communica tions stop Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Slave function is enabled 3 Data Exchange with the CPU Unit 3 20 Name of device variable for CJ series Unit Sw2SlavFixAloc2Cmd Sw2SlavFixAloc3Cmd om a Sw2SlavFixAloc Cmd BOOL CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Slave Fixed Allocation Setting 1 Switch Slave Fixed Allocation Setting 2 Switch Slave Fixed Allocation Setting 3 Switch Function lt Operation specifications gt FALSE gt TRUE Sets the Slave Fixed Allocation Area to the following words e OUT 1 area input to the CPU Unit CIO 3370 1 word allocated e IN 1 area output from the CPU Unit CIO 3270 1 word allocated e OUT 2 area Not used e IN 2 area Not used Note 1 Disable slave communications before this switch is changed to TRUE After this switch is changed to TRUE change _Sw2SlavEnbiCmd Slave Enable Switch to TRUE to enable Fixed Allocation
74. Unit W497 31 Precautions for Correct Use 32 i Battery Replacement e Be sure to install a replacement Battery within two years of the production date shown on the Battery label e Turn ON the power after replacing the Battery for a CPU Unit that has been unused for a long time Leaving the CPU Unit unused again without turning ON the power even once after the Battery is replaced may result in a shorter Battery life e When you replace the Battery use the CJ1W BAT01 Battery Set i SD Memory Cards e Insert the SD Memory Card all the way e Do not turn OFF the power supply to the Controller during SD Memory Card access The files may be corrupted lf there is a corrupted file in the SD Memory Card the file is automatically deleted by the restoration function when the power supply is turned ON CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Regulations and Standards Regulations and Standards Conformance to EC Directives i Applicable Directives e EMC Directives e Low Voltage Directive i Concepts EMC Directive OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine The actual products have been checked for conformity to EMC standards Whether the products conform to the standards in the system used by the customer however must be checked by the customer EMC related perfo
75. Unit operating mode The Attribute Values are as follows 0001 hex Program Mode 0002 hex or 0004 hex Run Mode CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 19 Q W 5 R Q lt 5 m X 3 rF f te R S8DIAIBS fqO Jld JO 1SIT_1 E 9 6 Message Communications 6 20 Note The specified code for the above operating modes are 1 word 2 byte data and are speci fied with the low byte first For example for PROGRAM mode the code is specified as 01 Hex followed by 00 Hex Accordingly the low to high bytes for the above codes are set as high to low bytes in I O memory when setting the input variable CmdDat of the SendCmd instruction as data EN Additional Information NJ series CPU Units do not support the CPU Unit Error Reset command For details on the error reset refer to the NJU series Troubleshooting Manual Cat No W503 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications i CPU Unit Status Read Service Code 40 Hex This PLC Object service reads detailed status operation status operating mode from the CPU Unit Command Block Service Code Instance ID Class ID Note A body format of either 8 bits or 16 bits is possible Response Block Service Code Detailed status s pess w pdxg BUIAD sey 9 Parameters Service Code command response 40 Hex is specified for comm
76. Using CJ series Units Software settings Using motion control Using EtherCAT Programming Testing operation and debugging Using motion control Using EtherCAT Using EtherNet IP Troubleshooting and managing relevant errors in an NJ series Controller references according to any error that Maintenance Using EtherCAT Using EtherNet IP Using CJ series Units E i ATE L T ii Nri manuals for NJ series User s Manuals NJ series CPU Unit Software User s Manual NJ series Instructions Reference Manual NJ series CPU Unit Motion Control User s Manual NJ series CPU Unit Built in EtherCAT Port User s Manual NJ series Motion Control Instructions Reference Manual NJ series CPU Unit Built in EtherNet IP Port User s Manual NJ series Troubleshooting Manual CJ series Special Unit Operation Manuals for NJ series CPU Unit v v oO l gt CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Manual Configuration Manual Configuration i NJ series CPU Unit Hardware User s Manual Cat No W500 Section Section 1 Introduction Section 2 System Configuration Section 3 Configuration Units Section 4 Installation and Wiring Section 5 Troubleshooting Section 6 Inspection and Maintenance Appendices Description This section provides an introduction to the NU series Controllers and their features and gives the NJ series Controller specifications
77. _NormSlavTblSta LWORD R Normal Slave Table CMstrSta WORD JR C200H Master Replacement Master Status 1 The function of each device variable for CJ series Unit is explained below aremyos pun S u s gt 10 Se qeUeA 2A Z E S SMAS SOURIMS re NO ER ep O sa D op O D Described with variables names automatically created on the I O Map View window 3 2 1 Software Switches 1 Use one of the following device variables for CJ series Unit is used to operate Software Switches 1 from the user program e WORD type device variable for CJ series Unit holding all switch functions contained in Software Switches 1 e BOOL type device variable for CJ series Unit separating functions per each switch contained in Soft ware Switches 1 All switches execute some functions when the user changes them to TRUE They change to FALSE automatically after the functions are executed Once a function is set by changing a switch to TRUE except for the switches listed below it is saved regardless of whether the power is turned OFF and ON again e Sw1 OCommStartCmd Remote I O Communications Start Switch e Sw1l OCommStopCmd Remote I O Communications Stop Switch Note No functions other than the master and slave communications are disabled by stopping master or slave communications If multiple switches are changed to TRUE simultaneously the requests will generate errors and Unit operation will
78. a y 6 gt A 5 gt 5 D 7 0 TI gt A c fe gt W f Q gt Q fe g 0 A U Cc C gt rF Z fe 2 v 0 8 Appendices CJ series I O memory address NJ series device variables for CJ series Unit CIO n 4 MstrCOSSendNdCmd 32 Master COS Send Switch for Node Address 32 Slave 1 MstrCOSSendNdCmd 33 Master COS Send Switch for Node Address 33 Slave 2 MstrCOSSendNdCmd 34 Master COS Send Switch for Node Address 34 Slave 3 MstrCOSSendNdCmd 35 Master COS Send Switch for Node Address 35 Slave 4 MstrCOSSendNdCmd 36 Master COS Send Switch for Node Address 36 Slave 5 MstrCOSSendNdCmd 37 Master COS Send Switch for Node Address 37 Slave MstrCOSSendNdCmd 38 Master COS Send Switch for Node Address 38 Slave 7 MstrCOSSendNdCmd 39 Master COS Send Switch for Node Address 39 Slave MstrCOSSendNdCmd 40 Master COS Send Switch for Node Address 40 Slave MstrCOSSendNdCmd 41 Master COS Send Switch for Node Address 41 Slave 10 MstrCOSSendNdCmd 42 Master COS Send Switch for Node Address 42 Slave 11 MstrCOSSendNdCmd 43 Master COS Send Switch for Node Address 43 Slave 12 MstrCOSSendNdCmd 44 Master COS Send Switch for Node Address 44 Slave MstrCOSSendNdCmd 45 Master COS Send Switch for Node Address 45 Slave MstrCOSSendNdCmd 46 Master COS Send Switch for Node Address 46 Slave 15 MstrCOSSendNdCmd 47 Master COS Send Switch for Node Address 47 Slave C
79. and System Configuration Allocation of User defined Variables to the Memory Used for C series Unit With this Unit the slave areas of the following functions are allocated to the Memory used for CJ series Unit e Fixed allocations and user set allocations Master e Fixed allocations and user set allocations Slave P u B A i 5 y g A g f The user program accesses the slave via the user defined variable that specifies the AT specification for the area where the slave is allocated With this Unit the device variable for CJ series Unit or a user defined variable that specifies the AT specification of the allocation area for the slave as setup using the CX Integrator software application needs to be created User defined variables are created using Sys mac Studio Have the necessary user defined variables created before creating a program For details on operations refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 l Precautions for Correct Use The user is responsible for management of the memory used for CJ series Unit Please take great care to avoid overlapping of reference areas between user defined variables i Network Configuration Settings Using the Master Function To use this unit as a master function the Sw71MstrEnb Cmd Master Enable Switch must be changed to TRUE from Sysmac Studio BINDSDOJg ANUS NUP N Z v 4 Note Enable master communications through CUW DRM21
80. been dropped on the floor or otherwise subjected to excessive shock Batteries that have been subjected to shock may leak if they are used e UL standards require that only an experienced engineer replace the Battery Make sure that an expe rienced engineer is in charge of Battery replacement e Apply power for at least five minutes before changing the Battery Install a new Battery within five minutes at 25 C of turning OFF the power supply If power is not supplied for at least 5 minutes the saved data may be lost CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Precautions for Safe Use i Unit Replacement e We recommend replacing the Battery with the power turned OFF to prevent the CPU Units sensitive internal components from being damaged by static electricity and to prevent malfunctions The Bat tery can be replaced without turning OFF the power supply To do so always touch a grounded piece of metal to discharge static electricity from your body before you start the procedure After you replace the Battery connect the Sysmac Studio and clear the Low Battery Voltage error e Make sure that the required data including the user program configurations settings variables and memory used for CJ series Units is transferred to a CPU Unit that was replaced and to externally connected devices before restarting operation Be sure to include the routing tables network parameters and other CPU Bus Unit data w
81. c a TRM TRM A TRM B Although this example shows only two Masters in the Network the total communications cycle time for any Network can be calculated by dividing it into groups and adding the communications cycle times of all groups YIOMION Ul 1 SEN SUG UB IION 4 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 7 8 Communications Timing 8 1 4 System Startup Time i Master Function This section describes the system startup time estimated for a network operating with the scan list enabled The system startup time is the delay from when the controller is reset or restarted including turning ON the DeviceNet Unit master until remote I O communications begin Here we assume that the scan list is enabled and that remote I O communications are set to start automatically at startup The following table shows the system startup times for 2 cases In the first case the DeviceNet Unit starts up just after all of the Slaves power supplies are turned ON In the second case the DeviceNet Unit is restarted while communications are in progress Case Slave s indicator status System star tup time estimated The Master is The NS indicator is OFF or flashing green 13 seconds started just after Slave startup Just the Master is The NS indicator is flashing red while the 15 seconds restarted Master is OFF Just the Slaves are 9 seconds restarted i Program Example As shown in th
82. column above will be changed to Cycle power supply or reset Controller CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Event name Meaning Source Error attributes Effects 9 Troubleshooting and Maintenance The slave information registered in the scan list does not agree with the actual slave information PLC Function Module Minor fault Recovery Source details variables Cause and correction Attached information Precautions Remarks A slave that is in the scan list does not exist e The master and slaves have differ ent communications settings e Communications cable lengths trunk line and branch lines are unsuitable e A communications cable is discon nected or loose e The terminating resistance is some where other than the ends of the trunk line e Noise The node address of the local Unit which is the master is registered in the scan list If the system is set to check the ven dor in the detailed verification set tings the vendor of the slave does not match the registration in the scan list If the connection path is set in the detailed verification settings then set ting the connection path that is set in the scan list failed The size of the slave I O data does not match the registration in the scan list If the device type is set in the detailed verification settings then setting the device type that is set in the scan list faile
83. communications system and user program to ensure safety in the overall system even if errors or malfunctions occur in data link communications or remote I O communications If there is interference in remote I O communications or if a major fault level error occurs Output status will depend on the products that are used Confirm the operation that will occur when there is interference in communi cations or a major fault level error and implement safety measures Correctly set all of the EtherCAT slaves The Nu series Controller continues normal operation for a certain period of time when a momentary power interruption occurs This means that the NJ series Controller may receive incorrect signals from external devices that are also affected by the power interruption Accordingly take suitable actions such as external fail safe measures and interlock conditions to monitor the power supply voltage of the external device as required 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 Not doing so may result in serious acci dents due to incorrect operation eS Oooo 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
84. e You can use a maximum of three areas OUT 1 IN 1 and IN 2 if you specify multiple connec tions e You can use two allocation areas OUT 1 and IN 1 if you specify the automatic connection setting or a single connection 5 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 Remote I O Slave Communications Connection Types and Allocated I O Areas The following table shows the relationship between various connection combinations and the allo cated areas that are applicable with those connections Specified connection OUT 1 area IN 2 area type Poll bit strobe Bit strobe IN data Poll COS See note COS IN data Poll cyclic See note Cyclic IN data COS bit strobe Bit strobe IN data Cyclic bit strobe Cyclic OUT data Cyclic IN data Bit strobe IN data Note With poll COS connections the OUT data is the same for poll and COS Set the same OUT areas for poll and COS connections when you specify the areas with the CX Integrator With poll cyclic connections as well the OUT data is the same for poll and cyclic Set the same OUT areas for poll and cyclic when you specify the areas with the CX Integrator q Ww C ai 0 T h g gt O A fe 5 nr 10 2169 U X9 yBnoiy Buas E G CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 11 5 Remote I O Slave Communications 5 3 2 Settings through Device Variables for CJ series Unit Slave User 5 12 set All
85. each POU Register variables including variables for accessing the slave area and for message communications data Create algorithm of each POU and register local variables of each POU Register the Unit in the Unit Configuration on the CPU Expansion Racks screen in Configuration and Setup At this time set both the device name and the unit number of the unit to be registered Allocate device variables for CJ series Unit to I O port Allocate on the I O Map View window You can use one of the following three methods to allocate 1 Select and allocate existing variables 2 Input a new variable name 3 Automatically create with Device variable creation Step 1 Create POU and global variables Create unit configuration SINPS90Jg Anwels HUN N Z Y Step 2 Create Initialization Data of Create the Unit settings by using the Edit Special Unit Settings the Unit When the program is transferred items set here will be reflected in the device variable for CJ series Unit Programming and software settings Step 3 Set up the DeviceNet Unit Set the hardware switch on the front panel Unit number UNIT No Set the same unit number as in the Unit Configuration settings Node address NODE ADR Operation settings for baud rate communication errors DIP switch Step 4 Set up Slaves Initial settings for slaves Node address baud rate etc Set by referring to the Manual for Slaves Step 5 Mount and wire to the Rack Wire th
86. errors and conduct a routine inspection This section provides the device profiles of Slaves that are required in the multi ven dor environments and gives a list of products including Multiple I O Terminals and connected devices CVM1 CV series and C200HX HG HE HS DeviceNet Master Units Operation Manual Cat No W379 Section Section 1 Features and System Configuration Section 2 Master Unit Components and Instal lation Section 3 Remote I O commucanitons Section 4 Message Communications Section 5 Software Switches and Status Area Section 6 Communications Timing Section 7 Troubleshooting and Maintenance Appendix Description This section describes the features of the DeviceNet and the operating procedure for the DeviceNet Master Unit This section describes the component names functionality and installation of the DeviceNet Master Units This section describes the remote I O master function provided by the DeviceNet Master Unit This section describes the message commucniations performed by the DeviceNet Master Unit This section describes the details on the software switches used to control the DeviceNet Unit and the status area This section describes the communication timing of the DeviceNet Master Unit and the performances of the remote I O communciations and message communications This section describes the troublushooting and mentainance procedures to take cor rective actions for errors an
87. f Define user defined variables in the area to which I O data is allocated Switch the CPU Unit to RUN mode 4 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications 4 2 Scan List 4 2 1 Scan List A scan list is used to register the slaves with which the Master Unit communicates in DeviceNet remote I O communications It is the basis on which the Master Unit communicates with slaves The Master Unit does not contain a scan list by default DeviceNet Unit however has a default setting that allows it to communicate with all slaves even with the scan list disabled but this operating mode should not be used for normal operation Always create a scan list prior to operating the Unit Scan List Contents The contents of the scan list is listed in the following table When a Master Unit goes online it com pares each of these items with the slaves that are actually connected to the network The items that are compared however will depend on the allocation method that is used Item Description Fixed allocations User setallocations User set allocations using device vari from the CX Integra ables for CJ series tor Unit Node address Node address for Compared Compared every Slave Allocated IN OUT Settings of the num Compared Compared sizes and allocation ber of bytes allocated to every slave ina data area of the Mas ter Unit Vendor Unique manufacturer Not c
88. fixed allocations user set allocations using device variable for CJ series Unit or user set allocations using the CX Integrator In all these cases remote I O communications are executed using the fixed allocations area that was last used when the list was disabled 2 Slaves that are connected to the network while communications are in progress are also targeted for communications Errors cannot be confirmed however even if there are slaves present that did start up due to errors because there is no scan list available to check com munications against The communications cycle time will also be significantly longer than the calculated value CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications l Precautions for Correct Use The scan list is automatically enabled when user set allocations are set using the device vari ables for CJ series Unit or the CX Integrator If the list is subsequently cleared using Sw1SListCirCmd Scan List Clear Switch fixed allocations 1 to 3 will be used for remote I O communications when the scan list is disabled Make sure the system has stopped before you disable the scan list with a Master Unit that is set for user set allocations Particularly when mul tiple Master Units are connected to a single network communications will not be performed suc cessfully if even one Master Unit on the network is operating with the scan list disabled Once the l
89. for Safe Use If the sliders are not securely locked the DeviceNet Unit functions may not operate sufficiently To dismount the Unit move the sliders to the Release direction CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 2 9 2 Nomenclature and Installation 2 2 3 Handling Precautions 2 10 Always turn OFF the Controller before you mount or dismount a Unit or connect or disconnect cables Provide separate conduits or ducts for the I O lines to prevent noise from high tension lines or power lines Prevent wire clippings cutting chips or other materials from getting inside the Unit They could cause scorching failure and malfunction Pay particular attention to this during installation and take mea sures such as covering with a cover If the Unit was shipped from the factory with the dust protection label on top of the unit be sure to remove that label before switching ON the power The label prevents heat dissipation and could cause a malfunction Remove the label after wiring CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Data Exchange with the CPU Unit This section describes the words allocated to the DeviceNet Unit in the ClO Area and DM Area These words both enable controlling the DeviceNet Unit and accessing Unit and network status 3 1 Data Exchange with the CPU Unit ccc cece eee ees 3 2 3 1 1 Bata FON enone Rete
90. information Manual Configuration Sysmac Studio Version 1 Operation Manual Cat No W504 Section Section 1 Introduction Section 2 Installation and Uninstallation Section 3 System Design Section 4 Programming Section 5 Online Connections to a Controller Section 6 Debugging Section 7 Other Functions Section 8 Reusing Programming Section 9 Support Software Provided with the Sysmac Studio Section 10 Troubleshooting Appendices Description This section provides an overview and lists the specifications of the Sysmac Studio and describes its features and components This section describes how to install and uninstall the Sysmac Studio This section describes the basic concepts for designing an NU series System with the Sysmac Studio and the basic operating procedures This section describes how to create programs with the Sysmac Studio This section describes how to go online with a Controller This section describes how to debug the programs online on the Controller or debug it offline with the Simulator This section describes other functions that are supported by the Sysmac Studio including security functions and troubleshooting functions This section describes how to reuse the programs that you create with the Sysmac Studio This section describes the Support Software that is provided with the Sysmac Studio This section describes the error messages that are displayed when you check a
91. information will not be consistent 9 28 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance 9 2 2 Error Codes and Detail Codes Error Detail code Record code First byte Second byte stored in Hex EEPROM 0002 CPU Unit service monitoring error Servicing Monitoring time ms Yes from the CPU Unit is not performed at fixed intervals 0006 Other CPU error Bit14 ON Duplicate unit number setting Yes Bit11 ON Unit not in registered Unit Configuration in the CPU Unit Other bits Reserved by system OOOF CPU Unit initialization error Yes 0012 CPU Unit memory error 01 Hex Read error 03 Hex Routing table Yes 02 Hex Write error 04 Hex CPU Bus Unit system settings error 05 Hex Special Unit ClO or DM allocation N m 3 r t Ti c 5 A ch O S 7 s pop ie 9q pue SEPOD JON Z Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 29 9 Troubleshooting and Maintenance Error Detail code Record code First byte Second byte stored in Hex EEPROM 0101 Transmission failed because the local node is Explicit message communications command not participating in the network Bit 15 OFF 0105 Transmission failed because of anode address Bits 14 to 8 0 Bit 7 ON setting error Bits 6 to 0 Node address of command source 0106 Transmission failed because of a node address ae Aat l duplication error Explicit m
92. is mounted to a different PAN UIS rer ANL CPU Unit with a different occur agai H lt does occur again number of EM banks or EM that has been con restart remote I O communications to verted to file memory return the system to Note This error may occur normal operation during remote I O communications too 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 9 22 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Status of C200H Master Replacement Master Status 1 CMstrSta _CMsitrSta CMstrErr Master Error and CMstrCfgErr Configuration Error are TRUE CMstrErr Master Error and CMstrCfgErr Configuration Error are TRUE CMstrErr Master Error and CMstrCfgErr Configuration Error are TRUE CMstrErr Master Error and CMstrCfgErr Configuration Error are TRUE 9 Troubleshooting and Maintenance Status of device variables for CJ series Units RTblErr Routing Table Error and UnitErr Unit Error are TRUE RTblErr Routing Table Error and UnitErr Unit Error are TRUE RTblErr Routing Table Error and UnitErr Unit Error are TRUE UnitErr Unit Error _MstrFunErr Master Function Error and Mstr1 ORefErr Master I O Refresh Error are TRUE or UnitErr Unit Error _SlavFunErr Slave Function Flag and _Slav1lORefErr Slave I O Refresh Error are TRU
93. is disconnected from the network A communications error will occur for any slave that is disconnected if the corresponding switch is changed to TRUE during communications Disconnect Connect Switches are used primarily to replace slaves or to reserve a place for a slave that will be added when a Unit is registered in the scan list but not yet connected A communications error and verification error for the slave that is disconnected will not be generated at the master as long as the corresponding switch is TRUE Remote I O communications will restart reconnect with the corresponding slave if a user returns the Disconnect Connect Switches to FALSE More than one of these switches may be changed to ON for multiple slaves at the same time If the switch for a slave that is not using remote I O communications is set to TRUE it will be ignored A Unit that is disconnected can still perform message communications Changing this switch to TRUE does not effect the communications cycle time except that it increases blank time in the communications cycle Note All Disconnect Connect Switches and device variable for CJ series Unit are cleared and returned to FALSE when the power is turned OFF If required write a user program to turn them back to TRUE when the power is turned ON The following device variable for CJ series Unit is used when you execute the functions for multiple slaves at the same time Name of device variable for CnctC
94. is returned as 01 Hex followed by 00 Hex e CPU Unit Errors when Attribute ID 65 Hex The CPU Unit controller error data is returned in 1 byte 2 digit hexadecimal format 01 hex Controller Error 00 hex No Controller Error 15 1 0 1 Controller error e CPU Unit Model when Attribute ID 66 Hex The CPU Unit model is returned in ASCII Size 2 bytes Always 1400 Hex Model 20 bytes fixed Unused area is filled with 20 Hex Spaces and returned 20 bytes Byte Byte Byte Byte Byte 14 00 Unitname 20 20 f CPU Unit Write Service Code 10 Hex This PLC Object service writes CPU Unit information including the operating mode and clearing errors Command Block 10 2F 00 sel dl fi Class ID Attribute ID Service Code Instance ID Attribute Value Note A body format of either 8 bits or 16 bits is possible Response Block Service Code Parameters Service Code command response 10 Hex is specified for commands For responses the high est bit will turn ON and 90E Hex will be returned Class ID command Always 2F Hex Instance ID command Always 00 Hex Attribute ID command Information to write is specified by the attribute ID The attribute IDs are listed in the following table Attribute ID Hex Contents Attribute value size 64 CPU Unit operating mode 1 word 2 bytes 65 CPU Unit errors 1 word 2 bytes e CPU Operating Mode Attribute ID 64 Hex Changes the CPU
95. is specified as shown in the following table Instance ID Hex CPU Unit memory area Word range for read 01 CIO CIO 0000 to CIO 6143 03 DM D00000 to D32767 WR HR 4 wo o o wows D oo L m n a a O s O D O a de D s lt O D n 05 HOOO to H511 08 to 14 EM banks 0 to C En_00000 to En_32767 n 0 to Address L Address H command The address of the first word to read the data from is specified in hexadecimal as shown below Address L The lower 2 digits when the first word address is given in 4 digit hexadecimal Address H The higher 2 digits when the first word address is given in 4 digit hexadecimal No of Read Words command The number of words of read data is specified in 1 byte 2 digit hexadecimal The range is 01 to 64 Hex 1 to 100 decimal Read Data response The specified area word and byte data is returned in order from word L low byte bits O to 7 to word H high byte bits 8 to 15 Important Points The actual address L address H and number of write data bytes that can be specified depends on the CPU Unit of the CJ series DeviceNet Unit and the Memory Area Do not exceed the boundary of the data areas for the CPU Unit you are using CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 23 6 Message Communications 6 24 i Byte Data Write Service Code 1E Hex Byte Data Write writes data to any I O memory area in the memory used
96. m 48 0to7 Nd10Sta a Slave Status Table for Node Address oo Slave Status Table for Node Address D m 49 Slave Status Table for Node Address ie Slave Status Table for Node Address D m 50 N Slave Status Table for Node Address er Slave Status Table for Node Address D m 51 a Slave Status Table for Node Address ls Slave Status Table for Node Address D m 52 oe Slave Status Table for Node Address a Slave Status Table for Node Address D m 53 as Slave Status Table for Node Address aaa Slave Status Table for Node Address D m 54 ie Slave Status Table for Node Address sees 540 fN HUN Ndd ep UO Hulpusdeg suomun e qeyIeAy U SODUBIEYIG T Y 8 to 15 Nd23Sta Detailed Slave Status Table for Node Address 23 D m 55 0to7 Nd24Sta Detailed Slave Status Table for Node Address 24 8 to 15 Nd25Sta Detailed Slave Status Table for Node Address 25 D m 56 0to7 Nd26Sta Detailed Slave Status Table for Node Address 26 8 to 15 Nd27Sta Detailed Slave Status Table for Node Address 27 D m 57 0to7 Nd28Sta Detailed Slave Status Table for Node Address 28 8 to 15 Nd29Sta Detailed Slave Status Table for Node Address 29 G D m 58 Oto 7 Nd30Sta Detailed Slave Status Table for Node Address D 30 y O 8 to 15 Nd31Sta Detailed Slave Status Table for Node Address S 31 3 D m 59 0to7 Nd32Sta Detailed Slave Status Table for Node Address 32 8 to 15 Nd33Sta Detailed Slave Status Table for Node Address 33 D m 60 0to7 Nd34Sta Detailed Slave Status Tabl
97. node address 0347 I O refreshing error 01 Hex Master 00 Hex No 02 Hex Slave Same as the code such as 0101 Hex in the dis No carded explicit message packet 0348 0601 0602 Message discarded because a new request was received Special Unit error Uncertain contents Yes Special Unit memory error 01 Hex Read error 02 Hex Write error 06 Hex Error log Yes 09 Hex Identity data OA Hex Master scan list OB Hex Slave scan list OC Hex Message moni toring timer list OD Hex Communications cycle time setting The error information is not written to EEPROM when a memory error occurs in the error log area EEPROM CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 31 s pop ie 9q pue SaPOD JOU Z Z 6 N m g rm t Ti c 5 A ch O 5 W 9 Troubleshooting and Maintenance 9 3 Troubleshooting 9 3 1 CPU Unit s ERR ALM Indicator Lit or Flashing Error An I O setting check error occurred Special Unit access is denied An I O Bus check error occurred Probable cause Make sure that the Unit is mounted properly The CPU Bus Unit model registered in the Unit Configuration in the CPU Unit does not match the actual Unit Configuration Compare using Syn chronize operation and use one of the following procedures e Correct the Unit number setting e Correct the project Unit Configuration and transfer to the CPU Unit Make sure that the Unit is mounted
98. pro gram on the Sysmac Studio and how to correct those errors The appendices describe the following Driver Installation for Direct USB Cable Connection Specifying One of Multiple Ethernet Interface Cards Online Help Simulation Instructions CJ series DeviceNet Units Operation Manual for NJ series CPU Unit Cat No W497 This Manual Section Section 1 Features and System Configuration Section 2 Nomenclature and Installation Section 3 Data Exchange with the CPU Unit Section 4 Remote I O Master Communications Section 5 Remote I O Slave Communications Section 6 Message Communications Section 7 Other Functions Section 8 Communications Timing Section 9 Troubleshooting and Maintenance Appendices Description This section provides an introduction to the DeviceNet Units and their features It also describes the operating procedure and the specifications of the DeviceNet Units This section describes the nomenclature functionality and installation of the DeviceNet Unit This section describes the data exchange between the CPU Unit and DeviceNet Unit and the definitions of the device variables for CJ series Unit This section describes the remote I O communications performed as a DeviceNet master by the DeviceNet Unit This section describes the remote I O communications performed as a DeviceNet slave by the DeviceNet Unit This section describes the message communications of the DeviceNet Unit Thi
99. 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 suoduos q JOA p 6 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 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 41 9 Troubleshooting and Maintenance Error Descriptions Event name Unit Memory Error 04880000 hex Meaning An error occurred when writing to internal memory where the error history is saved Source PLC Function Module Source details CJ series Unit Detection At power ON Controller reset or error history save supply timing Error attributes Effects Operation Operation Non volatile memory cannot be written ras ee COmecvOn There is a source of noise nearby Implement noise countermeasures Use the Controller away from sources of noise Non volatile memory failure If the above cause does not apply None replace the Unit Attached None information Precau
100. series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 49 Appendices A 50 Object instance 5 and above Max No of instances Explicit Message I O Message 199 type Produc Cyclic tion trig Trans Server port type Trans 0 2 3 port class Attribute Get Value e ie 1 State ee age ene 8 Transport cass tigger Yes no 13 Produced_connection_path_ Yes No length 14 Produced_connection_path 15 Consumed_connection_path_ Yes No length Service Parameter option No No 1 The following table shows the instance type by communications type Communications type Instance type Explicit Message I O 0 j 2 The following table shows the transport class trigger by connection type Format Transport class_trigger Poll client 22 hex COS M client 12 hex with ACK 10 hex no ACK COS M server 92 hex with ACK 90 hex no ACK Cyclic M client 02 hex with ACK 00 hex no ACK Cyclic M server 82 hex with ACK 80 hex no ACK CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices Format Transport class_trigger Bit strobe client 22 hex Explicit client 23 hex Explicit server 83 hex PLC Object 2F Hex Object class Attribute Not supported Object Service Logical Area Address Length ee Logical Area Address Length area Logical Area Address Logical Area Address Object Service Logical Area Address Length en Logical Area
101. series Unit master to slave slave to master Sw2SlavFixAloc1C Slave Fixed Allocation Fixed allocation area 1 CIO 3370 CIO 3270 md Setting 1 Switch Sw2SlavFixAloc2C Slave Fixed Allocation Fixed allocation area 2 CIO 3570 CIO 3470 md Setting 2 Switch Sw2SlavFixAloc3C Slave Fixed Allocation Fixed allocation area 3 CIO 3770 CIO 3670 md Setting 3 Switch Step 4 Change the Slave Enable Switch to TRUE Change Sw2SlavEnb iCmd Slave Enable Switch to TRUE This will allocated the fixed allocation areas as slave areas and the DeviceNet Unit will start slave remote I O communications Slave com munications will run automatically after that whenever the power is turned ON Fixed Allocations Area Setting 1 CIO Area on memory for CJ series Units Slave Master Bit EA CIO 3370 Output OUT area _ OUT area CIO 3270 Input IN area_ IN area Fixed Allocations Area Setting 2 CIO Area on memory for CJ series Units Slave Master Bit EEA CIO 3570 Output OUT area _ OUT area CIO 3470 Input IN area_ IN area Fixed Allocations Area Setting 3 CIO Area on memory for CJ series Units Slave Master Bit EEA CIO 3770 Output OUT area OUT area CIO 3670 Input IN area IN area Step 5 Define User defined Variables Define a user defined variable for the area to which each slave is allocated By using the user defined variable the user program can access the allocation area of the slave
102. such as when there is no ESI file the vendor ID product code and revision number are displayed CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 37 Related Manuals Related Manuals The following manuals are related to the NJ series Controllers Use these manuals for reference Manual name NJ series CPU Unit Hardware User s Manual NJ series CPU Unit Soft ware User s Manual Sysmac Studio Version 1 Operation Manual CJ series DeviceNet Units Operation Manual for NJ series CPU Unit This document DeviceNet Operation Manual DRT2 Series DeviceNet Slaves Operation Manual GT1 Series DeviceNet Multiple I O Terminal Operation Manual CVM1 CV series and C200HX HG HE HS DeviceNet Master Units Operation Manual CS CJ Series DeviceNet Unit Operation Manual CX Integrator Ver 2 LI Operation Manual 38 Model numbers Application NJ501 UULIL NJ301 UULIL W500 W501 W504 W497 W267 NJ501 UUUL I NJ301 ULUUL SYSMAC SE2ULIL CJ1W DRM21 DRT2 ID OD MD32SL H 1 DRT2 MD16S DRT2 Series DRT1 COM GT1 Series C200HW DRM21 V1 CVM1 DRM21 V1 CS1W DRM21 V1 CJ1W DRM21 Learning the basic specifi cations of the NU series CPU Units including intro ductory information designing installation and maintenance Mainly hard ware information is pro vided Learning how to program and set up an Nu series CPU Unit Mainly software information is provide
103. system performance when using COS DeviceNet Units use the Master COS Send Switch in the allocated ClO Area words to execute COS transmissions from the master to slaves The procedure is outlined below Step 1 Before executing COS transmission the connection for the destination slave must be set to COS in the master scan list using the CX Integrator Step 2 lf the bits associated with the node address of MstrCOSSendCmd Master COS Send Switch or the array variables associated with the node address MstrCOSSendNdCmd 0 to MstrCOSSendNdCmd 63 are changed to TRUE sending OUT data is triggered independently of the communication cycle COS send switch OFF to ON I O refresh Time CPU Unit user program COS send instruction gt N DeviceNet Unit y 0 Z Communications Communications Communications Communications Q cycle time cycle time cycle time cycle time R ct 0 a Slave I O using normal connection COS output CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 39 Appendices You can change multiple bits to TRUE simultaneously and you can send output data to multiple node addresses simultaneously The following diagram shows the transmission timing After the COS send instruction is sent to the DeviceNet at the I O refresh timing for the CPU Unit the COS transmission is executed to each slave immediately after the refresh remote I O communications which is performed w
104. that you may restart the CJ series Special Unit without intending to do so You can check the status of the _CJB_UnitErrSta 0 0 to _CJB_UnitErrSta 3 9 error status variables on a Watch Tab Page to see if an observation level Controller error has occurred f Battery Backup e The user program and initial values for the variables are stored in non volatile memory in the CPU Unit The present values of variables with the Retain attribute and the values of the Holding DM and EM Areas in the memory used for CJ series Units are backed up by a Battery If the Battery is not connected or the Battery is exhausted the CPU Unit detects a Battery backup Memory Check Error If that error is detected variables with a Retain attribute are set to their initial values and the Holding DM and EM Areas in memory used for CJ series Units are cleared to all zeros Perform thorough verifications and provide sufficient measures to ensure that the devices perform safe operation for the initial values of the variables with Retain attributes and the resulting operation i Debugging e Forced refreshing ignores the results of user program execution and refreshes I O with the specified values If forced refreshing is used for inputs for which I O refreshing is not Supported the inputs will first take the specified values but they will then be overwritten by the user program This operation differs from the force set reset functionality of the CJ series PLCs CJ series
105. the CPU Unit BOOL type device variables for CJ series Unit separating functions per each switch contained in Soft ware Switches 2 are shown below Name of device variable for Sw2SlavEnblCmd BOOL RW Slave lt Operation specifications gt Enable FALSE gt TRUE Switch piste Enables slave communications The Unit automatically restarts To use fixed allocations set this switch to TRUE after setting Sw2SlavFixAloc1Cmd to Sw2SlavFixAloc3Cmd Slave Fixed Allocation Setting Switch to TRUE To use user set allocations set this switch to TRUE after setting _ Sw2SlavAlocCmd Slave User Allocations Switch to TRUE Once enabled the Unit will function as a slave until _ Sw2S avDsb iCmd Slave Stop Switch is changed to TRUE regard less of whether the power is turned OFF and back ON again Note 1 Slave communications are dis abled by default 2 If this bit is changed to TRUE with slave communications enabled a Unit status error will occur due to a software switch operation error and a C2 error will be displayed on the front 7 segment indicator The 7 segment indicator will go out automatically after 30 sec onds FALSE Returns to FALSE at the start of slave communications Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Slave function is stopped Sw2SlavDsblCmd BOOL RW Slave Stop Switch CJ series DeviceNet Units Operation Manual for NJ series CPU
106. the allocation size Setup Unit Table in the memory used for CJ series Unit Allocations must be in the order of node addresses Allocated The input and output areas can be the following sizes that words start from any word in any of the following areas CIO Area WR Area HR Area DM Area or EM Area in the memory used for CJ series Unit Output OUT 500 words max x 1 block Allocation by area the node Input IN 500 words max x 1 block 270 ess order area Fixed allocations 3 Units max Unique words must be allocated with the use of Sw1MstrFixAlociCmd to _Sw1MstrFixAloc3Cmd Master Fixed Alloca tion Setting 1 to 3 Switch User set By device 16 Units max Unique words must be allocated with the use of the user allocations variable for Setup Table Device variable for CJ series Unit CJ series Unit By CX Inte 16 Units max Unique words must be allocated with the use of the CX Inte grator grator Fixed allocations 63 nodes User set By device allocations variable for CJ series Unit By CX Inte grator CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 5 a f g i O fe 3 S A eh fe a SUO EOIJIOBdS 18 SeW O I S OWSY Z L Y 4 Remote I O Master Communications Item Specifications Max No of Fixed allocations 2 048 pts 64 input words 64 output words VO points per User set By device 16 000 pts 500 input words x 1 block
107. to select the allocation area Each area is comprised of an OUT area that is used to write output data to slaves and an IN area that is used for input from slaves in remote I O communications To access a Slave allocated to the fixed allocations areas 1 to 3 from the user program user defined variables that specify the AT specification of the memory used for CJU series Unit to which the slave is allocated need to be defined OUT area word IN area word Area Selection method Fixed allocation area 1 CIO 3200 to CIO 3263 CIO 3300 to CIO 3363 Change _Sw1MstrFixAloc1Cmd Master Fixed Allocation Setting 1 Switch to TRUE Fixed allocation area 2 CIO 3400 to CIO 3463 CIO 3500 to CIO 3563 Change _Sw1MstrFixAloc2Cmd Master Fixed Allocation Setting 2 Switch to TRUE Fixed allocation area 3 CIO 3600 to CIO 3663 CIO 3700 to CIO 3763 Change _Sw1MstrFixAloc2Cmd Master Fixed Allocation Setting 3 Switch to TRUE 4 14 You can include a maximum of 3 DeviceNet Units as masters in a single CPU Unit because the three allocation areas above on the memory used for CU series Unit are set individually for fixed allocations The default setting is fixed allocations area 1 Each OUT IN area is allocated to a slave according to its node address as shown below Allocated words are determined by the node address in fixed allocations as shown Node Area 3 Area 2 Area 1 OUT area address IN area Area 1 Area 2 Area 3 CIO 3600 CIO 3400 C
108. was added Refer to the NJ series Troubleshooting Manual Cat No W503 for all of the event codes that may occur in an NJ series Controller Liwa An error occurred when writing to internal memory 04880000 hex 04890000 hex 148D 0000 hex 148E 0000 hex 24480000 hex 34BC 0000 hex 9 36 Unit Memory Error Network Power Error Invalid Scan List Data Invalid Setup Data Node Address Duplicated Error Routing Table Error where the error his tory is saved Network power is not being supplied There is an error in the contents of the slave scan list or master scan list stored in non vola tile memory There is illegal data in the settings for the slave function An error was dis covered during the node address dupli cation check when starting the DeviceNet Unit There is illegal data in the routing tables set in the CPU Unit e There is a source of noise page 9 42 nearby Non volatile memory failure Communications power is not page 9 42 being supplied normally from the network The power was interrupted dur page 9 43 ing writing the scan list to the non volatile memory The power was interrupted page 9 43 while the system was writing the parameters Non volatile memory life The node address of the page 9 44 DeviceNet Unit is also set for another node The local DeviceNet Unit is not page 9 44 in the routing tables The routing table format is incor
109. with CJ series DeviceNet Units CS CJ series PLCs with CS CJ series DeviceNet Units Example C200H series DeviceNet Master Unit C200HX HG HE CPU Unit NJ series CPU Unit CJ series DeviceNet Unit viceNet master made by De Explicit messages can be other manufacturers _ zz Explicit message L DeviceNet Note Status and the I O memory read write operations cannot be performed for PLCs with a C200H series or CVM1 CV series DeviceNet Master Units The CPU Unit of a CS CJ series DeviceNet Unit can also send an explicit message to read write I O memory of PLCs with C200H I O Link Units CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 3 1 Listof PLC Object Services PLC Objects provide the following services Status Read Write for CPU Units Services CPU Unit Informa tion Read CPU Unit Write Service Instance ID Request ser code vice data 6 Message Communications Contents Attribute Value Attribute Value CPU Unit Status Read I O Memory Read Write for CPU Units Service Service Instance ID Request code service data Byte Data Read 1C Hex 2F Hex Specifies Address area 01 Hex No of read to 14 Hex bytes Word Data 1D Hex Address Read No of read words Byte Data Write 1E Hex Address word data Word Data 1F Hex Address Write word data OE Hex 2F Hex 00 Hex Attribute ID Reads the operating mode of the 64 Hex CPU Unit Attribute ID Reads if
110. 0 Describes the operating procedures of the Sys mac Studio The functions and operating procedures when the CJ series DeviceNet Unit is used in an NJ series system configuration are described The communications specifications and wiring methods common among the DeviceNet com munications networks are described Please read this manual and familiarize yourself with the functions and characteristics of the DeviceNet before use The types of DRT2 DeviceNet Slaves the func tions specifications and operating procedures are described in details The types of Multiple I O Terminal which are kinds of DeviceNet Slaves are provided Also their functions specifications and operating procedures are described in details The specifications of C200H and CVM1 CV DeviceNet Master Units their functions and operating procedures are described The functions and operating procedures when the CS CJ Series DeviceNet Unit is used in CS CJ series system configuration are described The operating procedures for CX Integrator are described CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 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 Cat No W497 E1 03 Revision code Revision code Dae Revised content 01 July 2011 Original production 02 March 2012 Corrected errors 03 August 2012 M
111. 0 kbit s Communications Predefined Master Slave connection set Group 2 client data Group 2 only client Group 2 server Dynamic connection support UCMM Yes Explicit message fragmentation support Yes Object Mounting Identity Object 01 Hex Object class Attribute Not supported Not supported Item ID content Get Value read 3 Product code CJ1W DRT21 05 4 Revision No 1 1 5 Status bits supported No 6 Serial number No 7 Product name No No Unique for each Unit CJ1W DRM21 8 State Service DeviceNet Service Parameter option 05 Reset None OE Get Attribute Single None A 44 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices Message Router Object 02 Hex Object class Not supported Not supported Object instance Not supported Not supported Vendor specification addition No DeviceNet Object 03 Hex Get Service Parameter option OE Get_Attribute Single No Get Object instance Attribute hei Er C aea es No a 5 Allocation information No 6 MAC ID switch No changed 7 Baud rate switch No changed No No 8 MAC ID switch value No 9 Baud rate switch value No Service Parameter option OE Get_Attribute_Single No 4B Allocate_Master No Slave _ Connection Set 4C Release_Master No Slave _ Connection Set Connection Object 05 Hex Object class Attribute Not supported Max number of instances 203 gt A
112. 07 32 outputs gt 08 04 8 8 05 16 16 of 0 ls sS 07 Master Unit Sa 08 09 32 O See note 2 10 None None 11 63 None None 3204 disabled 3205 3207 Allocation enabled 3208 3209 3210 Not used 3211 Not used 3263 Not used 3305 3306 3307 3310 Not used 3311 an a 3363 Note 1 The Master Unit does not require any word allocation and so it can use any available address 2 You can allocate blocks for which allocation is enabled to Slaves as long as the blocks do not overlap 3 To use the I O data allocated to the address above using Sysmac Studio you need to reg ister user defined variables Change the Scan List Enable Switch to TRUE Change Sw7SListEnbiCmd Scan List Enable Switch to TRUE This will create a scan list based on data for slaves that are actually online and will start remote I O communications with the scan list enabled CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 19 IN W a x 8 gt O A et fe 5 a 9 dwexy suopeoojly pexi4 r 4 Remote I O Master Communications 4 4 User set Allocations With a CJ series DeviceNet Unit you can allocate remote I O communication slaves in any area of a memory used for CJ series Unit CIO WR HR DM or EM with the use of one of the following meth ods e Setting through CX Integrator e Setting through device variables for CJ series Unit Master User set Allocations Setup Tab
113. 1 system Configuration Precautions msie a e NE 2 9 2 2 2 MOUNINO cee E A 2 9 2 2 3 Randiin Precaullons assassinu a a E gen eu deems accoddemadcneadanoecesew 2 10 2 2 4 External DiImensiOus E A T EAEE EE T AE E EE E E TET E 2 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Section 3 3 1 3 2 3 3 Section 4 4 1 4 2 4 3 4 4 4 5 4 6 CONTENTS Data Exchange with the CPU Unit Data Exchange with the CPU Unit isiiiiiciesicsdaniidecsatisieeretadariesevedandssaseabanscarsakuewssnveadscnaassaaanenaes 3 2 3 1 1 DANARO reer etter er eee ieee oN te meee ee To ete eee a FO en a ede ee MSE Ta erate ener a tee om 3 2 3 1 2 Accessing From the User Program sacs ceed cs cer iA cea e tremens ca a E E E E T 3 4 Device Variables for CJ series Unit Software Switches Statuses ss sssssssnnnnnnnnnnnnnnnnnnnnn 3 9 3 2 1 SOMWAKESWIGNOS Tenera a a a A aT 3 9 3 2 2 Software Switches 2 Ne TOH cii a e a a a ieee 3 18 3 2 3 Master COS Send SWIICNES eroana a EEEE AE E E E 3 23 3 2 4 DISCONMEGY COMMECE SWIC S o eiiean a T 3 24 3 2 5 AE SLATS Teens a aa aa aA E a 3 25 3 2 6 Jn ola aea a a a a a een eter 3 30 3 2 7 Master Status Karion a ee a lee E NS 3 33 3 2 8 Master olats 2 seanna E i S a taucuemeccesaetcememcaee 3 38 3 2 9 Save oas acta cca a a a a EN nea 3 39 220 Slave lUS ae e A AAN 3 45 S 2 11 Registered Slave Tabl e ernieren aa ene a E a E a 3 46 32 l2 Normal Slave TADE ntek aa a isentaeactecue i
114. 1MstrDsbiCmoa PLC Function Module Source details CJ series Unit At user operation timing Not affected An attempt was made to enable the master function when it was already enabled An attempt was made to disable the master function when it was already disabled CPU Unit is not in PROGRAM mode More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was com pleted for a previous software switch None None Disable the master function before you enable it Disable the master function before you enable it Enable the master function before you disable it Enable the master function before you disable it Change the CPU Unit to PROGRAM mode Change the CPU Unit to PROGRAM before you enable or disable the mas ter function Execute the software switch opera tions one at a time Execute the software switch opera tions one at a time CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Master Fixed Allocation Area Setting Failed 7461 0000 hex An error occurred in one of the following operations for fixed allocation of the master e Fixed
115. 2 A 15 Unit Memory Error C200H Master Replacement Area 3 48 A 28 WIT NO S WIG see cian tte cence oes sae 2 5 6 13 Unit number duplication ccccseeeeceeeesseeeeeeeeeeaaeeeees 9 20 WAC Stan jasc eit ae oe ale ae hi 3 2 Unit Setup File Backup Switch ccceeceeee 3 22 A 5 Unit Setup File Restore Switch ccceeeeee 3 22 A 5 AIL SUAS T enonsa ee 3 25 A 14 UA SIANUS Zren oe ee ee 3 30 A 15 USer Drog 2 4 sanera mee ee ere a 3 4 User defined variable oo ceecceeeceeeeeeeseeeeeeeeneeees 3 2 3 4 User set Allocation Master Communications 4 20 User set Allocation Slave Communications 5 9 V Vendor ssassn ous cola ue cctoaunese ssectectsatsineacteentancateadvess 4 11 VerifiCatlOn Error seseina aiara aaraa 3 33 9 45 Verification Error C200H Master Replacement Area 3 49 A 28 index 4 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Authorized Distributor
116. 3 2 3 Master COS Send Switches Use one of the following device variables for CJ series Unit is used to operate Master COS Send Switches e MstrCOSSendCmd LWORD type device variable for CJ series Unit that is capable of operating switches for all slaves node addresses 0 to 63 e MstrCOSSendNdCmd 0 to 63 BOOL type device variable for CJ series Unit that is capable of operating switches for any slave of node addresses 0 to 63 Bits 00 to 63 of MstrCOSSendCmd Master COS Send Switch and array elements of MstrCOSSendNdCmd 0 to 63 correspond to slaves at node addresses 0 to 63 If a bit or device variable for CJ series Unit is changed to TRUE then COS output data will be sent to the corresponding slave UEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSME S SOURIIMS You can simultaneously change multiple Master COS Switches to TRUE for multiple slaves Once COS data are sent to slaves the corresponding switches will be changed back to FALSE lf a send error occurs the bit corresponding to _Nd0OSta to _Nd63Sita Slave Detailed Status will change to TRUE The following device variable for CJ series Unit is used when you execute functions for multiple slaves at the same time Name of device variable for MstrCOSSendCmd LWORD RW Master Executes the operation of Master COS COS Send Send Switches for multiple slaves at the Switch same time Bits 0 to 63 correspond to the Master COS Send Switches for slaves at nod
117. 464 j 5 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 13 1 Features and System Configuration 1 4 Basic Operating Procedures 1 4 1 Network Installation Procedure For details on the network installation procedure refer to the DeviceNet OPERATION MANUAL Cat No W267 Only a general description is given here Determine a suitable baud rate for the 1 system Determine the node arrangement the wiring configura tion and the cable lengths 2 A Restrictions on lengths of trunk lines and 2 branch lines and total drop line length Selection of thick cables or thin cables B Separation from noise sources Do 1 and 2 above meet the No Check DeviceNet specifications Delivery of devices 5 Installation 1 14 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features and System Configuration 1 4 2 DeviceNet Unit Startup Procedure The basic operating procedures for DeviceNet Unit are described here Use Sysmac Studio to create programs and to set the Unit F u B A i g Q U g A g f Use the CX Integrator to set the network configuration For details on operations of Sysmac Studio refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 For details on operations of CX Integrator refer to CX Integrator Ver 2 L OPERATION MANUAL Cat No W464 Create and register global variables and
118. 5 O 3 a 3 SUONOOIIY H b 4 Remote I O Master Communications With CX Integrator When using the CX Integrator you can allocate four blocks to each slave Output OUT blocks 1 and 2 and input blocks 1 and 2 Each block is a maximum of 500 words To access the allocated area from the user program a user defined variable that specifies the AT specification of that area needs to be defined User program CPU Unit A You can set the position of each block CJ Series Unit memory An order such as IN block 1 OUT block 2 IN block 2 and OUT block 1 can also be used Output area A Address Any address order OUT a block 1 m S User defined Address _ i variable Address Any address order OUT a block 2 Address Input area Address Any address order IN block 1 Y gt User defined Address amp uaneble Address Any address order E IN block 2 Co 2 Address You can use any order for block allocations and for slave allocations within each block Each address is allocated at least one byte rightmost e More than one word is allocated for each slave with more than16 I O points using it s node address e The leftmost or rightmost byte of the word is allocated to each slave that has 8 I O points or less Using MstrAlocTbICfg 0 to 5 Master User set Allocations Setup Table In MstrAlocTbIiCfg 0 to 5 Master User set Allocations
119. 7 A 47 Appendices Object instance Max No of 3 instances Instance Bit Strobed I O type Produc Cyclic a trig Tame Server port type Trans port class Attribute Get Value ie ie 1 State ss wns 5 i 13 Produced_connection_path_ Yes No 0 length 14 Produced_connection_path empty 15 Consumed_connection_path_ Yes No 4 length Service Parameter option No No Number of input bytes used by Slave A 48 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices Object instance Max No of 4 instances Instance COS cyclic I O type Produc Cyclic tion trig ger Trans Client port type Trans 0 no ACK 2 with ACK port class Attribute Get Value read me w NO 3 Transport_class_trigger Yes No 02 hex with Cyclic ACK 12 hex with COS ACK 00 hex no Cyclic ACK 10 hex no COS ACK 4 Produced_connection_ID be 5 Consumed_connection_ D FFFF hex n ACK 6 Initial_comm_characteristics 01 hex with ACK OF hex no ACK Z Proauesd someoene s me 13 Boded _connection_path_ length 14 Produced_connection_path 0 4 20 94 24 01 hex gt A j 6 5 3 l gt ke o a v 15 Consumed_connection_path_ 0 no ACK length 4 with ACK 16 Consumed_connection_path Yes empty no ACK 20 2B 24 01 with ACK Service Parameter option No No No Number of input bytes used by Slave CJ
120. 8 I O Data Communications Not Run ning Status Bit 09 Reserved by system Bit 10 Reserved by system Bit 11 Reserved by system Bit 12 Message Communications Permit ted Bit 13 Invalid Scan List Data Flag Bit 14 Master Error Bit 15 I O Data Communications Default 16 0000 The following device variables for CJ series Unit are used to execute individual functions Name of device variable for CMstrMemeErr BOOL Unit Mem This is the same as MemErr Unit Mem ory Error ory Error Default FALSE CMstrNdDupErr BOOL Node This bit changes to TRUE if any of the fol Address lowing device variables for CJ series Unit Dupli is TRUE cated Bus e NdAdrDupErr Node Address Dupli Off Error cated Error e BusoffErr Bus Off Error Default FALSE 3 48 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for CMstrCfgErr BOOL Configura This bit changes to TRUE if any of the fol tion Error lowing device variables for CJ series Unit is TRUE e _RTblErr Routing Table Error e MsgListErr Invalid Message Timer List Error e Mstr1SListErr Invalid Scan List Data Error e Mstr1 ORefErr Master I O Refresh Error Default FALSE CMstrStruErr BOOL Structure This is the same as Mstr1StruErr Struc Error ture Error Default FALSE Send Error This bit changes to TRUE if any of the fol lowing device variables for CJ ser
121. 8 Master I O Refresh Error ccccccceeceeeees 3 35 9 46 A 16 Master Status Tiel tet ele Serna cease eal t aacte tants 3 33 A 16 Master Status 2 ceerd eaa 3 38 A 16 Master User set Allocations Reference Table 3 58 A 29 Master User set Allocations Setup Table 3 53 A 28 Master User set Allocations Switch scc 3 15 3 53 Master User set Allocations User Setting PANO st atic tee eet ics a ec concen a 3 35 9 47 A 16 Memory Card Backup function ccccceeeeeeeeeeeeeeeeees 1 11 Memory used for CJ serieS Unit ccceeeeeeeeee eens 1 17 Message COMMUNICATIONS cccceceeeseeeeeeeeeeeeeeeeeeaeees 6 2 Message Communications Permitted C200H Master Replacement Area 3 49 A 28 Message communications time ceeeeeeeeeeeteees 8 10 Message monitoring timer cceeeeeeeeeeeeeeeeeeeeeeeeeeees 6 5 WEST ate orc 0 qieeeee eee se tree tet a e eoi ten ser Srey mr ere wenTe 2 3 MLE eect tec aac cseamaesasnaneceetiaseaceeictnot cia coasimenatcanats 2 3 N Network Power Error cececeeeeeeeeeeees 3 28 9 42 A 15 Node Addres enen a Grace anes 3 55 Node Address Duplicated Error 3 28 9 44 A 15 Node Address Duplicated Bus Off Error 3 48 A 28 Node Address of The Remote Master for Slave COMMUNICATION ccceeeeeeeeeeeeeees 3 45 A 18 Node Address Switch ccccecccecc eee eesce esse seeeeeneeeneeeees 2 6 Normal Slave
122. ALSE Returns to FALSE at the start of master communications Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Master function is stopped Sw1MstrDsblCmd BOOL RW Master Dis lt Operation specifications gt able Switch FALSE gt TRUE Stops master communications The Unit automatically restarts Set this switch to TRUE if the Unit will be used only for slave communications FALSE Returns to FALSE after master communi cations stop Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Master function is enabled CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 13 BUEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSME S SOURIMS NO i ep O jad D ep O Dy 3 Data Exchange with the CPU Unit 3 14 Name of device variable for Sw1MstrFixAloc1 Cmd BOOL RW Master lt Operation specifications gt Fixed a FALSE gt TRUE age et Sets the I O allocation area for when the Switch scan list is disabled to the following words Same as default The Unit automatically restarts after the setting e OUT area CIO 3200 to CIO 3263 1 word 1 node address fixed e IN area CIO 3300 to CIO 3363 1 word 1 node address fixed Note The I O words used with the scan list disabled are also used with the scan list enabled Use Sw1SListEnblICmd Scan List Enable Switch
123. Address Length area Logical Area Address Logical Area Address Object Service Logical Area Address Length ete Logical Area Address Length area Logical Area Address Logical Area Address Object Service Logical Area Address Length ee Logical Area Address Length area Logical Area Address Logical Area Address Object Service Logical Area Address Length ae Logical Area Address Length area Logical Area Address Logical Area Address Object Service Logical Area Address Length rae Logical Area Address Length CNT Logical Area Address area Logical Area Address Object Service Logical Area Address Length A Logical Area Address Length EMO to 1E 1E Block String Write 1E Block String Write Write Logical Area Address EMC 1F Block StringN Write Logical Area Address area D z 6 a fe io gt ke 3 a gt 7 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 51 Appendices A 52 Note The refresh area types are shown in the following table ClO DM WR HE EM EM EM EM EM EM EM EM EM EM EM EM EM PLC area bank 0 bank 1 bank 2 bank 3 bank 4 bank 5 bank 6 bank 7 bank 8 bank 9 bank 10 bank 11 bank 12 Refresh area type Refresh address CIO 0000 to CIO 6143 D00000 to D32767 W000 to W511 HOOO to H511 E0_00000 to E0_32767 E1_00000 to E1_32767 E2_00000 to E2_32767 E3_00000 to E3_ 32767 E4_00000 to E4_32767 E5 00000 t
124. All switches are set to TRUE by the user The Unit automatically changes them to FALSE after the function is executed Once a function is set by changing the status to TRUE except for the switches listed below it is saved regardless of whether the power is turned OFF and back ON again e Sw2SlavCOSSendCmd Slave COS Send Switch e Sw2FileRestoreCmd Unit Setup File Restore Switch e Sw2FileBkuoCmd Unit Setup File Backup Switch If multiple switches are changed to TRUE simultaneously all requests will generate errors but they will not alter Unit operation The error bits corresponding to the following words will change to TRUE if a request made by a software switch ends in an error e Slav1Sta Slave Status 1 WORD type device variables for CJ series Unit holding all switch functions contained in Software Switches 2 are shown below Me eum Type RW Area function Sw2Cmd WORD RW Software Bits 0 to 05 Reserved by system Switches 2 Bit 06 Slave Enable Switch Bit 07 Slave Stop Switch Bit 08 Slave Fixed Allocation Setting 1 Switch Bit 09 Slave Fixed Allocation Setting 2 Switch Bit 10 Slave Fixed Allocation Setting 3 Switch Bit 11 Slave User Allocations Switch Bit 12 Slave COS Send Switch Bit 13 Reserved by system Bit 14 Unit Setup File Restore Switch Bit 15 Unit Setup File Backup Switch Default 16 0000 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with
125. Be eas oN ee ee a oe he Oar cartes ee eet ae 3 2 3 1 2 Accessing From the User Program 0 000 cece ee ees 3 4 3 2 Device Variables for CJ series Unit Software Switches Statuses 3 9 3 2 1 SOMWare SWIGNES TA a 1c2 c ttle Bln ele Re eR Ae ee 3 9 3 2 2 Software Switches 2 n 1CH 0 0 eee 3 18 3 2 3 Master COS Send Switches 0 ees 3 23 3 2 4 Disconnect Connect Switches naaa 0 0 ccc es 3 24 320 WAN SIQUUIS T ereere nioe Acasa Bods cecal 3 S00 Sone Sod Hels See BO Bs 3 25 320 UniVOlgliS 2 a afte artis acto th alte oe ee nee Beate toa eee 3 30 3 2 7 Master Status T saisie ntenni hob Sad edhe dae Shoes seek eek eed es 3 33 3 2 0 Waster Siglus 2 esmi overt todd ei ea vember ous oaae e e teed 3 38 O29 Slaveroraius 2c bsesues execu a keeen sce eee hoods eee eee ks 3 39 3 2 10 Slave Status 2 2 6 veers ok ee 66 Gente ewes Chie hee ee dete 3 45 3 2 11 Registered Slave Table 0 ccc eee ees 3 46 3 2 12 Normal Slave Table zacon a eens 3 47 3 2 13 C200H Master Replacement Master Status 1 0 00055 3 48 3 3 Device Variables for CJ series Unit Allocations Setting Table Slave Detaled SWS icra xaaa ie Phra Belew 3 51 3 3 1 Communications Cycle Time Setting 0 0 eee 3 51 3 3 2 Master User set Allocations Setup Table 00 00 cee eeee 3 53 3 3 3 Slave User set Allocations Setup Table 2 00000 e eee 3 56 3 3 4 Comm
126. CPU Bus Unit connected to the same CPU Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 2 5 nN A i al 6 g Q TI gt A ct fe 7 SBuIleS YAMS Z Z 2 Nomenclature and Installation Precautions for Safe Use e Use a small flat blade screwdriver to turn the rotary switches be careful not to damage the switch e Always turn OFF the Controller before changing the unit number setting EN Additional Information If the unit number is the same as one set on another CPU Bus Unit connected to the same CPU Unit a major fault level controller error Duplicate Unit Number will occur and it will not be possi ble to start up the DeviceNet network After correcting the unit number setting cycle the power to the Controller i Node Address Switches CJ 1W DR M21 23 23 So Ces CEL S X10 X100 Use these switches to set the node address of the Unit Setting method Two digit decimal Setting range O to 63 Note The node address is set to 63 at the factory You can set any node address from 0 through 63 as long as it has not been set on another slave node EN Additional Information If the node address is the same as one set on another node a node address duplication error will occur and it will not be possible to start up network communications i DIP Switch The DIP switch on the front of the DeviceNet Unit is used to set the baud rate whether communica tions wi
127. Class ID Attribute ID Service Code Instance ID Note A body format of either 8 bits or 16 bits is possible Response Block S d Service Code Attribute Value Parameters Service Code command response OE Hex is specified for commands For responses the high est bit be ON and 8E Hex will be returned Class ID command Always 2F Hex Instance ID command Always 00 Hex Attribute ID Command The read information is specified by the attribute ID The attribute IDs are listed in the following table Attribute ID Hex Contents Attribute value size 64 1 word 2 bytes 65 1 word 2 bytes e CPU Operating Mode when Attribute ID 64 Hex Reads the CPU Unit operating mode e CPU Unit Errors when Attribute ID 65 Hex Reads if there are any major fault controller errors in the CPU Unit e CPU Unit Model when Attribute ID 66 Hex Reads the CPU Unit model Read Data response The specified information is returned in order e CPU Unit operating mode attribute ID 64 Hex The CPU Unit operating mode is returned in 1 word 2 byte hexadecimal format as follows 0001 hex Program Mode 0002 hex RUN Mode 15 3 2 1 0 oj jojo PROGRAM mode RUN mode 6 18 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications Note The codes for the above modes are 1 word 2 byte data and are returned in low byte first For example for PROGRAM mode the code
128. D Z R gt 3 A g d yun N y u Bunn s10114 Bunooyssqnol Z 4 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 25 9 Troubleshooting and Maintenance Error Likely cause DeviceNet Unit Error R seg category response log Red Slave Remote A timeout occurred during flashing function I O com remote I O communica munica tions using the slave func tions error tion If slave has outputs the 0345 status of those outputs is determined by the hold clear outputs setting for communications errors Red lit OFF OFF Unit Special e Records the error inthe 0601 Unit error error log e Stops the Unit CPU Unit CPU Unit Output data is set to 0 major fault With the master these are output bits With the Slave these are input bits to the other master 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 9 26 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Master Status 1 for CJ series Units CMstrSta _CMstrSta Slav1lO1Err Remote I O Communi Check the following cations Error for OUT1 IN1 or e Master Operation is normal Slav1lO2Err Remote I O Communi cations Error for OUT2 IN2 is TRUE and UnitErr Unit Error and SlavFunErr Slave Function Flag
129. DeviceNet Unit 9 4 9 2 Error LOG FUNCUONS o reer eat eer aa eee ae bee We ne 9 28 9 2 1 EnO OG Mable 2 e sene ccs areca ep ereie sy cea sy cele a hed eet te ere ge te 9 28 9 2 2 Error Codes and Detail Codes 2 2 0 es 9 29 9 3 TTOUDIGESNOOUNG ccrois ra eae eee wre ea eee 9 32 9 3 1 CPU Unit s ERR ALM Indicator Lit or Flashing 0005 9 32 9 3 2 Remote I O Communications Disabled 002 eee ees 9 32 9 3 3 VOLKERS 24 5 c 4i beset crater ats Sree Se A Sata eS eae ee 9 33 9 3 4 Communications Error Operation Settings 0 0 0 cee eee 9 34 9 35 OCaiWiISt PrODIGIMiS rete 5 ask Se na ea a a a E ee Shem bea aod 9 34 O24 TEVENC LOGS siicasi a tavie sca ee was Seek ae Aree wate fe sae ever SE ek ee 9 35 9 4 1 Overview of the Event LogS 000 ccc cee eee eens 9 35 9 4 2 Emor Table es 2 s tent mate shy arbi ne bie Rae whee Seen bee whe mead Oe tenes 9 36 024 3 Error Descriptions 2 4 absceew acetal ek ob ee oe oe eS Be 9 41 9 5 Maintenance and Replacement 000ceee eee e eee ee anes 9 60 9 5 1 CEMO eee ee ee eae ee eee ae Ree een ee ee een ene eee 9 60 Ore MMISDCCHOM we ce nts os ofl ees Be ees ee ee a hee Sik BS ged a a 9 60 9 5 3 Replacing Faully Units 3 2 3 sven cae accaw ea caitevtaw ox idea law esta 9 61 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 1 9 Troubleshooting and Maintenance 9 1 Troubleshooting
130. E Master remote I O communications will begin with the scan list enabled Use the software switches to start or stop communications Check to see if both the MS and NS indicators are lit green on the Master Unit and all slaves 3 The mode can be confirmed from the dots on the 7 segment indicator on the Master Unit Left dot not lit Scan list enabled Left dot flashing Scan list disabled Define user defined variables in the area to which I O data is allocated Switch the CPU Unit to RUN mode Post operation 4 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications User set Remote I O Allocations Using the CX Integrator Start the CX Integrator Turn ON the communications slave and Controller power supplies Note Turn ON the communications power supply prior to turning ON the slave power supply Or the slaves may not go online Switch the CPU Unit to PROGRAM mode Pre operations 1 Create a network configuration online on the CX Integrator 2 Enable master communications in the CJ1W DRM21 properties 3 Create master device parameters SUOQBIJIUMULUO O I ROWDY ISEN T V 4 Save the data as a project file 3 Read the project file go online and 5 Read the project file go online and download the file to the network download the file to the network devices devices Master remote I O communications will begin with the scan list enabled
131. E CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Register the routing table in the CPU Unit again and restart the Controller Replace the CPU Unit if the error recurs Register the routing table in the CPU Unit again and restart the Controller Replace the CPU Unit if the error recurs Set the routing table in the CPU Unit correctly and restart the DeviceNet Units Check the master scan list and slave scan list and reset with a correct allo cation 9 23 F g ea Q 3 ct a S g g D Z g gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 9 Troubleshooting and Maintenance ee Seg ment 1 Red flashing CPU Unit exchange CPU Unit service monitoring error CPU Unit watchdog timer error flashing Error Likely cause category Servicing from the CPU Unit is not performed at fixed intervals Servicing is normally monitored per formed at 11 s An error occurred in the CPU Unit 2 DeviceNet Unit response e Records the error in the error log e Stops master and slave remote I O communica tions Performs the following pro cessing if it receives com mands that must be passed along to the CPU Unit e Returns an error response 0302 Hex to commands requiring a response Discards other frames and stores an error record 010B Hex in the error log Note Remote I O commu nications will not re
132. E Data range 0 to 500 Default 0 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 51 3 Data Exchange with the CPU Unit EN Additional Information The Unit calculates the optimum communications cycle time and stores it internally If a value smaller than that is set then the value calculated by the Unit will be used 3 52 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit 3 3 2 Master User set Allocations Setup Table Use device variables for CJ series Unit to specify the I O words for Master User set Allocations You can only set OUT block 1 and IN block 1 with this table EN Additional Information OUT blocks 1 and 2 and IN block 1 and 2 can be set from CX Integrator You can update I O allocations in the master by setting this table and changing _Sw1MstrAlocCmd Master User set Allocations Switch to TRUE The Unit restarts automatically and starts operating with the scan list enabled SUONLDO Y HUN SOLIES f 10 sa qeue A 22A E E sas parera Snes qeL Bues Name of device variable for _MstrAlocTbICfg 3 UINT Firstwordin Specifies the first word for the IN 1 block IN block 1 Data range 0 to 32767 Default 0 Allocation Specifies the area for the allocation size size setup setup table table area Data range 0 to 20 Default 0 Firstwordin Specifies the first word in the allocation the alloca size setup ta
133. Either a polling or bit strobe connection is used enabled User set allocations Only 1 connection automatically selected by the DeviceNet Unit using device vari based on the I O area set in the Master User set Allocations Setup ables for CJU series Table Unit i Setting Connection Type The settings for remote I O communications connections differ depending on the allocation method as outlined below Fixed Allocations or User set Allocations Using Device Variable for CJ series Unit The Master CJ series DeviceNet Unit automatically selects either poll or bit strobe whichever makes the communications cycle time shortest User set Allocations Using the CX Integrator The Master CJ series DeviceNet Unit can make an automatic selection the same as above or the user can select up to two connections for a Slave The setting method is outlined below 1 Select the Master Node in the Network Configuration Window in the CX Integrator 2 Select Device Parameters Edit All Masters and select the corresponding Slave Click the Detailed Settings Button 3 On the Connection Tab Page shown below select a check box e Automatic selection e User selection Select up to two connections from poll bit strobe COS and cyclic COS and cyclic connec tions cannot be used at the same time CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices Advanced setting Device Information Connec
134. FALSE NdOSListRegSta BOOL Scan List lt Operation specifications gt to Registra TRUE See aga oe Or Indicates that the corresponding slave is addresses registered in the scan list 0 to 63 FALSE Indicates that the Unit is operating with the scan list disabled or the slave is not regis tered in the scan list Default FALSE SUONLDO Y HUN SOLIES f 104 sojqeue A 22A E E Sas porera ones qeL Bues S g N ee iq UO O D D ok ep o Cc n CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 63 3 Data Exchange with the CPU Unit 3 64 Name of device variable for Nd0lIOCommSta BOOL Remote I O lt Operation specifications gt to Communi TRUE Nd63lOCommSta cations Fla atrode g Indicates that normal remote I O commu nications were conducted with the corre addresses 0 to 63 sponding slaves at all set connections This bit changes to FALSE if a timeout occurs in at least one connection with mul tiple connections set FALSE Indicates that remote I O communications failed no slave present no scan list regis tered verification error structure error or that a communications error is occurring Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Remote I O Master Communications EEEE This section describes the remote I O communications performed as a DeviceNet mas ter by the DeviceN
135. IO 3200 00 CIO 3300 CIO 3500 CIO 3700 ClO 3601 ClO 3401 ClO 3201 01 CIO 3301 CIO 3501 CIO 3701 CIO 3602 ClO 3402 CIO 3202 02 CIO 3302 CIO 3502 CIO 3702 CIO 3661 CIO 3461 CIO 3261 61 CIO 3361 ClO 3561 CIO 3761 CIO 3662 ClO 3462 CIO 3262 62 CIO 3362 ClO 3562 CIO 3762 ClO 3663 CIO 3463 CIO 3263 63 CIO 3363 CIO 3563 CIO 3763 Note You can include more than one Master Unit in a single CPU Unit with fixed allocations as shown below 3 Units max Master Unit Master Unit Slave Slave CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications 4 3 2 Allocation Procedures Step 1 Place the CPU Unit in PROGRAM mode Step 2 Change the Master Enable Switch to TRUE If the master communications have been disabled if _MstrEnblSta Master Function Enabled Sta tus is set to FALSE change _ Sw1MstrEnb Cmd Master Enable Switch to TRUE to enable mas ter communications Once Master communications have been enabled by changing this switch to TRUE it will not change even if the power is turned OFF and back ON again Note If the master communications are enabled if MstrEnb iSta Master Function Enabled Sta tus is TRUE skip this step and go onto the next step If the Master Enable Switch is changed to TRUE when master communications are enabled a Unit error will occur and a C2 error will be displayed on the 7 segment indicator on the f
136. J series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices CJ series I O memory address NJ series device variables for CJ series Unit CIO n 5 MstrCOSSendNdCmd 48 Master COS Send Switch for Node Address 48 Slave 1 MstrCOSSendNdCmd 49 Master COS Send Switch for Node Address 49 Slave 2 MstrCOSSendNdCmd 50 Master COS Send Switch for Node Address 50 Slave 3 MstrCOSSendNdCmd 51 Master COS Send Switch for Node Address 51 Slave 4 MstrCOSSendNdCmd 52 Master COS Send Switch for Node Address 52 Slave 5 MstrCOSSendNdCmd 53 Master COS Send Switch for Node Address 53 Slave MstrCOSSendNdCmd 54 Master COS Send Switch for Node Address 54 Slave 7 MstrCOSSendNdCmd 55 Master COS Send Switch for Node Address 55 Slave MstrCOSSendNdCmd 56 Master COS Send Switch for Node Address 56 Slave MstrCOSSendNdCmd 57 Master COS Send Switch for Node Address 57 Slave 10 MstrCOSSendNdCmd 58 Master COS Send Switch for Node Address 58 Slave 11 MstrCOSSendNdCmd 59 Master COS Send Switch for Node Address 59 Slave 12 MstrCOSSendNdCmd 60 Master COS Send Switch for Node Address 60 Slave MstrCOSSendNdCmd 61 Master COS Send Switch for Node Address 61 Slave MstrCOSSendNdCmd 62 Master COS Send Switch for Node Address 62 Slave 15 MstrCOSSendNdCmd 63 Master COS Send Switch for Node Address 63 Slave gt a y 6 gt A 5 gt 5 D ea 0 TI gt A c fe gt W f
137. Manual Disclaimers CHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any time based on improvements and other reasons lt is Our practice to change model numbers when published ratings or features are changed or when significant construction changes are made However some specifications of the products may be changed without any notice When in doubt special model numbers may be assigned to fix or establish key specifications for your application on your request Please consult with your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANCE DATA Performance data given in this manual 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 users must correlate it to actual application requirements Actual performance is subject to the OMRON Warranty and Limitations of Liability ERRORS AND OMISSIONS The information in this manual has been carefully checked and is believed to be accurate however no responsibility is assumed for clerical typographical or proofreading errors or omissions 18 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Safety Precautions Safety Precautions
138. NJ series CPU Unit W497 6 3 6 Message Communications 6 1 3 Message Communications Specifications Supported CPU Unit functions Specification Unit model number CJ1W DRM21 Max No of communications Explicitmes 63 nodes per Unit sages Communications instructions Explicit SendCmd instruction DeviceNet Sends explicit messages to DeviceNet masters slaves made by other MmeSSages manufacturers PLCs with C200H I O Link Units or PLCs with CS CJ series DeviceNet Units mounted to them Sources destinations 1 1 Broadcasting is not supported Data length excluding command code SendCmd instruction 542 bytes max Response monitoring time Default setting 2s User setting 0 1 to 6553 5 s Retries Oto 15 Message monitor timer function explicit You can set the response monitoring time for DeviceNet Units during message communications explicit message communications the interval the explicit connection is open from the CX Integrator for each device The settings for all devices can be stored in the DeviceNet Unit This is called the Message Monitor ing Timer List 6 4 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications 6 1 4 Message Communications Error Indications There are two ways to obtain information on communications errors that occur in message communica tions 1 Using the error history in the DeviceNet Unit and 2 Using DeviceNet Unit displays indicators and Master
139. Net Slaves to an OMRON Master consult the document attached to another Company s DeviceNet slave If a Slave has an EDS file you can install it in the CX Integrator to enable handling it just like an OMRON DeviceNet Slave In particular be sure to determine the number of words in the OMRON Master Unit that another Company s DeviceNet Slave requires for input and output With Connection Object instance 2 Polled I O Connection of another company s DeviceNet slave you can find the number of I O words allocated in the OMRON Master from the Produced Connec tion Size and Consumed Connection Size as shown below You can allocate up to 100 words to inputs and another 100 words to outputs Produced Connection Size This is the amount of memory usually in bytes allocated as input Consumed Connection Size This is the amount of memory usually in bytes allocated as output If the connection size is an even number of bytes the number of allocated words is bytes 2 If the connection size is an odd number of bytes the number of allocated words is bytes 1 2 If the connections size is zero 0 no words are allocated For Connection Object instance 3 Bit Strobed I O Connection of the DeviceNet Slave you can find the number of input words allocated in the OMRON Master from the Produced Connection Size as shown below Produced Connection Size This is the amount of memory usually in bytes allocated as input If the conn
140. Net Units are equipped with the following indicators that indicate the operating status of the node itself and the overall network ca vje s Col CI A LIL a Two status indicators two color Green or red indicators b A two digit 7 segment indicator c Two dot indicators l b Two digit 7 segment indicator a Status indicators gt Ca ZEN c Dot indicators 2 2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 2 Nomenclature and Installation Status Indicators MS and NS The MS Module Status indicator indicates the status of the node itself and the NS Network Status indicator indicates the status of the network The MS and NS indicators can be green or red and they can be OFF ON or flashing alternating 0 5 s ON and 0 5 s OFF The following table shows the meaning of these indicator conditions Indi Meaning likely errors cator MS Green Lit Normal operating status Communications are being performed normally Lit A non recoverable major fault has occurred Watchdog timer error memory error or system error Replace the DeviceNet Unit Flashing A recoverable partial or minor fault has occurred Con figuration Error Switch Setting Error CPU Unit initializa tion error CPU Unit interface error or Routing Table Error Correct the error and reset the Unit Not lit Power isn t being supplied or the Unit is being reset NS Green Lit The Unit is O
141. OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED ON CONTRACT WARRANTY NEGLIGENCE OR STRICT LIABILITY In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted INNO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY REPAIR OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED STORED INSTALLED AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION ABUSE MISUSE OR INAPPROPRIATE MODIFICATION OR REPAIR 16 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Read and Understand this Manual Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards codes or regulations that apply to the combination of products in the customer s application or use of the products At the customer s request OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products This information by itself is not sufficient for a comple
142. PU Unit ms TouTtNnuMax Output processing time in CPU Unit ms Task period The period of the task in which I O refreshing is assigned for the DeviceNet Unit ms Number of CPU Bus Units The number of CPU Bus Units that are connected in the Controller TINNJMAX 0 5 0 0005 x Total size of all master input data in bytes TOUTNUMAX 0 2 0 0006 x Total size of all master output data in bytes However if the DeviceNet Unit is on an Expansion Rack use the following formulas to calculate Tinny MAX and TOUTNJMAX TINNJMAX 0 5 0 00075 x Total size of all master input data in bytes TOUTNUMAX 0 2 0 0009 x Total size of all master output data in bytes i Formula for the Minimum I O Response Time You can calculate the minimum I O response time Thin ms with the following formula Twin Tin TRTIN Trt out TrReny Tout Tin Input slave ON or OFF delay ms Trt IN Communications time per slave for input slaves ms Trt out Communications time per slave for output slaves ms Tout Output slave ON or OFF delay ms TRENJ TINNJMIN Task period TOUTNJMIN TINNUMIN Input processing time in CPU Unit ms TOUTNUMIN Output processing time in CPU Unit ms Task period The period of the task in which I O refreshing is assigned for the DeviceNet Unit ms TINNUMIN 0 4 0 0004 x Data size per slave for input slaves in bytes TOUTNUMIN 0 1 0 0005 x Data size per slave for output slaves in bytes However if the Dev
143. Q gt Q fe g 0 A U Cc C gt rF Z fe 2 v 0 8 Wwesbold Jasn WOJ Buissaooy Ul S8OUSIOWIG Z L Y CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 9 Appendices CIO n 6 to n 9 Disconnect C onnect Switch The device variable for CJ series Unit that corresponds to all bits of 4 words from CIO n 6 to n 9 is as follows CJ series I O memory address NJ series device variables for CJ series Unit CIO n 6 to n 9 O to 15 for each word A 10 CnctCmd Disconnect Connect Switches Bits 0 to 15 in each word correspond to the bits of this CJ series Unit device vari able as follows Bits 0 to 15 of CIO n 6 correspond to bits O to 15 of this CJ series Unit device variable Bits 0 to 15 of CIO n 7 correspond to bits 16 to 31 of this CJ series Unit device variable Bits 0 to 15 of CIO n 8 correspond to bits 32 to 47 of this CJ series Unit device variable Bits 0 to 15 of ClO n 9 correspond to bits 48 to 63 of this CJU series Unit device variable CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices The device variables for CJ series Units that correspond to bits 0 to 15 of 4 words from CIO n 6 to n 9 are as follows CJ series I O memory address Wordaddress Bit Variabiename iano CnctNdCmd 8 CnctNdCmd 9 CnctNdCmd 10 CnctNdCmd 11 CnctNdCmd 12 CnctNdCmd 13 CnctNdCmd 14 RE CJ s
144. Remote 1 O Master ccccceeseeccecceeeeeeeeaeeeeeeeseeeeeeeeeesseasaeseseeseeeeeeeeseesaaas 4 8 Scan LISE nrasane aAa a Aa avatweansvosneieusaasasnucacacwaduniaeais 4 11 4 2 1 SCAU A E a E E A E EE E E E E E EEE E AEE EE 4 11 4 2 2 Scan List Enabled and Scan List Disabled soeenseeennrnesrrrnesrrnnensrrrennrrrrenrrrrenrrrrrenrrrreeerrreene 4 12 4 2 3 Backing Up the Scam Listenin a a alc esa ew 4 13 Fixed Allocations virione nnana aaaea AAAA a AA APANAR 4 14 4 3 1 Allocated Word Scscanann a a a a R a 4 14 4 3 2 Allocation Procedure S aser a A ARa T 4 15 4 3 3 Changing System Components ccccccccccceececeeeeeeeseseecceeeeeeeeseeueesseeeeececeeeesesseeesaneseeeeeeeeees 4 18 4 3 4 Rixed Allocations Exa MPE szni a a A E 4 19 UsersetAllotalonS a aaa aaa aAa Aa Aa aA a 4 20 4 4 1 Settings through CX INteQrator moco E ar E E E 4 22 4 4 2 Settings through Device Variables for CJ series Unit Master User set Allocations Setup Table eoin i e a e ela e e 4 25 Starting and Stopping Remote 1 0 COMMUNICATIONS sss ssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 4 31 4 5 1 Starting Remote 1 0 Communications ccccccceceeccecaeeeseeeeeeceeeeeseaeaeesseeeeeeeeeesessaasaaaeeeeeees 4 31 4 5 2 Stopping Remote I O COMMUNICATIONS cccccccecceeeseeeeeeeeeeeeeeeeeeseaeeseeseeeeeeeseessaeaeaeeeeeeseeess 4 31 4 5 3 Restarting Remote I O COMMUNICATIONS ccccceeeeeeeceeeeeeeeeeeeeaeaeeeeseecceeeeeeeeeessuees
145. Results of Slave User set Alloca tions Setup Function Specifies the OUT 1 area Data range 0 to 20 Default 0 Specifies the first word in the OUT 1 area Data range 0 to 32767 Default 0 Specifies the size of the OUT 1 area Unit is in bytes The OUT 1 area is not allocated when the value is 0 Possible range of variables 0 to 200 Default 0 Specifies the IN 1 area Data range 0 to 20 Default 0 Specifies the first word in the IN 1 area Data range 0 to 32767 Default 0 Specifies the size of the IN 1 Area Unit is in bytes The IN 1 Area is not allocated when the value is 0 Data range 0 to 200 Default 0 Stores the Setting Results of Slave User set Allocations Setup Data range 16 0000 to FFFF Default 16 0000 Word range 0 to 32767 EO_00000 to E0_32767 EC 00000 to EC_32767 for all banks CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Note You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subse quent banks bytes e The OUT 1 and IN 1 area sizes are 0 e Neither the OUT 1 area nor IN 1 area is set for allocation 16 1104 Address range overflow The allocated area exceeds the valid word range 16 2201 Wrong operating mode The CPU Unit is not in PROGRAM mode 16 2211 Unit busy Service cannot be executed because the Unit is busy 16 2606 The Unit slave communic
146. U Unit with a DeviceNet Unit or other Configuration Unit An I O port has a unique pre defined name for each unit model and function An I O port is automatically created by preparing the Unit Configuration with Sysmac Studio For details on the I O ports defined for DeviceNet Unit refer to 3 2 Device Variables for CJU series Unit Software Switches Statuses and 3 3 Device Variables for CJ series Unit Allocations Setting Table Slave Detailed Status DeviceNet Unit has two types of I O ports one is for the following software switch status data and the other is for allocations setting table slave detailed status data Software switches Status data Software switches execution instructions of each function from the CPU Unit to the DeviceNet Unit DeviceNet Unit statuses and error data are allocated Allocations Setting Table Slave Detailed Status Data Allocations Setup Tables that the user can freely set and individual slave statuses by node address are allocated i User defined Variable Slaves are allocated to the memory used for CJ series Unit when you use the functions shown below e Master remote I O communications fixed user set allocation e Slave remote I O communications fixed user set allocation To use this area from the user program you need to create a user defined variable of AT specifica tion 3 1 2 Accessing From the User Program 3 4 From the user program various types of information are ex
147. Unit W497 This section describes the nomenclature and installation of the DeviceNet Unit Nomenclature and Installation 2 1 Nomenclature and Functions 0000eeeeaueee 2 1 1 Nomenclature and Functions 2122 gt SWwitehi Settings lt 0 secwsiecks ds cuaiecis dakin 2 2 Installing the DeviceNet Unit 00cc cena aes 2 2 1 System Configuration Precautions 2 2 2 MOUNINO sarsa A deatec de actcte gte E leg 2 2 3 Handling iP teCauilONnS se2 e 44 bot eel ae eae eh ee Pale eee a 2 2 4 External Dime NSIONS siroter aie rw beer ee one earn ee CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 2 Nomenclature and Installation 2 1 Nomenclature and Functions 2 1 1 Nomenclature and Functions fc 1W DRM21 Indicators Unit No switch This switch sets the unit number of the DeviceNet Unit as a one digit hexadecimal value Node address switches These switches set the node address as a two digit decimal value DIP switch The pins have the following functions Pins 1 and 2 Baud rate Pin 3 Continue Stop communications for error when used as a Master a 4 Hold clear I O for communications error when used as a ave a A connector Connect the Network communications cable to this connector The communications power for this Unit is also supplied through this connector A parallel connector with screws XW4B 05C1 H1 D is provided for node connection i Indicators The Device
148. W502 e Contact the ODVA to obtain copies of the DeviceNet specification ODVA s URL http www odva org CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications 6 2 2 Sending Explicit Messages Using SendCmd Instruction The SendCmd send command instruction can be used in the CPU Unit user program of the CJ series DeviceNet Unit to send explicit messages The explicit message command data that contains the command code 2801 hex at its beginning is sent The explicit message response is received after the command code 2801 hex and the end code In a program that issues explicit messages the following execution conditions are generally used based on the AND gate 1 Network Enabled Flag on the CPU Unit side 2 OnlineSta Online Flag or _CMstrMsgEnbiSta Message Communications Permitted Flag on the DeviceNet Unit side sample Execution Condition _Port_isAvailable OnlineSta SendCmd Execute Done DstNetAdr Busy CommPort Error CmdDat ErrorlD CmdSize ErrorIDEx RespDat RespDat Option q N v S m 3 g Example Sending Explicit Messages Using SendCmd Instruction NJ series CPU Unit DeviceNet Unit No 0 SendCmd Node address 05 Unit address 10 Hex Explicit message Slave node 11 UOHONSU PUUDPUSS Huisn sebessayy y dxg Builpues zg z 9 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497
149. YSTEM 1 00 00 23327 BOOT 20110776 TOPFP B 30 Pest TOPRW 1 02 k Production information x Bie ities 165 Madel information incisal Rack 0 Slot 0 Unit 4 C 1W SCU22 Ver 2 0 ETE Er men ana Unit revision _ Rack 0 Slot 0 Unit 4 C1iW SCU22 Ver 2 0 110711 pe tae a Rack 0 Slot 1 Unit 1 CIIW DADH Wer 051201 Rad 0 Slot 1 Unit 1 CHW _DAD41 Ver 031201 Unit revision A PCE revision 4 Software revision A Output file Simple Display Detailed Display In this example Ver 1 00 is displayed next to the unit model The following items are displayed CPU Unit CJ series Units Unit model Unit model Unit version Unit version Lot number Lot number Rack number slot number and unit number EtherCAT Slaves 1 Double click EtherCAT under Configurations and Setup in the Multiview Explorer Or right click EtherCAT under Configurations and Setup and select Edit from the menu The EtherCAT Configuration Tab Page is displayed for the Controller Configurations and Setup layer 2 Right click the master in the EtherCAT Configurations Editing Pane and select Display Produc tion Information The Production Information Dialog Box is displayed 3 Production Information x Type information Serial number NodeS RS8D KNO01L ECT Rev 2 1 OMRON Corporation 0x00000000 The following items are displayed Node address Type information Serial number If the model number cannot be determined
150. a T g Y 5 te 0 O S A ch O a SUOIJEDIUNWLUOD O BIOWSY Hulels L 9 4 Remote I O Master Communications 4 6 Example of User Program for Remote I O Communications When user program are written for remote I O communications make sure it performs I O processing with a slave under the following conditions e Mstr1 OCommSta I O Data Communications Status is changed to TRUE e UnitErr Unit Error is changed to FALSE Example There is no jump and slave I O is processed when the JMP 004 instruction input condition is FALSE in the following instructions There is a jump and slave I O is not processed when the JMP 004 instruction input condition is TRUE I O Data Communications aaaa_Mstr11IOCommSta STEP Unit Error aaaa_UnitErr ee Q lt 49 O O O O 49 dp O a O O op v J Ko O r By D ama a gt 5 Le lt D as O l Precautions for Correct Use Even if there is a communications error with the slave the slave input data is saved in the allo cated area To prevent operating errors make a user program so that no slave I O processing will occur when UnitErr Unit Error is TRUE 4 32 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications 4 7 Errors that May Occur in Remote I O Communications The following errors may occur during remote I O communications
151. address Output Input 15 00 16 output pts gt 00 00 16 pts Opts CIO 1950 Allocation 00 Combination of 8 input and output pts Of 01 8 pts 8 pts CIO 1951 Allocation 01 Notused andouputpis O P and output pts 02 02 16 pts 16 pts CIO 1952 Allocation 02 8 input pts gt 03 03 0 pts 8pts ClO 1953 Allocation 32 output pts gt 10 10 32 pts Opts ClO 1954 Allocation IN block 1 15 00 CIO 1900 Allocation 02 CIO 1901 Allocation 01 Allocation 03 ue pas addres ics Opi Input 15 aa 00 15 ee 00 48 input pts 04 04 0 pts 48 pts 0100 J Notused Allocation 12 8 input pts 09 09 0 pts 8 pts Combination of 8 output gt 42 12 8 pts 16 pts and 16 input pts Allocation 12 Allocation 09 4 24 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications CX Integrator Setting Methods Refer to CX ntegrator Ver 2 L OPERATION MANUAL Cat No W464 4 4 2 Settings through Device Variables for CJ series Unit Master User set Allocations Setup Table All slaves are allocated words in order of node addresses in two blocks OUT block 1 and IN block 1 In the block area the first word is set with _MstrAlocTb iCfg 0 to 3 In addition an Allocation Size Setup Table is created in the area and word location is specified through _MstrAlocTbiCfg 4 and 5 and you can define the size for each block To access the area where the slave
152. ade changes accompanying release of unit version 1 03 of the CPU Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 39 40 Revision History CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Features and System Configuration This section provides an overview of the DeviceNet network and includes features specifications and system configurations 1 1 1 2 1 3 1 4 1 5 DeviceNet Unit Features ccc cece eee eee ee eee eee eens 1 2 SPECIICAUONS i5 sb tee Get Aer ae MR eee 1 7 1 2 1 DEVICCING Uniesse ies Mares sae erk feats Ree iat ah a em ae ee Bes 1 7 Overview of CX Integrator 2 cece 1 13 Basic Operating Procedures ccccsceeee eee e een ee eee e eens 1 14 1 4 1 Network Installation Procedure 2 0 0 cee ee ee 1 14 1 4 2 DeviceNet Unit Startup Procedure 0 0 00 ce es 1 15 1 4 3 Message Communications Only Neither Master nor Slave Function WSS its chit Oh ate Eee Sener apt a eat meet Gk pelea ha A ean eS ts ae 1 21 List of Usage Methods by Purpose cccccueeeneneeeeaeenaas 1 22 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 1 Features and System Configuration 1 1 DeviceNet Unit Features The following are features of the CJ series DeviceNet Units CJ1W DRM21 Multi vendor Network You can connect DeviceNet devices made by other companies masters or slaves to DeviceNet bec
153. amp Error Log Storage Area When an error is detected information on the error and the time stamp are stored in the Unit s inter nal RAM as an error log record Serious errors are recorded in EEPROM as well as RAM The error log records in EEPROM are retained even when Controller is turned OFF or the Unit is restarted The error log records in EEPROM are copied to RAM when the DeviceNet Unit is turned ON When the error log is read from the CX Integrator only the error log records in RAM are read When the error log is cleared from the CX Integrator the error log records in RAM and EEPROM are erased Refer to 9 2 2 Error Codes and Detail Codes for a table listing the error codes Reading and Clearing the Error Log When you use the CX Integrator you can monitor the error log with the master error history read operation With the CX Integrator the error log can only be monitored and cannot be saved EN Additional Information The CPU Unit s time information is used for the time stamps in the DeviceNet Unit s error log records If the time information cannot be read from the CPU Unit the time stamp will contain all zeroes Moreover if the battery is replaced in an NJ series controller the time of the CPU Unit s built in clock must be set again the next time that power is turned ON If the built in clock time is not set the correct time information will not be recorded If this error log is read from the CPU Unit the time
154. an mount Max No of Slaves con nected per DeviceNet Unit Specifications Fixed allo Select one of the following fixed allocations areas with the use of _Sw7MstrFixAloc1Cmd cations to _Sw1MstrFixAloc3Cmd Master Fixed Allocation Setting 1 to 3 Switch Allocated I O Size Fixed Alloca Fixed Alloca Fixed Alloca words CIO tion Area Set tion Area Set tion Area Set Area ting 1 ting 2 ting 3 Output 64 words 3200 to 3263 3400 to 3463 3600 to 3663 OUT area Input IN 3300 to 3363 3500 to 3563 3700 to 3763 area Note Select one of the above areas with the use of the device variable for CJ series Unit All are fixed at 1 word per node address The default setting is Fixed Allocation Area Setting 1 User set By CX Inte Set the areas for the OUT 1 2 and IN 1 2 blocks the first words and the allo allocations grator cation sizes for all slaves with the use of the CX Integrator You can set blocks for nodes in any order Allocated The input and output areas can be the following sizes that words start from any word in any of the following areas CIO Area WR Area HR Area DM Area or EM Area Output OUT 500 words max x 2 blocks area Input IN 500 words max x 2 blocks area By device Set the areas and the first words for the OUT 1 and IN 1 blocks in the device variable for variable for CJ series Unit CJ series Set the allocation size for each slave with the use of
155. an introduction to the NU series Controllers and their features and gives the NJ series Controller specifications This section provides information that is necessary to use the CPU Unit including how the CPU Unit works and the operations that it performs depending on the status of the CPU Unit This section describes how to use I O ports how to create the slave configuration and unit configuration and how to assign functions This section describes the initial settings of the function modules This section describes the task system and types of tasks This section describes programming including the programming languages and the variables and instructions that are used in programming This section describes the items and procedures for checking the operation of an NJ series Controller including offline debugging procedures This section describes the functionality provided by the CPU Unit This section describes how to go online with the CPU Unit and how to connect to other devices This section describes the procedures that are used to actually operate an NJ series Controller This section describes the event codes error confirmation methods and corrections for errors that can occur The appendices provide the CPU Unit specifications task execution times specifica tions of individual system defined variables data attribute lists CJ series Unit mem ory information CJ series Unit memory allocation methods and version
156. an list Error are TRUE F g 7 Q 3 ct a S g g D Z g gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 17 9 Troubleshooting and Maintenance Error Likely cause DeviceNet Unit Error R seg category response log ment 1 Hex a Memory Memory An error occurred in the Registers an error record 0602 flashing access access Unit s non volatile mem with error code 0602 in the error ory itself This error will RAM error log area occur in the following For Error 1 cases Normal operation contin Error1 ues An error occurs reading For Error 2 or 3 the identity information Remaining writes to during initialization EEPROM are all ignored Error2 Other than that normal All error log records cannot operation continues Error be used during initializa records continue to be tion or registering an error written to RAM log record For Error 4 Error3 The master remote I O An error occurs while read communications are ing or writing the error log stopped Other operations Error4 continue An error occurs while read For Error 5 ing or writing the master The slave scanning is function enabling data or stopped and other opera the master scan list tions continue Error5 For Error 6 An error occurs while read The default values are ing or writing the slave used for the message
157. ands For responses the high est bit will turn ON and CO Hex will be returned Class ID command Always 2F Hex Instance ID command Always 00 Hex Read Data response The read data is given in the following table The data is returned after the service code in the order shown in the table high to low Operation Status RUN mode 00 Hex 00 Hex 00 Hex 00 Hex 00 Hex 00 Hex 00 Hex 00 Hex ASCII with 20 hex space in 16 bytes p n _ cr D rmp o Q as O O O a op D ome lt O oO Operation status Returns the operation status of the CPU Unit in 1 byte 2 digit hexadecimal 00 Hex Stop Mode 01 Hex Run Mode e Operating mode Returns the operating mode of the CPU Unit in 1 byte 2 digit hexadecimal 00 Hex Program Mode 04 Hex Run Mode i Byte Data Read Service Code 1C Hex Byte Data Read reads any I O memory area data in the memory used for CJ series Unit in a CPU Unit with a CJU series DeviceNet Unit mounted The read word data is in byte units The response block is returned from high to low bytes CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 21 6 Message Communications 6 22 Command Block T lel TL rt Ty Class ID Address L No of bytes read Service Code Instance ID Address H A body format of either 8 bits or 16 bits is possible Response Block Service Code Word data L Word data L Wor
158. are e Matching master and slave baud rates Proper cable lengths trunk and TRUE branch lines Broken or loose cables Installation of terminators only at both ends of the trunk line Excessive noise Restart Controller Replace the DeviceNet Unit if the error recurs F g ea Q 3 ct a S g g D Z g gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 27 9 Troubleshooting and Maintenance 9 2 Error Log Functions Errors detected by the DeviceNet Unit are stored in the error log along with the date and time of their occurrence You can monitor the error log by using the CX Integrator Refer to the CX ntegrator Operation Manual Cat No W464 for error log monitoring operations 9 2 1 Error Log Table Error Log Table Each time an error occurs one error record is recorded in the DeviceNet Unit s RAM error log table You can record a maximum of 96 records with Unit Ver 1 1 or later and a maximum of 64 records with versions before Ver 1 1 If another error occurs when the table is full the oldest record will be erased to make room for the new error record The error log table records the following information e Error code Refer to 9 2 2 Error Codes and Detail Codes e Detail code Refer to 9 2 2 Error Codes and Detail Codes e Time of occurrence The CPU Unit s time is used for the time st
159. are tion Error UnitErr Unit Error and the cause TRUE or _CMstrErr Master Error and _MstrFunErr Master Function Error Remote I O communications error CMstrSendErr 1Send Error are are TRUE or _NetPwrErr Network See error d9 ae Power Error and _UnitErr Unit Error or _SendTimeoutErr Send Timeout Network power supply error See Error and _UnitErr Unit Error are a me oo TRUE Transmission timeout error See error E2 Correct the cause of the error and then restart remote I O communica tions using the software switch Sw1lOCommStartCmd the Remote I O Communications Start Switch Switch the CPU Unit to PROGRAM mode and try the operation again The C2 display will automatically go out after 30 seconds or will go out if the new software switch operation is successful s Correct the structure error s cause see errors d0 to d2 then register to the scan list again after checking there is no error F g 7 Q 3 ct a S g g D Z R gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 5 9 Troubleshooting and Maintenance Error Likely cause DeviceNet Unit R seg category response Software settings errors Red flashing Master function Red flashing Incorrect setting Multiple switches ON Structure error 2 I O area duplica tion
160. ariables for CJ series Unit CIO n 17 RegSlavTbINdSta 16 Registered Slave Table Corresponding to Node Address 16 Slave A 20 1 RegSlavTblNdSta 17 Registered Slave Table Corresponding to Node Address 17 Slave 2 RegSlavTblNdSta 18 Registered Slave Table Corresponding to Node Address 18 Slave 3 RegSlavTblNdSta 19 Registered Slave Table Corresponding to Node Address 19 Slave 4 RegSlavTbINdSta 20 Registered Slave Table Corresponding to Node Address 20 Slave 5 RegSlavTbINdSta 21 Registered Slave Table Corresponding to Node Address 21 Slave RegSlavTbINdSta 22 Registered Slave Table Corresponding to Node Address 22 Slave 7 RegSlavTbINdSta 23 Registered Slave Table Corresponding to Node Address 23 Slave RegSlavTbINdSta 24 Registered Slave Table Corresponding to Node Address 24 Slave RegSlavTbINdSta 25 Registered Slave Table Corresponding to Node Address 25 Slave 10 RegSlavTbINdSta 26 Registered Slave Table Corresponding to Node Address 26 Slave 11 RegSlavTbINdSta 27 Registered Slave Table Corresponding to Node Address 27 Slave 12 RegSlavTbINdSta 28 Registered Slave Table Corresponding to Node Address 28 Slave RegSlavTbINdSta 29 Registered Slave Table Corresponding to Node Address 29 Slave RegSlavTbINdSta 30 Registered Slave Table Corresponding to Node Address 30 Slave 15 RegSlavTbINdSta 31 Registered Slave Table Corresponding to Node Address 31 Slave CJ series DeviceNet Units Operat
161. as specified with the above method from the user program a user defined variable that specifies the AT specification of that area needs to be defined 5 2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 Remote I O Slave Communications 5 1 2 Remote I O and Slave Communications Specifications Item Specifications Allocation Fixed allo Select one of the following fixed allocations areas 1 2 and 3 using _Sw2SlavFixAloc1Cmd to method cations Sw2SlavFixAloc3Cmd Slave Fixed Allocation Setting 1 Switch to Slave Fixed Allocation Setting 3 Switch Allocated words CIO Size Fixed Allo Fixed Allo Fixed Allo Area cation Area cation Area cation Area Setting 1 Setting 2 Setting 3 Output OUT areato 1 word 3370 3570 3770 the slave from the master Input IN area to the 1 word 3270 3470 3670 master from the slave Note Select one of the preceding areas with the use of the device variables for CJ series Unit All are fixed at 1 word per node address The default setting is Fixed Allocations Area Setting 1 By CX Integrator Set the areas for the OUT 1 and IN 1 2 blocks the first words and the slave allo cation sizes with the use of the CX Integrator User set allocations Allocated words The input and output areas can be the following sizes that start from any word in any of the following areas CIO Area WR Area HR Area DM Area or EM Area in the memory used for CJ series Unit y
162. aster communications are Status i l enabled Unit is operating as a master FALSE Indicates that master communications are disabled Default FALSE SListDsblSta BOOL Scan List lt Operation specifications gt Disabled TRUE Status Indicates that the Unit is operating with the scan list disabled FALSE Indicates that the Unit is operating with the scan list enabled Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 31 BUEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSME S SOURIMS re ne O a ep o Cc NO 3 Data Exchange with the CPU Unit Name of device variable for ol SES le Type Rw area see SlavConnTypSta BOOL Automatic lt Operation specifications gt Slave Con TRUE SCHON Indicates that the connection type was automatically set in the slave scan list This device variable for CJ series Unit is valid only with slave communications enabled FALSE Indicates that the connection type was set from CX Integrator in the slave scan list Note The type of connection in slave com munications cannot be specified without CX Integrator If it is not set from CxX Integrator it will be set automatically Default FALSE SlavEnblSta BOOL Slave Func lt Operation specifications gt tion TRUE eae Indicates that slave communications are enabled FALSE Indicates that slave communications are disabled Default FALSE FileRWErr BOOL F
163. ata range 0 to 63 Remote Default 0 Master for ieee Slave Com munications SlaviOAlocSta BYTE Slave I O This indicates the I O allocation status of Allocation the slave Status Data range 16 00 to 03 16 20 16 30 16 80 Default 16 00 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 45 3 Data Exchange with the CPU Unit 3 2 11 Registered Slave Table This table indicates the slaves that are registered in the master scan list Bits 00 to 63 of LWORD type device variable for CU series Unit _RegSlavTblSta correspond to slaves at node addresses 0 to 63 This table is updated when the Unit starts up and when a scan list is registered Use the following device variables for CJ series Unit to reference all information of the Registered Slave Table Name of device variables for RegSlavTblSta LWORD Registered You can reference information concerning Slave Table all slaves in the Registered Slave Table Bits 00 to 63 correspond to information for slaves at node addresses 0 to 63 Data range 16 0000000000000000 to FFFFFFFFFFFFFFFF Default 16 0000000000000000 The following device variable for CJ series Unit is used to reference individual slave information Name of device variables for RegSlavTbINdSta 0 to 63 BOOL Registered lt Operation specifications gt Slave Table TRUE eones e With the scan list disabled sponding to l Node Indicates slaves to which a connection is establi
164. ations are not dis abled Precautions for Safe Use Make sure the CPU Unit is in PROGRAM mode and the Unit has stopped slave communications before you set these values SUOREIO IV WUN SeLeS fd 104 So qeUe A DIINO E E Slave User set Allocations Setup Table Setting Results if Code Details 16 1101 Incorrect area setting J 16 1103 Address range specification error The first word is outside the setting range 16 110C Parameter error e The OUT 1 or IN 1 area size exceeds 200 f R v F T B do 0 D C D D T D D gt O S O gt D op D mbp Oo D oO D CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 57 3 Data Exchange with the CPU Unit 3 3 4 Communications Cycle Time Reference Table You can use this table to store the present maximum and minimum communications cycle times in milliseconds All the values in this table are cleared from the Unit and the maximum and minimum values are updated with new values of when SwiCycleTmCirCmd Communications Cycle Time Reference Table Clear Switch is changed to TRUE In the case of automatic setting default the communications cycle time setting value is set to 0 Name of device variable for Type RW Area Type CJ series Unit Function Indicates the the set value of communica tions cycle time CycleTmRefTblSta 0 UINT Communi cations cycle time setting value Data range 0 to 500 Default 0
165. ators if the wrong resistance onds after the green NS indicator goes ON is being used Check whether all of the slaves settings are correct Check whether the communications cables are wired correctly Check whether the power supply cables and power supply are wired and set correctly Check for broken wires in the communications and power supply cables attached to the connectors Check whether the slaves are operating properly When an OMRON DeviceNet slave is being used refer to the DeviceNet Slaves Operation Manual Cat No W347 When another company s DeviceNet slave is being used refer to that slave s user s manual 9 3 3 1 0 Link Problems Error Probable cause The I O isn t simultaneous Observe the following precautions when writing application programs e Node unit data simultaneity is ensured between the NJ series CPU Unit and Master Unit e InN OMRON DeviceNet slaves the data simultaneity of words are ensured e f another manufacturer s DeviceNet slave is being used refer to that slave s user s manual for details p Ww 3 g Q r 8 ch 5 Q Ssw qO0ld AUl O I 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 33 9 Troubleshooting and Maintenance 9 3 4 Communications Error Operation Settings Error Communications are stopped even though there is no communications error After stopping is performed because of the communications stop setting for when a
166. attributes Effects System defined variables Cause and correction Attached information Precautions Remarks Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks 9 48 Slave I O Refresh Error 34C20000 hex The I O memory in the destination CPU Unit for I O refreshing could not be found when refreshing the slave function data in the CPU Unit timing Controller reset Remote I O for the slave function Correct the I O allocations so that Allocate only I O words that exist in only I O words that exist in the I O the I O memory of a CPU Unit memory of a CPU Unit are allocated I O words are allocated in an EM bank that does not exist None None Slave User Allocation Area Setting Failed 34030000 hex An error occurred in the following operation for user allocation of the slave e Slave user allocation setting switch device variable Sw2SlavAlocCmo PLC Function Module Source details CJ series Unit At user operation timing The slave function is not disabled Disable the slave function Disable the slave function to set slave user allocations There is a mistake in the user alloca Use the correct settings Check the settings tions to a slave CPU Unit is not in PROGRAM mode Change the CPU Unit to PROGRAM Change the CPU Unit to PROGRAM mode mode before setting user allocations for the slaves
167. ause it conforms to open field network specifications You can use a combination of valves sen sors and other DeviceNet products to adapt the network to various field level applications You can use a combination of valves sensors and other DeviceNet products to adapt the network to various field level applications Simultaneous Remote I O Communications and Messaging Services Remote I O communications that constantly transfer I O between a DeviceNet Unit and slaves as well as message communications where the DeviceNet Unit sends and receives data as needed can both be executed simultaneously When a DeviceNet network is constructed this feature ensures the network will be able to handle applications that require the free flow back and forth of bit data and message data Remote I O Communications CJ series DeviceNet Unit master Remote I O master function Note Refer to Section 4 Remote I O Master Communications for details on remote I O communica tions Explicit Message Communications CJ series DeviceNet Unit Explicit message CJ series DeviceNet Unit Note Refer to 6 2 Sending Explicit Messages and 6 3 Receiving Explicit Messages for details on remote I O communications CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features and System Configuration User set Allocations without the CX Integrator With CJ series DeviceNet Units you can a
168. ave are allocated as follows 1 0 Data User defined variable name Address OUT slave I O data node address 0 Slave1_ OutData_A 0 3200 OUT slave I O data node address 63 Slave1_ OutData_A 63 3263 The user program accesses the slave with WORD type variables When the user program accesses the slave only with BOOL type use the BOOL type user defined vari ables Slave _OutData_B defined in the example The user defined variables and I O data of each slave are allocated as follows 1 0 Data User defined variable name Address OUT slave I O data node address 0 Slave1_OutData_B 0 0 3200 00 Bit 0 _B O OUT slave I O data node address 0 Slave1_OutData_B 0 1 3200 01 Bit 1 OUT slave I O data node address Slave1_OutData_B 63 15 3263 15 63 Bit 15 W a 3 m A gt g e Q 0 g S 0 A U Cc C gt e The user program accesses the slave with BOOL type variables When the user program accesses the slave with both WORD type and BOOL type use the union type user defined variables Slave1_OutData_C defined in the example The user defined variables and I O data of each slave are allocated as follows 1 0 Data User defined variable name Address WesBOld 1SN 4 w014 Buisseo0Vy Z L OUT slave I O data node address 0 WORD type 3200 Slave1_OutData_C 0 w BOOL type Slave1_OutData_C 0 b 0 to 3200 00 Slave1_OutData_C 0 b 15 3200 15 ee OUT slave I O data node address WORD type 3263
169. ble l tion size Data range 0 to 32767 _ mee Default 0 Setting Stores the Setting Results of Master User Results of set Allocations Setup Master Data range 16 0000 to FFFF User set Allocations Default 16 0000 Setup CJ series Unit mye ewe a buneuon MstrAlocTblCfg 0 UINT RW OUT block Specifies the OUT 1 block area 1 area Data range 0 to 20 Default 0 y MstrAlocTbICfg 1 UINT First wordin Specifies the first word for the OUT 1 X OUT block block 1 Data range 0 to 32767 o Default 0 T MstrAlocTbICfg 2 UINT R IN block 1 Specifies the IN 1 block area h area Data range 0 to 20 gt O Default 0 D gt do C O D O MstrAlocTbICfg 4 UINT MstrAlocTbICfg 5 UINT MstrAlocTbiCfgSta WORD J J J J I aaa l Ue For details on the first word in the allocation size setup table refer to Allocation Size Setup Table page 3 55 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 53 3 Data Exchange with the CPU Unit Areas and Word Ranges Code Word range 0 pm The block is not allocated 8 to 20 Expansion Data Memory EM 0 to 32767 Bank 0 to bank C 13 banks EO 00000 to EO_32767 EC_00000 to EC 32767 for all banks Note You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subse quent banks Master User Allocations Table Setting Results 16 0000 Completed
170. bled Status cece ceeceseeeeeseeeeeeeees 3 31 Scan List Enable Switch cscs xicsiincivcisschedticitaleodss 3 10 Scan list Enabled aranan a a 4 12 Scan List Register Clear Failed 3 36 9 52 A 16 Send Error C200H Master Replacement Area 3 49 A 28 Send Timeout Error ccceceeeeceeeeeeeeeeeees 3 29 9 49 A 15 SendCmd instruction cccceeeceeeeeeeeceeeeeeeeeeeeeees 1 11 6 3 Setting Results of Master User set Allocations SEUD Dacian neil EE 3 53 4 26 A 28 Setting Results of Slave User set Allocations SEUD anian a etei 3 56 5 13 A 29 Slave COS Send Failed oo ceecceeceseeeseeeeeeeeeeeneeees 9 58 Slave COS Send Switch ee eeeeeeeeeeeeeeeenees 3 21 A 5 Slave detailed Status cccccccecccsseeceseeeeeeeueeeeeueeeeeneeees 3 2 Slave Enable Switch cceeeeceeeeeneeeeeeceeeneeenees 3 19 A 5 Slave Fixed Allocation Area Setting Fale 16 kaa Ee Conve ere er ea 3 42 9 54 A 17 Slave Fixed Allocation Setting 1 2 3 Switch 3 20 A 5 Slave Function Enable Disable Failed 3 41 9 53 A 17 Slave Function Enabled ccceeseeeeeeeeeeeneees 3 32 A 15 Slave Function Error cccceeceeeccseeeeeceeeeeneeeeeeees 3 27 A 15 Slave I O Allocation Status ccccceeeeeeeeeees 3 45 A 18 Slave I O Refresh Error cceeeeeeeeeeeees 3 41 9 48 A 17 Slave Slats Il euena n a A eect 3 39 A 17 Slave SAUS 2 seda a aS 3 45 A 17 Slave Sto
171. cations error between nodes that have been set properly SBUINeS YAMS Z Z Continue Stop Remote I O Communications If stop remote I O communication upon communication error is set turned ON by DIP switch 3 remote I O communication will stop when any of the following error occurs and will remain stopped after the error is reset message and slave communications will not stop e Mstr1 OErr Remote I O Communication Error e SendTimeoutErr Send Timeout Error e NetPwrErr Network Power Error To resume communications change _ Sw1 OCommStartCmd Remote I O Communications Start Switch of software switch 1 to TRUE Refer to 3 2 Device Variables for CJ series Unit Software Switches Statuses for details Note The 7 segment indicator will show AO when remote I O communications stop If pin 3 is OFF remote I O communications will stop if a send timeout or network power error occurs but will restart automatically when the cause of the error is cleared Hold Clear Remote Outputs When the DeviceNet Unit is used as a slave pin 4 is used to set whether to hold or clear remote out puts when a communications error occurs Note Ifthe DeviceNet Unit is used as a slave the 7 segment indicator will show L9 when remote I O communications stop CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 2 7 2 Nomenclature and Installation i Communications Connectors Color stickers that match comm
172. cee eee ee eee 6 5 6 2 Sending Explicit Messages ccce eee eee ees 6 7 6 2 1 Sending Explicit MessageS 0 eens 6 8 6 2 2 Sending Explicit Messages Using SendCmd Instruction 6 11 6 3 Receiving Explicit MessageS ccc cece 6 16 6 3 1 Listof PLE ODject Services cs4 Wee bale Co ewe acd ink Qe dae beh eee 6 17 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 1 6 Message Communications 6 1 Overview Message communications enable messages to be set between nodes on a DeviceNet network when required by system conditions It is possible for messages to be sent between a PLC and a DeviceNet master or slave made by another company You can use them to send receive data read time data error logs and other data or control operation e g refreshing with user specified values There is one type of messages Explicit messages 6 1 1 Outline of Message Communications Explicit message communications Overview General purpose message communications that uses DeviceNet protocol Remote e DeviceNet masters and slaves from other companies devices e C200H series DeviceNet Units CVM1 CV series DeviceNet Units and CS CJ series DeviceNet Units Features e Message communications with DeviceNet devices from other companies can be performed e Explicit messages from OMRON PLCs with C200H series DeviceNet Units and CVM1 CV series DeviceNet Units can be received Explicit messages can be s
173. changed using AT specified device variables for CJ series Unit that are allocated to the I O ports and AT specified user defined variables that are allocated to slave allocation areas From the user program the following is used to exchange various types of information CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Data type I O port memory used for CJ series Unit Access method Setting status Software switches sta Operation Data Device variables tus data for CJ series Unit Allocations setting table slave detailed status Slave area Fixed allocation 1 to 3 Fixed allocation 1 OUT CIO 3200 to CIO User defined vari 3263 words able IN CIO 3300 to CIO 3363 words Fixed allocation 2 OUT CIO 3400 to CIO 3463 words IN ClO 3500 to CIO 3563 words Fixed allocation 3 OUT CIO 3600 to CIO 3663 words IN ClO 3700 to CIO 3763 words User set allocation Any area of ClO DM WR HR and EM W a 3 m A gt g gt Co 0 S g 0 A U Cc C 2 rt By master user set allocation User set allocation Same as above By CX Integrator i How to Create Device Variables for CJ series Unit Use I O Map in Sysmac Studio to allocate device variables for CJU series Unit to an I O port Specify variable names using one of the methods shown below weIboId 1SN 24 Wol4 Buisseooy z E 1 Select and allocate existing variables 2 Input a new var
174. code No of bytes Error code code received Fixed at 94 Hex Source node address local node e When the explicit message execution failed or timed out 28 01 a eZ Command End code code L08z pues ebessoyy yoIdxy 1 V CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 41 Appendices Parameter Details Destination Node Address Command Specifies the node address of the explicit message destination The node address of the local Master Unit is specified as the input variables DstNetAdr Destination network address in the SendCmd instruction when the Explicit Message Send command is sent but the node address of the actual destination is specified here Service Code Command response For commands the service code defined by the DeviceNet is specified For normal responses the value for which bit 15 of the service code specified in the command turns ON is returned For error responses 94 hex which indicates an error is returned Class ID Command Specifies the class ID for the explicit message destination Instance ID Command Specifies the instance ID for the explicit message destination Service Data Command response For commands specifies the data defined by the service code For responses returns the data defined by the service code No of Bytes Received Response Returns the number of bytes received after Source local node Node Address
175. d Learning about the operat ing procedures and func tions of the Sysmac Studio Learning about the func tions and operating proce dures when the CJ series DeviceNet Unit is used in an NJ series system con figuration Learning about the com munications specifications and wiring methods com mon among the DeviceNet communications networks Learning about the DRT2 Series DeviceNet Slaves Learning about the Multiple I O Terminal which is a type of DeviceNet Slave Learning about C200H and CVM1 CV DeviceNet Mas ter Units Learning about the func tions and operating proce dure for CS CJ Series DeviceNet Units Learning about the CX Inte grator that is used to set up the DeviceNet networks and to make settings Description An introduction to the entire NJ series system is provided along with the following information on the CPU Unit e Features and system configuration e Introduction e Part names and functions e General specifications e Installation and wiring e Maintenance and inspection Use this manual together with the NJU series CPU Unit Software User s Manual Cat No W501 The following information is provided on a Con troller built with an NJ501 CPU Unit e CPU Unit operation e CPU Unit features e Initial settings e Programming based on IEC 61131 3 lan guage specifications Use this manual together with the NJU series CPU Unit Hardware User s Manual Cat No W50
176. d If the product code is set in the detailed verification settings then set ting the product code that is set in the scan list failed The device does not support the I O service specified in the scan list None None Log category System The DeviceNet Unit periodically performs reconnection processing for slaves Detection When trying to timing establish an ID connection Name e Correct the settings so that the master and slaves use the same baud rate e Adjust the communications cables of the trunk and branch lines to suit able lengths e Connect the communications cable securely If the communications cable is broken replace it e Connect terminating resistance only to the ends of the trunk line e Implement noise countermeasures Do not register the node address of the local Unit in the scan list Correct the scan list if the slave is cor rect If the slave is incorrect replace it with the correct slave CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Assumed cause Correction Prevention e Set the master and slaves to the same baud rate e Install suitable lengths of communi cations cables for the trunk and branch lines e Connect the communications cable securely Check to see if the com munications cable is broken e Connect terminating resistance only to the ends of the trunk line Implement noise countermeasures Do not register the node addre
177. d Incorrect The vendor registered in the scan d6 vendor list does not match the slave ven dor Incorrect The device type registered in the d6 device type scan list does not match the slave device type Incorrect The product code registered in d6 product the scan list does not match the code slave product code Incorrect The connection bus registered in d6 connection the scan list is set incorrectly bus Unsup The slave does not support the d6 ported con connection registered in the scan nection list CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 33 4 Remote I O Master Communications Condition Details 7 seg ment indica tor Fixed or I O communications error A timeout occurred during remote Reconnect with MS Not d9 user set I O communications The Slave the error Slave related allocations response timed out 6 times ina and continue NS row or an error occurred 3 times remote I O com Flashes in a row munications red Network power error The network is not supplying com MS Not EO munications power related Send timeout A communications request was NS Goes E2 not successfully completed due to out the following reasons e There are no devices on the network e Baud settings do not match for every node e CAN controller error MS Not Duplicated node address The master node address is the All communica same address as another node tions sto
178. d conduct a routine inspection This section describes the details on the commands for the message communcia tions and the completion codes of the message communications CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Manual Configuration CS C Series DeviceNet Unit Operation Manual Cat No W380 Section Section 1 Features and System Configuration Section 2 Nomecliature and Installation Section 3 Allocated CIO and DM Words Section 4 Remote I O Master Communications Section 5 Remote I O Slave Communications Section 6 Message Communications Section 7 Other Functions Section 8 Communciations Timing Section 9 Troublueshooting and Maintenance Appendix Description This section provides an overview of the DeviceNet Units and their features It also describes the operating procedure and the specifications of the DeviceNet Units This section describes the nomenclature functionality and installation of the DeviceNet Unit This section describes the data exchange between the CPU Unit and DeviceNet Unit and the definitions of the CIO and DM words allocated to the DeviceNet Unit This section describes the remote I O communications performed as a DeviceNet master by the DeviceNet Unit This section describes the remote I O communications performed as a DeviceNet slave by the DeviceNet Unit This section describes the message communications of the DeviceNet Unit This sectio
179. d data H Word data H Read data 200 bytes max Parameters Service Code command response 1C Hex is specified for commands For responses the high est bit will turn ON and 9C Hex will be returned Class ID command Always 2F Hex Instance ID command The type of area in the memory used for CU series Unit that will read the data is specified as shown in the following table Instance ID Hex CPU Unit memory area Word range for read 01 CIO 0000 to CIO 6143 03 D00000 to D32767 04 W000 to W511 05 HO00 to H511 08 to 14 EM banks 0 to C En_00000 to En_32767 n 0 to Address L Address H command The address of the first word from which to read the data is specified in hexadecimal as shown below Address L The lower 2 digits when the first word address is given in 4 digit hexadecimal Address H The higher 2 digits when the first word address is given in 4 digit hexadecimal No of Read Bytes command The number of bytes of read data is specified in 1 byte 2 digit hexadecimal The range is 01 to C8 Hex 1 to 200 decimal No of Bytes Received response The number of bytes received from the destination node address remote node is returned in hexadecimal Destination Node Address response The node address of the CJ series DeviceNet Unit that returned the response is returned in hexadecimal Read Data response The specified area word and byte data is returned in order from word H high byte bi
180. d to the control panel wir ing and other conditions You must therefore confirm that the overall machine or equipment complies with EC Directives The following examples show means of reducing noise 1 Noise from the communications cable can be reduced by installing a ferrite core on the commu nications cable within 10 cm of the DeviceNet Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 33 34 Regulations and Standards Ferrite Core Data Line Filter 0443 164151 manufactured by Fair Rite Products Co Ltd Impedance specifications 25 MHZ 56 Q 100 MHZ 250Q 30 mm 13 mm 29 mm 2 Wire the control panel with as thick and short electric lines as possible and ground to 100 Q min 3 Keep DeviceNet communications cables as short as possible and ground to 100 Q min CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Regulations and Standards Conformance to Shipbuilding Standards The NJ series Controllers comply with the following shipbuilding standards Applicability to the ship building standards is based on certain usage conditions It may not be possible to use the product in some locations Contact your OMRON representative before attempting to use a Controller on a ship i Usage Conditions for NK and LR Shipbuilding Standards e The NJ series Controller must be installed within a control panel e Gaps in the door to the control panel must be c
181. dSta 59 Registered Slave Table Corresponding to Node Address 59 Slave 12 RegSlavTbINdSta 60 Registered Slave Table Corresponding to Node Address 60 Slave RegSlavTbINdSta 61 Registered Slave Table Corresponding to Node Address 61 Slave RegSlavTbINdSta 62 Registered Slave Table Corresponding to Node Address 62 Slave 15 RegSlavTbINdSta 63 Registered Slave Table Corresponding to Node Address 63 Slave CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices CIO n 20 to n 23 Normal Slave Table The device variable for CJ series Unit that corresponds to all bits of 4 words from CIO n 20 to n 23 is as follows CJ series I O memory address NJ series device variables for CJ series Unit Wordaddress Bt Variablename CJseries function name CIO n 20 to 0 to 15 for each word NormSlavTblSta Normal Slave Table n 23 Bits 0 to 15 in each word correspond to the bits of this CJ series Unit device vari able as follows Bits 0 to 15 of CIO n 20 correspond to bits 0 to 15 of this CJ series Unit device variable Bits 0 to 15 of ClO n 21 correspond to bits 16 to 31 of this CJ series Unit device variable Bits 0 to 15 of CIO n 22 correspond to bits 32 to 47 of this CJ series Unit device variable Bits 0 to 15 of CIO n 23 correspond to bits 48 to 63 of this CJ series Unit device variable gt a y 6 gt A 5 gt 5 D g 0 TI m gt A ct fe W 3 Q gt
182. data Software switch status data Device variable for CJ series Unit AT specification Allocations setting table slave detailed status data Allocations setting table slave detailed status data Device variable for CJ series Unit AT specification Memory used for CJ series Unit Memory areas such as ClO and DM Slave I O message communications data Device variable for CJ series Unit AT specification CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit DeviceNet Unit Software switches I O refresh naa eo Status I O refresh Allocations setting table I O refresh Status I O refresh Slave output message communications data I O refresh Slave input message communications data I O refresh 3 3 W a 3 m A gt g e Q 0 g S 0 A U Cc C gt e Mo 4 2d H H 3 Data Exchange with the CPU Unit i Device Variable for CJ series Unit Device variables for CJ series Units are variables for which AT is specified for the I O port explained below The user program uses device variables for CJ series Unit to access the Configuration Unit such as DeviceNet Unit For allocation of the device variables for CJ series Unit to the I O port refer to How to Create Device Variables for CJ series Unit P 3 5 1 0 Port An I O port is a logical interface for data exchange by a CP
183. de Address 45 Slave Registered Slave Table Corresponding to Node Address 46 Slave Registered Slave Table Corresponding to Node Address 47 Slave A 21 Wwesbold Jasn wo Buissaooy Ul S8OUDIOWIG Z L Y gt y 6 gt A 5 gt 5 D ea 0 Tl m gt A c fe W 3 Q gt Q fe gt g 0 A U Cc a gt rF Z fe 2 v 0 8 Appendices CJ series I O memory address NJ series device variables for CJ series Unit CIO n 19 RegSlavTbINdSta 48 Registered Slave Table Corresponding to Node Address 48 Slave A 22 1 RegSlavTbINdSta 49 Registered Slave Table Corresponding to Node Address 49 Slave 2 RegSlavTbINdSta 50 Registered Slave Table Corresponding to Node Address 50 Slave 3 RegSlavTbINdSta 51 Registered Slave Table Corresponding to Node Address 51 Slave 4 RegSlavTbINdSta 52 Registered Slave Table Corresponding to Node Address 52 Slave 5 RegSlavTbINdSta 53 Registered Slave Table Corresponding to Node Address 53 Slave RegSlavTbINdSta 54 Registered Slave Table Corresponding to Node Address 54 Slave 7 RegSlavTbINdSta 55 Registered Slave Table Corresponding to Node Address 55 Slave RegSlavTbINdSta 56 Registered Slave Table Corresponding to Node Address 56 Slave RegSlavTbINdSta 57 Registered Slave Table Corresponding to Node Address 57 Slave 10 RegSlavTbINdSta 58 Registered Slave Table Corresponding to Node Address 58 Slave 11 RegSlavTbIN
184. ding to Node Address 12 Slave NormSlavTbINdSta 13 Normal Slave Table Corresponding to Node Address 13 Slave NormSlavTbINdSta 14 Normal Slave Table Corresponding to Node Address 14 Slave NormSlavTbINdSta 15 Normal Slave Table Corresponding to Node Address 15 Slave CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices CJ series I O memory address NJ series device variables for CJ series Unit CIO n 21 NormSlavTbINdSta 16 Normal Slave Table Corresponding to Node Address 16 Slave 1 NormSlavTblNdSta 17 Normal Slave Table Corresponding to Node Address 17 Slave 2 NormSlavTbINdSta 18 Normal Slave Table Corresponding to Node Address 18 Slave 3 NormSlavTbINdSta 19 Normal Slave Table Corresponding to Node Address 19 Slave 4 NormSlavTbINdSta 20 Normal Slave Table Corresponding to Node Address 20 Slave 5 NormSlavTbINdSta 21 Normal Slave Table Corresponding to Node Address 21 Slave NormSlavTbINdSta 22 Normal Slave Table Corresponding to Node Address 22 Slave 7 NormSlavTbINdSta 23 Normal Slave Table Corresponding to Node Address 23 Slave NormSlavTbINdSta 24 Normal Slave Table Corresponding to Node Address 24 Slave NormSlavTbINdSta 25 Normal Slave Table Corresponding to Node Address 25 Slave 10 NormSlavTbINdSta 26 Normal Slave Table Corresponding to Node Address 26 Slave 11 NormSlavTbINdSta 27 Normal Slave Table Corresponding to Node Address 27 Slave 12
185. ding warnings The specific operation is shown in the triangle and explained in text This example indicates a general precaution 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 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Safety Precautions WARNING During Power Supply Do not touch any of the terminals or terminal blocks while the power is being supplied Doing so may result in electric shock Do not attempt to take any Unit apart In particular high voltage parts are present in the Power Supply Unit while power is supplied 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 ODS Fail safe Measures 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 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 Controller outputs may remain ON or OFF due to deposition or burning of the output relays or destructi
186. displayed on the 7 segment indicator The error display will be cleared the next time that a software switch operation is completed normally 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 2 The most common causes of Unit status errors during settings switch operations are listed below e The master was stopped and a software switch operation relating to the master function was performed This does not include the master enable switch operation e The scan list was enabled and a software switch operation was performed that can only be performed while the scan list is disabled Scan list enable and fixed allocation setting operations e The scan list was disabled and a software switch operation was performed that can only be performed while the scan list is enabled Clear scan list and Backup Unit settings file operations e The slave was stopped and a software switch operation relating to the slave function was performed This does not include the slave enable switch operation 9 4 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Master Status 1 for CJ series Units CMstrSta _CMstrSta CMstrErr Master Error and Mstr71 OErr Remote I O Communica Perform error processing according to CMstrlOErr Communication Error
187. dresses in each block Each address is allocated at least one byte rightmost or leftmost byte e More than one word is allocated for each slave according to it s node address with more than 16 I O points e The leftmost or rightmost byte of the word is allocated to each slave that has 8 I O points or less 4 22 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications i Allocation Procedures Step 1 Set the area start word and words allocated for each block with the use of the CX Integrator Step 2 Allocate words to all node addresses in each block as shown below with the use of the CX Integra tor OUT block 1 To o Node address 00 DRT1 OD16 16 output pts Node address 03 DRT2 DA02 2 analog output points 32 bits Node address 01 DRT1 IDO08 8 input pts amp A r Q WV g 2 8 a O a Node address 02 DRT 1 ID08 8 input pts e Each address is allocated at least one byte rightmost or leftmost byte Note a You can set the order of all blocks as you desire O OUT block 1 IN block 2 10 2169 U X9 yno sbulnes L p y OUT block 2 IN block 1 E b Node addresses do not have to correspond between an output block and input block Example This is not necessary OUT block 1 IN block 1 Node address 01 Node address 01 Node address 02 Node address 02 Node address 03 Pp c The same node address can
188. e Use user defined variables to specify the AT specification of the memory used for CJ series Unit to which the slave is allocated Generally array variables are created Below is an example of allocation to user defined variables e Used with Master Fixed Allocation 1 e Used slaves 16 I O points 64 slaves In this case I O data of each slave is allocated as follows Words allocated ClO 3200 OUT slave I O data node address 0 ClO 3201 OUT slave I O data node address 1 I O data CIO 3263 OUT slave I O data node address 63 Allocate the I O data to the user defined variables as shown in the example below Name Data Type a Initial value AT Retain Comment En OutABit EN ENO nut InQut Slave_OutData_Al1 Pos Enter Variable BitVal BOOL x Slave_OutData_B 1 15 Mem UNION x Slave _OutData _C 15 b 15 i This example uses the following three data types e Slavei_OutData_A WORD type e Slave1_OutData_B BOOL type e Slave1_OutData_C union Use one of these data types or multiple data types to create user defined variables according to the user program When the user program accesses the slave only with WORD type use the WORD type user defined variables Slave1_OutData_A defined in the example CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit The user defined variables and I O data of each sl
189. e addresses 0 to 63 Data range 16 0000000000000000 to FFFFFFFFFFFFFFFF Default 16 0000000000000000 The following device variable for CJ series Unit is used when you execute an individual function for each slave Name of device variable for MstrCOSSendNdCmd 0 to 63 BOOL RW Master lt Operation specifications gt COS Send FALSE gt TRUE eat lor Sends COS output data to the corre Addies sponding slave 0 63 Slave FALSE Returns to FALSE when COS is sent Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 23 ie do lt D n D O O Cp ep D gt a ep o a gt D oO 3 Data Exchange with the CPU Unit 3 2 4 Disconnect Connect Switches 3 24 Use one of the following device variables for CJ series Unit is used to operate Disconnect Connect Switches from the user program e CnctCmd LWORD type device variable for CJ series Unit that is capable of operating switches for all slaves node addresses 0 to 63 e CnctNdCmd o0 to 63 BOOL type device variable for CJ series Unit that is capable of operating switches for any slave of node addresses 0 to 63 Bits 00 to 63 of _CnctCmd Disconnect Connect Switches and array elements of _CnctNdCmad 0 to 63 correspond to slaves at node addresses 0 to 63 If a bit or device variable for CJ series Unit is changed to TRUE then the remote I O communications to the slave will be temporarily stopped i e it
190. e using the connection path The user can use this method to specify the I O data type within the slave with which they would like perform master and remote I O communications The connection path is saved by the CX Integrator to the CJ series DeviceNet Unit scan list and when the remote I O communications are started the connection path is set to the slave via the DeviceNet network Master Connection Connection path Slave A 38 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices Master COS Send Switch COS transmission is possible only for User set allocations using the CX Integrator When required you can output the remote I O output data from the master to a specified slave In this case sending output data at the communications cycle timing to the specified slave by other con nections selected automatically or by the user only when using the CX Integrator is performed In this case the communications timing is not dependant on the communications cycle time but it is dependant on the CPU Unit cycle time Note When a master or slave sending data with COS communications must handle large quantities of data or when data is sent frequently using COS communications the communications cycle time may actually be longer than when using poll communications This can have a large impact on the performance of remote I O communications and delay responses Therefore give ample consideration to the
191. e Locations subject to condensation as the result of severe changes in temperature e Locations subject to corrosive or flammable gases e Locations subject to dust especially iron dust or salts e Locations subject to exposure to water oil or chemicals e Locations subject to shock or vibration Take appropriate and sufficient countermeasures when installing the Controller in the following loca tions e Locations subject to strong high frequency noise e Locations subject to static electricity or other forms of noise e Locations subject to strong electromagnetic fields e Locations subject to possible exposure to radioactivity e 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 Install the Controller away from sources of heat and ensure proper ventilation Not doing so may result in malfunction in operation stopping or in burning An I O bus check error will occur and the Controller will stop if an I O Connecting Cable s connector is disconnected from the Rack Be sure that the connectors are secure Do not allow foreign matter to enter the openings in the Unit Doing so may result in Unit burning electric shock or failure Do not allow wire clippings shavings or other foreign material to enter any Unit Otherwise Unit burning failure or malfunction may occur Cover the Units or take other suitable countermeasures especially duri
192. e Remote I O communications stop if DIP switch pin 3 remote I O com munications stop continue with a communications error on the front panel is ON stop This error occurs with the scan list enabled or dis abled FALSE Indicates that a remote I O communica tions error did not occur Or changes to FALSE when a remote I O communica tions error is cleared Default FALSE Mstr1SListErr BOOL Invalid Scan lt Operation specifications gt List Data TRUE Error os Indicates that there is incorrect data in the scan list mismatched checksum Remote I O communications in the Unit will stop Slave operations and message communications will continue FALSE Indicates that the scan list data is correct Changes to FALSE when an incorrect scan list data error occurs and then the correct scan list is registered Default FALSE 3 34 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Name of device variable for CJ series Unit Mstri1lORefErr Mstr1 FunSetErr Mstr1AlocErr om e e l l 3 Data Exchange with the CPU Unit Master I O Refresh Error Master Function Enable Dis able Failed Master User set Allocations User Set ting Failed CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Function lt Operation specifications gt TRUE Indicates that the I O memory in the CPU Unit that is to be refreshed is not present during I O refre
193. e TIME ccccceecccceececceceeeeesseeeceececeeeeeeseeeeeeuseeeceeeeeeeesssaeaaaseeeeeeeeeeeeeeeees 8 2 8 1 2 Calculating Guidelines for I O RESPONSE TIMES cccccecceceeeeeceeeeeeeeeeceeceeeeeeseusaaaeseeeeeeeeees 8 5 8 1 3 More than One Master in Network c cccccseeeceeecceeeeseeeeeeeseeeeeeeeeeeseeeeeeeessuseaeeeeeeesaeeseeeeeeseaaanas 8 7 8 1 4 SV SICM Ol all POs HNE saires earl eee cerns a lle neiagen taremauaeiuvoemreadi tee 8 8 8 2 Message COMMUNICATIONS wiciiciiccicsssacanecdesacas sn tece chawsnieec diane escendenuasssedeubissssadeedses sadasedessusdenris 8 10 8 2 1 Message COMMUNICATIONS TiMC ccccccccsseesseseeceececeeeeeaaeeeeeseeeeeeeeeeeesesaaeaeseseeeceeeeeessasaagageeees 8 10 8 2 2 Calculating the Maximum Message Response Time cccccceecsaseeseeeeeceeeeeeeeesaeaaaeeseeseeeeeeeess 8 11 Section 9 Troubleshooting and Maintenance 9 1 Troubleshooting with the DeviceNet Unit Indicators s sssssnssnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 9 2 9 1 1 Determining Operating Status from the Indicators ccc cceeeeeeeeeeeeeeeeeeeeeeeeaeeeseeeeeeeeeeeeesaeaaeneeeees 9 2 9 1 2 Troubleshooting Errors Occurring in the DeviceNet UNiit ccccceeceeeeeeeeeeeeeeeeeeeeeeeeeeeaeneaes 9 4 9 2 Error Log FUNCUONS soiirci niina aaaea oaa aa ara aaa aaa sadsuuasataianeuousn dienes 9 28 9 2 1 Eror OG TADE rnuia a aca ect Sahin eat dee caer al pea at soe dauie 9 28 9 2 2 Error Codes and Deta
194. e for Node Address 34 8 to 15 Nd35Sta Detailed Slave Status Table for Node Address 35 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 31 gt _ I N U O 4D O n a gt O O eD n O O 3 Appendices CJ series I O memory address NJ series device variables for CJ series Unit D m 61 0 to 7 Nd36Sta i Slave Status Table for Node Address vA Slave Status Table for Node Address D m 62 Slave Status Table for Node Address a Slave Status Table for Node Address D m 63 TAa Slave Status Table for Node Address a Slave Status Table for Node Address D m 64 oo Slave Status Table for Node Address co Slave Status Table for Node Address The device variables for CJ series Units that correspond to bits 0 to 7 and 8 to 15 of each word are as follows CJ series I O memory address NJ series device variables for CJ series Unit D m 65 moe Slave Status Table for Node Address via Slave Status Table for Node Address D m 66 e Slave Status Table for Node Address P Slave Status Table for Node Address D m 67 ie Slave Status Table for Node Address i Slave Status Table for Node Address D m 68 oe Slave Status Table for Node Address a Slave Status Table for Node Address D m 69 0 to 7 Nd52Sta Detailed Slave Status Table for Node Address 52 8 to 15 Nd53Sta Detailed Slave Status Table for Node Address 53 D m 70 0 to 7 Nd54Sta Detailed Slave Status Table for Node Address
195. e preceding table it takes time for DeviceNet communications to start up This pro gramming uses flags in the Master status area to prevents the Slaves I O processing from being performed until remote I O communications start up This programming is for a DeviceNet Unit with a unit number of 00 I O Data Communications Status aaaa_Mstr1l OCommSta STEP1 Unit Error aaaa_UnitErr Yd ped lt 14 O O O O D n 2 U O O D 0p 2 Q O a gt 49 gt Q ped lt 14 O CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 Communications Timing EN Additional Information Refer to 3 2 Device Variables for CJ series Unit Software Switches Statuses for details on the Master Status Area i Slave Function It takes approximately 12 seconds from the time that the Controller is reset or restarted including when the power is turned ON to the DeviceNet Unit slave until remote I O communications with the master begin 9 a l j A 0 A ch 0 a A a A il T c a Sul Anyej g W JS S 7 1 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 9 8 Communications Timing 8 2 Message Communications 8 2 1 Message Communications Time The message communications time is the time required from the time a Master Unit starts to send a message over the Network to another node until the Master Unit completes
196. e slaves Step 6 Turn ON the power to the Reflect the settings for the switches on the front panel of the Unit in the Unit Controller Switch ON the power in the sequence Communications power slave power Controller power or switch all three ON at the same time Step 7 Transfer the user programs Transfer user programs Unit Configuration and Setup and variable information Hardware setting and Rack assembly Step 8 Set up a network configuration Set when you use a unit as a master or a slave e 2 Q O O 2 Le mane Ww O 2 A Step 9 Main operation LL al Precautions for Correct Use A slave may not go online if the communications power supply is turned ON after the slave is turned ON CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 15 Features and System Configuration EN Additional Information e The communications power supply and slave power supply the slave power supply and Con troller power supply or all three of these power supplies may be turned ON simultaneously e When Step 6 is performed an I O Setting Check Error occurs when there is a Unit Configura tion in the CPU Unit which does not match the actual Unit Configuration In this case reset the Controller after Step 7 to cancel the error 1 16 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features
197. e sure that the configuration is correct Set the correct parameter settings in the user settings and execute the software switch operation again Execute the software switch opera tions one at a time CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Slave Function Enable Disable Failed 74630000 hex An error occurred in one of the following operations in the slave function e Slave Function Enable Switch device variable _Sw2S avEnbIiCma e Slave Function Disable Switch device variable _Sw2S avDsb Cma PLC Function Module Source details CJ series Unit At user operation timing a C An attempt was made to enable the slave function when it was already enabled Disable the slave function before you enable it Disable the slave function before you enable it Enable the slave function before you disable it Enable the slave function before you disable it An attempt was made to disable the slave function when it was already disabled CPU Unit is not in PROGRAM mode Change the CPU Unit to PROGRAM Change the CPU Unit to PROGRAM mode mode More than one software switch Execute the software switch opera Execute the
198. e variables for Slaves CJ series Unit Software Switches that you User set allocations By CX Integrator 16 Units max You must allocate unique words with the use of CX Integrator can mount By device vari 16 Units max You must allocate unique words with the use of device variables ables for Cu for CJ series Unit user setup tables series Unit No of Units that you can connect per network 64 Units max Words DeviceNet Fixed allocations Fixed words in the CU series DeviceNet Area in the CIO Area one of three set allo remote I O tings P n PROA User set alloca Any I O memory Set with the use of the device variables for CJ series Unit or ine caions tions CX Integrator memory used for When Fixed allocations Fixed words in the CJ series DeviceNet Area in the CIO Area one of three set CJ used as tings m a Slave User set alloca Any I O memory Set with device variables for CJ series Unit or CX Integrator nit tions I O port without power OFF retention 25 words Unit esses via the device variables for oy CPU Unit to DeviceNet Unit 9 words for the software switches etc 6 words for agian the status area 8 words for the registered slaves and normal slaves tables I O port with power OFF retention 100 words Unit decree en the device variables for CJ Scan List User Setup Table Slave User set Allocations Setup Table Master I O series Unit Allocations Reference Table Slave I O Allocations Refer
199. e with slave user set allo BS cations until slave communications are areas disabled Slave Stop Switch is changed to si A TRUE regardless of whether the power is S 2 turned OFF and back ON again Rs Note Disable slave communications before this switch is changed to TRUE After the switch is changed to TRUE change _Sw2SlavEnbiCmd Slave ms Enable Switch to TRUE to enable no User set Allocations y FALSE 3 Returns to FALSE at the start of operation a for slave user set allocations after they are 2 registered D Note _SlaviFunSetErr Slave Function lt Enable Disable Failed in Unit Status 2 will change to TRUE if there is a adi setting error Q Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Slave function is stopped Sw2SlavCOSSendCmd BOOL RW Slave COS lt Operation specifications gt See FALSE gt TRUE bl Sends COS input data to the master FALSE Returns to FALSE after transmission is completed regardless of whether it was completed normally or in error Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 21 3 Data Exchange with the CPU Unit Name of device variable for Sw2FileRestoreCmd BOOL RW Unit Setup lt Operation specifications gt File Restore Fal SE yTRUE Switch Reads Unit settings for details on the scan list communications cycle time set tings etc refer to 7 1 SD Memory Card Backup Functions on pa
200. eNet communicates properly F u B A i 5 Q U g A g f EN Additional Information You can turn OFF disconnected remote I O communications with a specified slave by changing CnctCmd Disconnect Connect Switches to TRUE when a slave is replaced or is registered in the scan list prior to connection These switches however are changed to FALSE when the power supply is turned OFF however so a bit must be turned back to TRUE from the user pro gram when the power turns ON for it to be valid again Using the Slave Function To use the slave function the _Sw2SlavEnbiCmd Slave Enable Switch must be changed to TRUE from Sysmac Studio With fixed allocations or allocations set in the device variables for CJ series Unit slave communications must be disabled prior to area allocation and must be enabled following the area allocation The order of the procedure is thus Slave Stop Switch if slave communications are enabled area allo cation and Slave Enable Switch dINPS90Jg AnwelS HUN N Z Y Note Enable slave communications through CJ1W DRM21 properties if you use a CX Integrator CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 19 1 Features and System Configuration Create an I O table and switch the CPU Unit to PROGRAM mode Fixed Allocations User set Allocations Using Device Variables for User set Allocations Using CX Integrator Refer to 5 2 Fixed Allocations Cu series Un
201. eceiving time Tarr DeviceNet header 3 bytes Number of words to be read x 2 203 bytes Therefore Tarr 1 203 bytes 6 communications cycle time 35 communications cycle time e DeviceNet Unit refresh time Tar 2 ms The message response time will be as follows Taw Tcrpu X 8 Tay X 35 Tre x 2 x 8 3 80 105 32 220 ms i Precautions for Correct Use The above equations can be used to find the approximate message response time but this is the typical time not the maximum time The message response time will vary depending on the fre quency of message communications the load on the remote node the communications cycle time and other factors For any one DeviceNet Unit the message communications time can be greatly increased due to heavy loads and the user program must be written to allow for this CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Troubleshooting and Maintenance SSS This section describes error processing periodic maintenance operations and trouble shooting procedures needed to keep the DeviceNet network operating properly We recommend reading through the error processing procedures before operation so that operating errors can be identified and corrected more quickly 9 1 Troubleshooting with the DeviceNet Unit Indicators 000000es 9 2 9 1 1 Determining Operating Status from the Indicators 005 9 2 9 1 2 Troubleshooting Errors Occurring in the
202. eck to make sure the master is ing normally If itis not investigate the operating normally cause and then perform corrective actions The master and slaves have different Correct the settings so that the mas Set the master and slaves to the baud rates ter and slaves use the same baud same baud rate rate Communications cable lengths trunk Refer to the communications specifi Refer to the communications specifi line and branch lines are unsuitable cations and adjust all of the communi cations and adjust all of the cables to cations cables to suitable lengths suitable lengths A communications cable is discon Connect the communications cable Connect the communications cable nected or loose securely If the communications cable securely Check to see if the commu is broken replace it nications cable is operating properly The terminating resistance is some Connect terminating resistance only Connect terminating resistance only where other than the ends of the trunk to the ends of the trunk line to the ends of the trunk line line Implement noise countermeasures Implement noise countermeasures Attached None information Precautions None Remarks amp m 6 A r amp W suoduos q JOA p 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 57 9 Troubleshooting and Maintenance Event name Meaning Source Error attributes Effects System defined var
203. ection size is an even number of bytes the number of allocated words is bytes 2 gt A j 5 3 l a gt ke 5 q v If the connection size is an odd number of bytes the number of allocated words is bytes 1 2 Connecting to another Company s Configurator When another company s configurator a tool that makes environment settings on DeviceNet Mas ters and Slaves is connected it will be able to read settings from OMRON Masters and Slaves but not change them When another company s configurator is used we recommend you create an OMRON DeviceNet Slave EDS file a file that contains each Slave s parameters and operating information Refer to the OMRON DeviceNet Slave device profile as well as the Configurator s manual for details on creating an EDS file CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 43 Appendices i Master Unit Device Profile General data Compatible DeviceNet Specifications Volume Release 2 0 Volume II Release 2 0 Vendor name OMRON Corporation Vendor ID 47 Device profile name Communication Adapter Profile number 12 Manufacturer revision 1 1 Physical conform Network current consumption 24 VDC 30 mA max ance data Connector type Open plug Physical insulation Yes Supported indicators Module Network MAC ID setting Rotary switch Default MAC ID 63 Baud rate setting DIP switch Supported baud rates 125 kbit s 250 kbit s and 50
204. ed Refer to BusoffErr Bus Off Error Default FALSE 3 30 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for l1OCommSta BOOL Remote I O lt Operation specifications gt Communi TRUE catons Sta ridicaise thabrenicte O communications tus are being performed for the master func tion Note This variable only indicates the start of remote I O communications and does not indicate whether data was actually exchanged with slaves Actual data exchange between one or more slaves is monitored from Mstr1lIOCommSta_DRM I O Data Communications Status Therefore use the I O Data Communications Status rather than this bit as the input condition in I O processing for slaves from the program FALSE Indicates remote I O communications stopped Normally the Unit will perform remote I O communications automatically Note This bit only indicates the start of remote I O communications and does not indicate whether data was actually exchanged with slaves Actual data exchange between one or more slaves is monitored from Mstr1lOCommSta I O Data Com munications Status Therefore use the I O Data Communications Status rather than this bit as the input con dition in I O processing for slaves from the program Default FALSE MstrEnblSta BOOL Master lt Operation specifications gt Function TRUE Enabled es Indicates that m
205. eee enna enna 1 11 DEVICE TEMG xine Ketel E 3 5 DEVICETYPE errea aie ter eet te ener nacre Rar ern eae rte aa 4 11 Device variable for CJU series Unit 3 2 3 4 3 9 PIP SWC dunean a r 2 6 Disconnect Connect Switch ccceccceceeeeeeees 3 24 A 10 B IPA av gpa ne eet te Pra oe eR o gt PO es PSO ree eee A 2 PGE WNGICALON sextet ceo eet 6 cai cae al ie ee el ee 2 2 E EEPROM ice ricssecite shat tortie tte acne oN cael ties to ad 1 11 Eror code orner a aa E 2 4 9 28 Error history registration yes no sseeseeeeeesennnnnn 1 23 Error History Registered Flag eeeees 3 32 A 15 Error is occuring C200H Master Replacement Area c ccceee A 28 Error is occurring or Remote I O Communications is stopped due to error Master Error 0008 A 28 Establishing CONNECTIONS ceceeee sees 9 45 9 46 9 55 EVE S ET E E E E E nc teh cansei ween ees 9 35 Event code anen a eines 9 36 Event l vel scidscdctes ces sculversessccase a a a ae aE 9 36 Event LOG seie a elena na 9 35 Event name scerna a e i 9 36 EXPICIL MESSE orron asire r a ANER 6 2 Explicit message communication ssssseseseseeeerrrereen 1 7 F File Read Write Error ccccceeeeeeeeeeeees 3 32 9 58 A 15 Fixed allocation a eneenonnennneennennnnennnnnn 1 7 1 17 4 2 4 14 I VO BUSChECK Eror iane ences 9 32 I O Data Communications Not Running Status C200H Master Replacement Area
206. eeeeeceeeeeeseeeeeeeeeeeeessaeaeaaaeeeeeeeeeeeeeeeesaaaaes 6 2 6 1 2 Explicit Message C ommun ations eisiea a EE POTEST EE TEESE 6 3 6 1 3 Message Communications SpecifiCAatioNS cccccccccsesssesseeeeeeeeeeeeeeeeeeeeeaeeeceeeeeeeeeeseeseeaaaeseeesess 6 4 6 1 4 Message Communications Error INGiCations ccccccccssesssseceececeeeeeeeseeeseseeceeeeeeeeseeeaaensnseeeeeeess 6 5 6 1 5 Message Montong TIME tessciat aut sis cit a insula dicta tassel a a e a 6 5 6 1 6 Message Communications Errors sarea eee lee tee 6 5 6 2 Sending Explicit Messages issis A Ai aAA ARA 6 7 6 2 1 Sending EXDICEMESS IOCS eraai E e ce es Rien ieeieciean das 6 8 6 2 2 Sending Explicit Messages Using SendCmd Instruction ccccccccecceeeseseeeeeeceeseseeeeeeeeeeees 6 11 6 3 Receiving Explicit MESSAGES ssssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn 6 16 6 3 1 List or PLO BIECESENVICES raia E E A G 6 17 Section 7 Other Functions 7 1 SD Memory Card Backup Function isiiiccnssiisiceeniscisvaincntesessatedenessesvdeccunsdadassceusedinvavedeuscusuncs 7 2 7 1 1 OUTS O TP UITAG TG IS casts ctontse Sassen staactmatea ua aches S 7 3 7 1 2 IO UIN GINO S cae e a cated oddunncteue dd daciadcndcmantaenddcsaecece e axe ddesatoaemeactas 7 4 Section 8 Communications Timing 8 1 Remote 1 0 Communications CharacterisStiCs ssssscccsssssscsssssseessessseeesessseessessseesssssseessossseenses 8 2 8 1 1 COMMUNICATIONS Cycl
207. eeeseeeeeeeeeess 4 31 Example of User Program for Remote 1 0 COMMUNICATIONS s ssssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 4 32 Errors that May Occur in Remote I O Communications s ssssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 4 33 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 13 CONTENTS Section 5 Remote I O Slave Communications 5 1 Slave Remote 1 0 COMMUNICAUONS sviviiiscssccesscanscvcsnsancnsdnavanvesssvasusasessinvonssivecntersvscuntdnsessnentines 5 2 5 1 1 Allocatom Method S iesin i o cn ne eee Ne See e eee ree ee mae to eer ee ee ee 5 2 5 1 2 Remote I O and Slave Communications Specifications ccccccccsseeeeeeeeeeeeeeeeeeeseesaeeseseeeeeeeeees 5 3 5 1 3 Procedures for Using Remote I O Slave COMMUNICATIONS cccccccecceceseeseeeeeeeeeeeeeeeseaeaaeeeeeees 5 4 5 2 FIXED ANOCAUONS iiinis e AAAA ENEE 5 7 5 2 1 PUOCALCG VVONG Sick seein sure a ae a a E T 5 7 5 3 LUSEMSEL AIO CAQUONS iiicisicai cviceasiivavindsadiuvudsteviens sscuesisyisunedsasvincsadiivusksgdivnusanssasndueusaueralersucdaeniines 5 9 5 3 1 Seting through XAMTEGratO sancs a E E E E alata oka eaccees 5 9 5 3 2 Settings through Device Variables for CJ series Unit Slave User set Allocations Setup Table cccccccccecssesssseeeeeeeceeeeessaeaeeeseeeeeeeeeesesssaeaeeeeseeees 5 12 Section 6 Message Communications 6 1 OVENI W ocana NA 6 2 6 1 1 Outline of Message Communications ccseeeeeececcece
208. eference information concerning Slave Table all slaves in the Normal Slave Table Bits 00 to 63 correspond to information for slaves at node addresses 0 to 63 Data range 16 0000000000000000 to FFFFFFFFFFFFFFFF Default 16 0000000000000000 The following device variable for CJ series Unit is used to reference individual slave information Name of device variable for NormSlavTbINdSta 0 to 63 BOOL Normal TRUE ake Table indicates normal connection orre sponding to PALSE Node Indicates that not all connections are Addresses made 0 to 63 Default FALSE Slave ne L M Z Q 3 v U g D D oO D CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 47 3 Data Exchange with the CPU Unit 3 2 13 C200H Master Replacement Master Status 1 To simplify changes to user programs for a C200H DeviceNet Master Unit C2O0OHW DRM21 V1 C200H Master Replacement Master Status 1 which has the same bit configuration as Master Status Area 1 is provided for this Unit The following device variable for CJ series Unit is used to execute all functions of C200H Master Replacement Master Status 1 Name of device variable for CMstrSta WORD C200H Bit 00 Unit Memory Error Master Bit 01 Node Address Duplicated Bus Off Replace Error a Bit 02 Reserved by system Bit 03 Configuration Error Bit 04 Structure Error Bit 05 Send Error Bit 06 Communication Error Bit 07 Verification Error Bit 0
209. ence Table Detailed Slave Status Table etc CPU Unit to DeviceNet Unit Table for communications cycle time settings Other I O memory Using the user Set the allocation size table for all slaves in any area when remote I O communica defined variable for R W to the allocation tions is set to user set allocations according to the setting in the device variables area for CJ series Unit Supported connections communications e Remote I O communications master and slave Master slave connection poll bit strobe COS cyclic e Explicit message communications Explicit connection All conform to DeviceNet communications standards CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 7 1 Features and System Configuration Remote I O master com munications 1 8 Item Specifications Slave allocation method Fixed allo Select one of the following fixed allocations areas with the use of the Using the user defined vari cations device variables for CJ series Unit Fixed Allocations Area Switches 1 2 able for R W to each alloca and 3 Allocated I O Size Fixed Fixed Fixed words CIO Alloca Alloca Alloca Area tion tion tion Area Area Area Setting Setting Setting 1 2 3 Output 64 words 3200 to 3400 to 3600 to OUT area 3263 3463 3663 Input IN 64 words 3300 to 3500to 3700 to area 3363 3563 3763 Select one of the above areas with the use of the software sw
210. ency of message communications the load on the remote node the communications cycle time and other factors For any one Master Unit the message communi cations time can be greatly increased due to heavy loads and the user program must be written to allow for this 8 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 Communications Timing 8 2 2 Calculating the Maximum Message Response Time The message response time is the time required from the time a DeviceNet Unit starts to receive an I O memory read request message BYTE DATA READ explicit message until the DeviceNet Unit com pletes sending the response message to the client The message response times described below are based on the following conditions e Only one DeviceNet Unit is mounted e The I O memory read request is returned from CPU Unit in 2 CPU Unit task periods e Baud rate 500 Kbit s e Communications cycle time 3 ms no remote I O communications e CPU Unit task period 10 ms e DeviceNet Unit s refresh time on the CPU Unit 2 ms Request from One Client BYTE DATA READ Task Task BYTE DATA READ processing CPU Unit task period x 2 Shared memory DeviceNet internal buffer e N 0 O g Client TBRS TCPU TCPU TRM TBRR Shown below is the response time required to return data for 100 words e BYTE DATA READ request sending time Tprs DeviceNet header 4 bytes Parameters 3 bytes 7 by
211. ent margin in shut off performance Refer to the relevant manuals for surge current specifications Refer to the NJU series CPU Unit Hard ware User s Manual Cat No W500 for surge current specifications If the full dielectric strength voltage is applied or turned OFF using the switch on the tester the gener ated impulse voltage may damage the Power Supply Unit Use the adjustment on the tester to gradu ally increase and decrease the voltage e Apply the voltage between the Power Supply Unit s L1 or L2 terminal and the GR terminal when test ing insulation and dielectric strength Do not supply AC power from an inverter or other device with a square wave output Internal temper ature rise may result in smoking or burning Always input a sinusoidal wave with the frequency that is given in the NJ series CPU Unit Hardware User s Manual Cat No W500 Install external breakers and take other safety measures against short circuiting in external wiring i Turning ON the Power Supply e It takes up to approximately 10 to 20 s to enter RUN mode after the power is turned ON During that time outputs will be OFF or will be the values specified in the Unit or slave settings and external communications cannot be performed Use the RUN output on the Power Supply Unit for example to implement fail safe circuits so that external devices do not operate incorrectly Configure the external circuits so that the power supply to the control system turns
212. ent to OMRON PLCs with C200H I O Link Units Explicit message Message communications functions communications function Overall Structure Receive NJ Series CPU Unit DeviceNet Unit SendCmd instruction 2801 Hex Explicit 2801 Explicit message mea R function DeviceNet network DeviceNet message communications Explicit message EN Additional Information If only the message communications function is being used and the remote I O communications function is not being used message communications are possible even if the master function is disabled In this case it is not necessary to register a scan list 6 2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications 6 1 2 Explicit Message Communications You can send service requests to DeviceNet masters and slaves made by other manufacturers and OMRON slaves C200H I O Link Units CS series DeviceNet Units etc with the use of explicit mes sages defined for DeviceNet Service requests to read write CPU Unit status and I O memory can also be received from PLCs with C200H series DeviceNet Units C200HW DRM21 V1 PLCs with CVM1 CV series DeviceNet Units CVM1 DRM21 V1 PLCs with CS CJU series DeviceNet Units and DeviceNet masters made by other manufacturers using explicit messages EN Additional Information A specific command 2801 is used to send explicit messages Network com You can use
213. er MAC address The following information is provided on the ID information label Item Description Unit model Gives the model of the Unit Unit version Gives the unit version of the Unit Lot number and Gives the lot number and serial number of the Unit serial number DDMYY Lot number O For use by OMRON xxxx Serial number M gives the month 1 to 9 January to September X October Y November Z December MAC address Gives the MAC address of the built in port on the Unit Confirming Unit Versions with Sysmac Studio You can use the Unit Production Information on the Sysmac Studio to check the unit version of the CPU Unit CJ series Special I O Units CJ series CPU Bus Units and EtherCAT slaves The unit versions of CJ series Basic I O Units cannot be checked from the Sysmac Studio CPU Unit and Cj series Units 1 Double click CPU Expansion Racks under Configurations and Setup in the Multiview Explorer Or right click CPU Expansion Racks under Configurations and Setup and select Edit from the menu The Unit Editor is displayed for the Controller Configurations and Setup layer CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Unit Versions 2 Right click any open space in the Unit Editor and select Production Information The Production Information Dialog Box is displayed Production information Model information NI501 15000 Ver 1 00 Hardware version D F D D D Software version S
214. er Status 1 for CJ series Units CMstrSta _CMstrSta Check the parameters in the user set tings and try the operation again Execute software switch operations one at atime CMstrErr Master Error and Mstr1StruErr Structure Error Set the slaves node addresses again CMstrStruErr Structure Error are UnitErr Unit Error and _MstrFunErr TRUE Master Function Error are TRUE CMstrErr Master Error and Mstr1StruErr Structure Error Set the slaves node addresses again CMstrStruErr Structure Error are UnitErr Unit Error and _MstrFunErr or use user set allocations TRUE Master Function Error are TRUE F g 7 3 ct a S g g D Z g gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 7 9 Troubleshooting and Maintenance ee Seg ment 1 Structure error 2 Unsup ported slave Verification error 2 Non exis tent slave flashing Error Likely cause category The size of the slave s input and or output area exceeded 200 bytes Occurs with the scan list disabled A slave registered in the scan list doesn t exist or the local node s master s node address is regis tered in the scan list Occurs with the scan list enabled DeviceNet Unit response The master will periodi cally attempt to reconnect with the slave with the structure
215. er is not duplicated on another Special Unit Use the Synchronize function to compare the Unit Configurations Use one of the following procedures according to the comparison results e Correct the Unit number setting e Correct the project Unit Configuration and transfer to the CPU Unit Restart the Unit If operation is not restored even after the Unit is restarted replace the Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Error Probable cause The DeviceNet Unit s MS indicator is ON and e f the DeviceNet Unit s 7 segment indicator is displaying an error green but the NS indicator continues to flash code refer to the tables in 9 7 Troubleshooting with the DeviceNet green Unit Indicators The green NS indicator normally goes ON e Restart the Unit If operation is not restored even after the Unit is about 2 seconds after the green MS indicator restarted replace the Unit goes ON The DeviceNet Unit s MS and NS indicators are Check that the Master Unit s baud rate matches the baud rates set ON and green but the 7 segment indicator con on all of the slaves If they don t match set all of the baud rates to the tinues to flash the master s node address same value If the slave is connected correctly the local Make sure that there are121 Q terminators connected at both ends node address normally goes ON within 8 sec of the trunk line Connect 121 Q termin
216. ered scan list Occurs with the scan list enabled The device does not sup port the I O service speci fied in the scan list Occurs with the scan list enabled A timeout occurred during remote I O communica tions using the master function The response from the slave timed out 6 consecutive times DeviceNet Unit response The master will periodi cally attempt to reconnect with the slave with the veri fication error The master will periodi cally attempt to reconnect with the slave with the veri fication error The master will periodi cally attempt to reconnect with the slave with the veri fication error Records the error in the error log The master will periodically attempt to reconnect with the slave with the verification error Records the error in the error log The master will periodically attempt to reconnect with the slave with the verification error Records the error in the error log The master will periodically attempt to reconnect with the slave with the verification error Records the error in the error log The master will periodically attempt to reconnect with the slave with the error but remote I O communications will stop if the master is set to stop communications Error log Hex 0344 0344 0344 0344 0344 0344 0345 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 2 Whe
217. eries CPU Unit DeviceNet Unit manufacturer Explicit Header Header Explicit message zat message Led P DeviceNet Use 28 01 for the network command code H Header eader Response A Response lt The local DeviceNet Unit is specified as the destination in the communications instruction in the PLC s user program not the OMRON Special Slave or DeviceNet device made by another manufacturer and the node address of the actual destination i e the DeviceNet Slave or Master made by another manu facturer is specified in the command data for the explicit message send command i Command CPU Unit SendCmd instruction Send Input variable DnetAdr lt Cmd InDNetAdr NetNo Destination network address Set 0 local network InDNetAdr NetNo Destination node address Set 0 communications within local PLC InDNetAdr UnitNo Destination unit address Set unit number 16 10 Explicit message OMRON special slave or master not by OMRON or slave not by OMRON H Precautions for Correct Use Depending on the network status the destination slave may not always accept an explicit mes sage Always perform retry processing when sending explicit messages i EXPLICIT MESSAGE SEND 28 01 EXPLICIT MESSAGE SEND will send an explicit DeviceNet message to the specified class and receive a response Command Block 28 01 534 bytes
218. eries DeviceNet Units Operation Manual for NJ series CPU Unit W497 NJ series device variables for CJ series Unit CJ series function name Disconnect Connect Switch for Node Address 0 Slave Disconnect Connect Switch for Node Address 1 Slave Disconnect Connect Switch for Node Address 2 Slave Disconnect Connect Switch for Node Address 3 Slave Disconnect Connect Switch for Node Address 4 Slave Disconnect Connect Switch for Node Address 5 Slave Disconnect Connect Switch for Node Address 6 Slave Disconnect Connect Switch for Node Address 7 Slave Disconnect Connect Switch for Node Address 8 Slave Disconnect Connect Switch for Node Address 9 Slave Disconnect Connect Switch for Node Address 10 Slave Disconnect Connect Switch for Node Address 11 Slave Disconnect Connect Switch for Node Address 12 Slave Disconnect Connect Switch for Node Address 13 Slave Disconnect Connect Switch for Node Address 14 Slave Disconnect Connect Switch for Node Address 15 Slave A 11 Wwesbold Jasn wo Buissaooy Ul S8OUDIOWIG Z L Y gt y 6 gt A 5 gt 5 D g 0 Tl m gt A c fe W 3 Q gt Q fe gt g 0 A U Cc a gt rF Z fe 2 v 0 8 Appendices CJ series I O memory address NJ series device variables for CJ series Unit CIO n 7 CnctNdCmd 16 Disconnect Connect Switch for Node Address 16 Slave A 12 1 CnctNdCmd 17 Disconnect Connect S
219. error e If a slave is involved the master will periodically attempt to reconnect e f the master is involved it will not send an OPEN frame to itself 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 2 When a master function structure error or verification error occurs only the most recent error is displayed for each slave If the Unit is set to stop the remote I O communications for a communications error two errors can be displayed The slave s communications error and its most recent error 9 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Master Status 1 for CJ series Units CMstrSta _CMstrSta CMstrErr Master Error and Mstr1StruErr Structure Error Use slaves with input and output CMstrStruErr Structure Error are UnitErr Unit Error and _MstrFunErr areas of 200 bytes max TRUE Master Function Error are TRUE CMstrErr Master Error and Mstr1 VefyErr Verification Error Check the following CMstrVefyErr Verification Error are UnitErr Unit Error and MstrFunErr e Matching master and slave baud TRUE Master Function Error are TRUE rates Proper cable lengths trunk and branch lines Broken or loose cables Installation of terminators only at both ends of the trunk line Excess
220. es CPU Unit W497 3 43 BUEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSMETS SOURIMS M Da ee S iq ep o Cc ZA 3 Data Exchange with the CPU Unit Name of device variable for Slav1lO2CommSta BOOL Remote I O lt Operation specifications gt Communi TRUE meta ae Indicates that an I O connection is estab lished for OUT 2 IN 2 and the slave is con ducting normal remote I O communications with the master FALSE Indicates that an I O connection is not established for OUT 2 IN 2 and the slave is not conducting normal remote I O com munications with the master Usage example When writing the user program for slave remote I O communica tions use this bit as an N O input condi tion to control I O processing with the master Default FALSE Slav1l01CommSta BOOL Remote I O lt Operation specifications gt Communi TRUE ae Indicates that an I O connection is estab lished for OUT 1 IN 1 and the slave is con ducting normal remote I O communications with the master FALSE Indicates that an I O connection is not established for OUT 1 IN 1 and the slave is not conducting normal remote I O com munications with the master Usage example When writing the user program for slave remote I O communica tions use this bit as an N O input condi tion to control I O processing with the master Default FALSE 3 44 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497
221. esponding to Node Address 40 Slave NormSlavTbINdSta 41 Normal Slave Table Corresponding to Node Address 41 Slave 10 NormSlavTbINdSta 42 Normal Slave Table Corresponding to Node Address 42 Slave 11 NormSlavTbINdSta 43 Normal Slave Table Corresponding to Node Address 43 Slave 12 NormSlavTbINdSta 44 Normal Slave Table Corresponding to Node Address 44 Slave NormSlavTbINdSta 45 Normal Slave Table Corresponding to Node Address 45 Slave NormSlavTbINdSta 46 Normal Slave Table Corresponding to Node Address 46 Slave 15 NormSlavTbINdSta 47 Normal Slave Table Corresponding to Node Address 47 Slave CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices The device variable for CJ series Units that correspond to bits 0 to 15 of 4 words from CIO n 20 to n 23 are as follows CJ series I O memory address NJ series device variables for CJ series Unit CIO n 23 NormSlavTbINdSta 48 Normal Slave Table Corresponding to Node Address 48 Slave 1 NormSlavTbINdSta 49 Normal Slave Table Corresponding to Node Address 49 Slave 2 NormSlavTbINdSta 50 Normal Slave Table Corresponding to Node Address 50 Slave 3 NormSlavTbINdSta 51 Normal Slave Table Corresponding to Node Address 51 Slave 4 NormSlavTbINdSta 52 Normal Slave Table Corresponding to Node Address 52 Slave NormSlavTbINdSta 53 Normal Slave Table Corresponding to Node Address 53 Slave NormSlavTbINdSta 54 Normal Slave Table C
222. essage communications response l Bit 15 ON 0107 Transmission failed because the other node is Bits 14 to 8 0 not participating in the network Bit 7 ON 0108 Transmission failed because there is no Unit Bits 6 to 0 Node address of command source with the specified unit number 0109 Transmission failed because the other node is busy 010B Transmission failed because of a CPU Unit error Frame discarded due to one of the fol lowing e A cyclic service monitoring timeout occurred e A CPU Unit watchdog timer error occurred e Another CPU Unit error occurred 010D Transmission failed because the destination address is not registered in the routing table 010E Transmission failed because the routing table has not been registered 010F Transmission failed because of a routing table error 0110 Transmission failed because of too many repe titions 0111 Transmission failed because the command exceeded the max command length 0112 Transmission failed because of a header error 0117 Packet discarded because the internal recep tion buffer is full 0118 Illegal packet discarded 0120 Unexpected routing error 0123 Packet discarded because the internal trans mission buffer is full 0124 Routing failed because maximum frame length was exceeded 0125 Packet discarded because of response time out 021A Setting table logic error 00 Hex 03 Hex Routing table Yes OA Hex Master scan list
223. et Unit 4 1 Master Remote I O Communications 00 0cce cena eee e ea eeeee 4 2 4 1 1 PUIOGATIONS 4 4 stator eis hoe pat ae eaten bal ede eaten od acdoe dates Fant 4 2 4 1 2 Remote I O Master Specifications 0 0 ees 4 5 4 1 3 Precautions on the Number of Master Units 2 2004 4 6 4 1 4 Procedure for Using Remote I O Master 00 cc eee eens 4 8 d2 SCAN LISE uniera h oak ae ice es wae Waa ee hee es aca ease eee eae 4 11 4 2 1 CAMS Eeer dae g domes wt eee retires cra ee ore een ee sien eras Bae EO 4 11 4 2 2 Scan List Enabled and Scan List Disabled 000005 4 12 4 2 3 Backing Up the Scan List 0 0 0 cc ees 4 13 4 3 Fixed AMOCAUONNS cirein ional 4 14 4 3 1 Allocated WOrdS rse care tinaa eea ea aa ee ea E a a A 4 14 4 3 2 Allocation Procedures anaana 4 15 4 3 3 Changing System Components 00 0 eee ee 4 18 4 3 4 Fixed Allocations Example 0 eee eens 4 19 4 4 User set Allocations isisos siete cee ised eevee ers sewerGneaas 4 20 4 4 1 Settings through CX Integrator 0 0 0 0 eee 4 22 4 4 2 Settings through Device Variables for CJ series Unit Master User set Allocations Setup lable 20 ecsaenteaeeieaeceweesetesi Paes seed 4 25 4 5 Starting and Stopping Remote I O Communications 005 4 31 4 5 1 Starting Remote I O Communications 0000 cece eee eee 4 31 4 5 2 Stopping Remote I O Communications
224. et too high The DeviceNet Unit uses this timer to monitor message timeouts The CPU Unit performs the monitor ing based on the response monitoring time for SendCmd instruction There will be no effect therefore if either the message monitoring timer or the response monitoring time for SendCmd instruction setting only is increased or decreased Both must be increased or decreased for there to be an effect SUONEOIPU JOU suoeounwwon ebessey p 1 9 Set the response monitoring time for the SendCmd instruction the same as or longer than the message monitoring timer i e Response monitoring time for the SendCmd instruction gt Message monitoring timer If a lot of timeouts occur maintain this relationship but lengthen the time for both 6 1 6 Message Communications Errors The following table shows the main errors that occur when messages are sent or received Refer to Section 9 Troubleshooting and Maintenance for countermeasures and errors recorded in error history that are not shown by the indicators CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 5 6 Message Communications Error Network power error Send timeout Routing table error Node address duplicated Bus Off detected CPU Unit service monitoring error Other CPU error Local node not part of network cannot send No of retries limit exceeded cannot send Remote device busy cannot send Header error cannot send Reception buffer full me
225. etting Setting 2 3 1 1 word 3370 3570 3770 1 word 3270 3470 3670 Select one of the preceding areas with the use of the software switches All are fixed at 1 word per node address The default setting is Fixed Allocation Area Setting 1 By CX Set the areas for the OUT 1 and IN 1 2 blocks total of 3 Integrator blocks the first words and the slave allocation sizes with the use of the CX Integrator Output OUT area to the slave from the master Input IN area to the master from the slave User set allocations Allocated The input and output areas can be the fol words lowing sizes that start from any word in any of the following areas CIO Area WR Area HR Area DM Area or EM Area Output OUT area from this 100 slave words x 1 Input IN area to this slave 100 words x 2 By device Set the areas the first words and slave allocation size for variable for the OUT 1 and IN 1 blocks total of 2 blocks with the use CJ series of the device variables for CJ series Unit Slave User set Unit Allocations Setup Table Allocated The input and output areas can be the fol words lowing sizes that start from any word in any of the following areas CIO Area WR Area HR Area DM Area or EM Area memory used for CJ series Unit Output OUT area from this 100 slave words x 1 Input IN area to this slave 100 words x 1 Max No of I O points per Fixed allocations 32 points 1 input word 1 output w
226. eviceNet Units Set the communications speed cor rectly and restart the DeviceNet Units Replace the CPU Unit if the error recurs when the Controller is restarted Create the Unit Configuration in which the Unit is registered to 9 21 F g 7 Q 3 ct a S g g D Z R gt 3 A g d yun IONSd9IA9Qg y u Bunn s10114 Bulooysesgnol Z 4 6 9 Troubleshooting and Maintenance Error Likely cause DeviceNet Unit Error R seg category response log ment 1 Hex CPU Unit A parity error occurred Records the error inthe 0012 exchange memory while reading the routing error log and continues faulty table processing The routing table is treated as missing CPU Unit A timeout occurred while Continues processing 0011 flashing faulty Hb reading the routing table but data exchange with the CPU Unit is stopped The routing table is treated as missing Records the error in the error log Routing There is an error in the Records the errorinthe 021A flashing table logic contents of the routing error log error table The routing table is treated as missing and processing continues I O refresh The I O areas set inthe Stops remote I O commu 0347 flashing error master scan list or slave nications for the function scan list do not exist in master or slave using the the CPU Unit non existent area TaS enor i eect Note There is a possibility when the Unit
227. f The number nn is the unit number in 2 digit hexadecimal suun Aney Buioejdey s 6 Fixed Remote I O Allocations Turn ON power to all slaves and then select one of the fixed allocations areas 1 2 or 3 and change Sw1SListEnbiCmd Scan List Enable Switch of software switch 1 to TRUE The scan list will be registered For details on allocation procedures refer to 4 3 2 Allocation Procedures User set Remote I O Allocations Use one of the following procedures CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 61 9 Troubleshooting and Maintenance Using the Settings Data Stored in the NJ series CPU Unit s SD Memory Card Use the following procedure to write all of the settings data from the SD Memory Card to the DeviceNet Unit 1 Turn ON the Controller power supply 2 Switch the CPU Unit to PROGRAM mode 3 Change Sw2FileRestoreCmd Unit Setup File Restore Switch of software switch 2 to TRUE Using a Stored Project File Write the settings to the Master Unit from a project file saved on a disk 1 Turn ON the power to the DeviceNet Unit 2 Place the CX Integrator online and read the project file that was previously saved 3 Use the Device Parameters Edit operation to specify the Master Unit that has been replaced and to write the settings from the project file to the device Writing a Network Configuration Read out the network configuration from the actual configuration and write
228. f Slaves You can use a wide variety of I O devices like Remote I O Terminals Environment resistant Termi nals Remote Adapters Sensor Terminals Temperature Input Terminals CQM1 I O Link Units Ana log I O Terminals C200H I O Link Units RS 232C Units Multiple I O Terminals Temperature Adjusters Inverters and Intelligent Flags as slaves CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features and System Configuration 1 2 Specifications 1 2 1 DeviceNet Unit i N F h A ro 5 a General Specifications General specifications of the CJ series DeviceNet Unit conform to those of the NJ series CPU Units Functional and Performance Specifications R Item Specification Z DeviceNet Unit model CJ1W DRM21 5 Applicable Controller NJ Series 3 Unit classification CPU Bus Unit Applicable unit numbers 0 to F Mounting position CPU Rack or Expansion Rack No of Fixed allocations 3 Units max You must allocate unique words with the use of device variables for Masters CJ series Unit for software switch a you User set allocations By CX Integrator 16 Units max You must allocate unique words with the use of CX Integrator mount By device vari 16 Units max You must allocate unique words with the use of device variables ables for CJ for CJ series Unit user setup tables series Unit No of Fixed allocations 3 Units max You must allocate unique words with the use of devic
229. f above errors are cleared Default FALSE 3 26 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for SlavFunErr BOOL Slave Func lt Operation specifications gt tion Error TRUE Indicates that at least one slave error occurred Refer to _Slav1 Sta Slave Sta tus 1 The slave errors are as follows e Slav1 O1Err Remote I O Communi cations Error with slave communications enabled for OUT 1 IN 1 e Slav1 O2Err Remote I O Communi cations Error with slave communications enabled for OUT 2 IN 2 e Slav1FunDatErr Invalid Setup Data e Slav1lORefErr Slave I O Refresh Error FALSE Indicates that none of the above errors occured Or changes to FALSE when all of above errors are cleared Default FALSE MemeErr BOOL Unit Mem lt Operation specifications gt ory Error TRUE Indicates an error in internal memory where the error history is stored The error occurs when the Unit starts up or when the error history is written FALSE Indicates that the error did not occur Once this error occurs the bit will remain TRUE and will not return to FALSE Nor mal Default FALSE BusoffErr BOOL Bus Off lt Operation specifications gt Error TRUE Indicates that a Bus OFF error communi cations were stopped by multiple data errors occurred When a Bus OFF occurs the Unit goes offline and all communications stop remote I O co
230. ferred from Support Software to the CPU Unit Confirm that the system will not be adversely affected by restarting before you transfer the routing tables e Tag data links will stop between related nodes while tag data link parameters are transferred during Controller operation Confirm that the system will not be adversely affected before you transfer the tag data link parameters E EtherNet IP Communications e All related EtherNet IP nodes are reset when you transfer settings for the built in EtherNet IP port including IP addresses and tag data links settings Confirm that the system will not be adversely affected by resetting nodes before you transfer the settings e If EtherNet IP tag data links cyclic communications are used with a repeating hub the communica tions load on the network will increase This will increase collisions and may prevent stable communi cations Do not use repeating hubs on networks where tag data links are used Use an Ethernet switch instead ff EtherCAT Communications e Make sure that the communications distance number of nodes connected and method of connection for EtherCAT are within specifications Do not connect EtherCAT communications to EtherNet IP a standard in house LAN or other net works An overload may cause the network to fail or malfunction e Malfunctions or unexpected operation may occur for some combinations of EtherCAT revisions of the master and slaves If you disable the revision c
231. fg 1 First word in OUT block 1 a amp MstrAlocTblCfg 2 IN block 1 area lS ae v _MstrAlocTbICfg 3 First word in IN block 1 MstrAlocTbICfg 4 Allocation size setup table area 5 MstrAlocTbICfg 5 First word in Allocation Size Setup Table 1 O Set first word Allocation Size Setup Specify the size Input IN area Table PETIICIIITEIIIIIILLE fo Firstword Bitis 0 Bit 15 Tr gt Node address 0 wd Address 0 Node address 1 l 1wd to Address 63 i Address 63 nue a Specify the first word Specify the size to 1 63wd Input from Slaves Note 1 You can use any order for the OUT 1 and IN 1 blocks 2 Node addresses do not have to correspond between output block 1 and input block 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 27 4 Remote I O Master Communications Example This is not necessary OUT block 1 IN block 1 Node address 01 Node address 01 Node address 02 Node address 02 Node address 03 3 The start bit for node addresses must always be bit 00 and never bit 08 4 Multiple masters cannot share the same slave Master Master x Slave 5 Be sure to use user set allocations and operate the Master Unit with the scan list enabled if multiple masters are connected to a single network Communications will not be possible if there is more than one master with the scan list disabled connected to a network Step 6 Define the U
232. for CJ series Unit in a CPU Unit with a CJ series DeviceNet Unit mounted The write word data is in byte units The command block is specified from high to low bytes as shown in the following diagram Command Block ald TT Edt rl Class ID Address L wor data H Word data H Service Code Instance ID Address H Word data L Word data L Write data 200 bytes max A body format of either 8 bits or 16 bits is possible Response Block Service Code Parameters Service Code command response 1E Hex is specified for commands For responses the high est bit will turn ON and 9E Hex will be returned Class ID command Always 2F Hex Instance ID command The type of area in the memory used for CJ series Unit to which the data will be written is specified as shown in the following table Instance ID Hex CPU Unit memory area Word range for write 01 CIO 0000 to CIO 6143 03 D00000 to D32767 04 W000 to W511 05 HO000 to H511 08 to 14 EM banks 0 to C En_00000 to En_32767 n 0 to C Note You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subse quent banks Address L Address H command The address of the first word to which the data will be written is specified in hexadecimal as shown below Address L The lower 2 digits when the first word address is displayed in 4 digit hexadecimal Address H The higher 2 digits when the first word address is displayed in
233. from the perspective of the master Even if the software switch is not changed to TRUE you can perform the COS communications using regular cycles heartbeat timer simul taneously gt N 0 a Q A 0 gt R ch 0 v Note This CJ series DeviceNet Unit supports COS Cyclic Communications timing is determined by regular cycles heartbeat timer Masters and slaves send output or input data in regular cycles Cyclic connections are have higher priority than poll or bit strobe con nections which may result in a longer communications cycle time due to large amounts of data sent with the use of cyclic connections There fore cyclic connections are effective when changes to data are infre quent or the amount of data to be sent is small CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 35 Appendices A 36 ii Connections Using Allocations Allocation method Contents With CX User set allocations The user can select the connection to be used for each node address Integrator from the CX Integra with the CX Integrator e g poll could be used for data and COS tor could be used for status You can specify automatic selection or user selection You can use two connections simultaneously for one slave but you cannot use COS and cyclic simultaneously Without CX Fixed allocation Only 1 connection automatically selected by the DeviceNet Unit Integrator scan list disabled or
234. g 15 14 13 12 11 10 Nd63Err Slave Error Nd63VefyErr Slave Verification Error Nd63CfgErr Slave Configuration Error Nd63lOErr Slave Remote I O Communications Error Reserved by system Nd63COSSendErr Master COS Send Error Nd63SListRegSta Scan List Registration Flag Nd63lI0CommSta1 Remote I O Communications Flag The device variables for CJ series Units that correspond to bits 0 to 7 or 8 to 15 of each word are as follows The functions of bits O to 7 and 8 to 15 of each word correspond to the functions of bits 0 to 7 on the device variables for CJ series Unit CJ series I O memory address NJ series device variables for CJ series Unit Wordaddress Bit Variabename CJ series function name D m 43 Detailed Slave Status Table for Node Address 0 Detailed Slave Status Table for Node Address 1 D m 44 Detailed Slave Status Table for Node Address 2 Detailed Slave Status Table for Node Address 3 D m 45 Detailed Slave Status Table for Node Address 4 Detailed Slave Status Table for Node Address 5 D m 46 0to 7 Nd6Sta Detailed Slave Status Table for Node Address 6 8 to 15 Nd7Sta Detailed Slave Status Table for Node Address 7 D m 47 Detailed Slave Status Table for Node Address 8 Detailed Slave Status Table for Node Address 9 A 30 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices CJ series I O memory address NJ series device variables for CJ series Unit D
235. ge 7 2 from the file within the SD Memory Card of the CPU Unit and downloads the data as Unit settings The Unit automatically restarts Note After the file data is downloaded the Unit automatically restarts with the new data FALSE Returns to FALSE when the Unit restarts if the data is read properly Note FileRWErr File Read Write Error will change to TRUE if there is a setup data error or a file read error Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode Sw2FileBkupCmd BOOL RW Unit Setup lt Operation specifications gt File Backup FALSE TRUE Switch A Writes Unit settings for details on the scan list communications cycle time set tings etc refer to 7 1 SD Memory Card Backup Functions on page 7 2 as a file within the SD Memory Card of the CPU Unit Note Files can only be backed up with the scan list enabled You cannot make a back up with the scan list disabled FALSE Returns to FALSE after the data is written to a file Note FileRWErr File Read Write Error in Unit Status 2 will change to TRUE if data failed to write to a file Default FALSE lt Operation conditions gt e Scan list status is enabled When the Master function is enabled the Unit Setup File cannot be backed up unless the scan list is enabled 3 22 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit
236. ges to FALSE when the operation is successfully completed Default FALSE SlaviAlocErr BOOL Slave User lt Operation specifications gt set Alloca TRUE a Indicates that an error occurred in the fol Failed lowing operations e Sw2SlavAlocCmd Slave User Alloca tions Switch Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed FALSE Indicates that the error did not occur The bit changes to FALSE when the operation is successfully completed Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 41 BUEMYOS pun S u s gt 10 Se qeUeA 22A Z E SOSMETS SOURIMS iY ee lt iq ep o Cc n i 3 Data Exchange with the CPU Unit Name of device variable for Slav1FixAlocErr BOOL Slave Fixed lt Operation specifications gt Allocation TRUE eee Indicates that an error occurred in one of ting Failed the following operations e Sw2SlavFixAloc1Cmd Slave Fixed Allocation Setting 1 Switch e Sw2SlavFixAloc2Cmd Slave Fixed Allocation Setting 2 Switch e Sw2SlavFixAloc3Cmd Slave Fixed Allocation Setting 3 Switch Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed FALSE Indicates that the error did not occur The bit changes to FALSE when the operation is successfully completed Default FALSE 3 42 CJ series DeviceNet Units Operation Man
237. h LJ FALSE TRUE Unit Setup File Restore Switch O FALSE TRUE CX Integrator SD Memory Card save file Restore Load file CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 7 Other Functions 7 1 1 Outline of Functions Backing Up Unit Setup Files Saves all internal Unit setup data to the SD Memory Card mounted to the CPU Unit Method By changing the software switch Sw2FileBkupCmd Unit Setup File Backup Switch to TRUE save the internal Unit setup data on an SD Memory Card as unit setup files CJ series i File Back itch DeviceNet Unit Unit Setup File Backup switc NJ series CPU Unit JFALSE gt TRUE All setup data SD Memory Card Restoring Unit Setup Files Restore and Set in the Unit Restore the data saved on a CPU Unit s SD Memory Card into the Unit Method By changing the software switch _Sw2FileRestoreCmd Unit Setup File Restore Switch to TRUE restore the Unit setup data on an SD Memory Card and make it effective as Unit settings suop sung dimjseg pieg A1owPep GS T L After the file data is restored the Unit automatically restarts with the new settings 7 CJ series DeviceNet Unit NJ series CPU Unit Unit Setup File Restore Switch C FALSE gt TRUE All setup data SD Memory Card Restore SUONOUN JO UINNO h Z Note FileRWErr File Read Write Error in Unit Status 2 will change to TRUE if there i
238. hange with the CPU Unit BOOL type device variables for CJ series Unit separating functions per each switch contained in Software Switches 1 are shown below Name of device variable for Sw1SListEnblCmd BOOL RW Scan List lt Operation specifications gt ae FALSE gt TRUE a Enables the scan list with fixed alloca tions Note The allocated words are the ones set for use when the scan list is dis abled The following allocated words are the default settings when the scan list is dis abled e OUT area CIO 3200 to CIO 3263 1 word 1 node address fixed e IN area CIO 3300 to CIO 3363 1 word 1 node address fixed FALSE Returns to FALSE when the scan list is registered and the Unit starts operating with the scan list enabled Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Master function is enabled e Scan list status is disabled SwiSListClrCmd BOOL RW Scan List lt Operation specifications gt ee FALSE gt TRUE me Clears and disables the scan list This switch clears the scan list and oper ates the Unit using fixed allocations with the scan list disabled regardless of whether operating using fixed allocations user set allocations with device variables for CJ series Unit or user set allocations by CX Integrator The fixed allocations area used the last time the scan list was disabled will be used FALSE Returns to FALSE when the scan list data is clea
239. he error Source details Gives details on Detection Tells when the the source of the timing error is detected error Error attributes Tells the level of Recovery Gives the recov Log category Tells which log influence on con ery method 2 the error is saved trol 1 in 3 Effects User program Tells what will hap Operation Provides special information on the operation that results pen to execution of from the error event the user pro gram 4 variables 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 cor Assumed cause Correction Prevention eewen 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 NS series PT information Precautions If the user can set the event level the event levels that can be set the recovery method operational information and Remarks other information are also provided 1 One of the following Major fault Major fault level Partial fault Partial fault level Minor fault Minor fault level Observation Information amp m 6 A m amp W 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
240. heck in the network settings use the Sysmac Studio to check the slave revision settings in the master and the actual slave revisions and then make sure that functionality is compatible in the slave manuals or other references You can check the actual slave revisions from the Sysmac Studio or on slave nameplates e After you transfer the user program the CPU Unit is restarted and communications with the Ether CAT slaves are cut off During that period the slave outputs behave according to the slave settings The time that communications are cut off depends on the EtherCAT network configuration If the EtherCAT network configuration contains only OMRON EtherCAT slaves communications are cut off for a maximum of 45 seconds Before you transfer the user program confirm that the system will not be adversely affected CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 27 Precautions for Safe Use e If the Fail soft Operation parameter is set to stop operation process data communications will stop for all slaves when an EtherCAT communications error is detected in a slave For this reason if Servo Drives are connected the Servos for all axes will be turned OFF Make sure that the Fail soft Opera tion parameter setting results in safe operation when a device error occurs e EtherCAI communications are not always established immediately after the power supply is turned ON Use the system defined variables in the user progra
241. hich are stored in the CPU Unit i Disposal e Dispose of the product and Batteries according to local ordinances as they apply 1 G9 AEH AED e The following information must be displayed for all products that contain primary lithium batteries with a perchlorate content of 6 ppb or higher when shipped to or transported through the State of Califor nia USA Perchlorate Material special handling may apply See www dtsc ca gov hazardouswaste perchlorate e The CPU Unit contains a primary lithium battery with a perchlorate content of 6 ppb or higher Place the above information on the individual boxes and shipping boxes when shipping finished products that contain a CPU Unit to the State of California USA i Using the DeviceNet Units e Enable the scan list to before operating the system e When adding a new node to the network make sure that the baud rate is the same as other nodes e Use specified communications cables e Do not extend connection distances beyond the ranges given in the specifications CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 29 Precautions for Correct Use Precautions for Correct Use 30 il Storage Mounting and Wiring e Do not operate or store the Controller in the following locations Operation may stop or malfunctions may occur e Locations subject to direct sunlight e Locations subject to temperatures or humidity outside the range specified in the specifications
242. iCmd Master Enable Switch to TRUE The master will remain enabled even if the power is turned OFF and back ON again 2 Execute this only when master communications are disabled If the Master Enable Switch is turned ON when master communications are enabled a Unit error will occur and a C2 error will be displayed on the 7 segment indicator on the front panel Master function Perform the following steps to re register the scan list when starting with the scan list enabled Perform the following steps to make no changes to the fixed allocations area and scan list when starting with the scan list enabled Perform the following steps to start with the scan list disabled 3 Change Sw7MstrFixAloc1Cmd to Sw1MstrFixAloc3Cmd Master Change Sw1SListCirCmd Scan List Clear Switch to TRUE Area Allocations and Scan List Creation Fixed Allocation Setting 1 to 3 Switch to TRUE Monitor and check the Registered Slave Table _RegSlavTbiSta RegSalvTbINbSta 0 to 63 to see if communications are possible with registered slaves Change _Sw1SListEnbiICmd Scan List Enable Switch to TRUE Change _Sw1MstrFixAloc1Cmd to Sw1MstrFixAloc3Cmd Master Fixed Allocation Setting 1 to 3 Switch to TRUE Monitor and check the Registered Slave Table _RegSlavTbiSta RegSalvTbiINbSta 0 to 63 to see if communications are possible with registered slaves Change _Sw1SListEnblCmd Scan List Enable Switch to TRU
243. iable name 3 Automatically create with Create Device Variable The following shows the structure of a variable name created automatically with method 3 Sw1SListEnblCmd LL This ig an O port name The name indicates unit functions statuses and parameters This is the device name when this unit is registered in the Unit Configuration By default a device name is assigned from J01 in the order of registration in the Unit Configuration This identifies the individual unit For details on device variables for CJ series Unit refer to the following 3 2 Device Variables for CJ series Unit Software Switches Statuses 3 3 Device Variables for CJ series Unit Allocations Setting Table Slave Detailed Status In the explanations from here on the device name automatically created is used as the device vari able name for CJ series Unit for example Sw1SListEnb Cmd For details on the memory for CJ series Unit refer to NJ series CPU Unit Software User s Manual Cat No W501 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 5 3 Data Exchange with the CPU Unit i How to Create User defined Variables In this unit slaves are allocated to the memory used for CJ series Unit when you use the functions shown below e Fixed allocations and user set allocations Master e Fixed allocations and user set allocations Slave Use the Sysmac Studio to register user defined variables to the variable tabl
244. iables Cause and correction Attached information Precautions Remarks Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks 9 58 Slave COS Send Failed 84770000 hex An attempt was made to send COS data to the master using the Slave COS Send Switch software switch 2 device variable _Sw2SlavCOSSendCma but the send failed timing communications COS transmissions are not possible A COS connection to the master is Open a COS connection to the mas When you perform COS communica tions open a COS connection between the master and slave A Bus Off state occurred Remove the cause of the Bus Off Take measures to prevent the errors error from occurring again A network power error occurred Remove the cause of the power sup ply error A send timeout occurred Remove the cause of the send time out None not open ter None File Read Write Error 048A 0000 hex An error occurred when user setup data was read from an SD Memory Card in the CPU Unit or when data was written ory Card backup as a file to an SD Memory Card CJ series Unit Detection timing is executed Variable Data type Name None Re ae Assumed cause Correction Prevention The available capacity on the SD Replace the SD Memory Card for one Use an SD Memory Card with suffi Memory Card was insufficient to write with sufficient ava
245. iables for CJ series Unit CIO n 15 Oto 7 MstrNdAdrSta Node Address of The Remote Master for Slave Communications 8 to 15 SlavlOAlocSta Slave I O Allocation Status CIO n 16 to n 19 Registered Slave Table The device variable for CJU series Unit that corresponds to all bits of 4 words from CIO n 16 to n 19 is as follows CJ series I O memory address NJ series device variables for CJ series Unit ClO n 16to Oto 15 for each word RegSlavTblSta Registered Slave Table n 19 Bits 0 to 15 in each word correspond to the bits of this CJ series Unit device vari able as follows Bits 0 to 15 of CIO n 16 correspond to bits O to 15 of this CJ series Unit device variable Bits 0 to 15 of CIO n 17 correspond to bits 16 to 31 of this CJU series Unit device variable Bits 0 to 15 of CIO n 18 correspond to bits 32 to 47 of this CJ series Unit device variable Bits 0 to 15 of CIO n 19 correspond to bits 48 to 63 of this CJ series Unit device variable A 18 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 The device variable for CJ series Units that correspond to bits 0 to 15 of 4 words from CIO n 16 to n 19 are as follows CJ series I O memory address Wordaddress Bit Variabiename RegSlavTbINdSta 8 RegSlavTbINdSta 9 RegSlavTbINdStal 10 RegSlavTbINdStal 1 1 RegSlavTbINdStal 12 RegSlavTbINdStal 13 RegSlavTbINdSta 14 _RegSlavTbINdSta 15 CJ series DeviceNet U
246. iables for CJ series Units that correspond to bits 0 to 15 of a word starting with ClO n are as follows CJ series I O memory address NJ series device variables for CJ series Unit clon 0 SwiSListEnbicmd Scan List Enable Switch 2 SwilOCommStartCmd Remote I O Communications Start Switch 4 _SwilOCommStopCmd Remote I O Communications Stop Switch Reserved by system Sw1MstrEnblCmd Master Enable Switch 7 Master Disable Switch Master Fixed Allocation Setting 1 Switch Master Fixed Allocation Setting 2 Switch Master Fixed Allocation Setting 3 Switch Sw1MstrAlocCmd Master User set Allocations Switch NI D SwiCycleTmTmpSet Temporary Setting Switch for Communi cations Cycle Time 13 SwiCycleTmSetCmd Communications Cycle Time Setting Switch 14 SwiCycleTmClrCmd Communications Cycle Time Reference Table Clear Switch CIO n 1 Software Switch 2 The device variable for CJ series Unit that corresponds to all bits of a word starting with CIO n 1 is as follows CJ series I O memory address NJ series device variables for CJ series Unit CIO n 1 Oto 15 Sw2Cmd Software Switches 2 The functions of bits 1 to 0 of ClO n 1 correspond to those of bits O to 15 of this CJ series Unit device variable A 4 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices The device variables for CJ series Units that correspond to bits 0 to 15 of a word starting with ClO n 1 are as fo
247. ibes the basic usage of CompoNet networks and how to set Con poNet parameters This section describes the settings and operations specific to the CompoWay F sys tem This section describes the settings and operations specific to the NT Link system This section describes the operations of the network test tool This section describes the CPS files for Ethernet Controller Link CompoWay F and NT Link Networks and EDS files for DeviceNet Networks Manual Structure Manual Structure Page Structure The following page structure is used in this manual Level 2 heading Level 3 heading A step in a procedure Indicates a procedure Special information Icons indicate precautions additional information or reference information LE Manual name 4 Installation and Wiring 4 3 Mounting Units 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 Cover 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 Hook Hook holes Connector T nt H 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 in
248. iceNet Unit is on an Expansion Rack use the following formulas to calculate Tiy NJMIN aNd TOUTNUMIN TINNJMIN 0 4 0 0006 x Data size per slave for input slaves in bytes TOUTNUMIN 0 1 0 00075 x Data size per slave for output slaves in bytes CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 Communications Timing 8 1 3 More than One Master in Network The following equation shows the remote I O communications cycle time Try when there is more than one master in the network An example for two masters Is used First the network is divided into two groups Master A and the slaves in remote I O communications with it and master B and the slaves in remote I O communications with it Tal Feet ea i al Lanna eee Slaves in remote I O commu Slaves in remote I O commu nieatinne with Macter A i ninatinne with Adactar R Although in the above diagram the Slaves are separated into two groups for convenience the actual physical positions in the Network are irrelevant Next we can refer to Communications Cycle Time on page 8 2 and calculate the communications cycle time for each group as if they were separate Networks Group A communications Group A communications cycle time TRM A cycle time TRM B In Networks with two Masters the communications cycle time for the entire Network will be the sum of the communications cycle times for the groups 9 a l j A 2 A ch 0 a A a A il T
249. iceNet Units Operation Manual for NJ series CPU Unit W497 NJ series device variables for CJ series Unit CJ series function name Disconnect Connect Switch for Node Address 32 Slave Disconnect Connect Switch for Node Address 33 Slave Disconnect Connect Switch for Node Address 34 Slave Disconnect Connect Switch for Node Address 35 Slave Disconnect Connect Switch for Node Address 36 Slave Disconnect Connect Switch for Node Address 37 Slave Disconnect Connect Switch for Node Address 38 Slave Disconnect Connect Switch for Node Address 39 Slave Disconnect Connect Switch for Node Address 40 Slave Disconnect Connect Switch for Node Address 41 Slave Disconnect Connect Switch for Node Address 42 Slave Disconnect Connect Switch for Node Address 43 Slave Disconnect Connect Switch for Node Address 44 Slave Disconnect Connect Switch for Node Address 45 Slave Disconnect Connect Switch for Node Address 46 Slave Disconnect Connect Switch for Node Address 47 Slave A 13 Wwesbold Jasn wo Buissaooy Ul S8OUDIOWIG Z L Y gt a y 6 gt A 5 gt 5 D 7 0 TI gt A c fe gt W f Q gt Q fe g 0 A U Cc C gt rF Z fe 2 v 0 8 Appendices CJ series I O memory address NJ series device variables for CJ series Unit Wordaddress Bit Variabiename a icin ee CIO n 10 Unit Status 1 CJ series function name Disconnect Connec
250. ies Unit is TRUE BUEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSMETS SOURIMS CMstrSendErr BOOL e NetPwrErr Network Power Error e SendTimeoutErr Send Timeout Error Default FALSE CMstrlOErr BOOL Communi This is the same as _Mstr7 OErr cation Error Remote I O Communication Error Default FALSE CMsirVefyErr BOOL Verification This is the same as Msir1 VefyErr Verifi Error cation Error Default FALSE CMsirlOStopSta BOOL I O Data This operates in the reverse way of Communi OCommSta Remote I O Communica cations Not tions Status Running Default FALSE Status Message This is the same as OnlineSta Online Communi Status cations Per mitted Note When you execute the Send Com mand instruction SendCmd from a program use _Port isAvailable Net work Communications Enabled Flag in the CPU Unit and this flag as an AND input condition Default FALSE NO a oo O N OQO O I z o JJ O o O 49 3 D lt o op D s ep o Cc CMstrMsgEnblSta BOOL CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 49 3 Data Exchange with the CPU Unit Name of device variable for CMstrSListDsblSta BOOL Invalid Scan This is the same as _SListDsb Sta Scan List Data List Disable Status Flag Default FALSE CMstrErr BOOL Master This bit changes to TRUE if bits 0
251. il Codes ccccccccccsssesseeeceeeeeeecesaeeaeeeseeeeeeeeeeeesseseeesseeeeeeeseeseesaaaaeseeeees 9 29 14 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 CONTENTS 9 3 TROUBIESNOOUNG riapre a aa aaa i 9 32 9 3 1 CPU Unit s ERR ALM Indicator Lit or FIASNING ccccccecccceceeeececeeeeeeeceeeeeceeeceueeessueeeeeseanees 9 32 9 3 2 Remote O Communications DiISAbleG wai cscsntinirscindcradoerinie cw aadeiadesinvendcunetadovindAeteunstaneies 9 32 9 3 3 VONK PODEMS zeian tannd yadbacatewitigaldonaeaiaantiinaalt aitrssgetnantueasanbau 9 33 9 3 4 Communications Error Operation Settings cccccceccssssseceecceeeeeeeeesseeeeeeeeeeeeeeeeeeeeesseseaeseaseeess 9 34 9 3 5 Scan List Problems aicinn ideaaciidolatuainaea ds cnatannddenturtinbileeraneedee teaaneadibidantieevtencussagoianeaeidacdua ant 9 34 9 4 TE VGNE LOGS cai EE 9 35 9 4 1 Overview of the Event LOGS cssscccccccsseeeeececcceaesececeeseeueeeceeeesueeaseeeeeeessaaaeeeeeessaaseeeseseesanas 9 35 9 4 2 FE Tell elo rec erceersctwianer E da ee adteade rede ovate nee 9 36 9 4 3 EPPO DSS CMO LO MS eisai ete Ante tatiana E A bate eadease 9 41 9 5 Maintenance and Replacement ccssscccssseccseseeccssseccesseccesneceessecnesaeeneaseeenaseeesensessaseseenseeneaes 9 60 9 5 1 NAM I tages oe Nee teres tate aie aia atte a inne ale ae ote Mae ae ee one each aa S 9 60 9 5 2 gis of ete 0 9 pemeeemer erste em nen E vase rat ok re trneee eine e
252. ilable capacity Or cient available capacity when you a file delete unnecessary files from the SD save files to it Memory Card PLC Function Module When SD Mem Source details Write protection is set on the SD Memory Card when you write to a file Remove write protection from the SD Memory Card Disable write protection on the SD Memory Card before you save the file to the SD Memory Card Implement noise countermeasures Implement noise countermeasures The SD Memory Card is damaged Replace the SD Memory Card None The CPU Unit has failed Replace the CPU Unit None None You can change the event level to the minor fault level If you change the level to the minor fault level the Recovery col umn above will be changed to Error reset CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Event name Invalid Message Timer List Error 148C 0000 hex Meaning The data in the message monitoring timer list is not correct Source PLC Function Module Source details CJ series Unit Detection At power ON or timing Controller reset User program Continues Operation The message monitoring timer will operate with the default value Error attributes Effects S Nome poe ai The power supply was interrupted Register the message monitoring Do not turn OFF the power supply while writing the message monitoring timer list again while the system is writing the
253. ile lt Operation specifications gt Read Write TRUE Error Indicates that an error occurred when user setup data is read from a SD Memory Card in the CPU Unit or when data is writ ten as a file to a SD Memory Card FALSE Indicates that the error did not occur Changes to FALSE when the Unit has successfully completed the operation Default FALSE ErrHistorySta BOOL Error His lt Operation specifications gt tory Regis TRUE toreo mag Indicates that an error history was regis tered Changes to TRUE at the first error history registration for the Unit FALSE Indicates that no errors are registered in the error history Changes to FALSE when the Unit receives an error history clear request Default FALSE 3 32 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit 3 2 7 Master Status 1 The following device variable for CJ series Unit is used to reference all information of Master Status 1 Name of device variable for MstriSta WORD Master Sta Bit 00 Verification Error tus 1 Bit 01 Structure Error Bit 02 Remote I O Communications Error Bit 03 Reserved by system Bit 04 Invalid Scan List Data Error Bit 05 Master I O Refresh Error Bit 06 Reserved by system Bit 07 Reserved by system Bit 08 Master Function Enable Disable Failed Bit 09 Master User set Allocations User Setting Failed Bit 10 Master Fixed Allocation Area Set ting Failed Bit 11 Scan
254. in the scan list Remote I O communications will con tinue during this time with the scan list enabled CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications 4 3 4 Fixed Allocations Example This example shows the allocations that are used when Fixed Allocations 1 are used for the following slaves Node address Outputs Inputs Product 0 0 pts 8 pts 8 pt Transistor Input Terminal DRT 1 ID08 1 8 pts 0 pis 8 pt Transistor Output Termi nal DRT1 OD08 2 0 pts 16 pts 16 pt Transistor Input Terminal DRT1 ID16 3 16 pts 0 pts 16 pt Transistor Output Termi nal DRT1 OD16 4 8 pts 8 pts 8 pt Input and 8 pt Output Environment resistant Terminal DRT1 MD16C 5 16 pts 16 pts CQM I O Link Terminal CQM1 DRT21 6 O pts 48 pts C200 I O Link Unit C200HW 7 DRM21 with 48 input pts 3 words 8 32 pts Analog Output Terminal with 2 9 output pts DRT2 DA02 Resulting Slave Allocation Allocation Node address Node OUT block IN block Slave type setting address Output Input ClO 15 0 ClO 15 0 8 inputs 00 00 0 8 3200 Allocation disabled 3300 Aiocation Allocated 8 outputs gi 01 8 0 3201 location Allocated 3301 Allocation disabled 16 inputs 02 02 0 16 3202 Allocation disabled 3302 Allocated 16 outputs 03 03 16 0 3203 Allocated 3303 Allocation disabled 8 inputs 8 outputs gt 04 16 inputs 16 outputs gt 05 48 inputs 06 Master
255. ing so may result in Unit malfunc tion or burning i Mounting The sliders on the tops and bottoms of the Power Supply Unit CPU Unit I O Units and other Units must be completely locked until they click into place after connecting the adjacent Unit connectors i Installation Always connect to a ground of 100 Q or less when installing the Units A ground of 100 Q or less must be installed when shorting the GR and LG terminals on the Power Supply Unit i Wiring Follow the instructions in this manual to correctly perform wiring Double check all wiring and switch settings before turning ON the power supply Use crimp terminals for wiring Do not connect bare stranded wires directly to terminals Do not pull on the cables or bend the cables beyond their natural limit Do not place heavy objects on top of the cables or other wiring lines Doing so may break the cables Mount terminal blocks and connectors only after checking the mounting location carefully Be sure that the terminal blocks expansion cables and other items with locking devices are properly locked into place Always remove any dustproof labels that are on the top of the Units when they are shipped before you turn ON the power supply If the labels are not removed heat will accumulate and malfunctions may occur Before you connect a computer to the CPU Unit disconnect the power supply plug of the computer from the AC outlet Also if the computer has an FG termi
256. ingle CPU Unit work Precautions Same as previous net e The communications cycle time Make sure that each word allo works is longer cated in the system is allocated to only one Master Unit Note The communications cycle time for the network in the figure above is TA TB if sec tions A and B above are separate networks with a communications cycle time of TA and TB e Multiple Master Units cannot share a single Slave Unit e Bus Off errors communica tions stopped by multiple trans missions may occur if multiple Master Units with disabled scan lists are present on a single net work a f g j 6 A e 3 S A et O a Note You can connect only one Master Unit to a network if you specify a COS or cyclic connection with the use of CX Integrator Remote I O communication errors may occur In such a case therefore change the system setup so that only one Master Unit is connected to a network SHU JOISe JO JOQUINN y UO SUOIINCDDd E l CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 7 4 Remote I O Master Communications 4 1 4 Procedure for Using Remote I O Master Fixed Allocations for Remote I O Turn ON the communications slave and Controller power supplies 1 Turn ON the communications power supply prior to turning ON the slave power supply or the slaves may not go online Switch the CPU Unit to PROGRAM mode Pre operations Change SwiMstrEnb
257. ion Attached information Precautions Remarks Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks 9 Troubleshooting and Maintenance Invalid Scan List Data 148D 0000 hex There is an error in the contents of the slave scan list or master scan list stored in non volatile memory PLC Function Module Source details CJ series Unit Detection At power ON or timing Controller reset User program Continues Operation The DeviceNet Unit will stop remote I O communications for the master or slaves Data exchange processing with the CPU Unit and message processing will continue Nor mal operation will be recovered if writing is performed nor mally The power was interrupted during If there is an error in the slave scan Do not turn OFF the power supply writing the scan list to the non volatile list disable the slave function reset while the system is writing the set the allocations and then enable the tings slave function Or reset the slave scan list with the CX Integrator If there Is an error in the master scan list clear the scan list and then regis ter the scan list again Or reset the master scan list with the CX Integra tor memory None None Invalid Setup Data 148E0000 hex There is illegal data in the settings for the slave function PLC Function Pane Source details CJ series Unit De
258. ion 5 General purpose Slaves Section 6 Environment resistive Slaves Section 7 Analog Slaves Section 8 Communications Timing Section 9 Troubleshooting and Maintenance Appendix CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Description This section provide a functional overview and descrives the types of Slaves This section provides the operating procedures for DeviceNet by using examples This section provides specifications and indicator displays that are common to all Slaves It also describes the allocation of remote I O memory for Smsty Salves This section provides an overview funcionality provided by DRT2 Sries Slaves and the operating procedure This section describes the specificaions and the components terminal arrangement basic procedures for wiring and settings for General purpose Slaves This section describes the specifications terminal arrangements basic procedures for wiring and settings for Environment resistive Slaves conforming to IP67 This section describes the specifications terminal arrangements wiring methods and settings for Analog Slaves This section provides information on the response time and the transmission delay time when the remote I O communications or message commucnaitions are perform red This section describes the troublushooting and mentainance procedures to take cor rective actions for errors and conduct a routine inspection This secti
259. ion Manual for NJ series CPU Unit W497 The device variable for CJ series Units that correspond to bits 0 to 15 of 4 words from CIO n 16 to n 19 are as follows CJ series I O memory address Wordaddress Bit Variabiename RegSlavTbINdSta 40 RegSlavTbINdSta 41 RegSlavTbINdSta 42 RegSlavTbINdSta 43 RegSlavTbINdSta 44 RegSlavTbINdSta 45 RegSlavTbINdSta 46 RegSlavTbINdSta 47 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices NJ series device variables for CJ series Unit CJ series function name Registered Slave Table Corresponding to Node Address 32 Slave Registered Slave Table Corresponding to Node Address 33 Slave Registered Slave Table Corresponding to Node Address 34 Slave Registered Slave Table Corresponding to Node Address 35 Slave Registered Slave Table Corresponding to Node Address 36 Slave Registered Slave Table Corresponding to Node Address 37 Slave Registered Slave Table Corresponding to Node Address 38 Slave Registered Slave Table Corresponding to Node Address 39 Slave Registered Slave Table Corresponding to Node Address 40 Slave Registered Slave Table Corresponding to Node Address 41 Slave Registered Slave Table Corresponding to Node Address 42 Slave Registered Slave Table Corresponding to Node Address 43 Slave Registered Slave Table Corresponding to Node Address 44 Slave Registered Slave Table Corresponding to No
260. ions None Remarks Event name Master I O Refresh Error 34BF 0000 hex Meaning The I O memory in the destination CPU Unit for I O refreshing could not be found when refreshing the master function data in the CPU Unit Source PLC Function Module Source details CJ series Unit Detection At power ON or timing Controller reset Effects Remote I O communications stop correction I O words are allocated in an EM Correct the O allocations so that Allocate only I O words that exist in bank that does not exist only I O words that exist in the I O the I O memory of a CPU Unit memory of a CPU Unit are allocated Attached None information Precautions None Remarks 9 46 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Master User set Allocations User Setting Failed 34C 00000 hex An error occurred in the following operation for user allocation of the master e Master User Allocation Setting Switch device variable _Sw1MstrAlocCmd PLC Function Module Source details CJ series Unit At user o
261. is allocated from the user program a user defined variable that specifies the AT specification of that area needs to be defined Addresses are in ascending order Not all nodes need to be allocated OUT areas and addresses for nodes with no allocations are skipped Bit 15 0 amp A i f WV g 2 8 a O a Area specified in I O memory specified Address 0 Bit 18 0 First word specified OUT block 1 in ascending order to Output to Slaves qeL dn S suo1 eoo ly 19S JOS 1 41SeW pun s n s f JO SajqeueA 209d y6no1y suas CVV to es aay ee Addresses are in ascending order Not all nodes need to be allocated IN areas and addresses for nodes with no Bit 15 0 Bit 15 9 _ allocations are skipped First word specified Address 0 Node addresses in ascending order q Input from Slaves First word specified to IN block 1 You can set the block allocation order and block allocation areas Node addresses in each block are allocated words in ascending order from 0 to 63 Node addresses that are not allocated are skipped not allocated words Each address is allocated at least one word rightmost byte 1 word or multi ple words e More than one word is allocated for each slave according to it s node address with more than16 I O points e The rightmost byte of the word is allocated to each slave that has 8 I O points or less a oe Pp ee Note You can inc
262. ished Bit 13 Connection 1 Established Bit 14 Remote I O Communications for OUT 2 IN 2 Bit 15 Remote I O Communications for OUT 1 IN 1 Default 16 0000 The following device variables for CJ series Unit are used to reference individual information Name of device variable for Slav1lO1Err BOOL Remote I O lt Operation specifications gt Communi TRUE a Indicates that a communications error OUT 4 IN 1 occurred in the OUT 1 IN 1 slave I O con nection FALSE Indicates that a remote I O communica tions error with slave communications enabled for OUT 1 IN 1 did not occur Or changes to FALSE when a remote I O communications error with slave commu nications enabled for OUT 1 IN 1 is cleared Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 39 UEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSME S SOURIMS M Da ee S D ep o Cc ZA 3 Data Exchange with the CPU Unit Name of device variable for Slav1lO2Err BOOL Remote I O lt Operation specifications gt Communi TRUE e Indicates that a communications error OUT 2 IN 2 occurred in the OUT 2 IN 2 Slave I O con nection FALSE Indicates that a remote I O communica tions error with slave communications enabled for OUT 2 IN 2 did not occur Or changes to FALSE when a remote I O communications error with slave commu nications enabled for OUT 2 IN 2 is cleared Default FALSE S
263. ist is disabled the user set allocations data registered in the Master Unit is lost 4 2 3 Backing Up the Scan List A scan list must be created to switch the DeviceNet Unit to operation with the scan list disabled or to replace a DeviceNet Unit It is important to back up the list with the use of one of the following methods N v A g r v ot Fixed Allocations or User set Allocations in Device Variable for CJ series Unit Save the scan list as a backup file on SD Memory Card in the CPU Unit by changing Sw2FileBkupCmd Unit Setup File Backup Switch to TRUE User set Allocations from the CX Integrator Save the scan list as a backup file on SD Memory Card or save it either as a device parameter file or project file by using the CX Integrator In the preceding cases change _Sw2FileRestoreCmd Unit Setup File Restore Switch to TRUE to input setup data including the scan list backed up on the SD Memory Card into a DeviceNet Unit 1SI uUedS y dN Bulyoeg Z r CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 13 4 Remote I O Master Communications 4 3 Fixed Allocations 4 3 1 Allocated Words lf fixed allocation is used allocated words are in the following I O CIO area in the memory used for CJ series Unit You can select an area of words from one of three fixed allocation areas Use Sw1MstrFixAloc1Cmd to _Sw1MstrFixAloc3Cmd Master Fixed Allocation Setting 1 to 3 Switch
264. it Refer to 5 3 User set Allocations Refer to the CX Integrator manual FALSE Slave function disabled Check to see if the slave function is disabled lt Check SlavEnb Sta Slave Function Enabled from the Sysmac Studio gt TRUE Slave function enabled Change Sw2SlavDsbICma Slave Stop Switch to TRUE from the Sysmac Studio Slave function disabled Change _Sw2SlavFixAloc1Cma Input data in advance into Create a device parameter file to SlavFixAloc3Cma SlavAlocTbI Cfg 0 from the CX Integrator Enable Slave Fixed Allocation to SlavAlocTb iCfg 5 Slave function in CJU1W DRM21 Setting 1 to 3 Switches Slave User set Allocations properties at this time Then to TRUE from the Sysmac Studio Setup Table download the file to the DeviceNet Unit Area allocations Change _ Sw2SlavAlocCma Slave User Allocations Switch to TRUE from the Sysmac Studio Change Sw2SlavEnblCma Slave Enable Switch to TRUE from the Sysmac Studio Note Execute this only when slave communications are turned OFF If the Master Enable Switch is turned ON when master communications are enabled a Unit error will occur and a C2 error will be displayed on the 7 segment indicator on the front panel Define user defined variables in the area to which I O data is allocated Switch the CPU Unit to RUN mode Slave remote I O communications will begin Precautions for Correct Use Area allocati
265. it is operating properly The terminating resistance is some Connect terminating resistance only Connect terminating resistance only where other than the ends of the trunk to the ends of the trunk line to the ends of the trunk line line Implement noise countermeasures Implement noise countermeasures None None CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 55 9 amp m 6 A r amp 7 suoduos q 10114 p 6 9 Troubleshooting and Maintenance Event name Meaning Source Error attributes Effects Remote I O Communications Error 84750000 hex A timeout occurred in remote I O communications PLC Function Module Source details CJ series Unit Detection timing communications During DeviceNet The DeviceNet Unit periodically performs reconnection processing for slaves that have a remote I O communica tions error Remote I O communications will stop how ever when a communications error occurs and remote I O communications are set to stop variables Cause and correction Attached information Precautions Remarks 9 56 The master and slaves have different baud rates Communications cable lengths trunk line and branch lines are unsuitable A communications cable is discon nected or loose The terminating resistance is some where other than the ends of the trunk line Noise Implement noise countermeasures Implement noise countermeasures None
266. itches All are fixed at 1 word per node address The default setting is Fixed Allocation Area Setting 1 User set By CX Set the areas for the OUT 1 2 and IN 1 2 blocks the first allocations Integrator words and the allocation sizes for all slaves with the use of the CX integrator You can set the blocks for nodes in any order Allocated The input and output areas can be the fol words lowing sizes that start from any word in any of the following areas CIO Area WR Area HR Area DM Area or EM Area in the mem ory used for CJ series Unit Output 500 words max x 2 blocks OUT area Input IN 500 words max x 2 blocks area By device Set the areas and the first words for the OUT 1 and IN 1 variables blocks in the device variables for CJ series Unit Scan List for CJ Setup Table series Unit Set the allocation size for each slave with the use of the device variables for CJ series Unit Allocation Size Setup Table in any area Allocations must be in the order of node addresses Allocated The input and output areas can be the fol words lowing sizes that start from any word in any of the following areas CIO Area WR Area HR Area DM Area or EM Area in the mem ory used for CJ series Unit Output 500 words max x 1 block OUT area Input IN 500 words max x 1 block area CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features and System Configuration Item Specifications Re
267. ith master user set allocations until the scan list is cleared regardless of whether the power is turned OFF and back ON again FALSE Returns to FALSE when the scan list is registered and the Unit starts operating with the scan list enabled Note If there is a setting information error an error code will be stored in MstrAlocTbIiCfgSta Setting Results of Master User set Allocations Setup and Mstr1SListRegErr Scan List Register Clear Failed will change to TRUE Default FALSE lt Operation conditions gt CPU Unit is operating in PROGRAM mode e Master function is enabled CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 15 BUEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSMETS SOURIMS NO i ep O jad D ep O a gt D 3 Data Exchange with the CPU Unit Name of device variable for SwiCycleTmTmpSet BOOL RW Temporary lt Operation specifications gt see FALSE gt TRUE oe ms Reads setting data from ommuni ar nat nc CommCycleTmCfg Communications i Cycle Time Setting and temporarily Cycle Time K changes the communications cycle time Use this to temporarily extend the commu nications cycle time to place priority on message communications Note You can change the cycle time in any CPU Unit operating mode FALSE Returns to FALSE after the communica tions cycle time is changed CycleTmRefTblSta 0 to
268. ith each slave during the communications cycle Therefore when there are a lot of destination slaves the COS send timing may be delayed in order of the node addresses Multiple COS send switches node address 1 2 3 changed to FALSE to TRUE Time I O refresh eee T VVV COS send instruction Node 1 Node 2 Node 3 Node 4 Node 1 he as Node 3 ro CPU Unit user program DeviceNet Unit Communications cycle time Communications cycle time ee ee l S E a we N O using normal connection lt L lt lt lt mae Output using COS sent to fit in between normal cycles A 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices A 3 DeviceNet Explicit Message Send Command for Other Manufacturer Nodes A 3 1 Explicit Message Send 2801 sends a DeviceNet explicit message to a specified object and receives a response Command Block Command Class ID Instance ID Service data code Service code Destination node address Response Block e When a normal response is returned for the executed explicit message a Command End code No of bytes Service data code received Service code Source node address local node e When an error response is returned for the executed explicit message gt Ww i b el i amp Q a 3 Q 3 g i Z 8 Q 28 0l 00 00 94 N K f Command End
269. ive noise F g 7 Q 3 ct S g g D Z g gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 9 9 Troubleshooting and Maintenance flashing Red flashing Red flashing Red flashing Red flashing Red flashing function Master function Master function Verification error 2 Illegal ven dor Verification error 2 Illegal con nection path Verification error 2 I O size mismatch Verification error 2 Illegal device Verification error 2 Illegal product code Verification error 2 Unsup ported con nection Remote I O com munica tions error Likely cause The CX Integrator is set to check the vendor and the slave s vendor does not match the registered scan list Occurs with the scan list enabled The connection path was set with the CX Integrator and there is a mistake in the connection path setting in the scan list Occurs with the scan list enabled The slave s I O data size does not match the regis tered scan list Occurs with the scan list enabled The CX Integrator is set to check the device type and the slave s device type does not match the regis tered scan list Occurs with the scan list enabled The CX Integrator is set to check the product code and the slave s product code does not match the regist
270. j L 9 6 c A 2 A ch fe W Output OUT area from this master 100 words Input IN area to this master 100 words By device variables Set the areas the first words and slave allocation size for the OUT 1 and IN 1 for CJ series Unit blocks total of 2 blocks with the use of the Slave User Allocation Setup Table in the device variables for CJU series Unit Allocated words The input and output areas can be the following sizes that start from any word in any of the following areas ClO Area WR Area HR Area DM Area or EM Area in the memory used for CJU series Unit Output OUT area from this master 100 words Input IN area to this master 100 words Max No of Fixed allocations 32 points 1 input word 1 output word i ats Per User set By device variables 3 200 pts 100 input words 100 output words oe ss allocations for CJ series Unit Unit slave By CX Integrator 4 800 pts 100 input words x 2 100 output words x 1 SUOICOIJIOBdS SUOITEDIUNWLUOD ALS pue O S OWSY Z S CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 3 5 Remote I O Slave Communications 5 1 3 Procedures for Using Remote I O Slave Communications 5 4 Fixed Allocations for Remote I O Switch the CPU Unit to PROGRAM mode allocations Slave function enabled _ D Q Ee E w A Change _Sw2SlavDsblCmd Slave Stop Switch to TRUE from the Sysmac Studi
271. jas SUOI EDO VV 1OS JBS F JBISe HUA s n s fo 104 SajqeueA anaq yenol suas C V V CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 29 4 Remote I O Master Communications 4 30 Name of device variables for CJ series Unit MstrAlocTbICfg 0 MstrAlocTblCfg 1 MstrAlocTblCfg 2 MstrAlocTbICfg 3 MstrAlocTblCfg 4 MstrAlocTbICfg 5 Address Bits 00 to 07 for D00100 Bits 08 to 15 for D00100 Bits 00 to 07 for D00101 Bits 08 to 15 for D00102 Bits 00 to 07 for D00103 Bits 08 to 15 for D00103 Bits 00 to 07 for D00104 Bits 08 to 15 for D00104 Bits 00 to 07 for D00105 Bits 08 to 15 for D00105 Bits 00 to 07 for D00106 Master User set Allocations Setup Table Setting function OUT block 1 area 4 WR First word in OUT block 1 50 50 words IN block 1 area 4 WR First word in IN block 1 100 100 words Allocation size setup table area 3 DM First word in Allocation Size Setup Table 1 100 100 words User defined vari able name USINT type Allocation Size Setup Table Bits 08 to 15 for D00106 Resulting Slave Allocations Slave5 InSizeTab Slave5 OutSizeTab Number of slave bytes O o oO NINJ me oe NMI Oo Slaves are allocated as follows Before a user program can access the following areas a user defined variable that specifies the AT specification of that allocation area must to be defined OUT area 1_15 2 W050 Addres
272. k 0 slot Online Status TRUE when the Sta 0 Unit2Sta Online Unit is online Sta CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 13 6 Message Communications Determining the SendCmd instruction execution completion SendCmd_instance Done OperatingEnd SendCmd_instance Error Trigger reception RS_instance Trigger _Port_isAvailable DeviceNet_OnlineSta Operating m OperatingEnd Communications parameters settings Operating InDNetAdr NetNo 0 Network address settings InDNetAdr NodeNo 0 InDNetAdr UnitNo BYTE 16 10 InOption isNonResp FALSE Response monitoring and retry settings InOption TimeOut 20 InOption Retry 2 Sdata 0 BYTE 16 28 Command data settings Sdata 1 BYTE 1 6 01 Sdata 2 BYTE 1 6 0B Sdata 3 BYTE 1 6 0E Sdata 4 BYTE 1 6 00 Sdata 5 BYTE 1 6 01 Sdata 6 BYTE 1 6 00 Sdata 7 BYTE 1 6 01 Sdata 8 BYTE 1 6 01 OONDARWNDY gt SendCmad instruction execution SendCmd_instance Operating SendCmd Execute Done InDNetAdr DstNetAdr Busty _ePORT _ NONE CommPort Error Sdata 0 CmdDat ErrorlD UINT 9 CmdSize ErrorlIDEx Rdata 0 RespDat RespDat InOption Option Processing at normal end Operating SendCmd_instance Done Processing after normal end J Processing at an error completion Operating SendCmd_instance Error
273. king to see if all slaves are registered in the scan list Checking to see if all slaves are performing remote I O communi cations properly Checking to see if there is an error history in the DeviceNet Unit Monitoring status of the DeviceNet Unit Checking the current communi cations cycle time Monitoring the error history in the DeviceNet Unit Adjusting the communications cycle time Saving all parameters like scan list data for masters and slaves on the network Replacing a DeviceNet Unit 1 Features and System Configuration Stop communications with the use of the CX Inte grator or Sw1 OCommStopCmd Remote I O Communications Stop Switch Change _Sw1SListEnb lCmd Scan List Enable Switch to TRUE Set the allocation areas with the use of the device variables for CJ series Unit and change Sw1MstrAlocCmd Master User set Allocations Switch to TRUE Change Sw1SListCirCmd Scan List Clear Switch to TRUE and change Sw1SListEnblCmd Scan List Enable Switch to TRUE after you change the communications sys tem Monitor the Master Status 2 status codes in Mstr2Sta from Sysmac Studio Check RegSlavTbiSta Registered Slave Table Check NormSlavTb Sta Normal Slave Table Check the error history registration yes no from Sysmac Studio the 1 Execute the device monitor function from the CX Integrator Error History Tab Execute the device monitor function from the
274. l S8OUDIOIJIG Z L Y a y 6 gt A gt 5 D g 0 TI m gt A c fe gt W 3 Q gt Q fe gt g 0 A U Cc Cc 2 rF Z fe io 2 v 0 8 Appendices CIO n 12 Master Status 1 The device variable for CJ series Unit that corresponds to all bits of a word starting with ClO n 12 Is as follows CJ series I O memory address NJ series device variables for CJ series Unit CIO n 12 Oto 15 Mstr1Sta Master Status 1 The functions of bits 0 to 15 of CIO n 12 correspond to those of bits O to 15 of this CJ series Unit device variable The device variables for CJ series Units that correspond to bits O to 15 of a word starting with CIO n 12 are as follows CJ series I O memory address NJ series device variables for CJ series Unit Word address Bt ss Variablename CJ series function name clont2 0 MstriVefyer Verification Error 2 MstioEr SS Remote I O Communications Error Reserved by system Invalid Scan List Data Error a CC Rsv by system ee Master Function Enable Disable Failed Mstr1AlocErr Master User set Allocations User Setting Failed Mstr1FixAlocErr Master Fixed Allocation Area Setting Failed Mstr1SListRegErr Scan List Register Clear Failed Ft Mstr1CycleTmSetErr Communications Cycle Time Setting Failed MstrilOCommSta l O Data Communications Status CIO n 13 Master Status 2 The device variable for CJ series Unit that correspond
275. l occur e If the DeviceNet Master receives an explicit message it will automatically return a response CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 9 6 Message Communications 6 10 Service Data Word 2 byte data and double word 4 byte data in the Service Data such as channel data and error clear codes shall conform to the command format of specifying the lower byte L first followed by the higher byte H Example To specify word data 16 1234 specify 16 34 first and then 16 12 To spec ify double word data 16 12345678 specify 16 78 16 56 16 34 and 16 12 in this order Command Format Example Eg For 16 1234 Eg For 16 12345678 oo aje fe 6 8 e pua opoo Service Data Service Data Accordingly set data in the SendCmd instruction as follows Example 16 1234 Example 16 12345678 From higher byte From higher byte Bit 15 0807 00 0807 00 From lower byte From lower byte Bit 15 0807 00 Bit 15 0807 00 Similarly when word 2 byte data or double word 4 byte data in the Service Data is returned the response format is to return the lower byte L first followed by the higher byte H EN Additional Information e Since data in the Service Data is stored in the little endien order when used in the response format these word 2 byte data and double word 4 byte data must be converted using the AryBTo instruction Refer to the NJU series Instructions Reference Manual Cat No
276. lave User set Allocations Reference Table CJ series I O memory address NJ series device variables for CJ series Unit Word address Bt ss Variablename CJ series function name D m 32 First word in Slave OUT 1 area D m 33 Slave OUT 1 area size D m 35 First word in Slave IN 1 area CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 29 WwesbOold Jasn WOJ Buissaooy Ul SSOUSIOWIG Z L Y gt a y 6 gt A 5 gt 5 D ea 0 TI m A c fe gt W f Q gt Q fe g 0 A U Cc C 2 rF Z fe 2 v 0 g Appendices CJ series I O memory address Wordaddress Bt Variabiename NJ series device variables for CJ series Unit CJ series function name D m 38 First word in Slave OUT 2 area D m 39 Slave OUT 2 area size D m 40 0 to 7 Slave IN 2 area D maa First word in Slave IN 2 area D m 43 to m 74 Slave Detailed Status ma Nd3Sta Node address 3 Nd2Sta Node address 2 Nd63Sta Node address 63 Nd62Sta Node address 62 m 44 Nd62Err Slave Error I 1 1 Y 1 Io i Li I Nd62VefyErr Slave Verification Error Nd62CfgErr Slave Configuration Error Nd62IOErr Slave Remote I O Communications Error Reserved by system Nd62COSSendErr Master COS Send Error Nd62SListRegSta Scan List Registration Flag Fed asad eel alla Nd62lIOCommSta Remote I O Communications Fla
277. lave scan list F Ri 7 3 ct a S g g D Z R c gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 15 9 Troubleshooting and Maintenance Error Likely cause DeviceNet Unit R seg category response ment 1 Ba Memory Master There is an error in the e Records the error in the flashing access scan list contents of the master error log logic error scan list stored in non vol The master remote I O atile memory communications will be stopped Data exchange slave operation and message communications with the CPU Unit will continue Normal operation will resume when the master scan list is written nor mally Start the master remote I O communica tions 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 9 16 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Master Status 1 for CJ series Units CMstrSta _CMstrSta CMstrErr Master Error and UnitErr Unit Error _MstrFunErr Clear the scan list and register the CMsirCfgErr Configuration Error are Master Function Error and scan list again or use the CX Integra TRUE Mstr1SListErr Invalid Scan List Data tor to reset the master sc
278. lavi1FunDatErr BOOL Invalid lt Operation specifications gt Setup Data TRUE Indicates that there is incorrect data in slave settings mismatched checksum The Unit stops slave communications Remote I O communications and mes sage communications continue FALSE Indicates that a Unit is operating with the correct slave setting data or without slave communications being set Changes to FALSE when the slave is properly set after a slave setup data error occurs Default FALSE 3 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for Slav1lORefErr BOOL Slave I O lt Operation specifications gt Refresh TRUE Error l i Indicates that the I O memory in the CPU Unit that is to be refreshed is not present during I O refreshing for the slave func tion It occurs in several situations such as when an I O area is allocated in an EM bank that is not present FALSE Indicates that a slave I O refresh error did not occur Default FALSE Slav1FunSetErr BOOL Slave lt Operation specifications gt Function TRUE Beslan Indicates that an error occurred in one of able Failed the following operations e Sw2SlavEnb iCmd Slave Enable Switch e Sw2SlavDsb iCmd Slave Stop Switch Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed FALSE Indicates that the error did not occur The bit chan
279. le To access a given allocation area from the user program a user defined variable that specifies the AT specification of that allocation area needs to be defined User set Allocations Methods Set through Device Variables for CjJ Method Set through CX Integrator series Unit Master User set Alloca tions Setup Table Allocation areas in memory used ClO 0000 to 6143 for CJ series Unit WR W000 to W511 HR HROOO to HR511 DM D00000 to D32767 EM E _00000 to E _32767 0toC No of allocated blocks 4 blocks OUT 1 IN 1 OUT 2 and IN 2 2 blocks OUT 1 and IN 1 You can create OUT 1 IN 1 OUT 2 and You can create OUT 1 and IN 1 any IN 2 anywhere in the above areas where in the above areas Block allocation order Any order Node address order Any order Allocations must be in order of node addresses 0 to 63 in ascending order Note 1 Node addresses do not have to correspond between blocks Note 1 Not all nodes need to be allo 2 One node address cannot be cated reducing the number of allocated to different blocks words required 2 Node addresses do not have to correspond between blocks Start bit for allocations Allocations can start from bit 00 or bit 08 All allocations start from bit 00 Cannot Allocations that start from bit 08 are in start from bit 08 All allocations are in 1 1 byte units only word units Allocation size Per block 500 words max 2 000 words max for a total of 4 blocks 1 000 wo
280. ll be continued or stopped when a communications error occurs and whether to hold or clear the remote outputs when a communications error occurs in the slave function CJ 1W DR M21 Continue stop communications for communications error when used as a master gt ON i Hold clear I O for communications error when used as a slave im 5 Baud rate im The settings of the DIP switch pins are shown in the following table All pins are set to OFF at the factory Pin Function Setting Continue stop remote I O communi OFF Continue communications when used as a master 4 Hold clear remote outputs for commu OFF Clear remote outputs nications error when used as a slave ON Hold remote outputs 2 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 2 Nomenclature and Installation Baud Rate Pins 1 and 2 are used to set the baud rate as shown in the following table Pin 1 Pin 2 Baud rate OFF OFF 125 kbit s ON OFF 250 kbit s OFF ON 500 kbit s ON Not allowed Precautions for Safe Use Always turn OFF the Controller before changing the unit number setting nN A i al 6 g Q TI gt A ct fe 7 l Precautions for Correct Use Set the same baud rate on all of the nodes Master and Slaves in the Network Any slaves with baud rates different from the master s rate will not be able to participate in communications and may cause a communi
281. ll not be valid if the procedure is done in any other order Post operation Precautions for Correct Use In fixed allocation or user set allocations through the device variables for CJ series Unit area allocations must be set with slave communications disabled and will be transferred to Units when slave communications are enabled Allocations will not be valid if slave communications are enabled during area allocation CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 Remote I O Slave Communications 5 2 Fixed Allocations 5 2 1 Allocated Words If fixed allocation is used allocated words are in the following I O CIO area in the memory used for CJ series Unit You can select words from one of three fixed allocations areas Use Sw2SlavFixAloc1Cmd to Sw2SlavFixAloc3Cmd Slave Fixed Allocation Setting 1 to 3 Switch to select the allocation area Each area is comprised of an OUT area that is used to write data to the master IN area and an IN area that is used for inputs from the master OUT area in remote I O communications To access the following areas from the user program user defined variables that specify the AT specifi cation of these areas need to be defined Area OUT area IN area Selection method master to slave Slave to master Fixed allocation area 1 ClO 3370 ClO 3270 Change _Sw2SlavFixAloc1Cmd Slave Fixed Allocation Setting 1 Switch to TRUE Fixed allocation area 2 ClO
282. llocate remote I O communications in any area without the CX Integrator simply by using device variables for CJ series Unit If you use the CX Integrator you can change the node address order for more flexible I O alloca tions This feature enables the proper area allocation for any application and simplifies program ming which helps you make effective use of the CPU Unit Area on the memory used for CJ series Unit i a 2 Q S a f Note Refer to 4 4 User set Allocations for details Slave Functions You can use CuJ series DeviceNet Units as both masters and slaves and you can execute master and slave communications either separately or simultaneously A Unit that is used as a slave sup ports fixed and user set allocations CJ series DeviceNet Unit Master Master Controller DeviceNet CJ series DeviceNet Unit Slave Slave Controller e 64 nodes max Note Refer to Remote I O Slave Communications for details Multiple Controllers in a Single Network You can connect multiple DeviceNet Units in a single network for message communications between CPU Units as well as for remote I O communications between Controllers and slaves in multiple groups This feature allows a DeviceNet to be used as a common bus that can integrate all types of control with less wiring CJ series DeviceNet Unit CJ series Master DeviceNet Unit Master fi Master Controller CJ series TTT Master
283. llows CJ series I O memory address NJ series device variables for CJ series Unit Word address Bt ss Variablename CJ series function name 8s _Sw2SlavFixAloctCmd Slave Fixed Allocation Setting 1 Switch Slave Fixed Allocation Setting 2 Switch Slave Fixed Allocation Setting 3 Switch Slave User Allocations Switch Unit Setup File Restore Switch Unit Setup File Backup Switch CIO n 2 to n 5 Master COS Send Switch The device variable for CJ series Unit that corresponds to all bits of 4 words from CIO n 2 to n 5 is as follows CJ series I O memory address NJ series device variables for CJ series Unit CIO n 2 to n 5 O to 15 for each word MstrCOSSendCmd Master COS Send Switch Bits 0 to 15 in each word correspond to the bits of this CJ series Unit device vari able as follows Bits 0 to 15 of CIO n 2 correspond to bits O to 15 of this CJU series Unit device variable Bits 0 to 15 of CIO n 3 correspond to bits 16 to 31 of this CJU series Unit device variable Bits 0 to 15 of CIO n 4 correspond to bits 32 to 47 of this CJ series Unit device variable Bits 0 to 15 of CIO n 5 correspond to bits 48 to 63 of this CJU series Unit device variable gt a y 6 gt A gt 5 D 7 0 TI gt A ct fe W 3 Q gt Q fe g 0 A U Cc C 2 rF Z fe 2 v 0 8 Wwesbold Jasn wo Buissaooy Ul SSOUSIOWIG Z L Y CJ series DeviceNet Units Operation Manual for
284. lo cation Size Setup Table Note Allocations with the use of device variables for CJ series Unit Fixed node address order and one block from OUT 1 and IN 1 Using the Unit as a slave Set with the use of the device variables for CJ series Unit Performing message communi Execute communications instructions from the cations between controllers to user program which DeviceNet Units are mounted Mounting multiple DeviceNet 3 Units max with fixed allocations Units using master communica 16 Units max with user set allocations tions to a single controller Mounting multiple DeviceNet 3 Units max with fixed allocations Units using slave communica 16 Units max with user set allocations tions to a single controller Connecting multiple controllers Supported by user set allocations with the use of master communications in a device variables for CJ series Unit or user set allo network cations with the use of the CX Integrator Connecting a single Master con Set multiple Controller to Slave mode from the troller and multiple Slave control device variables for CJ series Unit or the CX Inte lers in a network grator Note Up to 64 Units may be on a network Exam ple 1 Master Controller and 63 Slave Con trollers Sending DeviceNet explicit mes Set the command code to 2801 sages Setting the node address for a Set the rotary switches on the front of the DeviceNet Unit DeviceNet Unit Setting the baud rate fo
285. located in the blocks in word units in the order of node addresses If the allo cated size is 1 byte the rightmost byte is used but the leftmost byte cannot be used First word in allocation size setup table s First word in OUT block 1 k First word in IN block 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 55 3 Data Exchange with the CPU Unit 3 3 3 Slave User set Allocations Setup Table The I O areas in the Memory for CJ series Units specified here for the slave OUT 1 area and slave IN 1 area are used if the slave function is enabled with _Sw2SlavAlocCmd Slave User Allocations Switch You can update I O allocations for the slaves by setting this table and changing _Sw2SlavAlocCmd Slave User Allocations Switch to TRUE The Unit restarts automatically and starts operating with the scan list enabled Name of device variable for CJ series Unit SlavAlocTblCfg 0 SlavAlocTbliCfg 1 SlavAlocTblCfg 2 SlavAlocTbIiCfg 3 SlavAlocTblCfg 4 SlavAlocTbIiCfg 5 SlavAlocTblCfgSta Type UINT UINT UINT UINT UINT UINT WORD Areas and Word Ranges 0 pe The area is not used 8 to 20 Expansion Data Memory EM Bank 0 to bank C 13 banks 3 56 R W J JJ Slave OUT 1 area First word in Slave OUT 1 area OUT 1 area SIZE Slave IN 1 area First word in Slave IN 1 area IN 1 area SIZE Setting
286. lude multiple Master Units in a single CPU Unit as shown below with the use of user set allocations 16 Units max Master Unit Master Unit Slave Slave CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 25 4 Remote I O Master Communications i Allocation Procedures Step 1 Set the CPU Unit to PROGRAM Mode Step 2 Set the Master Enable Switch to TRUE Make sure that master communications was disabled by checking to see if MstrEnb Sta Master Function Enabled Status is FALSE and then set to TRUE the Sw1MstrEnb iCmd Master Enable Switch to enable master communications Once you have turned this switch from OFF to ON which will enable the master the system operates over the master whether the power supply is turned OFF or ON Note Do not change the Master Enable Switch to TRUE unless master communications are stopped If the Master Enable Switch is change to TRUE when master communications are enabled a Unit error will occur and a C5 error will be displayed on the 7 segment indicator on the front panel Step 3 Set the Master User set Allocations Setup Table This table specifies the area and first word for each block and the area and first word for the Alloca tion Size Setup Table e Master User set Allocations Setup Table Name of device variables for tye Name Range CJ series Unit MstrAlocTbICfgf 1 0 to 32767 MstrAlocTbICtgISI 0 to 32767 MstrAlocTbICfg 5 0 to 32767 Ms
287. m to confirm that communications are estab lished before attempting control operations e f frames sent to EtherCAT slaves are lost due to noise or other causes slave I O data is not commu nicated and the intended operation is sometimes not achieved If noise countermeasures are required use the _EC_ nDatalnvalid Input Data Disable system defined variable as an interlock condition in the user program Refer to the NJU series CPU Unit Built in EtherCAT Port User s Manual Cat No W505 for details The slave outputs behave according to the slave settings Refer to the manuals for the slaves for details e When an EtherCAT slave is disconnected communications will stop and control of the outputs will be lost not only for the disconnected slave but for all slaves connected after it Confirm that the system will not be adversely affected before you disconnect a slave e If you disconnect the cable from an EtherCAT slave to disconnect it from the network any current communications frames may be lost If frames are lost slave I O data is not communicated and the intended operation is sometimes not achieved Perform the following processing for a slave that needs to be replaced Program the _EC_ nDatalnvalid Input Data Disable system defined variable as an interlock con dition Set the Impermissible Number of Continuous Timeouts setting in the EtherCAT master to at least 2 Refer to the NJ series CPU Unit Built in EtherCAT Port User s
288. max Command Class ID Instance ID Service Data Code Service Code Destination Node Address 6 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications Response Block Normal Response 28 01 00 00 534 bytes max A o _ Command Response No of Byte Service Data Code Code Received Service Code Destination Node Address remote node Error Responses The following response is returned if an error occurs for the explicit message 28 01 00 00 94 7 Command Response No of Bytes Error Code Code Code Received Service Code 94 Hex Destination Node Address remote node The following response is returned if the explicit message cannot be sent or times out 28 01 Command Response received received q N v S m 3 g Parameters Destination Node Address command The node address of the destination of the explicit mes sage The node address of the local Master Unit is specified as the input variables DstNetAdr Des tination network address in the SendCmd instruction when the Explicit Message Send command is sent but the node address of the actual destination is specified here Service Code command response A service code defined for DeviceNet In a normal response bit 15 of the service code specified in the command will be TRUE and re
289. md LWORD RW Discon Executes the operation of Discon nect Con nect Connect Switches for multiple slaves nect at the same time Switches Bits 0 to 63 correspond to the Discon nect Connect Switches for slaves at node addresses 0 to 63 Default 164 0000000000000000 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit The following device variable for CJ series Unit is used when you execute an individual function for each slave Name of device variable for CnctNdCmd 0 to 63 BOOL RW Discon lt Operation specifications gt nect Con TRUE nect a Swiches tor Stops remote I O communications with the Node corresponding slave Address FALSE 0 63 Slave Starts remote I O communications with the corresponding slave Default FALSE 3 2 5 Unit Status 1 The following device variable for CJ series Unit is used to reference all information of Unit Status 1 Name a ani ae for Type Rw Area Function Unit1Sta WORD Unit Status Bit 00 Unit Error 1 Bit 01 Master Function Error Bit 02 Reserved by system Bit 03 Slave Function Error Bit 04 Unit Memory Error Bit 05 Bus Off Error Bit 06 Node Address Duplicated Error Bit 07 Network Power Error Bit 08 Send Timeout Error Bit 09 Reserved by system Bit 10 Reserved by system Bit 11 Reserved by system Bit 12 Routing Table Error Bit 13 Invalid Message Timer List Error Bit 14 Reserved by system Bit 15 Re
290. mmunications are stopped slave operation is stopped and message communications are disabled FALSE Indicates that the error did not occur Once this error occurred the bit will remain TRUE and will not return to FALSE Normal Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 27 BUEMYOS pun S u s gt 10 Se qeUeA 22A Z E SOSMETS SOURIMS iY Ol Cc ep o Cc T 3 Data Exchange with the CPU Unit Name of device variable for NdAdrDupErr BOOL Node lt Operation specifications gt Address TRUE T Indicates a duplicate node address check rror error when the Unit starts up The Unit goes offline and all communica tions stop Remote I O communications stop slave operation stop and message communications are disabled FALSE Indicates that the error did not occur Once this error occurs the bit will remain TRUE and will not return to FALSE Nor mal Default FALSE NetPwrErr BOOL Network lt Operation specifications gt Power Error TRUE Indicates that there is no power from the network power supply Note Remote I O communications stop if DIP switch pin 3 remote I O com munications stop continue with a communications error on the front panel is ON stop FALSE Indicates that the error did not occur Or changes to FALSE when the network power supply restarts Default FALSE 3 28 CJ series DeviceNet Units Operatio
291. mory EM 0 to 32767 EO 00000 to E0_32767 Bank 0 to bank C 13 banks EC _00000 to EC_32767 for all banks Note You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subse quent banks 3 3 7 Slave Detailed Status Various types of statuses of each slave controlled by the master communication are provided The following device variables for CJ series Unit are used to reference all information of the device vari ables for CJU series Unit detailed slave status table Name of device variable for NdOSta BYTE Detailed Each bit of Nd0OSta to _Nd63Sta indi to Slave Sta cates the following statuses for slaves at Nd63Sta tus Table for node addresses 0 to 63 Node Bit 00 Slave Error for node addresses 0 to Addresses 63 FOGS Bit 01 Slave Verification Error Flag at node addresses 0 to 63 Bit 02 Slave Configuration Error for node addresses 0 to 63 Bit 03 Slave Remote I O Communications Error for node addresses 0 to 63 Bit 04 Reserved by system Bit 05 Master COS Send Error for node addresses 0 to 63 Bit 06 Scan List Registration Flag for node addresses 0 to 63 Bit 07 Remote I O Communications Flag for node addresses 0 to 63 Data range 16 00 to FF Default 16 00 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 61 SUONLDO Y HUN SOLES f 10 S jqeuer 22A E E S qa N ee D w D D D Q ep o Cc 3 Data Excha
292. mote I O Max No of Slaves con Fixed allocations 63 nodes User set By CX allocations Integrator By device variable for master nected per DeviceNet Unit i N F h A ro 5 T CJ series Unit Max No of I O points per Fixed allocations 2 048 pts 64 input words 64 output words DeviceNet Unit User set By CX 16 000 pts 500 input words x 1 block 500 output words x allocations Integrator 1 block By device 32 000 pts 500 input words x 2 blocks 500 output words x variable for 2 blocks CJ series Unit Max No of I O per Slave con Fixed allocations 2 048 pts 64 input words 64 output words trollable by a DeviceNet Unit User set By CX 3 200 pts 100 input words 100 output words allocations Integrator By device 3 200 pts 100 input words 100 output words variable for HU ONSTAGE L g CJ series Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 9 1 Features and System Configuration Remote I O Slave Default settings 1 10 Item Specifications Allocation method Using the user defined variable for R W to the allocation area Fixed allo Select one of the following fixed allocation areas with the use of the cations device variable for CJ series Unit Slave Fixed Allocated Area Switches 1 2 and 3 Allocated Size Fixed Fixed Fixed words CIO Alloca Alloca Alloca Area tion tion tion Area Area Area Setting S
293. n 1s 1s OFF 0 1 s aerate OFF 0 3 s error code 1 s OFF 0 3 s Master s node address 1 s If there is an error at the DeviceNet Unit e The master s error code and master s node address will be displayed if an error has occurred at the master e There is no priority for showing error codes All error codes that occur at that time are shown in sequence e For the error codes displayed on the seven segment display refer to 9 1 Troubleshooting with the DeviceNet Unit Indicators Dot Indicators The following table shows the functions of the dot indicators Indicator Content Display Left dot Scan list ON Master function disabled enabled disabled Flashing Scan list disabled OFF Scan list enabled master function disabled Right dot Slave function dis ON Slave function disabled abled OFF Slave operating 2 1 2 Switch Settings i Unit No Switch CJ 1W DR M21 45G Y JEN ASE IZA L090 Use the Unit No Switch to set the unit number for units as a CPU Special Unit Set a unique unit number for each CPU set Special Unit installed in the CPU Rack and Expansion Rack with the unit numbers in the unit configuration Turn OFF the Controller before changing the unit number setting Setting method One digit hexadecimal Setting range OtoF Note The unit number is set to 0 at the factory You can set any unit number from 0 to F as long as it has not been set on another
294. n Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for SendTimeoutErr BOOL Send Time lt Operation specifications gt out Error TRUE Indicates that a send timeout occurred due to one of the following factors e No slaves present e Mismatched baud rate settings Note Remote I O communications stop if DIP switch pin 3 remote I O com munications stop continue with a communications error on the front panel is ON stop FALSE Returns to FALSE at the start of communi cations even with just one slave Default FALSE RTblErr BOOL Routing lt Operation specifications gt Table Error TRUE Incorrect data in the routing tables set in the CPU Unit FALSE Indicates that the error did not occur This error will not occur if a routing table is not set Default FALSE MsgListErr BOOL Invalid Mes lt Operation specifications gt sage Timer TRUE ISi Error Indicates that the data in the message monitoring timer list is not correct FALSE Indicates that the data in the message monitoring timer list is correct Changes to FALSE if CX Integrator regis ters a message monitoring timer list when the error occurs Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 29 BUEMYOS pun S u s gt 10 Se qeUeA 22A Z E SOSMETS SOURIMS iY Ol Cc ep o Cc ar 3 Data Exchange with the CPU Unit 3 2 6 U
295. n NJ series device a user program accesses various functions pro vided by the DeviceNet Unit through device variables for CJ series Unit that specifies AT specification for the memory used for CJ series Unit The device variables for CJ series Unit in the NJ series CPU Unit s memory for CJ series Unit that cor respond to the addresses and bit positions in the CJ series CPU Unit s I O memory are listed below First word in Special I O Unit ClO Area n CIO 1 500 Unit number x 25 Unit number 0 to 15 First word in Special I O Unit DM Area m D380 000 Unit number x 100 Unit number 0 to 15 f CPU Bus Unit Words Allocated in CIO Area CIO n Software Switch 1 The device variable for CJ series Unit that corresponds to all bits of a word starting with CIO n is as follows A 2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices CJ series I O memory address NJ series device variables for CJ series Unit Clon Oto 15 Sw1iCmd Software Switches 1 The functions of bits 0 to 15 of ClO n correspond to those of bits 0 to 15 of this CJU series Unit device variable gt a y 6 gt A 5 gt 5 D ea 0 TI m gt A ct fe W 3 Q gt Q fe g 0 A U Cc C gt rF Z fe 2 v 0 8 Wwesbold Jasn wo Buissaooy Ul S8OUDIOWIG Z L Y CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 3 Appendices The device var
296. n a master function structure error or verification error occurs only the most recent error is displayed for each slave If the Unit is set to stop the remote I O communications for a communications error two errors can be displayed The slave s communications error and its most recent error 9 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Status of C200H Master Replacement Master Status 1 CMstrSta _CMsitrSta CMstrErr Master Error and CMstrVefyErr Verification Error are TRUE CMstrErr Master Error and CMstrVefyErr Verification Error are TRUE CMstrErr Master Error and CMstrVefyErr Verification Error are TRUE CMstrErr Master Error and CMstrVefyErr Verification Error are TRUE CMstrErr Master Error and CMstrVefyErr Verification Error are TRUE CMstrErr Master Error and CMstrVefyErr Verification Error are TRUE CMstrErr Master Error and CMstrlOErr Communications Error are TRUE 9 Troubleshooting and Maintenance Status of device variables for CJ series Units Mstr1VefyErr Verification Error UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Mstr1VefyErr Verification Error UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Mstr1VefyErr Verification Error UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Mstr1VefyErr Verificati
297. n describes other functionality provided by the DeviceNet Unit This section describes the communications timing of the DeviceNet Unit and the per formances of the remote I O communications and message communications This section describes the troubleshooting procedure event logs and maintenance procedure for the DeviceNet Unit i CX Integrator Ver 2 Operation Manual Cat No W464 Section Section 1 Overview Section 2 Basic Operations Section 3 Trouting Tables Section 4 Data Links for Controller Link and SYSMAC LINK Section 5 Ethernet Section 6 DeviceNet Section 7 CompoNet Section 8 CompoWay F Section 9 NT Link Section 10 Network Testing Appendices CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Description This section provides an overview of the CX Integrator and describes the CX Integra tor menus and connecitions This section describes the basic operations used for the CX Integrator This section describes how to set the routing tables For NU series routing table is created by using Sysmac Studio instead of CX Integrator This section describes how to set data links for Controller Link and SYSMAC LINK networks This section describes the operations specific to Ethernet This section describes the settings and operations unithe to DeviceNet networks including registeing slaves in the master I O allocations and devide monitoring This section descr
298. n will resume when the slave scan list is written normally Start the slave remote I O communications Error log Hex 0342 021A 021A 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 2 The NS indicator will flash red if the error occurs during remote I O communications otherwise the indicator will be OFF 9 14 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Master Status 1 for CJ series Units CMstrSta _CMstrSta CMstrErr Master Error and SendTimeoutErr Send Timeout Check the following CMsitrSendErr Send Error are TRUE Error and _UnitErr Unit Error are e Matching master and slave baud TRUE rates Proper cable lengths trunk and branch lines Broken or loose cables Installation of terminators only at both ends of the trunk line Excessive noise CMstrErr Master Error and UnitErr Unit Error and _MsgListErr Use the CX Integrator to register the CMstrCfgErr Configuration Error are Invalid Message Timer List Error are message monitoring timer list again TRUE TRUE UnitErr Unit Error _SlavFunErr Disable the slave reset the alloca Slave Function Error and _MemErr tions and then enable the slave again Unit Memory Error are TRUE or use the CX Integrator to reset the s
299. nal make the connections so that the FG terminal has the same electrical potential as the GR terminal on the Power Supply Unit A difference in electric potential between the computer and Controller may cause failure or malfunction lf the external power supply to an Output Unit or slave has polarity connect it with the correct polarity lf the polarity is reversed current may flow in the reverse direction and damage the connected devices regardless of the operation of the Controller i Power Supply Design Do not exceed the rated supply capacity of the Power Supply Units in the NJ series Controller The rated supply capacities are given in the NJ series CPU Unit Hardware User s Manual Cat No W500 If the capacity is exceeded operation may stop malfunctions may occur or data may not be backed up normally for power interruptions Use NJU series Power Supply Units for both the NJ series CPU Rack and Expansion Racks Operation is not possible if a CJ series Power Supply Unit is used with an NJ series CPU Unit or an NJ series Power Supply Unit is used with a CJ series CPU Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Precautions for Safe Use Do not apply voltages or connect loads to the Output Units or slaves in excess of the maximum rat Ings e Surge current occurs when the power supply is turned ON When selecting fuses or breakers for external circuits consider the above precaution and allow suffici
300. nction was executed when the slave function was disabled A configuration error has occurred There is an error in the parame ters specified in the user set tings and the requested setting could not be made More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was completed for a previous software switch 74630000 hex Slave Func Anerror occurred in An attempt was made to enable S page 9 53 tion one of the following the slave function when it was Enable Dis operations in the already enabled able Failed slave function An attempt was made to dis able the slave function when it was already disabled CPU Unit is not in PROGRAM mode More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was completed for a previous software switch 74640000 hex Slave Fixed An error occurred in The slave function is not dis S page 9 54 Allocation one of the following abled Area Setting operations for fixed CPU Unit is not in PROGRAM Failed allocation of the mode slave More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was completed for a previous software switch CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 39 amp m 6 A r amp W 8IQel 10113 c V 6
301. ng Results of Master User set Alloca tions Setup CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices D m 8 to m 14 Slave User set Allocations Setup Table CJ series I O memory address NJ series device variables for CJ series Unit Word address Bt ss Variablename CJ series function name D m 9 First word in Slave OUT 1 Area D m 12 First word in Slave IN 1 Area D m 14 Oto 15 _SlavAlocTblCfgSta Setting Results of Slave User set Alloca tions Setup D m 15 to m 18 Communication Cycle Time Reference Table CJ series I O memory address NJ series device variables for CJ series Unit D m 15 Oto 15 CycleTmRefTblSta 0 Communications cycle time setting value D m 16 Oto 15 CycleTmRefTblSta 1 Communications cycle time present value D m 17 Oto 15 CycleTmRefTblSta 2 Communications cycle time maximum value D m 18 Oto 15 CycleTmRefTblSta 3 Communications cycle time minimum value D m 19 to m 30 Master User set Allocations Reference Table CJ series I O memory address NJ series device variables for CJ series Unit Word address Bt ss Variablename CJ series function name D m 20 First word in OUT block 1 D m 21 No of bytes in OUT block 1 D m 23 First word in IN block 1 D m 24 No of bytes in IN block 1 D m 26 First word in OUT block 2 D m 27 No of bytes in OUT block 2 D m 29 First word in IN block 2 D m 30 No of bytes in IN block 2 D m 31 to m 42 S
302. ng wiring work For EtherCAT and EtherNet IP use the connection methods and cables that are specified in the NJ series CPU Unit Built in EtherCAT Port User s Manual Cat No W505 and the NJU series CPU Unit Built in EtherNet IP Port User s Manual Cat No W506 Otherwise communications may be faulty Use the rated power supply voltage for the Power Supply Units 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 Make sure that the current capacity of the wire is sufficient Otherwise excessive heat may be gener ated When cross wiring terminals the total current for all the terminals will flow in the wire When wiring cross overs make sure that the current capacity of each of the wires is not exceeded Do not touch the terminals on the Power Supply Unit immediately after turning OFF the power supply Residual voltage may cause electrical shock If you use reed switches for the input contacts for AC Input Units use switches with a current capacity of 1 A or greater If the capacity of the reed switches is too low surge current may fuse the contacts CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Precautions for Correct Use f Error Processing e In applications that use the results of instructions that read the error status consider the affect on the system when errors are detected and program error pr
303. nge with the CPU Unit 3 62 The following device variables for CJ series Unit are used to reference individual information Name of device variable for CJ series Unit NdOErr to Nd63Err NdOVefyErr to Nd63VefyErr NdOCfgErr to Nd63CfgErr Slave Error for node addresses 0 to 63 Slave Verifi cation Error for node addresses 0 to 63 Slave Con figuration Error for node addresses 0 to 63 Function lt Operation specifications gt TRUE Indicates that a remote I O communica tions error occurred with the correspond ing slave More specifically this bit changes to TRUE when at least one of the following errors occurs e Mstr1 VefyErr Verification Error e Mstr1StruErr Structure Error e Mstr1 OErr Remote I O Communica tion Error FALSE Indicates that none of the above errors occured Changes to FALSE when the error is Clear Default FALSE lt Operation specifications gt TRUE Indicates that the data for the slave regis tered in the scan list is different from the actual Slave FALSE Indicates that a verification error did not occur Changes to FALSE when a verifica tion error is cleared Default FALSE lt Operation conditions gt It occurs with the scan list enabled lt Operation specifications gt TRUE Indicates that I O allocations cannot be made with the scan list disabled FALSE Indicates that a structure error did not occur Cha
304. nges to FALSE when a struc ture error is cleared Default FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for NdOlOErr BOOL Slave lt Operation specifications gt to Remote I O TRUE Nd63IOErr Communi l SAGs Indicates that an error occurred in remote Enori da A with the correspond od ing slave addresses This bit changes to TRUE if a timeout 0 to 63 occurs in at least one connection with mul tiple connections set FALSE Indicates that a remote I O communica tions error did not occur Or changes to FALSE when a remote I O communica tions error is cleared Default FALSE NdOCOSSendErr BOOL Master lt Operation specifications gt to COS Send TRUE N E Error f ARAGI SO RENAEI RN K Indicates that COS sent to a slave desti addresses nation failed 0 to 63 Use MstrCOSSendCmd Master COS Send Switch to send COS The following may cause the failure of COS signal transmission e Remote I O communications stopped e A COS connection was not established e Bus OFF is occurring or has occurred e A network power error is occurring or has occurred e A send timeout is occurring or has occurred Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed FALSE Indicates that the error did not occur The bit changes to FALSE when the operation is successfully completed Default
305. nit Status 2 The following device variables for CJ series Unit is used to reference all information of Unit Status 2 Name of device variable for Unit2Sta WORD Unit Status Bit 00 Online Status 2 Bit 01 Remote I O Communications Sta tus Bit 02 Reserved by system Bit 03 Master Function Enabled Status Bit 04 Scan List Disabled Status Bit 05 Reserved by system Bit 06 Automatic Slave Connection Status Bit 07 Slave Function Enabled Status Bit 08 File Read Write Error Bit 09 Reserved by system Bit 10 Reserved by system Bit 11 Reserved by system Bit 12 Reserved by system Bit 13 Reserved by system Bit 14 Reserved by system Bit 15 Error History Registered Flag Default 16 0000 The following device variables for CJ series Unit are used to reference individual information Name of device variable for OnlineSta BOOL Online Sta lt Operation specifications gt tus TRUE Indicates that the Unit is online Note When the Send Command instruc tion SendCmd is executed from the user program use _ Port_isAvailable Communications Port Enabled Flag in the CPU Unit and this flag as an AND input condition FALSE Indicates that the Unit is offline A Unit will go offline under the following conditions e Operation is stopped by the hard ware software check at startup e An error occurred in the duplicate node address check Refer to _NdAdrDupErr Node Address Duplicated Error e A Bus OFF error occurr
306. nits If the size is set at 0 bytes for a node address it is skipped the words are allocated to the next p address c e Allocation Size Setup Table Q vi is the start address for the Allocation Size Setup Table specified with MstrAlocTbiCfg 4 g Allocation Size Setup Table Area and _MstrAlocTbICfg 5 First Word in Allocation Size Setup 2 Table 1 et a Bit 15 08 07 00 140 Node address 0 OUT size bytes l 1 Node address 1 OUT size bytes to to l 62 Node address 62 OUT size bytes 463 Node address 63 OUT size bytes Step 5 Set the Master User set Allocations Setup Switch to TRUE Change Sw1MstrAlocCmd Master User set Allocations Switch to TRUE The DeviceNet Unit performs the following two steps simultaneously to start remote I O communications with the scan list enabled reading allocation result for the above slaves from the NJ series CPU Unit and creating a scan list based on actual connection information of slaves qeL dn S suo1 eoo ly 19S JOS JOISE pun s n s f JO SajqeueA 209d y6no1y suas CVV Note The Master User set Allocations Switch not only reads slave allocation data but it also enables the scan list Output OUT area Master User set Allocations Setup Table ae First word pit 45 0 Specify the first word Name of device variables for CU series Unit Name i wW Node address 0 ih _MstrAlocTbICfg 0 OUT block 1 area DS oneamance ss 3 eee MstrAlocTbIC
307. nits Operation Manual for NJ series CPU Unit W497 Appendices NJ series device variables for CJ series Unit CJ series function name Registered Slave Table Corresponding to Node Address 0 Slave Registered Slave Table Corresponding to Node Address 1 Slave Registered Slave Table Corresponding to Node Address 2 Slave Registered Slave Table Corresponding to Node Address 3 Slave Registered Slave Table Corresponding to Node Address 4 Slave Registered Slave Table Corresponding to Node Address 5 Slave Registered Slave Table Corresponding to Node Address 6 Slave Registered Slave Table Corresponding to Node Address 7 Slave Registered Slave Table Corresponding to Node Address 8 Slave Registered Slave Table Corresponding to Node Address 9 Slave Registered Slave Table Corresponding to Node Address 10 Slave Registered Slave Table Corresponding to Node Address 11 Slave Registered Slave Table Corresponding to Node Address 12 Slave Registered Slave Table Corresponding to Node Address 13 Slave Registered Slave Table Corresponding to Node Address 14 Slave Registered Slave Table Corresponding to Node Address 15 Slave A 19 Wwesbold Jasn wo Buissaooy Ul S8OUDIOWIG Z L Y gt y 6 gt A 5 gt 5 D ea 0 Tl m gt A c fe W 3 Q gt Q fe gt g 0 A U Cc a gt rF Z fe 2 v 0 8 Appendices CJ series I O memory address NJ series device v
308. nline with the network and remote I O com munications have been established with a slave regis tered in the scan list or message communications have been established Flashing The Unit is Online with the network but neither remote I O communications nor message communications have been established Either the scan list is being read or both remote I O communications and message commu nications are disabled Lit A major fault in communications has occurred Network communications are not possible Node address duplicated or Bus Off error Flashing A partial or minor fault in communications has occurred Communications Error Structure Error or Verification Error Not lit The Unit is not Online with the network There is no net work power supply the Unit is being reset a partial or minor fault or a sending error has occurred Note The indicators flash at a 0 5 s interval CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 nN A i a 6 g gt Q TI A ct fe 7 SUOI OUN pue MPJPuUIWON L L Z 2 Nomenclature and Installation Seven Segment Indicator In addition to the MS and NS indicators DeviceNet Units have a 2 digit 7 segment indicator that nor mally indicates the master node address When an error occurs the indicator will alternately show between the error code and the node address of the faulty slave There are dot indicators at the lower right co
309. nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 33 UNIC VOVSIONS iaci 36 Related Mantas sire 38 REVISION HIS RON ceira ust astavecteniucriedeaad en cenanasnenoseatinencccusswensuetisaacouanemusuuas 39 Section 1 Features and System Configuration 1 1 DeviceNet Unit Features iisidiiietiarciussviiseavivedtidadsaistuarviiseeniduainiuchasiavddareedanisniaaviauaucauduninuaaviainn 1 2 LEZ lt SPECINGAUONS anos a aa 1 7 1 2 1 DEVICE ING UNIT ema n a a a a a 1 7 1 3 Overview OF CX INGEQIAON sisia a aa a 1 13 1 4 Basic Operating Proc dures sicsissisivssestssetacicteasessatscevtacanviiuudcwsscdvaneswatasasiaeesstiaxivssastusansasaatece 1 14 1 4 1 Network Installation PrOCOC Ue eaea a Se aunak Suh ueauie E N tush dh E E E A 1 14 1 4 2 DeviceNet Unit Startup Procedure ccccccccecccceceeeeeceeeeeeeeeeeeeeeeeeeeeesaeaeeeseeeeceeeeeeeesseeeaaegeas 1 15 1 4 3 Message Communications Only Neither Master nor Slave Function Used 00 e0ee 1 21 1 5 Listof Usage Methods by PUIPOS C ssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 1 22 Section 2 Nomenclature and Installation 12 2 1 Nomenclature and Functions sccscccccsecceccneccceneececoueouseuseueeoueeueuseuseueeouseuseuseuseuesausaueeussuesaueaues 2 2 2 1 1 Nomenclature and FUNCIONS use arnai eee create a a a a a a 2 2 2 1 2 SWENSEN S sa a EEA T 2 5 2 2 Installing the DeviceNet Unit iiciin paia a aiaia aaa aaa 2 9 2 2
310. normally ee 16 1101 No area e Incorrect area setting e The allocated size in the allocation size setup table is 0 16 1103 Address range specification error The first word is outside the setting range 16 110C Parameter error e The OUT or IN size in the allocation size setup table exceeds 200 bytes e Both the OUT and IN blocks are set for no allocations e No slaves are allocated 16 1104 Address range overflow e The block or the allocation size setup table exceeds the valid word range e The block is larger than 1 000 bytes 16 2201 Wrong operating mode The CPU Unit is not in PROGRAM mode 16 2211 Unit busy Service cannot be executed because the Unit is busy 16 2606 The Unit master communications are not dis abled P Precautions for Correct Use Make sure the CPU Unit is in PROGRAM mode and the master function is enabled before you set these values 3 54 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit i Allocation Size Setup Table Set the following allocation size setup tables in the memory used for CJ series Units of the CPU Unit to use the Master User set Allocations Setup Table The number of bytes set in the allocation size setup table are allocated in word units in order of node addresses for OUT block 1 and then IN block 1 Set the sizes within a range from 0 to 200 bytes 100 words To set the tables shown below from the user program alloca
311. not be allocated more than once Example OUT block 1 OUT block 2 x Node address 02 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 23 4 Remote I O Master Communications d The start bit for node addresses can be bit 00 or bit 08 If it is bit 08 however 2 or more bytes cannot be allocated as shown below Start byte x i 0 e Multiple masters cannot share the same slave Master Master x Slave You can determine whether there are duplicate node addresses in the I O allocations scan lists that were created simply by conducting a master parameter file duplicate check from the CX Integrator f Be sure to use user set allocations and operate with the scan list enabled if multiple mas ters are connected to a single network A Bus OFF errors will occur if multiple fixed alloca tions masters operating with the scan list disabled are present on a single network g You can include multiple Master Units in a single CPU Unit as shown below using user set allocations 16 Units max Master Unit Master Unit Slave Slave Step 3 Define User defined Variable To access the area where the slave is allocated from the user program a user defined variable that specifies the AT specification of that area needs to be defined i Example of User set Allocations Using the C X Integrator Allocation status OUT area IN area Be Node a N Slave types address Node OUT block 1 setting
312. nse time lt lt Precautions for Safe Use Actual I O response times depend on the number of CJ series Units that you use the size of I O data that is refreshed for other CPU Bus Units and other factors The values that are calculated with these formulas are guidelines only You must always check performance under actual condi tions with the actual hardware and make sure that suitable I O response times are achieved i Formula for the Maximum I O Response Time You can calculate the maximum I O response time Tmax ms with the following formula 9 a l j A 0 A ch 0 a A a A il T c a Tmax Tin Tam X 2 Nawmmax X Tau Trt out Tout T n Input slave ON or OFF delay ms Tru Communications cycle time ms SOW suods y C 10 s u pin Hunen Z L 8 NeRemmax Number of communications cycles of the DeviceNet Unit that waits for data to return from the CPU Unit Trt ouT Communications time per slave for output slaves ms Toyt Output slave ON or OFF delay ms CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 5 8 Communications Timing 8 6 Nrnvnmax is the smallest value that meets the following condition NrmmMax X TRM gt TRENJ TRENJ TINNJMAX Task period x 3 y TOUTNJMAX y Number of CPU Bus Units 1 x 1 ms Task period Note Truncate the decimal portion of y and use the resulting integer in the formula TINNJMAX Input processing time in C
313. o Change _Sw2SlavFixAlociCma to _ Sw2SlavFixAloc3Cmad Slave Fixed Allocation Setting 1 to 3 Switch to TRUE from the Sysmac Studio Change _Sw2SlavEnblCmd Slave Enable Switch to TRUE from the Sysmac Studio Define user defined variables in the area to which I O data is allocated Switch the CPU Unit to RUN mode Slave remote I O communications will begin Note Slave communications must be disabled prior to area allocation and must be enabled after area allocation The order of the procedure is 1 stop slave communications allo cate areas and then enable slave communications The allocated areas will not be valid if the procedure is done in any other order CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 Remote I O Slave Communications User set Remote I O Allocations Using the CX Integrator Connect the CX Integrator to the NJ series CPU Unit Pre operations Switch the CPU Unit to PROGRAM mode 1 Enable slave communications in CJU1W DRM21 Properties using the CX Integrator 2 Create the device parameters to set slave communications 3 Save the data as a device parameter file 3 Go online and directly download the device 4 Read the device parameter file go online parameter file to the DeviceNet Unit slave and download the file to the DeviceNet Unit without saving the file slave O O O v Q J O San lt x y j L 9 j
314. o E5_32767 E6 00000 to E6_32767 E7_00000 to E7_ 32767 E8 00000 to E8_32767 E9 00000 to E9_32767 12 EA_00000 to EA_32767 13 EB_00000 to EB_32767 14 EC_00000 to EC_32767 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Index CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Index 1 Index Index Numerics 7 segment indicator cccccceeeeeeceesseeeceeeeeeseeseeeeeeeees 2 4 A Allocation size setup table cccccccssseeeeeeseeeeeeeneees 3 55 Allocations Setting Table cccceeeeeseeeeeeeeeeeeeeeeees 3 51 PSSUMEGICAUSE nnet a N 9 36 AT SOCCINC ANON acessi a EAS 3 4 AT specification destination ccccceeeeceeeeeeeseeeeeeeeeeaees 3 2 Automatic Slave Connection seeccecseee 3 32 A 15 B Backing Up Unit Setup File 20 cccseseeeeeeeeeeeeeeees 7 3 Baud RIIE fects lueectee detect tise eee Sac csteb eee 2 7 Bit ODE tatiana asta ancien E 5 12 A 35 Bus OM DEE IEO a Stel ole ete Re Sheed RIA 9 55 B SOMENMOT sxcucescastecet ce johed crt l o2 Ate tes er etulue ads 3 27 C C200H Master Replacement Master Status 3 9 3 48 C200H Master Replacement Master Status 1 3 48 A 27 Calculating Guidelines for I O Response Times 8 5 Characteristics of remote I O communication 8 2 GOV T anura a taco asada a A 2 Communication Cycle Time Reference Table A 29 Communication Cycle Time Setting
315. o as a Slave Unit 4 1 1 Allocations All slaves are allocated in the I O memory area in the NJ series CPU Unit to which the Master Unit is mounted They are allocated using one of the following methods 1 Fixed allocations 2 User set allocations Note With either fixed or user set allocations to access the area where each slave is allocated from the user program a user defined variable that specifies the AT specification of that area needs to be defined 4 2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications i Fixed Allocations You can use _Sw1MstrFixAlociCmd to _Sw1MstrFixAloc3Cmd Master Fixed Allocation Setting 1 to 3 Switch to specify where a slave is allocated in the following fixed allocation areas 1 to 3 The output OUT block and the input IN block are allocated to a certain area as shown below in the order of node address To access the allocated area from the user program a user defined variable that specifies the AT spec ification of that area needs to be defined User program NJ Series Memory used for CJ series Unit IO 3200 Address 0 Master Fixed Allocation CIO 3200 Output CIO 3201 Address 1 Setting 1 Switch OUT Io i CIO 3263 block 1 CIO 3262 Address 62 User defined IO 3263 Address 63 variable IO 3300 Address 0 CIO 3300 Input CIO 3301 _Address 1 IN o CIO 3363 block 1 CIO 3362 Address 62 IO 3363 Address 63
316. ocations Setup Table You can allocate words for the OUT 1 area master to Slave Unit and IN 1 area Slave Unit to mas ter from any specified location for the memory used for CU series Unit specified in the settings in the device variables for CJ series Unit To access a slave allocated to the memory used for CuJ series Unit from the user program user defined variables that specify the AT specification of the memory used for CJ series Unit to which the slave is allocated must be defined Specified areas in memory used for CU series Unit Save Master Bit 15 0 First word specified 7 OUT 1 area gt OUT area J Bit 15 0 First word 7 specified IN 1 area gt IN area Connection Types The type of connection cannot be specified when the device variables for CJ series Unit is used for set tings The master specifies a poll bit strobe COS or cyclic connection Allocation Procedures Step 1 Set the CPU Unit to PROGRAM Mode Step 2 Stop Slave Communications If the Unit already functions as a slave change _Sw2SlavDsb iCmd Slave Stop Switch to TRUE to stop slave communications This step is not necessary if slave communications are stopped Step 3 Set the Slave User set Allocations Table This table is used to specify the areas first words and sizes for OUT block 1 and IN block 1 to the device variables for CJ series Unit below e Slave User set Allocations Setup Table Name of device variables for Type Name
317. ocessing accordingly For example even the detection of a minor error such as Battery replacement during operation can affect the system depending on how the user program is written e If you change the event level of a Controller error the output status when the error occurs may also change Confirm safety before you change an event level i Restoring and Automatically Transferring Data e When you edit the restore command file or the automatic transfer command file do not change any thing in the file except for the yes and no specifications for the selectable data groups If you change anything else in the file the Controller may perform unexpected operation when you restore or automatically transfer the data i Unit Replacement e f you replace a CPU Bus Unit or Special I O Unit refer to operation manual for the Unit for informa tion on the data required for individual Units and redo the necessary settings e The absolute encoder home offset is backed up with a Battery in the CPU Unit When you change the combination of the CPU Unit and Servomotor e g when you add or replace a Servomotor define home again To restore the information without changing the CPU Unit Servomotor combination remove the abso lute encoder home offset from the data to restore i Task Settings e If a Task Period Exceeded error occurs shorten the programs to fit in the task period or increase the setting of the task period i Motion Con
318. oller errors confirmation methods and corrections Check current Controller events and the event log of past events aysmac sudiga NJ series CPU Unit PLC Function Motion Control EtherCAT Master EtherNet IP Event scutes Function Module Function Module Function Module Se UE User program Create User defined L CL Error instruction Event logs SetAlarm Create User defined Information instruction SetInfo NS series PT Backup battery Check current Controller events and the event log of past events To use an NS series PT to check events connect the PT to the built in EtherNet IP port on the CPU Unit m lt 3 a 607 JUSAF y JO MSIAIOAC P 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 35 9 Troubleshooting and Maintenance 9 4 2 Error Table The errors that may occur for this Unit are listed below The following abbreviations and symbols are used in the event level column Abbreviation Maj Prt Min Obs Info Symbol S U Meaning Major fault level Partial fault level Minor fault level Observation Information Meaning Event levels that are defined by the system Event levels that can be changed by the user This symbol appears only for events for which the user can change the event level A version in parentheses in the Event code column is the unit version of the CPU Unit when the event
319. oller to the Sysmac Studio For the Sysmac Studio synchronization is used to both upload and download data Here synchronize 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 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 10 Manual Structure CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Sections in this Manual Sections in this Manual Index Features and System Configuration Nomenclature and Installation Data Exchange with the CPU Unit Remote I O Master Communications Remote I O Slave Communications Message Communications Other Functions Communications Timing Troubleshooting and Maintenance Appendices CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 11 CONTENTS CONTENTS PELE OCG GIO I a 1 Relevant Manuals sasic a 2 Manlial C onfg ro Morana 3 Mani tal S Tuce 8 SECUHONS IM CIS MANU Al ics 11 CONTENTS ncn a aE 12 Read and Understand this Manual s sssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 16 Sae PREG AMO INS mona 19 Precautions Tor Sale USC iiiisscssssisssssneteecsssasessvasececeassasanaivvndecnsustusaisanvessessanasesaaaanis 24 Precautions for Correct USC css sees 30 Regulations and Standards s s ssssssssssnnnnnnn
320. ollowing user controlled conditions Message communica tions can still be performed when the remote I O communications stop Stop Communications with All Slaves When Sw1 OCommStopCmd Remote I O Communications Stop Switch is changed to TRUE Stop Communications with a Specified Slave When associated device variables for CJ series Unit _CnctNdCmad 0 to _CnctNdCma 63 Dis connect Connect Switches for Node Address 0 63 Slave are changed to TRUE Disconnected when changed to TRUE Note The communications cycle time is not shorter even though a slave was disconnected from remote I O communications by setting the Disconnect Connect Switch to TRUE Blank time in the communications cycle will only be increased 4 5 3 Restarting Remote I O Communications Remote I O communications restart under the following conditions Restart Communications with All Slaves Remote I O communications restart when Sw1 OCommStartCmd Remote I O Communications Start Switch is changed to TRUE Only communications with slaves with the Disconnect Connect Switch changed to FALSE will be restarted Restart Communications with Specified Slave When associated device variables for CJ series Unit _CnctNdCmad 0 to _CnctNdCma 63 Dis connect Connect Switches for Node Address 0 63 Slave are changed to FALSE Connected when changed to FALSE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 31 a ur T g ch 5 9 5
321. ompared Set from CX Integra ID tor Device type Unique product type Not compared Set from CX Integra value tor Product code Unique product model Not compared Set from CX Integra value tor Connection type Applicable DeviceNet Automatically set Automatically set or protocol set from CX Integrator See A 2 DeviceNet Connections for details Connection path Type of slave I O data Cannot be set Set from CX Integra See A 2 DeviceNet tor Connections for details N v A g r Vv ot ISI UBDS c t CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 11 4 4 4 12 Remote I O Master Communications Creating the Scan List The way that a scan list is prepared varies with the allocation method as shown below Allocations Fixed allocations User set allocations User set allocations using device variable for from the CX Integrator CJ series Unit With the CPU Unit in PRO With the CPU Unit in PRO Create a list from the CX How to create scan list GRAM mode GRAM mode Integrator Acquire a list 1 Change the one of the 1 Change the Master of online devices use it to Fixed Allocated User set Allocations Create a scan list and Switches 1 to 3 to Setup Switch to TRUE then register the scan list TRUE in the Master Unit Change the Scan List Enable Switch to TRUE Precautions for Safe Use e Be sure to create a scan list before you start ac
322. ompletely filled or covered with gaskets or other material e The following noise filter must be connected to the power supply line Noise Filter Manufacturer Model Cosel Co Ltd TAH 06 683 Trademarks e Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products e Windows Windows 98 Windows XP Windows Vista and Windows 7 are registered trademarks of Microsoft Corporation in the USA and other countries EtherCAT is registered trademark and patented technology licensed by Beckhoff Automation GmbH Germany The SD logo is a trademark of SD 3C LLC Dai Other company names and product names in this document are the trademarks or registered trade marks of their respective companies CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 35 Unit Versions Unit Versions Unit Versions 36 A unit version has been introduced to manage CPU Units in the NJ Series according to differences in functionality accompanying Unit upgrades i Notation of Unit Versions on Products The unit version is given on the ID information label of the products for which unit versions are man aged as shown below Example for NJ series NJ501 LJLILIL CPU Unit lt D information label Unit model Unit version NJ501 1500 1 Ver1 O0 a x ga Lot No DDMYYO XxxX Lot number and serial numb
323. on Error UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Mstr1VefyErr Verification Error UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Mstr1VefyErr Verification Error UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Mstr1IOErr Remote I O Communica tions Error _UnitErr Unit Error and MstrFunErr Master Function Error are TRUE CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Inspect the slave and then create the scan list again Inspect the slave and then create the scan list again Inspect the slave and then create the scan list again Inspect the slave and then create the scan list again Inspect the slave and then create the scan list again Inspect the slave and then create the scan list again Check the following e Matching master and slave baud rates Proper cable lengths trunk and branch lines Broken or loose cables Installation of terminators only at both ends of the trunk line Excessive noise 9 11 F g ea Q 3 ct a S g g D Z R gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 9 Troubleshooting and Maintenance Error Likely cause DeviceNet Unit R seg category response Network Network The communications Records the error in the power sup power supply is not being error log ply error
324. on of the output transistors As a countermea sure for such problems external safety measures must be provided to ensure safe operation of the system The CPU Unit will turn OFF all outputs from Basic Output Units in the follow ing cases The remote I O slaves will operate according to the settings in the slaves e If an error occurs in the power supply e If the power supply connection becomes faulty e Ifa CPU watchdog timer error or CPU reset occurs e If a major fault level Controller error occurs e 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 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 Provide external safety measures in controls with mon itoring of external power supply voltage as required so that the system oper ates safely in such a case 000S CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 21 Safety Precautions 22 WARNING Fail safe Measures Unintended outputs may occur when an error occurs in variable memory or in memory used for CJ series Units As a countermeasure for such prob lems external safety measures must be provided to ensure safe operation of the system Provide measures in the
325. on provides an overview of explicit messages a list of commands and informaion on how to use setting files EDS files that are required in the multi vendor environments It also gives a list of the device profiles of Slaves and a list of Slaves and connected devices Manual Configuration GT1 Series DeviceNet Multiple I O Terminal Operation Manual Cat No 348 Section Section 1 Multiple I O Terminal Section 2 Hardeare Setup and Operationa Check Section 3 Sample Programs Section 4 Basic I O Unit Specifications Section 5 Special I O Unit Specifications Section 6 Communications Timing Section 7 Troublushooting and Maintenance Appendices Description This section describes the features system configuration types of Units and funci tons provided by the Multiple I O Terminals This section describes the operating procedures for the Multiple I O Terminals by using examples This section provides sample programs to use the Special I O Units of the Multiple I O Terminals This section describes the specifications of the each Basic I O Unit terminal arrange ments wiring methods This section describes the specifications terminal arrangements wiring methods of the each Special I O Unit This section describes the response time and transmission delay time of the remote I O commucnaitions functions This section describes the troublushooting and mentainance procedures to take cor rective actions for
326. ons Slave communications must be disabled prior to area allocation when you use fixed allocations or allocations set in the device variable for CJ series Unit and the settings must be read to the Unit when slave communications are enabled Allocations will not be valid if slave communications are enabled during area allocation 1 20 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Features and System Configuration 1 4 3 Message Communications Only Neither Master nor Slave Function Used The DeviceNet Unit does not have to be registered in the scan list if it is only used for message commu nications You can execute message communications send and receive with both master and slave communications disabled 7 v fe 3 Q d p sn UOIIOUN SARIS JOU 1 SEN JOULON AjuQ SUOIJEOIUNWILWOD obessal S v CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 21 1 Features and System Configuration 1 5 Listof Usage Methods by Purpose Design 1 22 Allocating any Not in order of Set with the use of the CX Integrator words for node remote I O addresses Note Allocations with the use of CX Integrator Any node address order and two blocks from OUT 1 IN 1 OUT 2 and IN 2 Allocation is much easier with the use of a wizard In order of Set with the use of the device variables for Cu node series Unit addresses Master user set Allocations Setup Table and Al
327. ons e Sw1MstrFixAloc1Cmd Master Fixed Allocation Setting 1 Switch e Sw1MstrFixAloc2Cmd Master Fixed Allocation Setting 2 Switch e Sw1MstrFixAloc3Cmd Master Fixed Allocation Setting 3 Switch Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed FALSE Indicates that the error did not occur The bit changes to FALSE when the operation is successfully completed Default FALSE MstriSListRegErr BOOL Scan List lt Operation specifications gt Register TRUE Picar Tarea Indicates that an error occurred in one of the following operations e Sw1SListEnblCmd Scan List Enable Switch e Sw1SListCirCmd Scan List Clear Switch Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed FALSE Indicates that the error did not occur The bit changes to FALSE when the operation is successfully completed Default FALSE 3 36 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for Mstr1 CycleTmSetErr BOOL Communi lt Operation specifications gt cations TRUE moe ime Indicates that an error occurred when set Setting ae Failed ting _ Sw1CyclelmTmpSet Temporary Setting Switch for Communications Cycle Time or SwiCycleTmSetCmd Com munications Cycle Time Setting Switch Once this bit changes to TRUE it will remain TRUE until the operation is
328. ons Error with slave communications enabled for OUT 2 IN 2 Slav1FunDatErr Invalid Setup Data Slav1lORefErr Slave I O Refresh Error Slav1FunSetErr Slave Function Enable Disable Failed Slav1AlocErr Slave User set Allocations Area Setting Failed 10 Slav1FixAlocErr Slave Fixed Allocation Area Setting Failed SlaviCOSSendErr COS Send Failed Z Slav1Conn2EstbSta Connection 2 Established Slav1Conn1EstbSta Connection 1 Established 14 Slav1lO2CommSta Remote I O Communications for OUT 2 IN 2 Slav1101CommSta Remote I O Communications for OUT 1 IN 1 CIO n 15 Slave Status 2 The device variable for CJ series Unit that corresponds to all bits of a word starting with ClO n 15 is as follows CJ series I O memory address NJ series device variables for CJ series Unit ClO n 15 Oto 15 Slav2Sta Slave Status 2 The functions of bits 0 to 15 of ClO n 15 correspond to those of bits 0 to 15 of this CJ series Unit device variable CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 17 Wwelbold Jasn wo Buissaooy Ul S8OUDIOWIG Z L Y gt a y 6 gt A 5 gt 5 D ea 0 TI m A c fe gt W f Q gt Q fe g 0 A U Cc C gt rF Z fe 2 v 0 8 Appendices The device variable for CJ series Units that correspond to bits 0 to 15 of a word starting with ClO n 15 are as follows CJ series I O memory address NJ series device var
329. or basic I O Bit strobe Used for input of 8 bytes or less Sends broadcasting requests from master and receives input from slaves COS Change of Communications occur at regular cycles heartbeat timer and the con Note COS and cyclic State nection is determined by the master or slave sending the data connections You can send data only when required which reduces the network com cannot be used munications load at the same ime You can use this connection to send data to the master or slave if the une master or slave data changes COS connections are given priority over poll and bit strobe connections which may result in a longer communications cycle time due to the higher frequency of COS connections used to send data or large amounts of data sent with the use of COS Therefore COS connections are effective when changes to data are infrequent approximately 100 ms min or to give higher priority to small amounts of data For DeviceNet Units you can decide the transmission timing in the user program The following points apply for CJ series DeviceNet Units If the master _MstrCOSSendCmd Master COS Send Switch is changed to TRUE remote I O communications output data can be sent every time from the master using COS to the slaves that support COS If Sw2SlavCOSSendCmd Slave COS Send Switch is set to TRUE you can send remote I O communications output data every time from the slave using COS to the master input data
330. ord DeviceNet Unit slave User set By CX 4 800 pts 100 input words x 2 100 output words x 1 allocations Integrator By device 3 200 pts 100 input words 100 output words variables for CJ series Unit e Scan list Disabled e Master communications Supported e Slave communications Disabled e Remote I O communications Start e Master fixed allocations Fixed Allocation Area Setting 1 e Slave fixed allocations Fixed Allocation Area Setting 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Item Data stored in non volatile memory EEPROM in the DeviceNet Unit Applicable connections Communications cycle time Different type of net work Other func SD Memory Card Backup function tions Error history in the DeviceNet Unit Communications cycle time setting Message monitoring timer COS cyclic heartbeat timer setting Device data check function CX Integrator connection method Setting section 1 Features and System Configuration Specifications Saves the following data settings same as the Backup file on the SD Memory Card e Master scan list e Slave scan list e Message monitoring timer list monitoring time for explicit message responses e Communications cycle time settings e Master Slave enabled The DeviceNet Unit automatically selects the applicable connection The user can also specify poll bit strobe COS change of state or cyclic for the ap
331. orresponding to Node Address 54 Slave NormSlavTbINdSta 55 Normal Slave Table Corresponding to Node Address 55 Slave NormSlavTbINdSta 56 Normal Slave Table Corresponding to Node Address 56 Slave NormSlavTbINdSta 57 Normal Slave Table Corresponding to Node Address 57 Slave NormSlavTbINdSta 58 Normal Slave Table Corresponding to Node Address 58 Slave NormSlavTbINdSta 59 Normal Slave Table Corresponding to Node Address 59 Slave NormSlavTbINdSta 60 Normal Slave Table Corresponding to Node Address 60 Slave NormSlavTbINdSta 61 Normal Slave Table Corresponding to Node Address 61 Slave NormSlavTbINdSta 62 Normal Slave Table Corresponding to Node Address 62 Slave 15 NormSlavTbINdSta 63 Normal Slave Table Corresponding to Node Address 63 Slave CIO n 24 C200H Master Replacement Master Status 1 The device variable for CJ series Unit that corresponds to all bits of a word starting with ClO n 24 is as follows gt a y 6 gt A 5 gt 5 D ea 0 TI gt A c fe gt W f Q gt Q fe g 0 A U Cc C gt rF Z fe 2 v 0 8 CJ series I O memory address NJ series device variables for CJ series Unit CIO n 24 0 to 15 CMstrSta C200H Master Replacement Master Sta tus 1 The functions of bits O to 15 of CIO n 24 correspond to those of bits 0 to 15 of this CJ series Unit device variable Wwesbold Jasn WOJ Buissaooy Ul SSOUSIOWIG Z L Y
332. ove the SD Memory Card from the CPU Unit while the power supply is ON press the SD Memory Card power supply switch and wait for the SD BUSY indicator to turn OFF before you remove the SD Memory Card e Do not disconnect the cable or turn OFF the power supply to the Controller when downloading data or the user program from Support Software e Always turn OFF the power supply to the Controller before you attempt any of the following e Mounting or removing I O Units or the CPU Unit e Assembling the Units e Setting DIP switches or rotary switches CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 25 Precautions for Safe Use e Connecting cables or wiring the system e Connecting or disconnecting the connectors The Power Supply Unit may continue to supply power to the rest of the Controller for a few seconds after the power supply turns OFF The PWR indicator is lit during this time Confirm that the PWR indicator is not lit before you perform any of the above g Operation e Confirm that no adverse effect will occur in the system before you attempt any of the following e Changing the operating mode of the CPU Unit including changing the setting of the Operating Mode at Startup e Changing the user program or settings e Changing set values or present values e Forced refreshing e Always sufficiently check the safety at the connected devices before you change the settings of an EtherCAT slave or Special Unit e
333. p SWIG asenne ueeBenaviovelearectvacs 3 19 A 5 Slave User Allocation Area Setting Failed 9 48 Slave User Allocations Switch cc eee 3 21 3 56 Slave User set Allocations Area Setting Failed A 17 Slave User set Allocations Reference Table 3 60 Slave User set Allocations Setup Table 3 51 5 9 Slave User set Allocations User Setting Failed 3 41 Solare SWING sy cccseienacetice a e AN 3 2 3 9 Software SWIET oeae e a 3 9 3 10 Index 3 Index Software SWItch 2 ressa a 3 9 3 18 Special Unit Setup Editing 0 0 ccccceeeseeeeeeeeeeeeees 3 51 Starting Remote I O Communication ceeeeees 4 31 HAUS cs cast eacanae r a a 3 2 3 25 Stop remote I O communication upon communication OMOR maniem asta eisoaesa tat earch eoncadaessan 2 Stopping Remote I O Communication 00008 4 31 SUC LORE Error seeden a a N 3 33 9 46 Structure Error C200H Master Replacement Area 3 49 A 28 SVSIMAC SWOlO 245 2 ees ean ete ade 1 15 SySteM StartUp IME ceeeeeeeeeeeeeeeeeeessseeeeeeeeeees 8 8 System defined variable cccccccccesesseeeeeeeeeeees 3 2 6 13 T Temporary Setting Switch for Communications SVGIG TMC gicses ie aie eheGce tates attsateecel eco abit walt 3 16 A 4 U Unit Configuration aisne a a a a 3 5 WIPER OR Chirica iorn aae a 3 26 A 15 Unit Memory Error ccccccccceeeeeeeeeeeeeee 3 27 9 4
334. p related Bus OFF detected Bus OFF error was detected remote I O com Ng munications stop Flashes slave operation red stops and mes sage communica tions are disabled Remote I O com MS munications stop Flashes Slave operation red Stops but mes NS Not sage communica related tions are enabled Master scan list logic error The master scan list data is incor rect Remote I O communications will stop 7 segment indicator AO if DIP switch pin 3 on the front panel is turned ON to specify stopping remote I O communications for I O communications errors 4 34 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Remote I O Slave Communications EEEE This section describes the remote I O communications performed as a DeviceNet slave by the DeviceNet Unit 5 1 Slave Remote I O Communications 0ec cece eee eee eens 5 2 5 1 1 Allocation Methods lt isy6 2 50 oat howe d Gace week aan aed ee ew eae wae 5 2 5 1 2 Remote I O and Slave Communications Specifications 5 3 5 1 3 Procedures for Using Remote I O Slave Communications 5 4 5 2 Fixed AllocationS ii 645 aie th eens en oe ch 8 ol Ge eee 5 7 5 2 1 Allocated WOKS sho eae Se eA ee ee eh ne ha Cae Aa Ail 5 7 5 3 User setAllocationS lt i awisod tie aa ea ea ee a 5 9 5 3 1 Setting through CX Integrator a na naana aaaea 5 9 5 3 2 Settings through Device Variables for CJ
335. parameter file same as setup data file that is prepared offline with the use of the CX Integrator on a SD Memory Card and download the setup data from the SD Mem ory Card to a DeviceNet Unit i a 2 Q S a f CX Integrator CJ series DeviceNet Unit Laptop PC CPU Unit SD Memory Card File save oe oe le A File load Loads setup data to a DeviceNet Unit using a software switch in CIO Area of the CPU Unit Note Refer to 7 7 SD Memory Card Backup Functions for details CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 5 1 6 Features and System Configuration Various Connection Methods Normal multi drop T branch multi drop with up to three branches and daisy chain line connections are available You can combine these methods to construct a flexible system that suits the floor lay out Maximum Network Length of 500 m A network can connect up to 63 Slaves and can handle remote I O communications of up to 2 000 byes 16 000 points without the CX Integrator per DeviceNet Unit A maximum network length of 500 m is possible with a baud rate of 125 kbit s using thick cable High speed Communications High speed communications are possible at up to 500 kbit s for a trunk line length of 100 m Compatibility with Slow Slaves You can set the communications cycle time without the CX Integrator Therefore you can use slaves with slow response times A Wide Variety o
336. peration timing There is a mistake in the user alloca Correct the master user allocation Correct the master user allocation tions in the master settings settings CPU Unit is not in PROGRAM mode Change the CPU Unit to PROGRAM Change the CPU Unit to PROGRAM mode mode when setting user allocations in the master Execute the software switch opera tions one at a time More than one software switch Execute the software switch opera tions one at atime changed to TRUE at the same time Or another software switch changed to TRUE before processing was com pleted for a previous software switch None None Communications Cycle Time Setting Failed 34C1 0000 hex An error occurred in one of the following operations when setting the communications cycle time e Communications Cycle Time Temporary Setting Switch device variable _ Sw1CycleTmTmpSet e Communications Cycle Time Setting Switch device variable _Sw7 E PLC Function Module Source details CJ series Unit At user operation r C E There is an error in the set informa Correct the set information Correct the set information tion Change the CPU Unit to PROGRAM Change the CPU Unit to PROGRAM mode mode before setting the communica tions cycle time CPU Unit is not in PROGRAM mode None None 9 47 amp m 6 A r amp 7 suo duos q 10113 p 6 9 Troubleshooting and Maintenance Event name Meaning Source Error
337. plicable connection of each slave with the use of the CX Integra tor You can set up to two types of connections for each Slave although COS and cyclic cannot be specified simultaneously Uses values by default are calculated by the following equations Example 16 Input Slaves 16 points each 16 Output Slaves 16 points each and a baud rate of 500 Kbit s 9 3 ms The user can set a value within a range from 2 to 500 ms However the calculated value is enabled when the calculated value from the condi tions equation is greater than the setting Note Uses default values calculated in the way that even missing nodes are cosidered 1 input word 1 output word when the scan list is dis abled Message Max No of nodes for message communica Send explicit messages 63 nodes communica tions per DeviceNet Unit tions Execution instructions Inter network communica Same type tions of network SendOmd instruction Allows transmission across the same type of networks between DeviceNet networks when multiple Units are mounted can cross up to three levels Allows transmission across different types of networks between DeviceNet and other networks e g Controller Link and Ethernet IP can cross up to three levels Allows DeviceNet Unit setup data scan list communications cycle time settings etc to be backed up as a file to a SD Memory Card in the CPU Unit You can also read i e restore the setup data from the SD Mem
338. properly Restart the Unit If operation is not restored even after the Unit is restarted replace the Unit Make sure that the Unit is mounted properly Restart the Unit If operation is not restored even after the Unit is restarted replace the Unit Note Refer to the NJ Series CPU Unit Hardware User s Manual Cat No W500 and NJU Series CPU Unit Software User s Manual Cat No W501 for more details on these errors 9 3 2 Remote I O Communications Disabled Error All of the DeviceNet Unit s indicators are OFF The DeviceNet Unit s MS indicator is ON and green but the NS indicator remains OFF The green NS indicator normally goes ON about 2 seconds after the green MS indicator goes ON 9 32 Probable cause e Check whether power is being supplied to the NJ series Controller e Check whether the DeviceNet Unit is mounted in the Backplane cor rectly When a watchdog timer WDT error has occurred in the CPU Unit follow the procedures described in the CPU Unit s manual to correct the problem All of a CJ1W DRM21 Unit s indicators will be OFF when a CPU Bus Unit error has occurred Restart the Unit If operation is not restored even after the Unit is restarted replace the Unit If the DeviceNet Unit s 7 segment indicator is displaying an error code refer to the tables in 9 7 Troubleshooting with the DeviceNet Unit Indicators Make sure that the master s unit number setting is correct Make sure that the unit numb
339. properties if you use CX Integrator CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 17 Features and System Configuration Turn ON the communications slave and Controller power supplies w 1 OL O Switch the CPU Unit to PROGRAM mode Fixed Allocations User set Allocations Using Device Variables for User set Allocations Using CX Integrator Refer to 4 3 Fixed Allocations CJ series Unit Refer to 4 4 User set Allocations Refer to the CX Integrator manual TRUE Master function enabled O a 2 S O op O V 2 QO lt x pa lt x Post operation Change _Sw1MstrFixAloc1 Cmd to _Sw1MstrFixAloc3Cmda Master Fixed Allocation Setting 1 to 3 Switch to TRUE from the Sysmac Studio Master remote I O communications will begin with the scan list disabled Change _Sw1SListEnbiCma Scan List Enable Switch to TRUE from the Sysmac Studio Master remote I O communications will begin with the scan list enabled Check to see if the master function is enabled lt Check MstrEnb Sta Master Function Enabled Status from the Sysmac Studio gt Change _Sw7MstrEnb Cma Master Enable Switch to TRUE from the Sysmac Studio 2 FALSE Master function disabled Input data in advance into MstrAlocTbICfg 0 to _ MstrAlocTbIiCfg 3 Master User set Allocations Setup Table
340. r ing timer default 2s If it is set to less than the value communications may be busy even if the next command is executed after the first one times out Unit Settings Name Setting target Settings Unit Configuration CPU Expansion Racks under Mount CJ1W DRM21 in slot 0 of the Controller Configurations and CPU Rack Setup of Sysmac Studio Device name of this unit DeviceNet Unit number Unit No Switch and Unit Con Unit number 0 figuration and Setup CPU Expansion Racks under Controller Configurations and Setup of Sysmac Studio Special Unit Setup System setup data Not required Program Example q N v S a m 3 g System defined variable Name Datatype Default Commens petal _Port_isAvailable BOOL Communications Port TRUE when there are internal Enabled Flags logical ports available FALSE when there is no internal logical port available User defined variables Define before or when creating a program Trigger Execution conditions OperatingEnd Process completed InDNetAdr _SDNET ADR NetNo 0 NodeNo 0 Destination network UnitNo 16 0 address InOption _SRESPONSE isNonResp False TimeOut Response monitoring and 0 Retry 0 retry setting UOI ONISU PUUDPUSS Huisn sebessayy dxg Builpues zg z 9 Device variables for CJ series Unit Create on the I O Map View window after the unit configuration is created Allocated f DeviceNet_Online BOOL lOBus rac
341. r loose The terminating resistance is somewhere other than the ends of the trunk line Noise page 9 56 The master is not in operation The master and slaves have dif ferent baud rates Communications cable lengths trunk line and branch lines are unsuitable A communications cable is dis connected or loose The terminating resistance is somewhere other than the ends of the trunk line Noise page 9 57 A COS connection to the mas ter is not open A Bus Off state occurred A network power error occurred A send timeout occurred page 9 58 The available capacity on the SD Memory Card was insuffi cient to write a file Write protection is set on the SD Memory Card when you write to a file Noise The SD Memory Card is dam aged The CPU Unit has failed page 9 58 The power supply was inter rupted while writing the mes sage monitoring timer list to the non volatile memory page 9 59 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance 9 4 3 Error Descriptions This section describes the information that is given for individual errors i 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 Gives the code of the error Meaning Gives a short description of the error Source Gives the source of t
342. r the Set the DIP switch on the front of the DeviceNet DeviceNet Unit Unit Stopping remote I O communi Set the DIP switch on the front of the DeviceNet cations for communications Unit errors Storing OUT data in slave I O Set the DIP switch on the front of the DeviceNet memory for communications Unit errors CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Section 4 4 1 Settings through CX Integrator 4 4 2 Settings through Device Variables for CJ series Unit Master User set Allocations Setup Table 5 1 Slave Remote I O Communica tions Section 6 Mes sage Commu nications 4 1 Master Remote I O Communica tions 5 1 Slave Remote I O Communica tions 5 1 Slave Remote I O Communica tions 5 1 Slave Remote I O Communica tions 6 2 Sending Explicit Mes sages Node Address Switches on page 2 6 DIP Switch on page 2 6 DIP Switch on page 2 6 DIP Switch on page 2 6 Operation Situation Stopping remote I O communi cations with all Slaves Using a scan list in remote I O communications fixed alloca tions Enabling a scan list in remote I O communications user set allo cations by device variables for CJ series Unit Changing the communications system configuration Checking master I O allocations status fixed allocations user set allocations by device variables for CJ series Unit user set allo cations with the CX Integrator Chec
343. r the following personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent e Personnel in charge of introducing FA systems e Personnel in charge of designing FA systems e Personnel in charge of installing and maintaining FA systems e Personnel in charge of managing FA systems and facilities For programming this manual is intended for personnel who understand the programming language specifications in international standard IEC 61131 3 or Japanese standard JIS B3503 Applicable Products This manual covers the following products CJ series CJU1W DRMa21 DeviceNet Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 1 Relevant Manuals Relevant Manuals There are three manuals that provide basic information on the NJ series CPU Units the NJU series CPU Unit Hardware User s Manual the NJ series CPU Unit Software User s Manual and the NJ series Instructions Reference Manual Most operations are performed from the Sysmac Studio Automation Software Refer to the Sysmac Stu dio Version 1 Operation Manual Cat No W504 for information on the Sysmac Studio Other manuals are necessary for specific system configurations and applications Read all of the manuals that are relevant to your system configuration and application to make the most of the NJ series CPU Unit NJ series CPU Unit Hardware User s Manual ee 0 Setting devices and hardware
344. rd starting with ClO n 10 are as follows CJ series I O memory address NJ series device variables for CJ series Unit Word address Bt ss Variablename CJ series function name Be Reserved for by system Slave Function Error Unit Memory Error Node Address Duplicated Error 7 Network Power Error Send Timeout Error 9 to 11 Se Reserved by system Invalid Message Timer List Error CIO n 11 Unit Status 2 The device variables for CJ series Unit that corresponds to all bits of a word starting with ClO n 11 is as follows oh CJ series I O memory address NJ series device variables for CJ series Unit CIO n 11 Oto 15 Unit2Sta Unit Status 2 The functions of bits 0 to 15 of CIO n 11 correspond to those of bits 0 to 15 of this CJ series Unit device vari able The device variables for CJ series Units that correspond to bits 0 to 15 of a word starting with ClO n 11 are as follows CJ series I O memory address NJ series device variables for CJ series Unit Word address Bt ss Variablename CJ series function name pt tOCommSta Remote I O Communications Status Reserved by system 8 MstrEnbiSta Master Function Enabled Status 4 O gt SlistDsbISta Master Function Enabled Status Reserved by system 6 SlavConnTypSta Automatic Slave Connection Error History Registered Flag o_o CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 15 Wwelbold Jasn WO Buissaooy U
345. rds max for a total of 2 blocks Slave alloca Slaves with The leftmost byte bits 07 to 15 cannot be used tion limits more than 8 points Slaves with 8 Allocated to the leftmost or rightmost bytes not allocated a word points Slaves with 16 Allocated one word points Slaves with Allocated multiple words with an odd number of bytes only the rightmost byte is more than 16 allocated in the last word points You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subsequent banks 4 20 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications l Precautions for Correct Use Functions will vary as shown below depending on whether allocations are set with the use of CX Integrator or through device variable for CJ series Unit Master User set Allocations Setup Table e You can determine the order of node addresses when the CX Integrator is used Words are always allocated to slaves in order of ascending node addresses when allocations are set with device variable for CJ series Unit However even when you use device variable for CJ series Unit nodes do not have to be allocated words reducing the number of words required e There are four blocks OUT1 and 2 and IN1 and 2 available when setting is made with the CX Integrator but you can only allocate two blocks OUT1 and IN1 with device variables for CJ series Unit e The firs
346. rect e Reading the routing tables timed out CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Liwa O a Eventname Meaning Sea CACA pba 34BD 0000 hex Verification 34BE0000 hex Structure 34BF 0000 hex Master I O Refresh Error Master User set Alloca tions User Setting Failed 34000000 hex Communica tions Cycle Time Setting Failed 34C1 0000 hex CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 The slave informa tion registered in the scan list does not agree with the actual slave infor mation The scan list is dis abled and an error occurred that pre vented making I O allocations The I O memory in the destination CPU Unit for I O refreshing could not be found when refreshing the mas ter function data in the CPU Unit An error occurred in the following opera tion for user alloca tion of the master An error occurred in one of the following operations when setting the commu nications cycle time e A slave that is in the scan list page 9 45 does not exist e The node address of the local Unit which is the master is reg istered in the scan list If the system is set to check the vendor in the detailed verifica tion settings the vendor of the slave does not match the regis tration in the scan list If the connection path is set in the detailed verification set tings
347. red and the Unit starts operating with the scan list disabled Default FALSE lt Operation conditions gt e CPU Unit is operating in PROGRAM mode e Master function is enabled e Scan list status is enabled CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 11 UEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSMEIS SOURIMS NO i ep O jad D ep O Dy 3 Data Exchange with the CPU Unit Name of device variable for SwilOCommStartCmd BOOL RW Remote I O lt Operation specifications gt Communi FALSE gt TRUE cations ae Start Switch Starts remote I O communications Note 1 The switch is ignored if remote I O communications are already running 2 This switch resumes remote I O communications if they are stopped by a communications error 3 Communications with a slave will fail even if remote I O communi cations are started when CnctCmd Disconnect Con nect Switches is TRUE Discon nect FALSE Returns to FALSE at the start of remote I O communications Note This switch will stop remote I O com munications if DIP switch pin 3 on the front panel remote I O commu nications stop continue with a com munications error is ON stop and there is an ongoing communications or send error Default FALSE lt Operation conditions gt e Master function is enabled Swi1lOCommStopCmd BOOL RW Remote I O lt Operation specification
348. remain unchanged The device variables for CJ series Unit corresponding to the following words will change to TRUE if a request made by a software switch ends in an error e Unit2Sta Unit Status 2 e Msir1Sta Master Status 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 9 3 Data Exchange with the CPU Unit 3 10 WORD type device variables for CJ series Unit holding all switch functions contained in Software Switches 1 are shown below Name of device variable for CJ series Unit SwiCmd ele ae WORD RW Software Switches 1 Function Bits have the following functions Bit 00 Scan List Enable Switch Bit 01 Scan List Clear Switch Bit 02 Remote I O Communications Start Switch Bit 03 Remote I O Communications Start Switch Bit 04 Remote I O Communications Stop Switch Bit 05 Reserved by system Bit 06 Master Enable Switch Bit 07 Master Disable Switch Bit 08 Master Fixed Allocation Setting 1 Switch Bit 09 Master Fixed Allocation Setting 2 Switch Bit 10 Master Fixed Allocation Setting 3 Switch Bit 11 Master User set Allocations Switch Bit 12 Temporary Setting Switch for Com munications Cycle Time Bit 13 Communications Cycle Time Set ting Switch Bit 14 Communications Cycle Time Ref erence Table Clear Switch Bit 15 Reserved by system Default 16 0000 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exc
349. rmance 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 and EN 61000 6 2 EMI Electromagnetic Interference EN 61131 2 and EN 61000 6 4 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 NJ series Controllers comply with EC Directives To ensure that the machine or device in which the NJ series Controller is used complies with EC Directives the Controller must be installed as fol lows e The NJ series Controller must be installed within a control panel e You must use reinforced insulation or double insulation for the DC power supplies connected to DC Power Supply Units and I O Units NJ series Controllers that comply with EC Directives also conform to the Common Emission Stan dard EN 61000 6 4 Radiated emission characteristics 10 m regulations may vary depending on the configuration of the control panel used other devices connecte
350. rner of each digit The left dot indicator shows whether or not the master is operating and whether the scan list is enabled or disabled The right dot indicator shows whether or not the slave is operating Normal Master Unit s node address Error Error code and faulty node address Indicates whether the slave is operating or stopped Indicates whether the master is operating or stopped and whether the scan list is enabled or disabled Seven segment Digits Status Display Remote I O communications active and Displays the mas Lit normal ter s node address 00 to 63 From power ON to completion of node Flashing address check master function disabled slave function disabled or both disabled Flashing until communications actually start Remote I O communications started From completion of the node address Flashing check until the start of remote I O com munications Error Watchdog timer Not lit error Memory error or Error code only Lit Controller error Other errors Alternately displays the error code and error node address see diagram below Scan list Flashing Registered CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 2 Nomenclature and Installation The following diagram shows the alternating error code node address display OFF 0 1 s OFF 0 3 s OFF 0 1 s OFF 0 3 s Error code Faulty slave s Error code Faulty slave s 1s node address J 7 1s node address J 55n
351. ront panel D W T x R gt 5 A a Q v Step 3 Change the Scan List Clear Switch to TRUE If the Unit is in the Scan List Enable mode if _SListDsb Sta Scan List Disable Status is set to FALSE change Sw1SListCirCmd Scan List Clear Switch to TRUE to change to the Scan List Disabled mode Note If the Unit is already in the Scan List Disabled mode if _SListDsb Sta Scan List Disable Status is TRUE skip this step and go onto the next step If the Scan List Clear Switch is changed to TRUE when the Unit is in the Scan List Disabled mode a Unit error will occur and a C2 error will be displayed on the 7 segment indicator on the front panel Step 4 Select Fixed Allocations Area 1 to 3 Change _Sw1MstrFixAloc1Cmd to _Sw1MstrFixAloc3Cmd Master Fixed Allocation Setting 1 to 3 Switch to TRUE to select the fixed allocations area from 1 to 3 One word will be allocated per node address in order of node addresses for the output OUT block and one word for the input IN block in the CIO Area in the memory used for CJ series Unit Name of device Fixed allocations Allocated Allocated variables for area number OUT area IN area CJ series Unit SwiMstrFixAloc1C Master Fixed Allocation Fixed allocations area CIO 3200 to CIO 3300 to md Setting 1 Switch 1 CIO 3263 CIO 3363 Sw1MstrFixAloc2C Master Fixed Allocation Fixed allocations area CIO 3400 to CIO 3500 to md Setting 2 Switch 2 CIO 3463 CIO 3563
352. rt eer ee ie eee ore nee 9 60 9 5 3 Replacing Faulty UNIS ois insted id nied E E AAEE 9 61 Appendices A 1 Differences in Available Functions Depending on the CPU Unit NJ or CJ Series A 2 A 1 1 Fanctonal DINNEEN ES seer a a a aneusaneuiaeaaienras A 2 A 1 2 Differences in Accessing from User Program cccccssseececceeeeeeeseeseeeeeeecseeeeesaeeeesaaeeeeessaneeeeeaas A 2 A 2 DeviceNet CONNEC HONS imissni aranana RNA Aaa A 35 A 3 DeviceNet Explicit Message Send Command for Other Manufacturer Nodes sss0000 A 41 A 3 1 Explicit Message Send 2801 nresnani A E EE A 41 A 4 Multi vendor Applications viisictiiidiesiisiceinsisdeinevnsteeienvincscciausnnvigeduansctasiavecanencdaasnunadiduenancucdanins A 43 Index MOEK ninnaa aaa dE E2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 15 Read and Understand this Manual Read and Understand this Manual Please read and understand this manual before using the products Please consult your OMRON representative if you have any questions or comments Warranty and Limitations of Liability WARRANTY OMRON s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year or other period if specified from date of sale by OMRON OMRON MAKES NO WARRANTY OR REPRESENTATION EXPRESS OR IMPLIED REGARDING NON INFRINGEMENT MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS ANY BUYER
353. ruvagscoecennattenmtacte 3 47 3 2 13 C200H Master Replacement Master Status 1 00 ann aeei ioi aean E a EANAN aS 3 48 Device Variables for CJ series Unit Allocations Setting Table Slave Detailed Status 3 51 3 3 1 Communications Cycle Time Setting i ti inea a aaia daa aa i eE 3 51 3 3 2 Master User set Allocations Setup Table cccccccccccecceceeeeeeeeeeeeeeeeeeeseeeeeeseeeeeeeeeeeeeeseseeaas 3 53 3 3 3 Slave User set Allocations Setup Table cccccccccccecesssseeeeeeeeeeeeeseeaeeeseeeeeeeeeeeeesesaaeaeeeeeees 3 56 3 3 4 Communications Cycle Time Reference Table c ccccccccccceeeeeeeeseessseseeeeeeeeeseessesaaeaaeeeess 3 58 3 3 5 Master User set Allocations Reference Table ccccccsscccccceecceeeeceeeeceeeeeeeeeeeeseeeeeeeeeesaeaaees 3 58 3 3 6 Slave User set Allocations Reference Tabole cccccccccccccessseeeceeceeaeeeeeeeeesssaeeeeeeeessaeeeeeeeeeeeas 3 60 3 3 7 Slave Detaled Status rr sic cc em tee a 3 io Be de lee eer i eae 3 61 Remote I O Master Communications Master Remote 1 0 COMMUNICATIONS sssssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnna 4 2 4 1 1 PROC AION S co tesear tan sc ausiua tsa de vamcnecnaed A tunslcaaege aus se A AET 4 2 4 1 2 Remote I O Master Specifications nanie a a A E 4 5 4 1 3 Precautions on the Number of Master UNnits ccccccseceecsseeeceeeeeceeeeeeeeseeeseseeeseneeeseneeeteeneeees 4 6 4 1 4 Procedure for Using
354. s System defined variables Cause and correction Attached information Precautions Remarks 9 Troubleshooting and Maintenance Bus Off Detected 84740000 hex A Bus Off error occurred i e communications stopped because there were too many communications errors PLC Function Module Source details CJ series Unit Detection When the I O timing connection is established or DeviceNet com munications are performed Level Minor fault Recovery Cycle the power Log category System supply or reset the Controller User program Continues Operation The DeviceNet Unit is offline Communications will not operate Error responses are returned to all communica ee requests Data refreshing with the CPU Unit contin ue p NAA The master and slave have different Correct the settings so that the mas Set the master and slaves to the baud rates ter and slaves use the same baud same baud rate rate Communications cable lengths trunk Refer to the communications specifi Refer to the communications specifi line and branch lines are unsuitable cations and adjust all of the communi cations and adjust all of the communi cations cables to suitable lengths cations cables to suitable lengths A communications cable is discon Connect the communications cable Connect the communications cable nected or loose securely If the communications cable securely Check the communications is broken replace it cable to see if
355. s scan list is being cleared 9 2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance F g 7 Q 3 ct a S g g D Z g gt 3 A g d SJOJEDIPU BU W01 SNIS Bueiado HuluIwu1aq L 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 3 9 Troubleshooting and Maintenance 9 1 2 Troubleshooting Errors Occurring in the DeviceNet Unit Remote I O com munica tions stopped by a commu nications error Software CPU Unit settings status error errors Unit status error Structure error Likely cause Pin 3 on the master s DIP switch is set to stop com munications in the event of a communications error and communications have been stopped due toa remote I O communica tions error network power supply error or transmis sion timeout The software switch opera tion couldn t be performed because the CPU Unit wasn t in PROGRAM mode The software switch opera tion failed because the Unit could not perform the requested process in its current status 2 The software switch opera tion failed because a struc ture error occurred DeviceNet Unit Error response log Hex e Remote I O communica 0346 tions as a master will stop Remote I O com munications as a slave and message communi cations will continue Records the error in the error log The only response is the error code
356. s 0 W051 Address 1 W052 Address 2 W053 Address 5 W062 IN area 1_15 W100 ER 1 W101 Address 2 W102 Address 3 W103 Address 5 W112 Address 0 allocated two bytes 1 word Address 1 allocated 1 byte leftmost byte is not used Address 2 allocated two bytes 1 word Address 5 allocated 20 bytes 10 words Address 1 allocated 1 byte leftmost byte is not used Address 2 allocated two bytes 1 word Address 3 allocated 1 byte leftmost byte is not used Address 5 allocated 20 bytes 10 words Changing the Master User set Allocations Switch to TRUE Change Sw1MstrAlocCmd Master User set Allocations Switch to TRUE The Master User set Allocations Switch will read the allocation results data for the above slaves and create a scan list based on data for slaves that are actually online prior to starting remote I O communications with the scan list enabled CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications 4 5 Starting and Stopping Remote I O Communications 4 5 1 Starting Remote I O Communications Remote I O communications start automatically after the Unit is restarted or the Controller is reset including when the power is turned ON The Mstr1 OCommSta I O Data Communications Status is changed to TRUE when remote I O communications is started with at least one slave 4 5 2 Stopping Remote I O Communications Remote I O communications stop under the f
357. s a setup data error or a file read error CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 7 3 Other Functions Saving Files from CX Integrator to SD Memory Card You can restore the data setup file into a DeviceNet Unit by saving a device parameter file extension dvf for this DeviceNet Unit created with CX Integrator to an SD Memory Card with the file name DNnn BKUP dvf nn unit number 2 digit hexadecimal mounting it in the CPU Unit and changing the software switch Sw2FileRestoreCmd Unit Setup File Restore Switch to TRUE Note The file name when saving setup data to the SD Memory Card must be DNnnBKUP dvf where nn is the Unit number in 2 digit hexadecimal For example for unit number 00 the file name must be DNOOBKUP dvf If the file is saved under another name the data cannot be restored from the SD Memory Card to the DeviceNet Unit DeviceNet Unit CPU Unit Unit Setup File Restore Switch O FALSE gt TRUE 7 SD Memory Card CX Integrator computer All setup data SD Memory Card Restore Saving device parameter file Saved as file name DNnnBKUP dvf where nn is the Unit number in 2 digit hexadecimal 7 1 2 File Names 7 4 The following files are created on the SD Memory Card Directory fixed Route and directory File name fixed DNnnBKUP dvf nn Unit number in 2 digit hexadecimal Ex File name is NOOBKUP dvf when Unit No is 00 EN Additional
358. s gt Communi FALSE gt TRUE cations Stop Switch Stops remote I O communications Once remote I O communications have been stopped they will remain stopped until the Unit restarts or the remote I O communications restart i e until the Remote I O Communications Start Switch is changed to TRUE Note 1 The switch is ignored if remote I O communications are already stopped 2 Message communications will remain enabled even if remote I O communications are stopped FALSE Returns to FALSE when remote I O com munications stop Default FALSE lt Operation conditions gt e Master function is enabled 3 12 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for SwiMstrEnblCmd BOOL RW Master lt Operation specifications gt state FALSE gt TRUE we Enables master communications The Unit automatically restarts Once enabled the Unit will function as a Master until Sw71MstrDsbiCmd Master Stop Switch is changed to TRUE regard less of whether the power is turned OFF and back ON again Note 1 Master communications are enabled by default 2 If this bit is changed to TRUE with master communications enabled a Unit status error will occur due to a software switch operation error and a C2 error will be dis played on the front 7 segment indicator The 7 segment indica tor will go out automatically after 30 seconds F
359. s section describes other functionality provided by the DeviceNet Unit This section describes the communications timing of the DeviceNet Unit and the per formances of the remote I O communications and message communications This section describes the troubleshooting procedure event logs and maintenance procedure for the DeviceNet Unit CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Manual Configuration i DeviceNet Operation Manual Cat No W267 Section Section 1 Introduction Section 2 Network Configuraion and Wiring Section 3 Communications Power Supply Methods Appendices Description This section provides an overview of the DeviceNet network including features func tionality and types of connected devices such as Masters and Slaves This section describes the DeviceNet network configuration the wiring method and details on the connected devices such as connectors This section describes the communications power supply methos This section provides a list of related products describes dimensions of the con nected devices and gives a list of corrent consumption of Masters and Slaves i DRT2 Series DeviceNet Slaves Operation Manual Cat No W404 Section Section 1 Smart Slaves and Features Section 2 Example System Startup Section 3 Common Slave Specifications Section 4 Function of All Slaves General pur pose Slaves and Environment resistive Slaves Sect
360. s to all bits of a word starting with ClO n 13 is as follows NI tt O1 CJ series I O memory address NJ series device variables for CJ series Unit CIO n 13 Oto 15 Mstr2Sta Master Status 2 The functions of bits 0 to 15 of CIO n 13 correspond to those of bits O to 15 of this CJ series Unit device variable The device variables for CJ series Units that correspond to bits 0 to 15 of a word starting with ClO n 13 are as follows CJ series I O memory address NJ series device variables for CJ series Unit Word address Bi Variablename CJ series function name 8to 15 MstrlOAlocSta Master I O Allocation Status A 16 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices CIO n 14 Slave Status 1 The device variable for CJ series Unit that corresponds to all bits of a word starting with ClO n 14 is as follows CJ series I O memory address NJ series device variables for CJ series Unit ClO n 14 Oto 15 Slav1Sta Slave Status 1 The functions of bits 0 to 15 of ClO n 14 correspond to those of bits 0 to 15 of this CJ series Unit device variable The device variable for CJ series Units that correspond to bits 0 to 15 of a word starting with ClO n 14 are as follows CJ series I O memory address NJ series device variables for CJ series Unit 2 Slav1lO1Err Remote I O Communications Error with slave communications enabled for OUT 1 IN 1 3 Slav1lO2Err Remote I O Communicati
361. s used with high temperature or humidity or under dirty dusty conditions i Inspection Equipment Prepare the following equipment before inspecting the system Required Equipment Have a standard and Phillips head screwdriver multimeter alcohol and a clean cloth Equipment Required Occasionally Depending on the system conditions a synchroscope oscilloscope thermometer or hygrometer to measure humidity might be needed fl Inspection Procedure Check the items in the following table and correct any items that are below standard Standard Equipment Environmental Ambient and cabinet tempera 0 ss to 55 C Thermometer conditions ture Ambient and cabinet humidity 10 to 90 Hygrometer with no con densation or icing Dust dirt accumulation Check visually 9 60 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Installation Are the Units installed securely No looseness Phillips head screwdriver Are the communications connec No looseness _ Phillips head tors fully inserted screwdriver Item Standard Equipment Are the external wiring screws No looseness Phillips head tight screwdriver Are the connecting cables No damage Check visually undamaged 9 5 3 Replacing Faulty Units Replace a DeviceNet Unit with an error as soon as possible Refer to the DRT2 Series DeviceNet Slaves Operation Manual Cat No W404 or the DeviceNe
362. sending the message The following equation can be used to compute the approximate message communications time Message communications time Communications cycle time x No of message bytes 15 6 1 No of message bytes No of data bytes following the command code 16 2801 The communications cycle time depends on whether or not remote I O communications are being used Message Communications Only No Remote I O Communications The following equation can be used to compute the message communications time when remote I O communications are not being used Communications cycle time 2 see note 0 11 x Tp 0 6 ms Tp The baud rate factor 500 kbit s Tg 2 250 kbit s Tp 4 125 kbit s Tp 8 Note The communications cycle time will be 2 ms even if remote I O communications are not being used Remote I O and Message Communications Performing message communications in addition to remote I O communications will increase the message communications time Communications cycle time Communications cycle time for remote I O communications only 0 11 x Tp 0 6 ms Pe The baud rate factor 500 kbit s Tg 2 250 kbit s Tg 4 125 kbit s Tp 8 Varies depending on the baud rate P Precautions for Correct Use The above equations can be used to find the approximate message communications time but this is a typical time not the maximum time The message communications time will vary depending on the frequ
363. ser defined Variable Define a user defined variable that specifies the AT specification for the area to which each slave is allocated By using the user defined variable the user program can access the allocation area of the Slave i Changing System Components In the following situations the table must be reset the _Sw1MstrAlocCmd Master User set Alloca tions Switch changed to TRUE and the scan list recreated e Adding a slave e Removing a slave e Changing a node address e Changing a node allocation There is no need to clear the scan list 4 28 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications Example Settings for User set Allocations through Device Variables for CJ series Unit This example uses the following settings for unit number 0 e OUT block 1 area and first word WR 4 50CH 50 e IN block 1 area and first word WR 4 100CH 100 e Allocation Size Setup Table area and first word DM 3 00100 100 This example shows user set allocations for the following slaves 0 16 pts 0 pis 16 pt Transistor Output Terminal DRT1 OD16 1 8 pts 8 pts 8 pt input and 8 pt Output Environment resistant Terminal DRT1 MD16C 16 pts CQM I O Link Terminal CQM1 DRT21 0 pts 8 pt Transistor Input Terminal DRT1 ID08 None eae 4 5 160 pts 160 pts CJ series DeviceNet Unit CU1W DRM21 Slave Unit IN iS C vi Q m g 2 3 eh 0 a qeL dn
364. series CPU Unit W497 Appendices The device variables for CJ series Units that correspond to bits 0 to 15 of 4 words from CIO n 2 to n 5 are as follows CJ series I O memory address Wordaddress Bi Variabiename MstrCOSSendNdCmd 24 MstrCOSSendNdCmd 25 MstrCOSSendNdCmd 26 MstrCOSSendNdCmd 27 MstrCOSSendNdCmd 28 MstrCOSSendNdCmd 29 MstrCOSSendNdCmd 30 _MstrCOSSendNdCmd 31 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 NJ series device variables for CJ series Unit CJ series function name Master COS Send Switch for Node Address 16 Slave Master COS Send Switch for Node Address 17 Slave Master COS Send Switch for Node Address 18 Slave Master COS Send Switch for Node Address 19 Slave Master COS Send Switch for Node Address 20 Slave Master COS Send Switch for Node Address 21 Slave Master COS Send Switch for Node Address 22 Slave Master COS Send Switch for Node Address 23 Slave Master COS Send Switch for Node Address 24 Slave Master COS Send Switch for Node Address 25 Slave Master COS Send Switch for Node Address 26 Slave Master COS Send Switch for Node Address 27 Slave Master COS Send Switch for Node Address 28 Slave Master COS Send Switch for Node Address 29 Slave Master COS Send Switch for Node Address 30 Slave Master COS Send Switch for Node Address 31 Slave Wwesbold Jasn WOJ Buissaooy Ul SSOUDIOIIG Z L Y gt
365. series Unit Slave User set Allocations Setup Table 0 0 ccc eens 5 12 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 1 5 Remote I O Slave Communications 5 1 Slave Remote I O Communications A CJ series DeviceNet Unit can function as a Slave Unit in remote I O communications and a single CJ series DeviceNet Unit can function as both a Master Unit and a Slave Unit This section describes Slave communications Slave Communications CJ series DeviceNet Unit Master CJ series CPU Unit s INarea OUT area EE Remote I O communications DeviceNet T m 7 C IN area OUT area NJ series CPU Unit CJ series DeviceNet Unit Slave Slaves e In the following descriptions the areas used to transfer data from the master to the slaves are called OUT areas and the areas used to transfer data from the slaves to the master are called the IN areas e In the following descriptions a CJ series DeviceNet Unit set to function as a master is referred to as a Master Unit and a CJ series DeviceNet Unit set to function as a slave is referred to as a Slave Unit 5 1 1 Allocation Methods The specified areas in the memory used for CJ series Unit of the NJ series CPU Unit in which a Slave Unit is installed are allocated to the Master Unit as DeviceNet slave They are allocated using one of the following methods 1 Fixed allocations 2 User set allocations To access the OUT IN Areas that w
366. series Unit to which the data will be written is specified as shown in the following table Instance ID Hex Word range for write 01 CIO CIO 0000 to CIO 6143 03 DM D00000 to D32767 04 WR W000 to W511 05 HR H000 to H511 08 to 14 EM banks 0 to C En_00000 to En_32767 n 0 to Address L Address H command The address of the first word to which the data is written is specified in hexadecimal as shown below Address L The lower 2 digits when the first word address is displayed in 4 digit hexadecimal Address H The higher 2 digits when the first word address is displayed in 4 digit hexadecimal Write Data command The specified area and write data is returned in order from word L lower byte bits O to 7 to word H higher byte bits 8 to 15 Important Points The actual address L address H and number of write words that can be specified depends on the mode of CPU Unit for the CJ series DeviceNet Unit and the type of memory areas Do not exceed the boundary of the data areas for the CPU Unit you are using CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 25 Q D R Q S 5 m x g ay rF f a Q S8DIAIBS fqO Jld JO 1S1 4 8 9 6 Message Communications 6 26 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Other Functions R This section describes connecting to Sysmac Studio via the DeviceNet and the SD Memory Card backup function 7 1 SD
367. served by system Default 16 0000 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 25 aremyos pun S u s gt 10 Se qeUeA 2A Z E S SMAS SOYURIMS sH Da Ol om ep o Cc T 3 Data Exchange with the CPU Unit The following device variables for CJ series Unit are used to reference individual information Name of device variables for UnitErr BOOL Unit Error lt Operation specifications gt TRUE Displays DeviceNet Unit operating errors UnitErr Unit Error changes to TRUE if any bit from 01 to 15 in _Unit1 Sta Unit Status 1 is TRUE OR information of bits 01 to 15 Usage example When you write the pro gram for remote I O communications use this bit as an N C input condition to con trol slave I O processing FALSE Indicates that the error did not occur Or changes to FALSE when the error is cleared Default FALSE MstrFunErr BOOL Master lt Operation specifications gt Function TRUE Error Indicates that at least one master error occurred Refer to _Mstr1 Sta Master Status 1 The master errors are as follows e Mstr1 VefyErr Verification Error e Mstr1StruErr Structure Error e Mstr1 OErr Remote I O Communica tion Error e Mstr1SListErr Invalid Scan List Data Error e Mstr1lORefErr Master I O Refresh Error FALSE Indicates that none of above errors occured Or changes to FALSE when all o
368. set timer list to the non volatile memory tings Attached None information Precautions You can change the event level to the minor fault level If you change the level to the minor fault level the Recovery col Remarks umn above will be changed to Error reset amp m 6 A m amp W suoduos q JOA p 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 59 9 Troubleshooting and Maintenance 9 5 Maintenance and Replacement This section describes the routine cleaning and inspection recommended as regular maintenance as well as the Unit replacement procedure 9 5 1 Cleaning Clean the DeviceNet Units regularly as described below in order to keep the network in its optimal oper ating condition e Wipe the Unit daily with a dry soft cloth e When a spot can t be removed with a dry cloth dampen the cloth with a neutral cleanser 2 solu tion wring out the cloth and wipe the Unit e A smudge may remain on the Unit from gum vinyl or tape that was left on for a long time Remove the smudge when cleaning P Precautions for Correct Use Never use volatile solvents such as paint thinner benzene or chemical wipes These sub stances could damage the surface of the Unit 9 5 2 Inspection Be sure to inspect the system periodically to keep it in its optimal operating condition In general inspect the system once every 6 to 12 months but inspect more frequently if the system i
369. shed at least once When you Addresses i i 0 to 63 register the scan list slaves in which the bit is TRUE in this table are registered e With the scan list enabled Indicates that a slave is registered in the scan list FALSE Indicates that a slave is not registered in the scan list Default FALSE 3 46 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit 3 2 12 Normal Slave Table This table indicates the slaves that are communicating normally with the master Bits 00 to 63 of LWORD type device variable for CJ series Unit _NormSlavTb Sta correspond to slaves at node addresses 0 to 63 For all set I O connections the bits corresponding to slaves that successfully established connection will be TRUE If connection is not yet established due to a network error etc the applicable slave bit turns FALSE These are not flags to show the remote I O communications status This table is updated continuously UEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSME S SOURIMS However in the case of a communications power supply error Send Timeout Error or remote I O com munications stopped including remote I O communications stopped due to a communications error all bits turn FALSE The following device variable for CJ series Unit is used to reference all information of the Normal Slave Table Name of device variable for NormSlavTblSta LWORD Normal You can r
370. shing for the master FALSE Indicates that no master I O refresh errors occurred Default FALSE lt Operation specifications gt TRUE Indicates that an error occurred in the fol lowing operations e Sw1MstrEnblCmd Master Enable Switch e Sw1MstrDsblCmd Master Stop Switch Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed FALSE Indicates that the error did not occur The bit changes to FALSE when the operation is successfully completed Default FALSE lt Operation specifications gt TRUE Indicates that an error occurred in the fol lowing operations e Sw1MstrAlocCmd Master User set Allocations Switch Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed Details on the master user set allocation results are output to MstrAlocTbiCfgSta Setting Results of Master User set Allo cations Setup FALSE Indicates that the error did not occur The bit changes to FALSE when the operation is successfully completed Default FALSE 3 35 BUEMYOS pun SELIES gt 10 Se qeUeA DA Z E SOSMETS SOYURIMS o i N zZ o D ep o Cc k 3 Data Exchange with the CPU Unit Name of device variable for Mstr1FixAlocErr BOOL Master lt Operation specifications gt Fixed Allo TRUE oa Indicates that an error occurred in one of Failed the following operati
371. software switch opera changed to TRUE at the same time tions one at atime tions one at atime Or another software switch changed to TRUE before processing was com pleted for a previous software switch None None 9 53 amp m 6 A r amp W suoduos q JOA p 6 9 Troubleshooting and Maintenance Event name Slave Fixed Allocation Area Setting Failed 74640000 hex Meaning An error occurred in one of the following operations for fixed allocation of the slave e Slave Fixed Allocation Area Setting 1 Switch device variable _Sw2SlavFixAloc1Cmd e Slave Fixed Allocation Area Setting 2 Switch device variable _Sw2SlavFixAloc2Cmd e Slave Fixed Allocation Area Setting 3 Switch device variable _Sw2SlavFixAloc3Cmd Source PLC Function Module Source details CJ series Unit At user operation timing Effects Not affected CPU Unit is not in PROGRAM mode Change the CPU Unit to PROGRAM Change the CPU Unit to PROGRAM mode mode More than one software switch Execute the software switch opera Execute the software switch opera changed to TRUE at the same time tions one at atime tions one at a time Or another software switch changed to TRUE before processing was com pleted for a previous software switch Attached None information Precautions None Remarks 9 54 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Event name Meaning Source Error attributes Effect
372. software switch operation for the master function was executed when the master function was disabled A switch that can be used only when the scan list is disabled was used when the scan list was enabled A switch that can be used only when the scan list is enables was used when the scan list was dis abled A software switch operation for the slave function was executed when the slave function was disabled A configuration error has occurred There is an error in the parameters specified in the user settings and the requested setting could not be made More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was com pleted for a previous software switch Attached None information Precautions None Remarks 9 52 Assumed cause Correction Prevention Change the CPU Unit to PROGRAM mode before executing a software switch operation Change to a status that supports soft ware switch operations Remove the cause of the configura tion error check that the error does not occur and then register the scan list again Correct the parameter settings in the user settings and execute the soft ware switch operation again Execute the software switch opera tions one at a time Change the CPU Unit to PROGRAM mode before executing a software switch operation Use the software switches only when the current status permits them Mak
373. ss of the local Unit in the scan list Make sure that the information in the scan list matches the information of the slaves that are actually con nected 9 45 amp m 6 A r amp W suoduos q JOA p 6 9 Troubleshooting and Maintenance Event name Structure Error 34BE0000 hex Meaning The scan list is disabled and an error occurred that prevented making I O allocations Source PLC Function Module Source details CJ series Unit Detection When trying to timing establish an ID connection Effects User program Continues Operation The Unit will continue processing the connection again with the slave that has the error and remote I O will also continue correction The I O words allocated to slave over Correct the node addresses of the Set the node addresses of the slaves lap slaves so that I O area words do not so that I O area words do not overlap overlap The I O words allocated to the slave Correct the node addresses of the Set the node addresses of the slaves exceed the valid range slaves so that the I O area words do so that the I O area words do not not exceed the valid range exceed the valid range Or use the slaves with user allocations The I O size of the slave exceeds 200 Use a slave with 200 output bytes or Use a slave with 200 output bytes or bytes for outputs or 200 bytes for less and 200 input bytes or less less and 200 input bytes or less inputs Attached None information Precaut
374. ssage destroyed Illegal message received received message destroyed Local node busy cannot send 7 segment tory code indicator Hex No change Notlit EO NetPwrErr 0341 is 1 E2 SendTimeo 0342 utErr is 1 Flashing No change HC RITbIErr is 021A red 1 No change Lit red FO NdAdrDupE 0211 rris 1 BusoffErris 0340 _ eee lit ee _ ee No change a change or TS 0101 0103 0109 0112 0117 0118 0119 The 7 segment indicator alternately displays the error and the master node address where the error occurred CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications 6 2 Sending Explicit Messages CJ series DeviceNet Units can send explicit messages Explicit messages can be sent to the following destinations e DeviceNet masters or slaves made by other manufacturers e CS CJ series DeviceNet Unit Example NJ series CPU Unit CJ series DeviceNet Unit Other manufacturer DeviceNet master or slave or CJ series DeviceNet Unit Explicit messages can be sent q N v S m 3 g CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 7 6 Message Communications 6 2 1 Sending Explicit Messages The command code 28 01 can be used to send explicit DeviceNet messages to OMRON special slaves and DeviceNet masters slaves made by other manufacturers OMRON special slaves or Slave or Master by other NJ s
375. st disabled Fixed allocation status 1 Fixed allocation status 2 Fixed allocation status 3 User set allocations set with device variable for CJ series Unit User set allocations set by CX Integrator Master function disabled Name of device variable for _Mstr2Sta WORD Master Sta Bits 00 to 07 Reserved by system tus 2 Bits 08 to 15 Master I O Allocation Status Default 16 0000 Name of device variable for _MstrlOAlocSta BYTE Master I O Master I O Allocation Status Allocation Data range 16 00 to 03 16 11 to 13 Status 16 20 16 30 16 80 Default 16 00 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit 3 2 9 Slave Status 1 The following device variable for CJ series Unit is used to reference all information of Slave Status 1 Name of device variable for SlaviSta WORD Slave Sta Bit 00 Reserved by system tus 1 Bit 01 Reserved by system Bit 02 Remote I O Communications Error with slave communications enabled for OUT 1 IN 1 Bit 03 Remote I O Communications Error with slave communications enabled for OUT 2 IN 2 Bit 04 Invalid Setup Data Bit 05 Slave Function I O Refresh Error Bit 06 Reserved by system Bit 07 Reserved by system Bit 08 Slave Function Enable Disable Failed Bit 09 Slave User set Allocations User Setting Failed Bit 10 Slave Fixed Allocation Area Setting Failed Bit 11 Slave COS Send Failed Bit 12 Connection 2 Establ
376. st word in slave OUT 1 area OUT 1 area size Slave IN 1 area First word in slave IN 1 area Value meaning 4 Work Area 50 W050 20 10 words 4 Work Area 100 W100 SlavAlocTbIiCfg 5 IN 1 area size 105 5 words e Slave areas OUT area 1 15 00 W050 W051 W052 W053 to W059 IN area 1 15 00 W100 W101 W102 W103 W104 Step 1 Change the Slave User set Allocations Switch to TRUE Make sure that slave communications have stopped prior when you perform this operation Change Sw2SlavAlocCmd Slave User Allocations Switch to TRUE Step 2 Change the Slave Enable Switch to TRUE Change Sw2SlavEnbiCmd Slave Enable Switch to TRUE This will allocate the above areas as slave areas and the DeviceNet Unit will start slave remote I O communications CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Message Communications aS This section describes explicit message communications sent from the user program in the CPU Unit OL OVENVICW iia he eae eee ERO T Ee aa a a 6 2 6 1 1 Outline of Message Communications 0 000 c eee eee 6 2 6 1 2 Explicit Message Communications 00 000 eee 6 3 6 1 3 Message Communications Specifications 0 0 0 0 cee eee 6 4 6 1 4 Message Communications Error Indications 000 eee eee 6 5 6 1 5 Message Monitoring Timer 0 ee eee eee 6 5 6 1 6 Message Communications Errors 0 0c
377. start automatically for this error First confirm that the error has been eliminated and then perform the procedure to start remote I O communi cations e Records the error in the error log e Stops master and slave remote I O communica tions Performs the following pro cessing if it receives com mands that must be passed along to the CPU Unit e Returns an error response 0302 Hex to commands requiring a response Discards other frames and stores an error record 010B Hex in the error log Error log Hex 0002 0001 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 2 The CPU Unit s watchdog timer error can occur during initialization 9 24 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Master Status 1 for CJ series Units CMstrSta _CMstrSta There is no status notification because There is no status notification because Inspect the CPU Unit s operating envi communications with the CPU Unit are communications with the CPU Unit are ronment disabled disabled There is no status notification because There is no status notification because Replace the CPU Unit communications with the CPU Unit are communications with the CPU Unit are disabled disabled F g 7 Q 3 ct a S g g
378. ster Func tion Enable Dis able Failed 74610000 hex Master Fixed Allocation Area Setting Failed 9 38 The I O memory in the destination CPU Unit for I O refreshing could not be found when refreshing the slave function data in the CPU Unit An error occurred in the following opera tion for user alloca tion of the slave A send timeout occurred An operating error occurred when enabling or dis abling the master function An error occurred in one of the following operations for fixed allocation of the master e O words are allocated in an EM bank that does not exist Hin i The slave function is not dis S page 9 48 abled There is a mistake in the user allocations to a slave CPU Unit is not in PROGRAM mode More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was completed for a previous software switch There is no slave or other S page 9 49 device on the network The same baud rate is not set for all nodes Communications cable lengths trunk line and branch lines are unsuitable A communications cable is dis connected or loose The terminating resistance is somewhere other than the ends of the trunk line Noise There is an error in the CAN controller An attempt was made to enable S page 9 50 the master function when it was already enabled An attempt was made to dis able the master function
379. suc cessfully completed with the device vari able for CJ series Unit FALSE Indicates that the error did not occur The bit changes to FALSE when the operation is successfully completed Default FALSE Mstr1IOCommSta BOOL I O Data lt Operation specifications gt Communi TRUE is ala Indicates that at least one slave is per uS ae forming remote I O communications Usage example When writing the user program for master remote I O communi cations use this bit as an N O input con dition to control slave I O processing FALSE Indicates that remote I O communications are not conducted with any slaves Default FALSE BUEMYOS pun SELIES gt 10 Se qeUeA 2A Z E SOSMETS SOURIMS o i N zZ o D ep o Cc k CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 37 3 Data Exchange with the CPU Unit 3 2 8 Master Status 2 3 38 The following device variables for CJ series Unit indicate the status of master I O allocations Information of MstrlOAlocSta Master I O Allocation Status can be referenced from _Mstr2Sta Master Status 2 Master I O Allocation Status Codes and Allocation Statuses Code 16 00 16 01 16 02 16 03 16 11 16 12 16 13 16 20 16 30 16 80 Details Unit starting up Fixed allocation status 1 with the scan list disabled Fixed allocation status 2 with the scan list disabled Fixed allocation status 3 with the scan li
380. supplied properly from the As long as power is not network being supplied remote I O communications will remain stopped and errors will be returned in response to requests for message transmissions The indicator status scan ning and message pro cessing will return to normal when the network power supply is restored although scanning will not resume if the DeviceNet Unit is set to stop remote I O communications when a communications error occurs 1 The 7 segment indicator will alternate between the Unit s node address and the code given in the tables in this section 2 The NS indicator will flash red if the error occurs during remote I O communications otherwise the indicator will be OFF 9 12 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Status of C200H Master Replacement Status of device variables Master Status 1 for CJ series Units CMstrSta _CMstrSta CMstrErr Master Error and NetPwrErr Network Power Error and Check the network power supply and CMstrSendErr Send Error are TRUE UnitErr Unit Error are TRUE the wiring of the network cables F g 7 Q 3 ct a S g g D Z g gt 3 A g d yun IONS9IA9Q y u Bunn s10114 Bunooys jqnoIL Z 6 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 13 9 Troubleshooting and Maintenance ee Seg ment 1 OFF or Red flashing
381. t MULTIPLE I O TERMINAL Operation Man ual Cat No W348 for details on replacing slaves We recommend having spare Units available to restore network operation as quickly as possible j Precautions Observe the following precautions when replacing a faulty Unit e After replacement make sure that there are no errors with the new Unit e When a Unit is being returned for repair attach a sheet of paper detailing the problem and return the Unit to your OMRON dealer e f there is a faulty contact try wiping the contact with a clean lint free cloth dampened with alco hol Precautions for Safe Use To prevent electric shock when replacing a Unit be sure to stop communications in the network and turn OFF the power supplies to all of the nodes master and slaves before removing the faulty Unit i Settings after Replacing DeviceNet Units When the master communication is used the scan list project file must be registered again f 5 J All of the settings data stored in the DeviceNet Unit can be saved to the CPU Unit s SD Memory Card and later read from the SD Memory Card 2 It will be much easier to replace the Unit if you save all of the settings data when the Unit is operating normally 1 Change _ Sw2FileBkupCmd Unit Setup File Backup Switch to TRUE 2 Change Sw2FileRestoreCmd Unit Setup File Restore Switch to TRUE The backup file is saved to the CPU Unit s SD Memory Card with the filename DNnnBKUP av
382. t Remote I O Allocations Using Device Variable for CJ series Unit Turn ON the communications slave and Controller power supplies Note Turn ON the communications power supply prior to turning ON the slave power supply or the slaves may not go online Pre operations Switch the CPU Unit to PROGRAM mode Change _Sw1MstrEnblCmd Master Enable Switch to TRUE The master will remain enabled even if the power is turned OFF and back ON again Note Execute this only when master communications are disabled If the Master Enable Switch is turned ON when master communications are enabled a Unit error will occur and a C2 error will be displayed on the 7 segment indicator on the front panel Master function 1 From Sysmac Studio change data in MstrAlocTbICfg 0 to _MstrAlocTb iCfg 5 Master User set Allocations Setup Table to TRUE and set the data to the Allocation Size Setup Table 2 Change _Sw1MstrAlocCmd Master User set Allocations Switch to TRUE 5 cc ro n c Oo OD BO QO 2o T wo S Dg LU Master remote I O communications will begin with the scan list enabled Use the software switches to start or stop communications Check to see if both the MS and NS indicators are lit green on the Master Unit and all slaves Note The mode can be confirmed from the dots on the 7 segment indicator on the Master Unit Left dot not lit Scan list enabled Left dot flashing Scan list disabled Post operation
383. t Switch for Node Address 48 Slave Disconnect Connect Switch for Node Address 49 Slave Disconnect Connect Switch for Node Address 50 Slave Disconnect Connect Switch for Node Address 51 Slave Disconnect Connect Switch for Node Address 52 Slave Disconnect Connect Switch for Node Address 53 Slave Disconnect Connect Switch for Node Address 54 Slave Disconnect Connect Switch for Node Address 55 Slave Disconnect Connect Switch for Node Address 56 Slave Disconnect Connect Switch for Node Address 57 Slave Disconnect Connect Switch for Node Address 58 Slave Disconnect Connect Switch for Node Address 59 Slave Disconnect Connect Switch for Node Address 60 Slave Disconnect Connect Switch for Node Address 61 Slave Disconnect Connect Switch for Node Address 62 Slave Disconnect Connect Switch for Node Address 63 Slave The device variables for CJ series Unit that corresponds to all bits of a word starting with CIO n 10 is as follows CJ series I O memory address NJ series device variables for CJ series Unit Wordaddress Bit Veriablename CIO n 10 Oto 15 Unit1Sta CJ series function name Unit Status 1 The functions of bits 0 to 15 of ClO n 10 correspond to those of bits 0 to 15 of this CJ series Unit device vari able A 14 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices The device variables for CJ series Units that correspond to bits 0 to 15 of a wo
384. t bit for node allocations can be either bit 00 or bit 08 when setting allocations with CX Integrator allocations for slaves with two bytes or more cannot start at bit 08 while it is always bit 00 with device variable for CJ series Unit amp A i f WV g 2 8 a O a CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 21 4 Remote I O Master Communications 4 4 1 Settings through CX Integrator You can allocate slaves in any order for the following blocks OUT block 1 OUT block 2 IN block 1 and IN block 2 To access the area where the slave is allocated from the user program a user defined variable that specifies the AT specification of that area needs to be defined OUT block 1 7 l User set block order Specified areas in memory used Bit for CJ series Unit 15 0 User set block order First word Dee Bit 4 pee First word specified to to Out put to slaves OUT block 1 to IN block 1 User set block order Bit 45 0 Bit 15 0 First word specified to IN block 1 to Gas Input from slaves OUT block 2 User set block order Bit 15 0 Specified areas in I O memory Bit First word specified 15 0 gt Output to slaves OUT block 2 IN block 2 User set block order Bit 15 Bit 15 g to lt Input from slaves to First word specified to IN block 2 You can set the block allocation order block allocation areas and order of node ad
385. ta 2 MstrAlocRefTblSta 3 Default 0 3 Data Exchange with the CPU Unit Name of device variable for 5 MstrAlocRefTblSta 4 UINT First wordin Stores the first word for IN 1 area ne IN block 1 Data range 0 to 32767 a Default 0 ej MstrAlocRefTblSta 5 UINT No of bytes Stores the size of IN 1 area aa in IN block 1 The OUT 1 block is not allocated if the wd value is 0 R Data range 0 to 1000 R S Default 0 ES MstrAlocRefTblSta 6 UINT OUT block Stores the OUT 2 area F 2 area Data range 0 to 20 il Default 0 Za MstrAlocRefTblSta 7 UINT First wordin Stores the first word for OUT 2 area OUT block Data range 0 to 32767 Default 0 MstrAlocRefTblSta 8 UINT No of bytes Stores the size of OUT 2 area in OUT The OUT 1 block is not allocated if the bh block 2 value is 00 hex Data range 0 to 1000 T Default 0 MstrAlocRefTblSta 9 UINT IN block 2 Stores the IN 2 area j area Data range 0 to 20 gt Default 0 8 MstrAlocRefTblSta 10 UINT Firstwordin Stores the first word for IN 2 area S IN block2 Data range 0 to 32767 D Default 0 T MstrAlocRefTblSta 11 UINT No of bytes Stores the size of IN 2 area z in IN block 2 The OUT 1 block is not allocated if the a value is 0 Data range 0 to 1000 Default 0 Areas and Word Ranges Code Area name in memory for CJ series Units Word range The block is not used CIO Area CIO 0 to 6143 0 1 5 8
386. te determination of the suitability of the products in combination with the end product machine system or other application or use The following are some examples of applications for which particular attention must be given This is not intended to be an exhaustive list of all possible uses of the products nor is it intended to imply that the uses listed may be suitable for the products e Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual e Nuclear energy control systems combustion systems railroad systems aviation systems medical equipment amusement machines vehicles safety equipment and installations subject to separate industry or government regulations e Systems machines and equipment that could present a risk to life or property Please know and observe all prohibitions of use applicable to the products NEVER USE THE PRODUCTS 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 PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM PROGRAMMABLE PRODUCTS OMRON shall not be responsible for the user s programming of a programmable product or any consequence thereof CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 17 Read and Understand this
387. te user defined variables in the following areas For details on allocating user defined variables refer to Sysmac Studio Version 1 Operation Manual Cat No W504 Word Bit15 Bit 08 Bit 07 Bit 00 Node address 0 OUT size bytes Node address 0 IN size bytes l 1 Node address 1 OUT size bytes Node address 1 IN size bytes 63 Node address 63 OUT size bytes Node address 63 IN size bytes EN Additional Information SUOREIO IV Hun s y s fd 104 So qeUe A DIINO E E sas parera nels IGE Bues The areas and first word in the memory used for CJ series Unit used for setting up the allocation size setup table are set by using the following device variable for CJ series Unit Allocation Size Setup Table Area MstrAlocTblCfg 4 First Word In The Allocation Size Setup Table 1 MstrAlocTbICfg 5 Setting Example p ng NO lt D n a D C D D 7 n D gt O O N O 5 D ep D O D O D The following example shows the allocation when the size bytes for OUT block 1 and IN block 1 is set in the allocation size setup table using the specified values Node address 0 OUT size 1 byte IN size 5 bytes Node address 1 OUT size 4 byte IN size 3 bytes Node address 2 OUT size 1 ue IN size 2 bytes Allocation size setup table OUT block 1 IN block 1 EA l ee E Ke es a res eo Ks apne Note 1 The numbers in the OUT 1 and IN 1 blocks represent node addresses 2 Bytes are al
388. tection At power ON or timing Controller reset a Minor fault Recovery Automatic recov Log category System ery cycle power supply or reset controller User program Continues Operation The DeviceNet Unit will stop the slave function Remote I O communications and message communications will continue Variable Datatype Datatype Name Assumed cause Correction Prevention The power was interrupted while the Write the parameters again Do not turn OFF the power supply system was writing the parameters while the system is writing the param eters Non volatile memory life Replace the Unit None None None CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 43 amp m 6 A r amp 7 suoduos q JOA p 6 9 Troubleshooting and Maintenance Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks 9 44 Node Address Duplicated Error 2448 0000 hex An error was discovered during the node address duplication check when starting the DeviceNet Unit PLC Function Module Source details CJ series Unit Detection When trying to timing establish a link supply User program Continues Operation The DeviceNet Unit is offline
389. tes no fragment Therefore Tarps 1 communications cycle time Try 3 ms e CPU Unit s processing time Tcpy x 2 Tcpy X 2 CPU Unit task period x 2 10 x 2 20 ms e BYTE DATA READ response receiving time Tarr DeviceNet header 3 bytes Number of words to be read x 2 203 bytes Therefore Tarr 1 203 bytes 6 communications cycle time 35 communications cycle time e DeviceNet Unit refresh time TRF 2 ms The message response time will be as follows RM Topy X2 Tpy X 354 TpF X 2 34 204 105 4 132 ms owl suods y ebessayy Wnwixeyy y Luneng Z Z 8 Shown below is the response time required to return data for 100 words to 8 clients e BYTE DATA READ request sending time Tprs DeviceNet header 4 bytes Parameters 3 bytes 7 bytes no fragment Therefore Taps 1 communications cycle time Try 3 ms CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 11 8 Communications Timing 8 12 e CPU Unit s processing time Tcpy x 6 Tcpy X 2 Tcpy x 8 The following time is required to process data with other clients before the CPU Unit starts processing 7 other clients 2 Approximately cycle time x 3 If one processing requires two CPU Unit task periods the time will be as follows CPU Unit task period x 3 x 2 CPU Unit task period x 6 CPU Unit s processing time Tcpy x 2 CPU Unit task period x 2 Total time will be as follows CPU Unit task period x 8 BYTE DATA READ response r
390. the SendCmd instruction using com Automatically responds to explicit messages munications mand code 2801 hex to send explicit messages to from other devices instruction DeviceNet Units Remote devices e DeviceNet masters and slaves made by other e DeviceNet masters made by other manufac and supported manufacturers Supported services determine turers T functions supported functions PLCs with CS CJ series DeviceNet Units 9 e PLCs with C200H series DeviceNet Master 4 Units 2 e PLCs with CVM1 CV series DeviceNet Master Units e All listed devices support status read write and I O memory read write for the local CPU Unit A specific command 2801 is used to send explicit messages EN Additional Information This CJU series DeviceNet Unit CJU1W DRM21 contains a PLC Object so that the I O memory of the CPU Unit of this DeviceNet Unit can be read written from other devices The C200H I O Link Unit C2OOHW DRT21 and CS series DeviceNet Unit CS1W DRM21 V1 also contain a PLC Object so that you can read write the I O memory of the CPU Unit of the C200H I O Link Unit from other devices The C200HW DRM21 V1 and CVM1 DRM21 V1 DeviceNet Master Units however do not have PLC Objects the I O memory of the CPU Unit for these Units cannot be read or written from other devices O L M m x lt O r z D op o Q O O 3 3 5 O o oe O J CJ series DeviceNet Units Operation Manual for
391. then setting the connec tion path that is set in the scan list failed The size of the slave I O data does not match the registration in the scan list If the device type is set in the detailed verification settings then setting the device type that is set in the scan list failed If the product code is set in the detailed verification settings then setting the product code that is set in the scan list failed The device does not support the I O service specified in the scan list The I O words allocated to slave overlap The I O words allocated to the slave exceed the valid range The I O size of the slave exceeds 200 bytes for outputs or 200 bytes for inputs HT fy E Vy o The master function is not S page 9 47 enabled There is a mistake in the user allocations in the master CPU Unit is not in PROGRAM mode More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was completed for a previous software switch There is an error in the set T page 9 47 I O words are allocated in an EM bank that does not exist information CPU Unit is not in PROGRAM mode 9 37 amp m 6 A r amp 7 J qQEL 10113 g y 6 9 Troubleshooting and Maintenance Liwa O 34C20000 hex Slave I O Refresh Error 34C30000 hex Slave User Allocation Area Setting Failed 64AC 0000 hex Send Time out Error 74600000 hex Ma
392. there is a Controller error 65 Hex the CPU Unit Attribute ID Reads CPU Unit model 66 Hex 10 Hex Attribute ID Changes the operating mode of the 64 Hex CPU Unit Attribute ID Clears errors 65 Hex 40 Hex None Reads the detailed status of the CPU Unit Operation status Stop run Operating modes PROGRAM RUN Contents Reads the specified node data in byte units The word data is read in order from high to low bytes Read data 200 bytes max Reads the specified node data in word units The word data is read in order from low to high bytes Read data 100 words max Writes the specified node data in byte units The word data is specified in order from high to low bytes Write data 200 bytes max Writes the specified node data in word units The word data is specified in order from low to high bytes Write data 100 words max The commands and responses for the explicit messages that can be sent and received are described on the following pages In the following command and response formats all boxes represents 1 byte CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 17 q w 5 R Q lt 5 m x 3 ay rF f a Q SODIAIBS 1998IGO Jld JO 1S7 1 E 9 6 Message Communications i Information Read for CPU Units Service Code OE Hex Reads CPU Unit information including Operating Mode Controller Errors and the CPU Unit model Command Block PREL
393. this to the Master Unit again 1 Turn ON the power to the Master Unit and slaves 2 Place the CX Integrator online and read the Network Configuration 3 Specify the Master and use the Device Parameters Edit operation to register slaves and to allo cate I O 4 Write the settings to the devices P Precautions for Correct Use e When user set remote I O allocations are used always save the project file to restore opera tion quickly if the Master Unit needs to be replaced e When the CPU Unit is replaced be sure that all data in the DM Area HR Area and other memory areas is transferred to the new CPU Unit before starting operation 9 62 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices A 1 Differences in Available Functions Depending on the CPU Unit NJ Or Cl SGheS vacate tuta aAA resi Sere wes e eari A 2 A 1 1 Functional Diferentes s scien ade ded odie ete DA aly dace a ee ee le A 2 A 1 2 Differences in Accessing from User Program 0000 cee eee A 2 A 2 DeviceNet Connections 0cce cece eee e eee nese eee eens A 35 A 3 DeviceNet Explicit Message Send Command for Other Manufacturer NOGCS arepe eiri arias eee ae ie ee i eee ee es A 41 A 3 1 Explicit Message Send 2801 0 0 eee A 41 A 4 Multi vendor Applications cc cee eee ees A 43 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 1 Appendices A 1 Differences in Available F
394. tion OUT Size 2 Bue IN Size 2 Byte 0 User Setup 1 Precautions for Correct Use Output data using poll connections and output data using COS or cyclic connections are trans mitted using the same frame Therefore set the same output size bytes when you combine poll and COS or poll and cyclic EN Additional Information The COS cyclic heartbeat timer is the smallest transmission interval for COS or cyclic connec tions You can set it for each corresponding slave For details on using the CX Integrator refer to the CP CS CJU CP NSJ CxX Integrator Ver 2 L Operation Manual Cat No W464 p Connection Path Connection path are parameters that specify the type of I O data in the slaves Depending on the type of slave the internal I O data type may be able to be selected For the relationships between the selected applicable connections and the applicable connections per I O area words block refer to the A 2 DeviceNet Connections gt N 0 a Q A 0 ej gt R ch 0 v The connection path settings will differ depending on the allocation method as outlined below Fixed Allocations or User set Allocations Using Device Variable for CJ series Unit Connection path settings cannot be made CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 A 37 Appendices User set Allocations Using the CX Integrator The CX Integrator can be used to set the type of I O data in the slav
395. tions You can change the event level to the observation level If you change the level to the observation level the Recovery Remarks column above will be changed to Error reset Event name Network Power Error 04890000 hex Meaning Network power is not being supplied Source PLC Function Module Error attributes Effects System defined Source details CJ series Unit Continuously timing supply User program Continues Operation The DeviceNet Unit will stop remote I O communications and return errors for message send requests whenever there is a network power supply error When the network power supply returns to normal status the error display will stop the scan will be started and message process ing will return to normal The scan will not start again after recovery to normal operation however if remote I O com munications are set to stop when a communications error occurs Variable Datatype 0 Datatype 0 Name jai eomecian Communications power is not being Check the network power supply and Check to see if the network power supplied normally from the network network cable connections and cor supply and network cables are cor rect any errors rectly wired Attached None information Precautions None Remarks 9 42 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Event name Meaning Source Error attributes Effects System defined variables Cause and correct
396. to place Te A Precautions for Correct Use The sliders on the tops and bottoms of the Powe r 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 NJ series CPU Unit Hardware User s Manual W500 Special Information Special information in this manual is classified as follows ED precautions for Safe Use Precautions on what to do and what not to do to ensure safe usage of the product 4 l Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance a Information Additional information to read as required This information is provided to increase understanding or make operation easier Note References are provided to more detailed or related information CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 spun 6Bugunow E sjuauodwod J9 O4JU0D Budauu0D L S y Level 1 heading Level 2 heading Level 3 heading Gives the current headings Page tab Gives the number of the main section This illustration is provided only as a sample It may not literally appear in this manual Manual Structure Precaution on Terminology In this manual download refers to transferring data from the Sysmac Studio to the physical Controller and upload refers to transferring data from the physical Contr
397. trAlocTblCfgSta WORD Setting Results of Master User set Alloca 16 0000 to FFFF tions Setup e Areas and Word Ranges for OUT Block 1 IN Block 1 and the Allocation Size Setup Table Code Area name in memory used Word range for CJ series Unit 0 Se The block is not used 8 to 20 Expansion Data Memory EM O to 32767 EO 00000 to EO 3276 7 Bank 0 to bank C 13 banks EC_00000 to EC_ 32767 for all banks Note You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subse quent banks 4 26 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications Step 4 Set the Allocation Size Setup Table Specify the area and first word in this table at words MstrAlocTbiCfg 4 Allocation size setup table area and MstrAlocTbiCfg 5 First word in the allocation size setup table 1 Allocate user defined variables to the areas on the allocation size setup table After allocating user defined variables to the areas IN and OUT sizes for all nodes are set here as shown in the table below The setting range for each node is O to 200 bytes 0 to 100 words although actual size depends on the allocated slaves The maximum size per block is 500 words If the size set here is larger than 1 byte the start bit for all slaves is bit OO and size is allocated in ascending node address order that start from the beginning of the OUT 1 and IN 1 areas in word u
398. trol e Use the system defined variable in the user program to confirm that EtherCAT communications are established before you attempt to execute motion control instructions Motion control instructions are not executed normally if EtherCAT communications are not established e Use the system defined variables to monitor for errors in communications with the slaves that are controlled by the motion control function module Motion control instructions are not executed nor mally if an error occur in slave communications e Before you start an MC Test Run make sure that the operation parameters are set correctly e Do not download motion control settings during an MC Test Run R EtherCAT Communications e Do not disconnect the EtherCAT slave cables during operation The outputs will become unstable e Set the Servo Drives to stop operation if an error occurs in EtherCAT communications between the Controller and a Servo Drive e Make sure that all of the slaves to be restored are participating in the network before you reset a Net work Configuration Verification Error Process Data Communications Error or Link OFF Error in the EtherCAT Master Function Module If any slave is not participating when any of these errors is reset the EtherCAT Master Function Module may access slave with a different node address than the spec ified node address or the error may not be reset correctly CJ series DeviceNet Units Operation Manual for NJ series CPU
399. ts Bit 15 CIO 3200 Output to Slaves to OUT block CIO 3263 Bit 15 0 to Bit_15 CIO 3300 to IN block Input from Slaves CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 Remote I O Master Communications Fixed Allocations Area 2 OUT blocks are allocated to slaves from CIO 3400 to CIO 3463 and IN blocks are allocated to slaves from CIO 3500 to CIO 3563 in the memory used for CJU series Unit To access the output OUT block and the input IN block from the user program allocate a user defined variable to the applica ble area OUT block Bit 15 0 CIO 3400 Address 0 CIO 3401 Address 1 CIO 3402 Address 2 to to aaa Output to Slaves CIO 3460 Address 60 CIO 3461 Address 61 CIO 3462 Address 62 CIO 3463 Address 63 IN block 15 0 Address 0 Address 1 Address 2 to CIO Area in the memory for CJ series Units 0 IN W a x 8 gt O A et fe 5 a 15 0 Bit CIO 3500 CIO 3500 CIO 3501 to IN block CIO 3502 Gems Input from Slaves CIO 3563 SOINPSIOJd UONCIO V C E v CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 4 17 4 Remote I O Master Communications Fixed Allocations Area 3 OUT blocks are allocated to slaves from ClO 3600 to CIO 3663 and IN blocks are allocated to slaves from CIO 3700 to CIO 3763 in the memory used for CJU series Unit To access the output OUT
400. ts 8 to 15 to word L low byte bits O to 7 If an odd number is specified for the number of read bytes the last 1 byte of data will be read to the high word Important Points The actual address L address H and number of read bytes that can be specified depends on the model of the CPU Unit of the CJ series DeviceNet Unit and the type of memory area Do not exceed the boundary of the data areas for the CPU Unit you are using CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 6 Message Communications i Word Data Read Service Code 1D Hex Word Data Read reads any I O memory area data in the memory used for CJ series Unit in a CPU Unit with a CJ series DeviceNet Unit mounted The read word data is in word units The response block is returned from low to high bytes Command Block ic 2F a Class ID Address L No of words read Service Code Instance ID Address H A body format of either 8 bits or 16 bits is possible Q Response Block p T Q 5 AEC m O A Service Code Word data H Word data H 2 Word data L Word data L f PEE m g Q Read data 200 bytes max Parameters Service Code command response 1D Hex is specified for commands For responses the high est bit will turn ON and 9D Hex will be returned Class ID command Always 2F Hex Instance ID command The type of area in the memory used for CJ series Unit that will read the data
401. tual system operation e It is still possible to communicate with Units with the scan list disabled if a scan list is not cre ated when fixed allocations areas 1 to 3 are used This may result in faulty operation because the Master Unit will communicate with slaves even if they do not start up due to errors such as equipment failure if there is no scan list 2 2 Scan List Enabled and Scan List Disabled The scan list must be made The scan list modes are described here Scan List Enabled Used for Actual Operation Remote I O communications are performed according to the registered scan list and only with slaves that are on the list A Verification Error occurs _Msitr1 VefyErr changes to TRUE if a slave regis tered on the scan list is not present on the network if a slave did not start up when remote I O com munications started or if the number of I O points did not match the number registered Scan List Disabled Used when Changing System Configuration You can perform remote I O communications with fixed allocations instead of a scan list in order to change a system configuration Do not operate without a scan list during actual system operation Use this mode only to replace a Master Unit or to change system configuration change a connected slave or a node address Note 1 To disable the scan list change Sw7SListC rCmd Scan List Clear Switch to TRUE dur ing remote I O communications with the scan list enabled with
402. turned In an error response 94 Hex will always be returned Class ID command The class ID of the destination of the explicit message Instance ID command The instance ID of the destination of the explicit message Service Data command response In command the data defined by the service codes are specified In response the receive data defined by the service codes are returned sabessay y dx4 Buipuaes 1 2 9 No of Bytes Received response The number of bytes received from the destination node address remote node Destination Node Address remote node response The node address of the remote device to which the explicit message was sent is returned Error Code response An error code defined by DeviceNet Explanation e This command sends a DeviceNet defined explicit message to a DeviceNet Slave manufactured by another company and receives a response e When the Explicit Message Send command is sent specify the DeviceNet Master Unit of the local node address as the destination of the input variable DstNetAdr Destination network address in the SendCmd instruction and specify the node address of the actual destination by the Destina tion Node Address in the Explicit Message Send command Be sure to specify the Master Unit of the local node address as the input variables DstNetAdr Destination network address in the SendCmd instruction If the Master Unit of any other node address is specified an error wil
403. ual for NJ series CPU Unit W497 3 Data Exchange with the CPU Unit Name of device variable for Slav1COSSendErr BOOL COS Send lt Operation specifications gt Failed TRUE Indicates that an attempt was made to send COS to a master using Sw2SlavCOSSendCmd Slave COS Send Switch but the transmission failed The following may cause the failure of COS signal transmission e A COS connection was not established with a master e Bus OFF error occurred e A network power error occurred e A send timeout occurred Once this bit changes to TRUE it will remain TRUE until the operation is suc cessfully completed FALSE Indicates that the error did not occur The bit changes to FALSE when COS is suc cessfully sent Default FALSE Slav1Conn2EstbSta BOOL Connection lt Operation specifications gt 2 Estab TRUE lished eae Indicates that an I O connection is estab lished for OUT 2 IN 2 This bit changes to TRUE even if valid I O data is not exchanged FALSE Indicates that an I O connection is not established for OUT 2 IN 2 Default FALSE Slav1Conn1EstbSta BOOL Connection lt Operation specifications gt 1 Estab TRUE lished ok acct Indicates that an I O connection is estab lished for OUT 1 IN 1 This bit changes to TRUE even if valid I O data is not exchanged FALSE Indicates that an I O connection is not established for OUT 1 IN 1 Default FALSE CJ series DeviceNet Units Operation Manual for NJ seri
404. unctions Depending on the CPU Unit NJ or CJ Series Some of the specifications when a DeviceNet Unit is connected to a CJ series CPU Unit are different from the specifications when the DeviceNet Unit is connected to an NJ series CPU Unit A list of these differences is provided below A 1 1 Functional Differences There are differences in function support function names and specifications between when a DeviceNet Unit is connected to a CJ series CPU Unit and when the DeviceNet Unit is connected to an NJ series CPU Unit i Unsupported Functions The following function cannot be used when the DeviceNet Unit is connected to an NJ series CPU Unit e DeviceNet Configurator connection Use the CX Integrator instead i Functions with Different Names The names of the following functions are different between when a DeviceNet Unit is connected to a CJ series CPU Unit and when the DeviceNet Unit is connected to an NJU series CPU Unit The corre sponding names are listed in the following table Item DeviceNet Unit connected to a CJ series DeviceNet Unit connected to an NJ series CPU Unit CPU Unit Backup functions Simple backup function SD Memory Card backup function Backup with PLC backup tool Sysmac Studio Controller backup function An NJ series CPU Unit with unit version 1 03 or later and Sysmac Studio version 1 04 or higher are required A 1 2 Differences in Accessing from User Program When this Unit is operated with a
405. unications Cycle Time Reference Table 000005 3 58 3 3 5 Master User set Allocations Reference Table 000005 3 58 3 3 6 Slave User set Allocations Reference Table 000000 ee 3 60 3 3 7 Slave Detailed Status 0 0 0 nes 3 61 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 3 1 3 Data Exchange with the CPU Unit 3 1 Data Exchange with the CPU Unit Data exchange between this Unit and the CPU Units uses the I O port and memory for CJ series Unit allocated to the DeviceNet Unit 3 1 1 Data Flow The CPU Units and CJU series DeviceNet Units exchange data as shown in the table and chart below Data exchange type Access methods from AT specification ee i Device variable for I O port During I O refresh Software switch Allocations setting table Slave detailed status User defined variable Memory used for During I O refresh Slave I O Data CJ series Unit At I O refresh after instruc Message send receive tion execution data for communications instructions System defined variable None During I O refresh Unit Restart Flag Com munications Port Enabled Flags etc Note The allocations setting table and slave detailed status data are retained in the CPU unit by the battery even during power interruptions 3 2 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 CPU Unit User program I O port Software switch status
406. unications cable colors are attached to the communications connec tors Match the colors when connecting communications cables to the connectors These colors are given in the following table Color Signal Black Power line negative voltage V Blue Communications line low CAN L Shield White Communications line high CAN H Red Power line positive voltage V For details on communications specifications and wiring refer to the DeviceNet OPERATION MAN UAL Cat No W267 Precautions for Safe Use Before connecting communications cables turn OFF the Controller power supply all slave power supplies and the communications power supply 2 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 2 Nomenclature and Installation 2 2 Installing the DeviceNet Unit 2 2 1 System Configuration Precautions You can mount up to 16 Units on the CPU Rack or an Expansion Rack per CPU but no more than 10 Units on one Rack y N 5 v g Q si i 0 a Q G 5 or 2 2 2 Mounting 1 Carefully align the connectors to mount the DeviceNet Unit Hooks Openings for hooks Connector SUOIINEDSJg UoeIn uon waS S Z Z 2 Move the yellow sliders on the top and bottom of the Unit until they click into position to lock Slide latches back until they lock The latches will click when they lock Precautions
407. unications cable lengths trunk Adjust the communications cables to Make sure that the communications line and branch lines are unsuitable suitable lengths cable lengths are suitable A communications cable is discon Connect the communications cable Connect the communications cable nected or loose securely If the communications cable securely Check the communications is broken replace it cable to see if it is operating properly Source PLC Function Module The terminating resistance is some Connect terminating resistance only Connect terminating resistance only where other than the ends of the trunk to the ends of the trunk line to the ends of the trunk line line Noise Implement noise countermeasures Implement noise countermeasures ler lt 0 Attached None A information 8 Precautions None Remarks T T w m ap O s O D no O 3 O i O S no CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 49 9 Troubleshooting and Maintenance Event name Meaning Source Error attributes Effects System defined variables Cause and correction Attached information Precautions Remarks 9 50 Master Function Enable Disable Failed 74600000 hex An operating error occurred when enabling or disabling the master function e Master Function Enable Switch device variable e Master Function Disable Switch device variable _Sw1MstrEnb iCma _Sw
408. usly within one CPU Unit task period of CPU Unit Tp The baud rate factor 500 kbit s Tp 2 250 kbit s Tg 4 125 kbit s Tp 8 COS Cyclic Connection Time 0 05 0 008 x S x Tp x n ms The COS cyclic connection time is added as a delay time when COS cyclic communications are per formed S Total number of inputs and outputs in the COS cyclic connection bytes Tp The baud rate factor 500 kbit s Tp 2 250 kbit s Tp 4 125 kbit s Tp 8 n Number of nodes occurring simultaneously within 1 communications cycle time in the COS Cyclic connection N Number of Slaves i Communications Time Slave The communications time per Slave is the communications time required for a single Slave Y a 7 A 2 A eh 2 a A gt f A of i c a OUI BJOAD SUOITeEDIUNWIWOX 8 The following equations show the communications time Slave Tpr for each kind of Slave Unit The communications time for each slave is not related to the type of connection protocol used by the slave Output Slaves with Less Than 8 Bytes of Output Trt 0 016 xTp x Souti 0 11 x Tg 0 07 ms Souti The number of Output Slave output words Tg The baud rate factor 500 kbit s Tg 2 250 kbit s Tg 4 125 kbit s Tg 8 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 8 3 8 Communications Timing 8 4 Input Slaves with Less Than 8 Bytes of Input Trt 0 016 xTp x S y1 0 06 x Tg
409. ve Enable Switch to TRUE the Unit will continue to perform slave communications even after the power is turned OFF and back ON again Slave output OUT area Master Slave User Allocations Setup Table Bit 15 0 Firstword Name of device variables for Cu series Unit Name Specify the specified ee SlavAlocTbICfg 0 Slave OUT 1 area first word SlavAlocTblCfg 1 First word in slave OUT 1 area E _SlavAlocTbICfg 2 OUT 1 area size sp pecIIy Ihe ae to lt OUT area _SlavAlocTbICfg 3 Slave IN 1 area Specify the first word to SlavAlocTbICfg 4 First word in slave IN 1 area SlavAlocTbICfg 5 IN 1 area size nn Slave input IN area Master Bit 15 0 First word specified Specify the size ie a gt IN area to Specify the first word gt Specify the size Example Settings for User set Allocations through Device Variable for CJ series Unit This example uses the following settings for unit number 0 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 5 13 5 Remote I O Slave Communications e OUT block 1 area and first word WR 4 50 50CH 50 20 byte size 10 words 20 e IN block 1 area and first word WR 4 100 100CH 100 10 byte size 5 words 10 e Slave User set Allocations Setup Table Name of device variables for CJ series Unit SlavAlocTbIiCfg 0 Slave OUT 1 area 5 14 SlavAlocTbiCfg 1 SlavAlocTblCfg 2 SlavAlocTbIiCfg 3 SlavAlocTbIiCfg 4 Fir
410. when it was already disabled CPU Unit is not in PROGRAM mode More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was completed for a previous software switch The master function is not S page 9 51 enabled The scan list is not disabled CPU Unit is not in PROGRAM mode More than one software switch changed to TRUE at the same time Or another software switch changed to TRUE before processing was completed for a previous software switch CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 Troubleshooting and Maintenance Liwa O DA Eventname Meaning Erga CACA pas 74620000 hex Scan List An operating error CPU Unit is not in PROGRAM page 9 52 Regis occurred when reg mode ter Clear istering or clearing Request processing is not pos Failed the scan list by per sible in this status or the forming one of the request was made when the following opera operation was already in tions progress The following are the main causes of Unit status errors e A software switch operation for the master function was executed when the master function was disabled e A switch that can be used only when the scan list is dis abled was used when the scan list was enabled A switch that can be used only when the scan list is enables was used when the scan list was disabled A software switch operation for the slave fu
411. witch for Node Address 17 Slave 2 CnctNdCmd 18 Disconnect Connect Switch for Node Address 18 Slave 3 CnctNdCmd 19 Disconnect Connect Switch for Node Address 19 Slave 4 CnctNdCmd 20 Disconnect Connect Switch for Node Address 20 Slave 5 CnctNdCmd 21 Disconnect Connect Switch for Node Address 21 Slave CnctNdCmd 22 Disconnect Connect Switch for Node Address 22 Slave 7 CnctNdCmd 23 Disconnect Connect Switch for Node Address 23 Slave CnctNdCmd 24 Disconnect Connect Switch for Node Address 24 Slave CnctNdCmd 25 Disconnect Connect Switch for Node Address 25 Slave 10 CnctNdCmd 26 Disconnect Connect Switch for Node Address 26 Slave 11 CnctNdCmd 27 Disconnect Connect Switch for Node Address 27 Slave 12 CnctNdCmd 28 Disconnect Connect Switch for Node Address 28 Slave 13 CnctNdCmd 29 Disconnect Connect Switch for Node Address 29 Slave 14 CnctNdCmd 30 Disconnect Connect Switch for Node Address 30 Slave 15 CnctNdCmd 31 Disconnect Connect Switch for Node Address 31 Slave CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 Appendices The device variables for CJ series Units that correspond to bits 0 to 15 of 4 words from CIO n 6 to n 9 are as follows CJ series I O memory address Wordaddress Bit Variabiename innacacel CnctNdCmd 40 CnctNdCmd 41 CnctNdCmd 42 CnctNdCmd 43 CnctNdCmd 44 CnctNdCmd 45 CnctNdCmd 46 A a CJ series Dev
412. with the DeviceNet Unit Indicators 9 1 1 Determining Operating Status from the Indicators Indicator status Network Unit status Comments mS NS 7 segment_ OFF OFF OFF Initializing with CPU Unit Initialization processing with the CPU Unit is in progress Restart the DeviceNet Unit if this status continues for an extended period of time Replace the CPU Unit and or DeviceNet Unit if the problem is not corrected by restarting ON OFF Master s node Checking for node address The node address duplication check is performed green address duplication after initialization flashing ON Master s node Waiting for remote I O com The Unit will have this status until remote I O com green address munications munications are performed with the master or flashing slave function When both functions are operat ing the Unit will have this status until remote I O communications are performed with either func tion Master s node Waiting for message commu The Unit will have this status when both the master address nications connection and slave functions are disabled and the Unit is waiting for a connection by message communica tions ON ON Master s node Remote I O or message com This is the normal display when the master and or green green address munications in progress slave is active ON ON flashing Scan list operation in The scan list is being saved in flash memory or the green green progres
Download Pdf Manuals
Related Search
Related Contents
「造林チューブ」取扱説明書 ROSA user manual - Queen's University Belfast AeronebTM* Solo Impex TSA-5761 Owner's Manual FernTel 3 Emerson Fisher Baumann 26000 Instruction Manual Fixed-Point Blockset User's Guide Matrices de almacenamiento Dell PowerVault MD 3860i Manual del PDF 施工要領書 DCH 230-180 Compte-rendu de l`AG du 14/01/2007 Copyright © All rights reserved.
Failed to retrieve file