background image

Machine Automation Controller

CJ-series

DeviceNet Units

DeviceNet Units

Operation Manual
for NJ-series CPU Unit

W497-E1-03

CJ1W-DRM21

Summary of Contents for CJ1W-DRM21

Page 1: ...Machine Automation Controller CJ series DeviceNet Units DeviceNet Units Operation Manual for NJ series CPU Unit W497 E1 03 CJ1W DRM21 ...

Page 2: ... 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 resu...

Page 3: ...ll be available for reference during operation This manual is intended for the following personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent Personnel in charge of introducing FA systems Personnel in charge of designing FA systems Personnel in charge of installing and maintaining FA systems Personnel in charge of managing FA systems and facilities...

Page 4: ...ting devices and hardware Using motion control Using EtherCAT Using EtherNet IP Using CJ series Units Software settings Using motion control Using EtherCAT Using EtherNet IP Programming Using motion control Using EtherCAT Using CJ series Units Programming error processing Testing operation and debugging Using motion control Using EtherCAT Using EtherNet IP Maintenance Using EtherCAT Using EtherNet...

Page 5: ...e NJ series Controller specifications Section 2 CPU Unit Operation 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 Section 3 I O Ports Slave Configuration and Unit Configuration This section describes how to use I O ports how to create the slave configuration and uni...

Page 6: ...hose errors Appendices 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 Description Section 1 Features and System Configuration This section provides an introduction to the ...

Page 7: ...es the allocation of remote I O memory for Smsty Salves Section 4 Function of All Slaves General pur pose Slaves and Environment resistive Slaves This section provides an overview funcionality provided by DRT2 Sries Slaves and the operating procedure Section 5 General purpose Slaves This section describes the specificaions and the components terminal arrangement basic procedures for wiring and set...

Page 8: ...f 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 Description Section 1 Features and System Configuration This section describes the features of the DeviceNet and the operating procedure for the DeviceNet Maste...

Page 9: ...s Section 9 Troublueshooting and Maintenance This section describes the troubleshooting procedure event logs and maintenance procedure for the DeviceNet Unit Appendix CX Integrator Ver 2 Operation Manual Cat No W464 Section Description Section 1 Overview This section provides an overview of the CX Integrator and describes the CX Integra tor menus and connecitions Section 2 Basic Operations This se...

Page 10: ... 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 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 Precautions for Cor...

Page 11: ...d upload refers to transferring data from the physical Controller to the Sysmac Studio For the Sysmac Studio synchronization is used to both upload and download data Here 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 Precaution on Terminology ...

Page 12: ...Manual Structure 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...

Page 13: ...ual Troubleshooting and Maintenance 9 Appendices A Communications Timing 8 6 5 Nomenclature and Installation Data Exchange with the CPU Unit Remote I O Master Communications Remote I O Slave Communications Message Communications Other Functions 7 4 3 2 1 2 3 4 5 6 7 9 8 A 1 I 1 I Index Features and System Configuration ...

Page 14: ...1 DeviceNet Unit Features 1 2 1 2 Specifications 1 7 1 2 1 DeviceNet Unit 1 7 1 3 Overview of CX Integrator 1 13 1 4 Basic Operating Procedures 1 14 1 4 1 Network Installation Procedure 1 14 1 4 2 DeviceNet Unit Startup Procedure 1 15 1 4 3 Message Communications Only Neither Master nor Slave Function Used 1 21 1 5 List of Usage Methods by Purpose 1 22 Section 2 Nomenclature and Installation 2 1 N...

Page 15: ...rence Table 3 58 3 3 5 Master User set Allocations Reference Table 3 58 3 3 6 Slave User set Allocations Reference Table 3 60 3 3 7 Slave Detailed Status 3 61 Section 4 Remote I O Master Communications 4 1 Master Remote I O Communications 4 2 4 1 1 Allocations 4 2 4 1 2 Remote I O Master Specifications 4 5 4 1 3 Precautions on the Number of Master Units 4 6 4 1 4 Procedure for Using Remote I O Mas...

Page 16: ...ions Errors 6 5 6 2 Sending Explicit Messages 6 7 6 2 1 Sending Explicit Messages 6 8 6 2 2 Sending Explicit Messages Using SendCmd Instruction 6 11 6 3 Receiving Explicit Messages 6 16 6 3 1 List of PLC Object Services 6 17 Section 7 Other Functions 7 1 SD Memory Card Backup Functions 7 2 7 1 1 Outline of Functions 7 3 7 1 2 File Names 7 4 Section 8 Communications Timing 8 1 Remote I O Communicat...

Page 17: ...vent Logs 9 35 9 4 2 Error Table 9 36 9 4 3 Error Descriptions 9 41 9 5 Maintenance and Replacement 9 60 9 5 1 Cleaning 9 60 9 5 2 Inspection 9 60 9 5 3 Replacing Faulty Units 9 61 Appendices A 1 Differences in Available Functions Depending on the CPU Unit NJ or CJ Series A 2 A 1 1 Functional Differences A 2 A 1 2 Differences in Accessing from User Program A 2 A 2 DeviceNet Connections A 35 A 3 De...

Page 18: ... 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 BASE...

Page 19: ...le uses of the products nor is it intended to imply that the uses listed may be suitable for the products Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual Nuclear energy control systems combustion systems railroad systems aviation systems medical equipment amusement machines vehicles safety equipment and insta...

Page 20: ...sult 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 ma...

Page 21: ...owing notation is used Definition of Precautionary Information WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury Additionally there may be severe property damage Caution Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage Precautions for Safe Use Indicates precautio...

Page 22: ...ions including warnings The specific operation is shown in the triangle and explained in text This example indicates a precaution for electric shock The triangle symbol indicates precautions including warnings The specific operation is shown in the triangle and explained in text This example indicates a general precaution The filled circle symbol indicates operations that you must do The specific ...

Page 23: ...n external control circuits The Controller outputs may remain ON or OFF due to deposition or burning of the output relays or destruction 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 ope...

Page 24: ...ime 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 sa...

Page 25: ...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...

Page 26: ...rly 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 terminal make the connections...

Page 27: ... 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 If you transfer data from a backup file on an SD Memory Card to the Controller when th...

Page 28: ...e occurred for the EtherCAT Master Function Module 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 high...

Page 29: ... affected before you transfer the tag data link parameters 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 If EtherNet IP tag data links cyclic communications are used with a repeating hub ...

Page 30: ... 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 Manual Cat No W505 for details Confirm the axis number carefully before you perform an MC Test Run The motor is stopped if communications are interrupted between the Sysmac Studio and the CPU Unit during an MC Test Run Connect the co...

Page 31: ...g tables network parameters and other CPU Bus Unit data which are stored in the CPU Unit Dispose of the product and Batteries according to local ordinances as they apply 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 Mate...

Page 32: ...tor 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 ...

Page 33: ...from the data to restore If a Task Period Exceeded error occurs shorten the programs to fit in the task period or increase the setting of the task period 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...

Page 34: ...he CPU Unit unused again without turning ON the power even once after the Battery is replaced may result in a shorter Battery life When you replace the Battery use the CJ1W BAT01 Battery Set Insert the SD Memory Card all the way Do not turn OFF the power supply to the Controller during SD Memory Card access The files may be corrupted If there is a corrupted file in the SD Memory Card the file is a...

Page 35: ...ion 10 m regulations z 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 z 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...

Page 36: ...k and short electric lines as possible and ground to 100 Ω min 3 Keep DeviceNet communications cables as short as possible and ground to 100 Ω min Ferrite Core Data Line Filter 0443 164151 manufactured by Fair Rite Products Co Ltd Impedance specifications 25 MHZ 156 Ω 100 MHZ 250 Ω 30 mm 13 mm 29 mm 33 mm Contact Nisshin Electric Co Ltd ...

Page 37: ...lowing noise filter must be connected to the power supply line Noise Filter Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products 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 p...

Page 38: ...o z 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 Unit Versions Notation of Unit Versions on Products Item Description Unit model Gives the model of t...

Page 39: ...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 The following items are displayed Node address Type information Serial number If the model number cannot be ...

Page 40: ...uration The functions and operating procedures when the CJ series DeviceNet Unit is used in an NJ series system configuration are described DeviceNet Operation Manual W267 Learning about the com munications specifications and wiring methods com mon among the DeviceNet communications networks The communications specifications and wiring methods common among the DeviceNet com munications networks ar...

Page 41: ...l revision code appears as a suffix to the catalog number on the front and back covers of the manual Revision code Date Revised content 01 July 2011 Original production 02 March 2012 Corrected errors 03 August 2012 Made changes accompanying release of unit version 1 03 of the CPU Unit W497 E1 03 Revision code Cat No ...

Page 42: ...Revision History 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...

Page 43: ...ions 1 1 DeviceNet Unit Features 1 2 1 2 Specifications 1 7 1 2 1 DeviceNet Unit 1 7 1 3 Overview of CX Integrator 1 13 1 4 Basic Operating Procedures 1 14 1 4 1 Network Installation Procedure 1 14 1 4 2 DeviceNet Unit Startup Procedure 1 15 1 4 3 Message Communications Only Neither Master nor Slave Function Used 1 21 1 5 List of Usage Methods by Purpose 1 22 Features and System Configuration ...

Page 44: ...essaging 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...

Page 45: ...th 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 Note Refer to Remote I O Slave Communications for details z 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 ...

Page 46: ...acity and ensures that DeviceNet can easily handle line expansion as well as other applications 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 1 Master Remote I O Communications for details DeviceNet DeviceNet DeviceNet DeviceNet DeviceNet CJ series DeviceNet Unit master See note 1 CJ series DeviceNet Un...

Page 47: ...reatly simplifies DeviceNet Unit replacement You can also save a DeviceNet Unit device 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 Note Refer to 7 1 SD Memory Card Backup Functions for details CJ series DeviceNet Unit CPU Unit SD Memory Card File save F...

Page 48: ... Unit A maximum network length of 500 m is possible with a baud rate of 125 kbit s using thick cable z High speed Communications High speed communications are possible at up to 500 kbit s for a trunk line length of 100 m z Compatibility with Slow Slaves You can set the communications cycle time without the CX Integrator Therefore you can use slaves with slow response times z A Wide Variety of Slav...

Page 49: ... Units max Words allo cated in the memory used for CJ series Unit DeviceNet remoteI O communi cations When used as a Mas ter Fixed allocations Fixed words in the CJ series DeviceNet Area in the CIO Area one of three set tings User set alloca tions Any I O memory Set with the use of the device variables for CJ series Unit or CX Integrator When used as a Slave Fixed allocations Fixed words in the CJ...

Page 50: ...reas for the OUT 1 2 and IN 1 2 blocks the first 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 words The input and output areas can be the fol 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 OUT area ...

Page 51: ...Fixed allocations 2 048 pts 64 input words 64 output words User set allocations By CX Integrator 16 000 pts 500 input words x 1 block 500 output words x 1 block By device variable for CJ series Unit 32 000 pts 500 input words x 2 blocks 500 output words x 2 blocks Max No of I O per Slave con trollable by a DeviceNet Unit Fixed allocations 2 048 pts 64 input words 64 output words User set allocatio...

Page 52: ...wing 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 slave 100 words x 1 Input IN area to this slave 100 words x 2 By device variable for CJ series Unit Set the areas the first words and slave allocation size for the OUT 1 and IN 1 blocks total of 2 blocks with the use of the device variables for CJ series Unit Slav...

Page 53: ...an cross up to three levels Different type of net work 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 Other func tions SD Memory Card Backup function 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 U...

Page 54: ... 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 conn...

Page 55: ...t W497 1 3 Overview of CX Integrator 1 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 Integrator Ver 2 OPERATION MANUAL Cat No W464 ...

Page 56: ...ation Procedure 1 2 Check Yes 3 4 5 No Determine a suitable baud rate for the system Determine the node arrangement the wiring configura tion and the cable lengths A Restrictions on lengths of trunk lines and 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 DeviceNet specifications Determine the method for ho...

Page 57: ...y Programming and software settings Create and register global variables and 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 na...

Page 58: ...d slave power supply the slave power supply and Con troller power supply or all three of these power supplies may be turned ON simultaneously 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 ...

Page 59: ...r 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 Precautions for Correct Use Precautions for Correct Use The user is responsible for manage...

Page 60: ...ote I O communications will begin with the scan list disabled User set Allocations Using Device Variables for CJ series Unit FALSE Master function disabled TRUE Master function enabled 1 Input data in advance into _MstrAlocTblCfg 0 to _ MstrAlocTblCfg 3 Master User set Allocations Setup Table and the Allocation Size Setup Table specify the position in _MstrAlocTblCfg 4 and _MstrAlocTblCfg 5 from t...

Page 61: ...e 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 z Using the Slave Function To use the slave function the _Sw2SlavEnblCmd Slave Enable Switch must be changed to TRUE from Sysmac Studio...

Page 62: ... O data is allocated Switch the CPU Unit to RUN mode Slave remote I O communications will begin Fixed Allocations Change _Sw2SlavFixAloc1Cmd to _SlavFixAloc3Cmd Slave Fixed Allocation Setting 1 to 3 Switches to TRUE from the Sysmac Studio User set Allocations Using Device Variables for CJ series Unit User set Allocations Using CX Integrator Refer to the CX Integrator manual Input data in advance i...

Page 63: ...age 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 1 4 3 Message Communications Only Neither Master nor Slave Function Used ...

Page 64: ...d allocations 16 Units max with user set allocations 4 1 Master Remote I O Communica tions Mounting multiple DeviceNet Units using slave communica tions to a single controller 3 Units max with fixed allocations 16 Units max with user set allocations 5 1 Slave Remote I O Communica tions Connecting multiple controllers master communications in a network Supported by user set allocations with the use...

Page 65: ...slaves are performing remote I O communi cations properly Check _NormSlavTblSta Normal Slave Table 3 2 12 Normal Slave Table Checking to see if there is an error history in the DeviceNet Unit Check the error history registration yes no from Sysmac Studio 3 2 6 Unit Sta tus 2 9 2 Error Log Functions Monitoring the error history in the DeviceNet Unit Execute the device monitor function from the CX I...

Page 66: ...1 Features and System Configuration 1 24 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...

Page 67: ...nstallation of the DeviceNet Unit 2 1 Nomenclature and Functions 2 2 2 1 1 Nomenclature and Functions 2 2 2 1 2 Switch Settings 2 5 2 2 Installing the DeviceNet Unit 2 9 2 2 1 System Configuration Precautions 2 9 2 2 2 Mounting 2 9 2 2 3 Handling Precautions 2 10 2 2 4 External Dimensions 2 10 Nomenclature and Installation ...

Page 68: ... 4 5 6 7 8 9 NODE ADR x100 x101 ON 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 Pin 4 Hold clear I O for ...

Page 69: ...ccurred 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 Online with the network and remote I O com munications have been established with a slave regis tered in the scan list or message communications ha...

Page 70: ...Digits Status Display Remote I O communications active and normal Displays the mas ter s node address 00 to 63 Lit From power ON to completion of node address check master function disabled slave function disabled or both disabled Flashing Remote I O communications started Flashing until communications actually start From completion of the node address check until the start of remote I O com munic...

Page 71: ...ial 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 0 to F 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 CPU Bus Unit connected to the same CPU Unit In...

Page 72: ... 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 The DIP switch on the front of the DeviceNet Unit is used to set the baud rate whether communica tions will be continued or stopped when a communications error occurs and whether to hold or clear the remote outputs when a communications err...

Page 73: ...ng error occurs and will remain stopped after the error is reset message and slave communications will not stop _Mstr1IOErr Remote I O Communication Error _SendTimeoutErr Send Timeout Error _NetPwrErr Network Power Error To resume communications change _ Sw1IOCommStartCmd Remote I O Communications Start Switch of software switch 1 to TRUE Refer to 3 2 Device Variables for CJ series Unit Software S...

Page 74: ...s are given in the following table 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 Communications Connectors Color Signal Black Power line negative voltage V Blue Communication...

Page 75: ... position to lock Precautions 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 2 2 1 System Configuration Precautions 2 2 2 Mounting 1 1 2 3 4 2 3 4 HOLD ON ESTP DR1 DR0 DRM21 MS NS NO UNIT 0 1 2 3456 7 8 9 A B C D E F 0 1 23 4 5 6 7 8 9 0 1 23 4 5 6 7 8 9 NODE ADR 100 101 ON...

Page 76: ...uring 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 2 2 3 Handling Precautions 2 2 4 External Dimensions 1 1 2 3 4 2 3 4 HOLD ON ESTP DR1 DR0 DRM21 MS NS NO UNIT 0 1 2 ...

Page 77: ...nect Switches 3 24 3 2 5 Unit Status 1 3 25 3 2 6 Unit Status 2 3 30 3 2 7 Master Status 1 3 33 3 2 8 Master Status 2 3 38 3 2 9 Slave Status 1 3 39 3 2 10 Slave Status 2 3 45 3 2 11 Registered Slave Table 3 46 3 2 12 Normal Slave Table 3 47 3 2 13 C200H Master Replacement Master Status 1 3 48 3 3 Device Variables for CJ series Unit Allocations Setting Table Slave Detailed Status 3 51 3 3 1 Commun...

Page 78: ...ailed status data are retained in the CPU unit by the battery even during power interruptions 3 1 1 Data Flow Access methods from the user program AT specification destination Data exchange timing Unit data type Device variable for CJ series Unit I O port During I O refresh Software switch Status Allocations setting table Slave detailed status User defined variable Memory used for CJ series Unit D...

Page 79: ... I O refresh Device variable for CJ series Unit Allocations setting table slave detailed status data Allocations setting table slave detailed status data AT specification Allocations setting table I O refresh Status I O refresh Device variable for CJ series Unit Memory used for CJ series Unit Memory areas such as CIO and DM Slave I O message communications data AT specification Slave output messag...

Page 80: ... O ports one is for the following software switch status data and the other is for allocations setting table slave detailed status data z 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 z Allocations Setting Table Slave Detailed Status Data Allocations Setup Tables t...

Page 81: ...stEnblCmd For details on the memory for CJ series Unit refer to NJ series CPU Unit Software User s Manual Cat No W501 Data type I O port memory used for CJ series Unit Access method Setting status Software switches sta tus data Operation Data Device variables 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...

Page 82: ...r defined variables Used with Master Fixed Allocation 1 Used slaves 16 I O points 64 slaves In this case I O data of each slave is allocated as follows Allocate the I O data to the user defined variables as shown in the example below This example uses the following three data types Slave1_OutData_A WORD type Slave1_OutData_B BOOL type Slave1_OutData_C union Use one of these data types or multiple ...

Page 83: ... and I O data of each slave are allocated as follows 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 I O 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 I ...

Page 84: ...viceNet Units Operation Manual for NJ series CPU Unit W497 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 ...

Page 85: ... 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 _Sw1IOCommStartCmd Remote I O Communications Start Switch _Sw1IOCommStopCmd 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 chang...

Page 86: ...itch 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 Allocati...

Page 87: ...363 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 Operation conditions CPU Unit is operating in PROGRAM mode Master function is enabled Scan list status is disabled _Sw1SListClrCmd BOOL RW Scan List Clear Switch Operation specifications FALSE TRUE Clears and disables the scan list This swit...

Page 88: ...witch 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 Operation conditions Master function is enabled _Sw1IOCommStopCmd BOOL RW Remote I O Communi cations Stop Switch Operation specifications FALSE TRUE Stops remote I O comm...

Page 89: ...ations 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 FALSE Returns to FALSE at the start of master communications Default FALSE Operation conditions CPU Unit is operating in PROGRAM mode Master function is stopped _Sw1MstrDsblCmd B...

Page 90: ... Returns to FALSE after the fixed alloca tions areas are set Default FALSE Operation conditions CPU Unit is operating in PROGRAM mode Master function is enabled Scan list status is disabled _Sw1MstrFixAloc2Cmd BOOL RW Master Fixed Allo cation Set ting 2 Switch Functions the same as _Sw1MstrFixAloc1Cmd Master Fixed Allocation Setting 1 Switch Sets the I O allocation area to the following words The ...

Page 91: ...nce registered the Unit will operate with 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 _MstrAlocTblCfgSta Setting Results of Master ...

Page 92: ...age 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 _CycleTmRefTblSta 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 T...

Page 93: ...munica tions Cycle Time Reference Table will be cleared before the switch returns to FALSE if the change was successfully completed Note _Mstr1CycleTmSetErr 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 Operation condition...

Page 94: ...Restore Switch _Sw2FileBkupCmd 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 _Slav1Sta Slave Status 1 WORD type device variables for CJ series Unit holding all...

Page 95: ...ce enabled the Unit will function as a slave until _ Sw2SlavDsblCmd 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 th...

Page 96: ...sed as the I O area for the slave Use _Sw2SlavEnblCmd Slave Enable Switch FALSE Returns to FALSE after fixed allocations are set Default FALSE Operation conditions CPU Unit is operating in PROGRAM mode Slave function is stopped _Sw2SlavFixAloc2Cmd BOOL RW Slave Fixed Allocation Setting 2 Switch Functions the same as _Sw2SlavFixAloc1Cmd_DRM2 Slave Fixed Allocation Setting 1 Switch Sets the Slave Fi...

Page 97: ...hanged to TRUE regardless of whether the power is turned OFF and back ON again Note Disable slave communications before this switch is changed to TRUE After the switch is changed to TRUE change _Sw2SlavEnblCmd Slave Enable Switch to TRUE to enable User set Allocations FALSE Returns to FALSE at the start of operation for slave user set allocations after they are registered Note _Slav1FunSetErr Slav...

Page 98: ...tarts 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 Operation conditions CPU Unit is operating in PROGRAM mode _Sw2FileBkupCmd BOOL RW Unit Setup File Backup Switch Operation specifications FALSE TRUE Writes Unit settings for details on the scan list communications cycle time set tings etc re...

Page 99: ...for multiple slaves Once COS data are sent to slaves the corresponding switches will be changed back to FALSE If a send error occurs the bit corresponding to _Nd0Sta to _Nd63Sta 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 The following device variable for CJ series Unit is used wh...

Page 100: ...erification 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 us...

Page 101: ...s 0 63 Slave Operation specifications TRUE Stops remote I O communications with the corresponding slave FALSE Starts remote I O communications with the corresponding slave Default FALSE 3 2 5 Unit Status 1 Name of device variable for CJ series Unit Type R W Area Function _Unit1Sta WORD R Unit Status 1 Bit 00 Unit Error Bit 01 Master Function Error Bit 02 Reserved by system Bit 03 Slave Function Er...

Page 102: ...ite 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 R Master Function Error Operation specifications TRUE Indicates that at least one master error occurred Refer to _Mstr1Sta Master Status 1 The master errors ar...

Page 103: ...none of the above errors occured Or changes to FALSE when all of above errors are cleared Default FALSE _MemErr BOOL R Unit Mem ory Error Operation specifications 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 r...

Page 104: ...E 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 R Network Power Error Operation specifications 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 t...

Page 105: ... 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 R Routing Table Error Operation specifications 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 ...

Page 106: ...te 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 Name of device variable for CJ series Unit Type R W Area Function _OnlineSta BOOL R Online Sta tus Operation specifications TRUE Indicates that the Unit is online Note When the Send ...

Page 107: ...s 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 _Mstr1IOCommSta I O Data Com munications Status Therefore use the I O Data Communications Status rather than this b...

Page 108: ...vEnblSta BOOL R Slave Func tion Enabled Operation specifications TRUE Indicates that slave communications are enabled FALSE Indicates that slave communications are disabled Default FALSE _FileRWErr BOOL R File Read Write Error Operation specifications TRUE 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 ...

Page 109: ...isable Failed Bit 09 Master User set Allocations User Setting Failed Bit 10 Master Fixed Allocation Area Set ting Failed Bit 11 Scan 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 Name of device variable for CJ series Unit Type R W Area Function _Mstr1VefyErr BOOL ...

Page 110: ...an 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 R InvalidScan List Data Error Operation specifications TRUE Indicates that there is incorrect data in the scan list mismatched checksum Remote I O communications in the Unit will stop Slave operat...

Page 111: ...operations _Sw1MstrEnblCmd Master Enable Switch _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 _Mstr1AlocErr BOOL R Master User set Allocations User Set ting Failed Operation specificati...

Page 112: ...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 _Mstr1SListRegErr BOOL R Scan List Register Clear Failed Operation specifications TRUE Indicates that an error occurred in one of the following operations _Sw1SListEnblCmd Scan List Enable Switch _Sw1SListClrCmd Scan Li...

Page 113: ...ications Cycle Time Setting Switch Once this bit changes to TRUE it will remain TRUE until the operation is 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 R I O Data Communi cations Sta tus Operation specifications TRUE Indicate...

Page 114: ...e scan list disabled 16 03 Fixed allocation status 3 with the scan list disabled 16 11 Fixed allocation status 1 16 12 Fixed allocation status 2 16 13 Fixed allocation status 3 16 20 User set allocations set with device variable for CJ series Unit 16 30 User set allocations set by CX Integrator 16 80 Master function disabled Name of device variable for CJ series Unit Type R W Area Function _ Mstr2...

Page 115: ...d 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 Established Bit 13 Connection 1 Established Bit 14 Remote I O Communications for OUT 2 IN 2 Bit 15...

Page 116: ...a remote I O communications error with slave commu nications enabled for OUT 2 IN 2 is cleared Default FALSE _Slav1FunDatErr BOOL R Invalid Setup Data Operation specifications 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 wi...

Page 117: ...OOL R Slave Function Enable Dis able Failed Operation specifications TRUE Indicates that an error occurred in one of the following operations _Sw2SlavEnblCmd Slave Enable Switch _Sw2SlavDsblCmd 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 changes to FALSE when the operation is...

Page 118: ...ns _Sw2SlavFixAloc1Cmd Slave Fixed Allocation Setting 1 Switch _Sw2SlavFixAloc2Cmd Slave Fixed Allocation Setting 2 Switch _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 Defau...

Page 119: ...red 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 R Connection 2 Estab lished Operation specifications TRUE Indicates that an I O connection is estab lished for OUT 2 IN 2 This bit chang...

Page 120: ...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 _Slav1IO1CommSta BOOL R Remote I O Communi cations for OUT 1 IN 1 Operation specifications TRUE 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 ...

Page 121: ...UT 1 IN 1 are TRUE in Slave Status 1 z _SlavIOAlocSta Slave I O Allocation Status This indicates the I O allocation status of the slave 3 2 10 Slave Status 2 Code Details 16 00 Unit starting up 16 01 Fixed allocation status 1 16 02 Fixed allocation status 2 16 03 Fixed allocation status 3 16 20 User set allocations with set device variable for CJ series Unit 16 30 User set allocations set by CX In...

Page 122: ... CJ series Unit Type R W Area Function _RegSlavTblSta LWORD R Registered Slave Table You can reference information concerning 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 Name of device variables for CJ series Unit Type R W Area Function _RegSlavTb...

Page 123: ...nd 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 The following device variable for CJ series Unit is used to reference individual slave information 3 2 12 Normal Slave Table Name of device...

Page 124: ...ter Status 1 Bit 00 Unit Memory Error Bit 01 Node Address Duplicated Bus Off Error 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 08 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 ...

Page 125: ...of the fol lowing device variables for CJ series Unit is TRUE _NetPwrErr Network Power Error _SendTimeoutErr Send Timeout Error Default FALSE _CMstrIOErr BOOL R Communi cation Error This is the same as _Mstr1IOErr Remote I O Communication Error Default FALSE _CMstrVefyErr BOOL R Verification Error This is the same as _Mstr1VefyErr Verifi cation Error Default FALSE _CMstrIOStopSta BOOL R I O Data C...

Page 126: ...Scan List Disable Status Default FALSE _CMstrErr BOOL R Master Error This bit changes to TRUE if bits 0 1 or 3 to 7 of _CMstrSta C200H Master Replacement Master Status 1 is TRUE Default FALSE _MstrIOCommSta BOOL R Remote I O Data Com munica tions Flag This is the same as _Mstr1IOCommSta I O Data Communications Status Default FALSE Name of device variable for CJ series Unit Type R W Area Function ...

Page 127: ...1 of 3 2 Device Variables for CJ series Unit Software Switches Statuses _CommCycleTmCfg UINT RW Communications Cycle Time Setting _MstrAlocTblCfg 0 to 5 UINT RW Master User set Allocations Setup Table _MstrAlocTblCfgSta WORD R Setting Results of Master User set Allocations Setup _SlavAlocTblCfg 0 to 5 UINT RW Slave User set Allocations Setup Table _ SlavAlocTblCfgSta WORD R Setting Results of Slav...

Page 128: ...eviceNet Units Operation Manual for NJ series CPU Unit W497 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 ...

Page 129: ...et Allocations Setup Table Name of device variable for CJ series Unit Type R W Area Function _MstrAlocTblCfg 0 UINT RW OUT block 1 area Specifies the OUT 1 block area Data range 0 to 20 Default 0 _MstrAlocTblCfg 1 UINT RW First word in OUT block 1 Specifies the first word for the OUT 1 block Data range 0 to 32767 Default 0 _MstrAlocTblCfg 2 UINT RW IN block 1 area Specifies the IN 1 block area Dat...

Page 130: ... Memory EM Bank 0 to bank C 13 banks 0 to 32767 E0_00000 to E0_32767 EC_00000 to EC_32767 for all banks Code Description Details 16 0000 Completed normally 16 1101 No area Incorrect area setting 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 The OUT or IN size in the allocation...

Page 131: ... Setup Table Area _MstrAlocTblCfg 4 First Word In The Allocation Size Setup Table 1 _MstrAlocTblCfg 5 Setting Example 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...

Page 132: ...0 _SlavAlocTblCfg 2 UINT RW OUT 1 area size 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 _SlavAlocTblCfg 3 UINT RW Slave IN 1 area Specifies the IN 1 area Data range 0 to 20 Default 0 _SlavAlocTblCfg 4 UINT RW First word in Slave IN 1 area Specifies the first word in the IN 1 area Data range...

Page 133: ...t has stopped slave communications before you set these values Code Description Details 16 0000 Completed normally 16 1101 No area Incorrect area setting 16 1103 Address range specification error The first word is outside the setting range 16 110C Parameter error The OUT 1 or IN 1 area size exceeds 200 bytes The OUT 1 and IN 1 area sizes are 0 Neither the OUT 1 area nor IN 1 area is set for alloca...

Page 134: ...ng value Indicates the the set value of communica tions cycle time Data range 0 to 500 Default 0 _CycleTmRefTblSta 1 UINT R Communi cations cycle time present value Indicates the present value of communica tions cycle time Data range 0 to 65535 Default 0 _CycleTmRefTblSta 2 UINT R Communi cations cycle time maximum value Indicates the maximum value of communi cations cycle time Data range 0 to 655...

Page 135: ...n OUT block 2 Stores the first word for OUT 2 area Data range 0 to 32767 Default 0 _MstrAlocRefTblSta 8 UINT R No of bytes in OUT block 2 Stores the size of OUT 2 area The OUT 1 block is not allocated if the value is 00 hex Data range 0 to 1000 Default 0 _MstrAlocRefTblSta 9 UINT R IN block 2 area Stores the IN 2 area Data range 0 to 20 Default 0 _MstrAlocRefTblSta 10 UINT R First word in IN block...

Page 136: ... The OUT 1 block is not allocated if the value is 0 Data range 0 to 200 Default 0 _SlavAlocRefTblSta 3 UINT R Slave IN 1 area Stores the IN 1 area Data range 0 to 20 Default 0 _SlavAlocRefTblSta 4 UINT R First word in Slave IN 1 area Stores the first word for IN 1 area Data range 0 to 32767 Default 0 _SlavAlocRefTblSta 5 UINT R Slave IN 1 area size Stores the first word for IN 1 area The OUT 1 blo...

Page 137: ...d 1 CIO Area CIO 0 to 6143 3 Data Memory DM 0 to 32767 4 Work Area WR 0 to 511 5 Holding Relay HR 0 to 511 8 to 20 Expansion Data Memory EM Bank 0 to bank C 13 banks 0 to 32767 E0_00000 to E0_32767 EC_00000 to EC_32767 for all banks 3 3 7 Slave Detailed Status Name of device variable for CJ series Unit Type R W Area Function _Nd0Sta to _Nd63Sta BYTE R Detailed Slave Sta tus Table for Node Addresse...

Page 138: ...munica tion Error FALSE Indicates that none of the above errors occured Changes to FALSE when the error is clear Default FALSE _Nd0VefyErr to _Nd63VefyErr BOOL R Slave Verifi cation Error for node addresses 0 to 63 Operation specifications 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 occ...

Page 139: ...Master COS Send Error for node addresses 0 to 63 Operation specifications TRUE Indicates that COS sent to a slave desti nation failed Use _MstrCOSSendCmd Master COS Send Switch to send COS The following may cause the failure of COS signal transmission Remote I O communications stopped A COS connection was not established Bus OFF is occurring or has occurred A network power error is occurring or ha...

Page 140: ...al remote I O commu nications were conducted with the corre 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 Name of ...

Page 141: ...Scan List 4 13 4 3 Fixed Allocations 4 14 4 3 1 Allocated Words 4 14 4 3 2 Allocation Procedures 4 15 4 3 3 Changing System Components 4 18 4 3 4 Fixed Allocations Example 4 19 4 4 User set Allocations 4 20 4 4 1 Settings through CX Integrator 4 22 4 4 2 Settings through Device Variables for CJ series Unit Master User set Allocations Setup Table 4 25 4 5 Starting and Stopping Remote I O Communicat...

Page 142: ...s regardless of whether the power is turned OFF and back ON again Change _Sw1MstrDsblCmd 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 to as a Sla...

Page 143: ...ocations Using the CX Integrator Using the device variable for CJ series Unit Master User set Allocations Setup Table Fixed Allocations User set Allocations Memory used for CJ series Unit NJ Series User program CIO 3200 CIO 3263 CIO 3200 CIO 3201 CIO 3262 CIO 3263 CIO 3300 CIO 3363 Address 0 Address 1 Address 62 Address 63 CIO 3300 CIO 3301 CIO 3362 CIO 3363 Address 0 Address 1 Address 62 Address ...

Page 144: ...gs 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 Each address is allocated at least one byte rightmost More than one word is allocated for each slave...

Page 145: ...d in any of the following areas CIO Area WR Area HR Area DM Area or EM Area Output OUT area 500 words max 2 blocks Input IN area 500 words max 2 blocks By device variable for CJ series Unit Set the areas and the first words for the OUT 1 and IN 1 blocks in the device variable for CJ series Unit Set the allocation size for each slave with the use of the allocation size Setup Table in the memory use...

Page 146: ... words x 2 blocks Max No of I O per Slave controllable by a DeviceNet Unit Fixed allocations 1 024 pts 32 input words 32 output words User set allocations By device variable for CJ series Unit 3 200 pts 100 input words 100 output words By CX Inte grator 3 200 pts 100 input words 100 output words 4 1 3 Precautions on the Number of Master Units Pattern One Master Unit con nected on a single net work...

Page 147: ...vious net works The communications cycle time is longer 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 Multiple Master Units cannot share a single Slave Unit Bus Off errors communica tions stopped by multiple trans missions may occur if multiple Master Units with disabled...

Page 148: ... Change _Sw1SListEnblCmd Scan List Enable Switch to TRUE Perform the following steps to re register the scan list when starting with the scan list enabled 3 Perform the following steps to make no changes to the fixed allocations area and scan list when starting with the scan list enabled 3 1 Turn ON the communications power supply prior to turning ON the slave power supply or the slaves may not go...

Page 149: ...munications will begin with the scan list enabled Use the software switches or CX Integrator to start or stop communications 1 Create a network configuration online on the CX Integrator 2 Enable master communications in the CJ1W DRM21 properties 3 Create master device parameters Check to see if both the MS and NS indicators are lit green on the Master Unit and all slaves Read the network component...

Page 150: ... the slave power supply or the slaves may not go online 1 From Sysmac Studio change data in _MstrAlocTblCfg 0 to _MstrAlocTblCfg 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 Pre operations Master function enabled Post operation Area Allocations and Scan List Creation Note Ex...

Page 151: ... the slaves that are actually connected to the network The items that are compared however will depend on the allocation method that is used 4 2 1 Scan List Item Description Fixed allocations User set allocations using device vari ables for CJ series Unit User set allocations from the CX Integra tor Node address Node address for every Slave Compared Compared Allocated IN OUT sizes and allocation S...

Page 152: ...t 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 _Sw1SListClrCmd Scan List Clear Switch to TRUE dur ing remote I O communications with the scan list enabled with fixed allocations user set allocations using device variable for CJ series Unit or...

Page 153: ... Master Unit on the network is operating with the scan list disabled Once the list is disabled the user set allocations data registered in the Master Unit is lost 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 z Fixed Allocations or User...

Page 154: ...to its node address as shown below Allocated words are determined by the node address in fixed allocations as shown Note You can include more than one Master Unit in a single CPU Unit with fixed allocations as shown below 3 Units max 4 3 1 Allocated Words Area OUT area word IN area word Selection method Fixed allocation area 1 CIO 3200 to CIO 3263 CIO 3300 to CIO 3363 Change _Sw1MstrFixAloc1Cmd Ma...

Page 155: ...kip 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 z 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 ...

Page 156: ...IO 3263 and IN blocks are allocated to slaves from CIO 3300 to CIO 3363 in the memory used for CJ 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 CIO Area in memory for CJ series Units Bit Bit OUT block IN block OUT block Bit Address 0 IN block Output to Slaves Input from Slaves Address 1 Address 2 Add...

Page 157: ...ut OUT block and the input IN block from the user program allocate a user defined variable to the applica ble area CIO Area in the memory for CJ series Units Bit Bit OUT block IN block OUT block Bit Address 0 IN block Output to Slaves Input from Slaves Address 1 Address 2 Address 60 Address 61 Address 62 Address 63 Address 0 Address 1 Address 2 Address 60 Address 61 Address 62 Address 63 to to CIO...

Page 158: ...it to PROGRAM Mode Change _Sw1SListClrCmd 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 ...

Page 159: ...ansistor 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 resistantTerminal DRT1 MD16C 5 16 pts 16 pts CQM I O Link Terminal CQM1 DRT21 6 0 pts 48 pts C200 I O Link Unit C200HW DRM21 with 48 input pts 3 words 7 8 32 pts Analog Output Terminal with 2 output pts DRT2 DA02 9 0 pts Slave type 8 inputs 8 outputs 16 ...

Page 160: ... IN 2 You can create OUT 1 IN 1 OUT 2 and IN 2 anywhere in the above areas 2 blocks OUT 1 and IN 1 You can create OUT 1 and IN 1 any where in the above areas Block allocation order Any order Node address order Any order Note 1 Node addresses do not have to correspond between blocks 2 One node address cannot be allocated to different blocks Allocations must be in order of node addresses 0 to 63 in ...

Page 161: ...d 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 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 ...

Page 162: ...he word is allocated to each slave that has 8 I O points or less 4 4 1 Settings through CX Integrator Specified areas in memory used for CJ series Unit User set block order Specified areas in I O memory Bit First word specified OUT block 1 Bit First word specified IN block 1 OUT block 1 User set block order Bit First word specified Output to slaves IN block 1 User set block order Bit First word sp...

Page 163: ... blocks as you desire b Node addresses do not have to correspond between an output block and input block c The same node address cannot be allocated more than once Allocation Procedures OUT block 1 Node address 00 Node address 03 Node address 00 DRT1 OD16 16 output pts Node address 03 DRT2 DA02 2 analog output points 32 bits IN block 1 Node ad dress 02 Node address 01 DRT1 ID08 8 input pts Node ad...

Page 164: ...ave is allocated from the user program a user defined variable that specifies the AT specification of that area needs to be defined Example of User set Allocations Using the CX Integrator Start byte Master Slave Master Master Unit Slave Master Unit Slave Slave types 16 output pts Combination of 8 input and output pts Combination of 16 input and output pts 8 input pts 32 output pts Slave types 48 i...

Page 165: ...3 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 More than one word is allocated for each slave according to it s node address with more than16 I O points The rightmost byte of the word is allocated to each slave that has 8 I O points or less Note You can include multiple Master Units in a s...

Page 166: ...d for each block and the area and first word for the Alloca tion Size Setup Table Master User set Allocations Setup Table Areas and Word Ranges for OUT Block 1 IN Block 1 and the Allocation Size Setup Table Note You cannot use Holding Area H512 and its subsequent holding areas or EM Area Bank D and its subse quent banks Allocation Procedures Name of device variables for CJ series Unit Type Name Ra...

Page 167: ...et 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 Note The Master User set Allocations Switch not only reads slave allocation data but it also enables the scan list Note 1 You can use...

Page 168: ...tep 6 Define the User 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 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 ...

Page 169: ... 100CH 100 Allocation Size Setup Table area and first word DM 3 00100 100 This example shows user set allocations for the following slaves Example Settings for User set Allocations through Device Variables for CJ series Unit Node address Outputs Inputs Product 0 16 pts 0 pts 16 pt Transistor Output Terminal DRT1 OD16 1 8 pts 8 pts 8 pt input and 8 pt Output Environment resistant Terminal DRT1 MD16...

Page 170: ...TblCfg 4 Allocation size setup table area 3 DM _MstrAlocTblCfg 5 First word in Allocation Size Setup Table 1 100 100 words Address User defined vari able name USINT type Setting Number of slave bytes Bits 00 to 07 for D00100 Slave0_InSizeTab 0 0 Bits 08 to 15 for D00100 Slave0_OutSizeTab 2 2 Bits 00 to 07 for D00101 Slave1_InSizeTab 1 1 Bits 08 to 15 for D00102 Slave1_OutSizeTab 1 1 Bits 00 to 07 ...

Page 171: ...variables for CJ series Unit _CnctNdCmd 0 to _CnctNdCmd 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 R...

Page 172: ... 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 Precautions for Correct Use 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 operatin...

Page 173: ... the fixed allo cations area d1 Unsup ported Slave The I O size of a slave exceeds 200 bytes 100 words This occurs if either the IN or the OUT size exceeds 200 bytes d2 Error occurs in eitherfixed or user set alloca tions with the scan list enabled _Mstr1VefyE rr Verifica tion Error is TRUE No slaves present A Slave registered in the scan list is not present d5 I O size mis matched The I O size re...

Page 174: ...twork is not supplying com munications power MS Not related NS Goes out E0 Send timeout A communications request was not successfully completed due to the following reasons There are no devices on the network Baud settings do not match for every node CAN controller error E2 Duplicated node address The master node address is the same address as another node All communica tions stop remote I O com m...

Page 175: ...ons 5 2 5 1 1 Allocation Methods 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 5 7 5 2 1 Allocated Words 5 7 5 3 User set Allocations 5 9 5 3 1 Setting through CX Integrator 5 9 5 3 2 Settings through Device Variables for CJ series Unit Slave User set Allocations Setup Table 5 12 Remote I O Slav...

Page 176: ... 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 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 F...

Page 177: ...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 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 Output OUT area from this master 100 words Input IN area to this mast...

Page 178: ... in any other order 5 1 3 Procedures for Using Remote I O Slave Communications Switch the CPU Unit to PROGRAM mode Change _Sw2SlavDsblCmd Slave Stop 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 wi...

Page 179: ...to the NJ series CPU Unit 3 Save the data as a device parameter file 4 Read the device parameter file go online and download the file to the DeviceNet Unit slave 3 Go online and directly download the device parameter file to the DeviceNet Unit slave without saving the file 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 comm...

Page 180: ...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 Switch the CPU Unit to PROGRAM mode Change _Sw2SlavDsblCmd Slave Stop Switch to TRUE from the Sysmac Studio Change _Sw2SlavEnblCmd Slave Enable Switch to TRUE from the Sysmac Studio Define user defined var...

Page 181: ...default setting is fixed allocation area 1 z Step 1 Set the CPU Unit to PROGRAM Mode z 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 z Step 3 Select a Fixed Allocation Area Change _Sw2SlavFixAloc1Cmd to _ Sw2SlavFixAloc3Cmd Sl...

Page 182: ...s the allocation area of the slave Name of device variables for CJ series Unit Name Fixed allocation area Allocated output OUT area master to slave Allocated input IN area slave to master _Sw2SlavFixAloc1C md Slave Fixed Allocation Setting 1 Switch Fixed allocation area 1 CIO 3370 CIO 3270 _Sw2SlavFixAloc2C md Slave Fixed Allocation Setting 2 Switch Fixed allocation area 2 CIO 3570 CIO 3470 _Sw2Sl...

Page 183: ...tings 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 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 CJ series Unit from the user program user defined variabl...

Page 184: ...llocation areas varies with the type of connection used You can use a maximum of three areas OUT 1 IN 1 and IN 2 if you specify multiple connec tions You can use two allocation areas OUT 1 and IN 1 if you specify the automatic connection setting or a single connection Connection Types Specified areas in memory used for CJ series Unit User set block order Master Slave output OUT area 1 OUT area Sla...

Page 185: ...tegrator 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 Specified connection type OUT 1 area IN 1 area IN 2 area Poll Poll OUT data Poll IN data Not used Bit strobe Not used Bit strobe IN data Not used COS COS OUT data COS IN data Not used Cyclic Cyclic OUT data Cyclic IN...

Page 186: ...Slave Communications If the Unit already functions as a slave change _Sw2SlavDsblCmd 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 Slave U...

Page 187: ...T First word in slave IN 1 area 0 to 32767 _SlavAlocTblCfg 5 UINT IN 1 area size 0 to 200 _SlavAlocTblCfgSta WORD Setting Results of Slave User set Allocations Setup 16 0000 to FFFF Code Area name in memory for CJ series Unit Word range 0 The block is not used 1 CIO Area CIO 0 to 6143 3 DM Area DM 0 to 32767 4 Word Area WR 0 to 511 5 Holding Area HR 0 to 511 8 to 20 Expansion Data Memory EM Bank 0...

Page 188: ...hange _Sw2SlavAlocCmd Slave User Allocations Switch to TRUE Step 2 Change the Slave Enable Switch to TRUE Change _Sw2SlavEnblCmd 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 Name of device variables for CJ series Unit Name Value meaning _SlavAlocTblCfg 0 Slave OUT 1 area 4 Work Area _SlavAlocTblCfg 1...

Page 189: ... Explicit Message Communications 6 3 6 1 3 Message Communications Specifications 6 4 6 1 4 Message Communications Error Indications 6 5 6 1 5 Message Monitoring Timer 6 5 6 1 6 Message Communications Errors 6 5 6 2 Sending Explicit Messages 6 7 6 2 1 Sending Explicit Messages 6 8 6 2 2 Sending Explicit Messages Using SendCmd Instruction 6 11 6 3 Receiving Explicit Messages 6 16 6 3 1 List of PLC O...

Page 190: ...he master function is disabled In this case it is not necessary to register a scan list 6 1 1 Outline of Message Communications Explicit message communications Overview General purpose message communications that uses DeviceNet protocol Remote devices DeviceNet masters and slaves from other companies C200H series DeviceNet Units CVM1 CV series DeviceNet Units and CS CJ series DeviceNet Units Featu...

Page 191: ...of this DeviceNet Unit can be read written from other devices The C200H I O Link Unit C200HW 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 ...

Page 192: ...H 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 2 s User setting 0 1 to 6553 5 s Retries 0 to 15 Message monitor timer function explicit message communications You can set the response monitoring time for Dev...

Page 193: ...ions 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 set 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 eff...

Page 194: ...0342 Routing table error Flashing red No change HC _RTblErr is 1 021A Node address duplicated No change Lit red F0 _NdAdrDupE rr is 1 0211 Bus Off detected F1 _BusoffErr is 1 0340 CPU Unit service monitoring error Flashing red Not lit HE 0002 Other CPU error H7 0006 Local node not part of network cannot send No change No change No change 0101 No of retries limit exceeded cannot send 0103 Remote de...

Page 195: ...es DeviceNet Units can send explicit messages Explicit messages can be sent to the following destinations DeviceNet masters or slaves made by other manufacturers CS CJ series DeviceNet Unit Example DeviceNet Other manufacturer DeviceNet master or slave or CJ series DeviceNet Unit Explicit messages can be sent Explicit message CJ series DeviceNet Unit NJ series CPU Unit ...

Page 196: ...n explicit mes sage Always perform retry processing when sending explicit messages EXPLICIT MESSAGE SEND will send an explicit DeviceNet message to the specified class and receive a response z Command Block 6 2 1 Sending Explicit Messages EXPLICIT MESSAGE SEND 28 01 NJ series CPU Unit SendCmd Explicit message Header Use 28 01 for the command code Header Response DeviceNet Unit Header Header Explic...

Page 197: ... by the service codes are returned 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 z Explanation This command sends a DeviceNet defined explicit message ...

Page 198: ...e 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 Additional Information 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 NJ series Instructions Refer...

Page 199: ...801 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 _CMstrMsgEnblSta Message Communications Permitted Flag on the DeviceNet Unit side z Example Sending Explicit Messages Using SendCmd Instruction 6 2 2 Sending Explicit Messages Using Se...

Page 200: ...11 16 0B Sdata 3 ServiceCode 16 0E Sdata 4 ClassID 16 00 Sdata 5 16 01 Sdata 6 InstanceID 16 00 Sdata 7 16 01 Sdata 8 AttributeID 16 01 CmdSize The number of bytes corresponding to the command data to be sent is specified 9 RespDat Rdata 0 Command code 16 28 Rdata 1 16 01 Rdata 2 End code 16 00 Rdata 3 16 00 Rdata 4 Number of bytes received 16 00 Rdata 5 16 04 Rdata 6 Slave node address 11 16 0B R...

Page 201: ...ns and Setup of Sysmac Studio Mount CJ1W DRM21 in slot 0 of the CPU Rack Device name of this unit DeviceNet Unit number Unit No Switch and Unit Con figuration and Setup CPU Expansion Racks under Controller Configurations and Setup of Sysmac Studio Unit number 0 Special Unit Setup System setup data Not required Name Data type Default Comments Details _Port_isAvailable BOOL Communications Port Enabl...

Page 202: ...mmand data settings 8 Sdata 1 BYTE 16 01 9 Sdata 2 BYTE 16 0B 10 Sdata 3 BYTE 16 0E 11 Sdata 4 BYTE 16 00 12 Sdata 5 BYTE 16 01 13 Sdata 6 BYTE 16 00 14 Sdata 7 BYTE 16 01 15 Sdata 8 BYTE 16 01 1 Processing after normal end 2 1 Processing after an error completion 2 Operating Communications parameters settings Processing at normal end Processing at an error completion Operating SendCmd instruction...

Page 203: ...e 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...

Page 204: ...cturers PLCs with C200H series DeviceNet Master Units C200HW DRM21 V1 PLCs with CVM1 CV series DeviceNet Master Units CVM1 DRM21 V1 NJ series PLCs with CJ series DeviceNet Units CS CJ series PLCs with CS CJ series DeviceNet Units z Example 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...

Page 205: ...e ID 64 Hex Attribute Value Changes the operating mode of the CPU Unit Attribute ID 65 Hex Attribute Value Clears errors CPU Unit Status Read 40 Hex None Reads the detailed status of the CPU Unit Operation status Stop run Operating modes PROGRAM RUN Service Service code Class ID Instance ID Request service data Contents Byte Data Read 1C Hex 2F Hex Specifies area 01 Hex to 14 Hex Address No of rea...

Page 206: ...ble CPU Operating Mode when Attribute ID 64 Hex Reads the CPU Unit operating mode CPU Unit Errors when Attribute ID 65 Hex Reads if there are any major fault controller errors in the CPU Unit CPU Unit Model when Attribute ID 66 Hex Reads the CPU Unit model Read Data response The specified information is returned in order CPU Unit operating mode attribute ID 64 Hex The CPU Unit operating mode is re...

Page 207: ...ng the operating mode and clearing errors z Command Block Note A body format of either 8 bits or 16 bits is possible z Response Block z 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 specifi...

Page 208: ...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 Additional Information NJ series CPU Units do not support the CPU Unit Error Reset command For details on the error reset refer to the NJ series Troubles...

Page 209: ...e The data is returned after the service code in the order shown in the table high to low Operation status Returns the operation status of the CPU Unit in 1 byte 2 digit hexadecimal 00 Hex Stop Mode 01 Hex Run Mode Operating mode Returns the operating mode of the CPU Unit in 1 byte 2 digit hexadecimal 00 Hex Program Mode 04 Hex Run Mode Byte Data Read reads any I O memory area data in the memory u...

Page 210: ...l 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 bits 8 to 15 to word L low by...

Page 211: ...elow 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 ...

Page 212: ... 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 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 byt...

Page 213: ...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 0 to 7 to word H higher ...

Page 214: ...6 Message Communications 6 26 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...

Page 215: ...l for NJ series CPU Unit W497 7 This section describes connecting to Sysmac Studio via the DeviceNet and the SD Memory Card backup function 7 1 SD Memory Card Backup Functions 7 2 7 1 1 Outline of Functions 7 3 7 1 2 File Names 7 4 Other Functions ...

Page 216: ...nit 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 ...

Page 217: ... _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 After the file data is restored the Unit automatically restarts with the new settings Note _FileRWErr File Read Write Error in Unit Status 2 will change to TRUE if there is a setup data error or a file read error 7 1 1 Outline of Functions Backing Up Un...

Page 218: ...mber 00 the file name must be DN00BKUP dvf If the file is saved under another name the data cannot be restored from the SD Memory Card to the DeviceNet Unit 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 N00BKUP dvf when Unit No is 00 Additional Information The above file i...

Page 219: ...ations 8 1 Remote I O Communications Characteristics 8 2 8 1 1 Communications Cycle Time 8 2 8 1 2 Calculating Guidelines for I O Response Times 8 5 8 1 3 More than One Master in Network 8 7 8 1 4 System Startup Time 8 8 8 2 Message Communications 8 10 8 2 1 Message Communications Time 8 10 8 2 2 Calculating the Maximum Message Response Time 8 11 Communications Timing ...

Page 220: ...communications cycle time and communications time per slave required for calculating processing time by the DeviceNet Unit 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 communi...

Page 221: ...ons 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 simultaneously within one CPU Unit task period of CPU Unit TB The baud rate factor 500 kbit s TB 2 250 kbit s TB 4 125 kbit s TB 8 COS Cyclic Connection Time 0 05 0 008 S TB n ms The COS cyclic connection time is added as a delay time...

Page 222: ...I O Slave output words SIN2 The number of Mixed I O Slave input words TB The baud rate factor 500 kbit s TB 2 250 kbit s TB 4 125 kbit s TB 8 z Slaves with More Than 8 Bytes of Input or Out put TRT TOH TBYTE IN BIN TBYTE OUT BOUT ms TOH Protocol overhead TBYTE IN The input byte transmission time BIN The number of input words TBYTE OUT The output byte transmission time BOUT The number of output wor...

Page 223: ...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 You can calculate the maximum I O response time TMAX ms with the following formula TMAX TIN TRM 2 NRMMAX TRM TRT OUT TOUT TIN Input slave ON or OFF delay ms TRM Commun...

Page 224: ...X 0 5 0 00075 Total size of all master input data in bytes TOUTNJMAX 0 2 0 0009 Total size of all master output data in bytes You can calculate the minimum I O response time TMIN ms with the following formula TMIN TIN TRT IN TRT OUT TRFNJ 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 ...

Page 225: ...munications Cycle Time on page 8 2 and calculate the communications cycle time for each group as if they were separate Networks 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 TRM TRM A TRM B Although this example shows only two Masters in the Network the total communications cycle time for any Netwo...

Page 226: ...d case the DeviceNet Unit is restarted while communications are in progress As shown in the 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 8 1 4 System Sta...

Page 227: ...p Time Additional Information Refer to 3 2 Device Variables for CJ series Unit Software Switches Statuses for details on the Master Status Area 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 Slave Function ...

Page 228: ...6 ms TB The baud rate factor 500 kbit s TB 2 250 kbit s TB 4 125 kbit s TB 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 ...

Page 229: ...data for 100 words BYTE DATA READ request sending time TBRS DeviceNet header 4 bytes Parameters 3 bytes 7 bytes no fragment Therefore TBRS 1 communications cycle time TRM 3 ms CPU Unit s processing time TCPU x 2 TCPU x 2 CPU Unit task period x 2 10 x 2 20 ms BYTE DATA READ response receiving time TBRR DeviceNet header 3 bytes Number of words to be read x 2 203 bytes Therefore TBRR 1 203 bytes 6 co...

Page 230: ...TBRR DeviceNet header 3 bytes Number of words to be read x 2 203 bytes Therefore TBRR 1 203 bytes 6 communications cycle time 35 communications cycle time DeviceNet Unit refresh time TRF 2 ms The message response time will be as follows TRM TCPU x 8 TRM x 35 TRF x 2 x 8 3 80 105 32 220 ms Precautions for Correct Use Precautions for Correct Use The above equations can be used to find the approximat...

Page 231: ...s from the Indicators 9 2 9 1 2 Troubleshooting Errors Occurring in the DeviceNet Unit 9 4 9 2 Error Log Functions 9 28 9 2 1 Error Log Table 9 28 9 2 2 Error Codes and Detail Codes 9 29 9 3 Troubleshooting 9 32 9 3 1 CPU Unit s ERR ALM Indicator Lit or Flashing 9 32 9 3 2 Remote I O Communications Disabled 9 32 9 3 3 I O Link Problems 9 33 9 3 4 Communications Error Operation Settings 9 34 9 3 5 ...

Page 232: ...ed after initialization ON green Flash ing green Master s node address flashing Waiting for remote I O com munications The Unit will have this status until remote I O com munications are performed with the master or 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 address Waiting for m...

Page 233: ...ubleshooting and Maintenance CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 9 1 Troubleshooting with the DeviceNet Unit Indicators 9 9 1 1 Determining Operating Status from the Indicators ...

Page 234: ...eration 9 1 2 Troubleshooting Errors Occurring in the DeviceNet Unit Indicators Error category Error Likely cause DeviceNet Unit response Error log Hex MS NS 7 seg ment 1 A0 Master function Remote I O com munica tions stopped by a commu nications error 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 to ...

Page 235: ...or are TRUE or _NetPwrErr Network Power Error and _UnitErr Unit Error or _SendTimeoutErr Send Timeout Error and _UnitErr Unit Error are TRUE Perform error processing according to the cause Remote I O communications error See error d9 Network power supply error See error E0 Transmission timeout error See error E2 Correct the cause of the error and then restart remote I O communica tions using the s...

Page 236: ...or in the parameters specified in the user settings and the requested settings could not be made The only response is the error code displayed on the 7 segment indicator The error display will be cleared the next time that a software switch operation is completed normally C6 Multiple switches ON Two or more software switches were changed to TRUE simultaneously or a second software switch was chang...

Page 237: ...ction Check the parameters in the user set tings and try the operation again Execute software switch operations one at a time _CMstrErr Master Error and _CMstrStruErr Structure Error are TRUE _Mstr1StruErr Structure Error _UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Set the slaves node addresses again _CMstrErr Master Error and _CMstrStruErr Structure Error are TRUE _Mstr1Str...

Page 238: ...t error Indicators Error category Error Likely cause DeviceNet Unit response Error log Hex MS NS 7 seg ment 1 Red flashing d2 Structure error 2 Unsup ported slave The size of the slave s input and or output area exceeded 200 bytes Occurs with the scan list disabled The master will periodi cally attempt to reconnect with the slave with the structure error 0343 Red flashing d5 Verification error 2 N...

Page 239: ...Error and _CMstrStruErr Structure Error are TRUE _Mstr1StruErr Structure Error _UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Use slaves with input and output areas of 200 bytes max _CMstrErr Master Error and _CMstrVefyErr Verification Error are TRUE _Mstr1VefyErr Verification Error _UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Check the following Matching ...

Page 240: ...egis tered scan list Occurs with the scan list enabled The master will periodi cally attempt to reconnect with the slave with the veri fication error 0344 Red flashing d6 Master function Verification error 2 Illegal device 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 Records the error in the...

Page 241: ...r Master Function Error are TRUE Inspect the slave and then create the scan list again _CMstrErr Master Error and _CMstrVefyErr Verification Error are TRUE _Mstr1VefyErr Verification Error _UnitErr Unit Error and _MstrFunErr Master Function Error are TRUE Inspect the slave and then create the scan list again _CMstrErr Master Error and _CMstrVefyErr Verification Error are TRUE _Mstr1VefyErr Verific...

Page 242: ...rror log Hex MS NS 7 seg ment 1 OFF or Red flash ing 2 E0 Network Network power sup ply error The communications power supply is not being supplied properly from the network Records the error in the error log As long as power is not 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 ni...

Page 243: ...roubleshooting Errors Occurring in the DeviceNet Unit Status of C200H Master Replacement Master Status 1 _CMstrSta _CMstrSta Status of device variables for CJ series Units Correction _CMstrErr Master Error and _CMstrSendErr Send Error are TRUE _NetPwrErr Network Power Error and _UnitErr Unit Error are TRUE Check the network power supply and the wiring of the network cables ...

Page 244: ...d 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 0342 Red flashing E6 Memory access Message monitoring timer...

Page 245: ...r Unit Error are TRUE Check the following 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 _CMstrErr Master Error and _CMstrCfgErr Configuration Error are TRUE _UnitErr Unit Error and _MsgListErr Invalid Message Timer List Error are TRUE Use the CX Integrator to re...

Page 246: ... response Error log Hex MS NS 7 seg ment 1 Red flashing E8 Memory access Master scan list logic error There is an error in the contents of the master scan list stored in non vol atile memory Records the error in the error log The master remote I O communications will be stopped Data exchange slave operation and message communications with the CPU Unit will continue Normal operation will resume whe...

Page 247: ... Unit Status of C200H Master Replacement Master Status 1 _CMstrSta _CMstrSta Status of device variables for CJ series Units Correction _CMstrErr Master Error and _CMstrCfgErr Configuration Error are TRUE _UnitErr Unit Error _MstrFunErr Master Function Error and _Mstr1SListErr Invalid Scan List Data Error are TRUE Clear the scan list and register the scan list again or use the CX Integra tor to res...

Page 248: ... while read ing or writing the slave function enabling data or the slave scan list Error6 An error occurs while read ing or writing the message monitoring timer Error7 An error occurs while read ing or writing the communi cations cycle time set value Error8 An error occurs while read ing the identity information during Identity object server processing Note This error does occur for checksum error...

Page 249: ...ators 9 9 1 2 Troubleshooting Errors Occurring in the DeviceNet Unit Status of C200H Master Replacement Master Status 1 _CMstrSta _CMstrSta Status of device variables for CJ series Units Correction _CMstrErr Master Error and _CMstrMemErr Unit Memory Error are TRUE _UnitErr Unit Error and _MemErr Unit Memory Error are TRUE Replace the Unit if the error recurs ...

Page 250: ...ations will be disabled Error responses will be returned to all communi cations requests The exchange of data with the CPU Unit will continue 0340 Red flashing OFF H1 CPU Unit exchange Unit num ber dupli cation The unit number is dupli cated on another Unit Stops operation Red flashing OFF H2 CPU Unit faulty H2 Stops operation Red lit OFF H3 DeviceNet Unit faulty Stops operation Red flashing OFF H...

Page 251: ... _CMstrErr Master Error and _CMstrNdDupErr Node Address Dupli cated Bus Off Error are TRUE _UnitErr Unit Error and _BusoffErr Bus Off Error are TRUE Check the following 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 ...

Page 252: ...nit is stopped The routing table is treated as missing Records the error in the error log 0011 Red flashing HC Routing table logic error There is an error in the contents of the routing table Records the error in the error log The routing table is treated as missing and processing continues 021A Red flashing Hd I O refresh error The I O areas set in the master scan list or slave scan list do not e...

Page 253: ... Master Error and _CMstrCfgErr Configuration Error are TRUE _RTblErr Routing Table Error and _UnitErr Unit Error are TRUE Register the routing table in the CPU Unit again and restart the Controller Replace the CPU Unit if the error recurs _CMstrErr Master Error and _CMstrCfgErr Configuration Error are TRUE _RTblErr Routing Table Error and _UnitErr Unit Error are TRUE Set the routing table in the C...

Page 254: ... tions Performs the following pro cessing if it receives com mands that must be passed along to the CPU Unit 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 restart automatically for this error First confirm that the error has been eliminated and then perform the ...

Page 255: ...trSta _CMstrSta Status of device variables for CJ series Units Correction There is no status notification because communications with the CPU Unit are disabled There is no status notification because communications with the CPU Unit are disabled Inspect the CPU Unit s operating envi ronment There is no status notification because communications with the CPU Unit are disabled There is no status not...

Page 256: ...seg ment 1 Red flashing L9 Slave function Remote I O com munica tions error A timeout occurred during remote I O communica tions using the slave func tion If slave has outputs the status of those outputs is determined by the hold clear outputs setting for communications errors 0345 Red lit OFF OFF Unit Special Unit error Records the error in the error log Stops the Unit 0601 CPU Unit CPU Unit majo...

Page 257: ... for CJ series Units Correction _Slav1IO1Err Remote I O Communi cations Error for OUT1 IN1 or _Slav1IO2Err Remote I O Communi cations Error for OUT2 IN2 is TRUE and _UnitErr Unit Error and _SlavFunErr Slave Function Flag are TRUE Check the following Master Operation is normal Matching master and slave baud rates Proper cable lengths trunk and branch lines Broken or loose cables Installation of ter...

Page 258: ...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 Integrato...

Page 259: ...02 CPU Unit service monitoring error Servicing from the CPU Unit is not performed at fixed intervals Monitoring time ms Yes 0006 Other CPU error Bit 14 ON Duplicate unit number setting Bit 11 ON Unit not in registered Unit Configuration in the CPU Unit Other bits Reserved by system Yes 000F CPU Unit initialization error 00 Hex 00 Hex Yes 0011 Event timeout MRC SRC Yes 0012 CPU Unit memory error 01...

Page 260: ...on 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 t...

Page 261: ...address Slave Master s node address No 0346 Remote I O communications stopped because of a remote I O communications error 01 Hex Remote I O communications error 02 Hex Network power supply error 03 Hex Transmission timeout Remote I O comm error Slave s node address Power supply error Local master s node address Transmission timeout Local master s node address No 0347 I O refreshing error 01 Hex M...

Page 262: ...ed Error Probable cause All of the DeviceNet Unit s indicators are OFF Check whether power is being supplied to the NJ series Controller 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 ...

Page 263: ...on t match set all of the baud rates to the same value Make sure that there are121 Ω terminators connected at both ends of the trunk line Connect 121 Ω terminators if the wrong resistance 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 Ch...

Page 264: ...slave has started up and perform the clear communica tions error stoppage operation It 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 Probable cause 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 operat...

Page 265: ...at 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 Controller errors confirmation methods and corrections To use an NS series PT to check events connect the PT to the built in EtherNet IP port on the CPU Unit 9 4 1 Overview of the Event Logs NJ series CPU Unit Event logs Event source Sysmac Studio NS series PT ...

Page 266: ...emory where the error his tory is saved There is a source of noise nearby Non volatile memory failure S U page 9 42 04890000 hex Network Power Error Network power is not being supplied Communications power is not being supplied normally from the network S page 9 42 148D0000 hex Invalid Scan List Data There is an error in the contents of the slave scan list or master scan list stored in non vola ti...

Page 267: ... 45 34BE0000 hex Structure Error The scan list is dis abled and an error occurred that pre vented making I O allocations 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 S page 9 46 34BF0000 hex Master I O Refresh Error The I O memory in the destination CPU Unit for I...

Page 268: ...e 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 S page 9 49 74600000 hex Master Func tion Enable Dis able Failed An operating error occurred when enabling or dis abling the master function An attempt was made to enable the master function when it was already ena...

Page 269: ...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 S page 9 52 74630000 hex Slave Func tion Enable Dis able Failed An error occurred in one of the following operations in the slave function An attempt was made to enable...

Page 270: ...ates 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 S page 9 57 84770000 hex Slave COS Send Failed An attempt was made to send COS data to the master using the Slave COS Send Switch software switch 2 device variable _Sw2SlavCOSSen dCmd but th...

Page 271: ...s Execution of the user program stops Starts Execution of the user program starts 9 4 3 Error Descriptions Controller Error Descriptions Event name Gives the name of the error Event code Gives the code of the error Meaning Gives a short description of the error Source Gives the source of the error Source details Gives details on the source of the error Detection timing Tells when the error is dete...

Page 272: ... the Recovery column above will be changed to Error reset Event name Network Power Error Event code 04890000 hex Meaning Network power is not being supplied Source PLC Function Module Source details CJ series Unit Detection timing Continuously Error attributes Level Minor fault Recovery Cycle the power supply Log category System Effects User program Continues Operation The DeviceNet Unit will stop...

Page 273: ...s and then enable the 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 Do not turn OFF the power supply while the system is writing the set tings Attached information None Precautions Remarks None Event name Invalid Setup Da...

Page 274: ... information None Precautions Remarks None Event name Routing Table Error Event code 34BC0000 hex Meaning There is illegal data in the routing tables set in the CPU Unit Source PLC Function Module Source details CJ series Unit Detection timing At power ON or Controller reset Error attributes Level Minor fault Recovery Cycle the power supply or reset the Controller Log category System Effects User ...

Page 275: ...k line Implement noise countermeasures Set the master and slaves to the same baud rate Install suitable lengths of communi cations cables for the trunk and branch lines Connect the communications cable securely Check to see if the com munications cable is broken Connect terminating resistance only to the ends of the trunk line Implement noise countermeasures The node address of the local Unit whic...

Page 276: ...id range Set the node addresses of the slaves so that the I O area words do not exceed the valid range Or use the slaves with user allocations The I O size of the slave exceeds 200 bytes for outputs or 200 bytes for inputs Use a slave with 200 output bytes or less and 200 input bytes or less Use a slave with 200 output bytes or less and 200 input bytes or less Attached information None Precautions...

Page 277: ...ster 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 Execute the software switch opera tions one at a time Execute the software switch opera tions one at a time Attached information None Precautions Remarks None Event name Communications Cycle Time Setting Failed Event code 34C...

Page 278: ...ailed Event code 34C30000 hex Meaning An error occurred in the following operation for user allocation of the slave Slave user allocation setting switch device variable _Sw2SlavAlocCmd Source PLC Function Module Source details CJ series Unit Detection timing At user operation Error attributes Level Minor fault Recovery Error reset Log category System Effects User program Continues Operation Not af...

Page 279: ...d variables Variable Data type Name None Cause and correction Assumed cause Correction Prevention There is no slave or other device on the network Add at least one device to the net work Connect at least one device to the network The same baud rate is not set for all nodes Correct the settings so that all nodes use the same baud rate Set all nodes to the same baud rate Communications cable lengths...

Page 280: ...correction Assumed cause Correction Prevention An attempt was made to enable the master function when it was already enabled Disable the master function before you enable it Disable the master function before you enable it An attempt was made to disable the master function when it was already disabled Enable the master function before you disable it Enable the master function before you disable it...

Page 281: ...tion Error attributes Level Minor fault Recovery Error reset Log category System Effects User program Continues Operation Not affected System defined variables Variable Data type Name None Cause and correction Assumed cause Correction Prevention The master function is not enabled Enable the master function Enable the master function The scan list is not disabled Disable the scan list Disable the s...

Page 282: ...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 Change to a status that...

Page 283: ...ables Variable Data type Name None Cause and correction Assumed cause Correction Prevention 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 An attempt was made to disable the slave function when it was already disabled Enable the slave function before you disable it Enable t...

Page 284: ...ion timing At user operation Error attributes Level Minor fault Recovery Error reset Log category System Effects User program Continues Operation Not affected System defined variables Variable Data type Name None Cause and correction Assumed cause Correction Prevention The slave function is not disabled Disable the slave function Disable the slave function CPU Unit is not in PROGRAM mode Change th...

Page 285: ...med cause Correction Prevention The master and slave have different baud rates Correct the settings so that the mas ter and slaves use the same baud rate Set the master and slaves to the same baud rate Communications cable lengths trunk line and branch lines are unsuitable Refer to the communications specifi cations and adjust all of the communi cations cables to suitable lengths Refer to the comm...

Page 286: ...ings so that the mas ter and slaves use the same baud rate Set the master and slaves to the same baud rate Communications cable lengths trunk line and branch lines are unsuitable Refer to the communications specifi cations and adjust all of the cables to suitable lengths Refer to the communications specifi cations and adjust all of the cables to suitable lengths A communications cable is discon ne...

Page 287: ...Check to make sure the master is operating normally The master and slaves have different baud rates Correct the settings so that the mas ter and slaves use the same baud rate Set the master and slaves to the same baud rate Communications cable lengths trunk line and branch lines are unsuitable Refer to the communications specifi cations and adjust all of the communi cations cables to suitable leng...

Page 288: ...or Event code 048A0000 hex Meaning 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 Source PLC Function Module Source details CJ series Unit Detection timing When SD Mem ory Card backup is executed Error attributes Level Observation Recovery Log category System Effects User program Continues Operation Not...

Page 289: ...m Effects User program Continues Operation The message monitoring timer will operate with the default value System defined variables Variable Data type Name None Cause and correction Assumed cause Correction Prevention The power supply was interrupted while writing the message monitoring timer list to the non volatile memory Register the message monitoring timer list again Do not turn OFF the powe...

Page 290: ...s These sub stances could damage the surface of the Unit 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 is used with high temperature or humidity or under dirty dusty conditions Prepare the following equipment before inspecting the system z Required Equipment ...

Page 291: ...must be registered again All of the settings data stored in the DeviceNet Unit can be saved to the CPU Unit s SD Memory Card 1 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 S...

Page 292: ...vice 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 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 ...

Page 293: ...epending on the CPU Unit NJ or CJ Series A 2 A 1 1 Functional Differences A 2 A 1 2 Differences in Accessing from User Program A 2 A 2 DeviceNet Connections A 35 A 3 DeviceNet Explicit Message Send Command for Other Manufacturer Nodes A 41 A 3 1 Explicit Message Send 2801 A 41 A 4 Multi vendor Applications A 43 Appendices ...

Page 294: ...t version 1 03 or later and Sysmac Studio version 1 04 or higher are required When this Unit is operated with an 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...

Page 295: ...Unit NJ or CJ Series App A 1 2 Differences in Accessing from User Program CJ series I O memory address NJ series device variables for CJ series Unit Word address Bit Variable name Description CIO n 0 to 15 _Sw1Cmd Software Switches 1 The functions of bits 0 to 15 of CIO n correspond to those of bits 0 to 15 of this CJ series Unit device variable ...

Page 296: ... Stop Switch 5 Reserved by system 6 _Sw1MstrEnblCmd Master Enable Switch 7 _Sw1MstrDsblCmd Master Disable Switch 8 _Sw1MstrFixAloc1Cmd Master Fixed Allocation Setting 1 Switch 9 _Sw1MstrFixAloc2Cmd Master Fixed Allocation Setting 2 Switch 10 _Sw1MstrFixAloc3Cmd Master Fixed Allocation Setting 3 Switch 11 _Sw1MstrAlocCmd Master User set Allocations Switch 12 _Sw1CycleTmTmpSet Temporary Setting Swit...

Page 297: ...avFixAloc2Cmd Slave Fixed Allocation Setting 2 Switch 10 _Sw2SlavFixAloc3Cmd Slave Fixed Allocation Setting 3 Switch 11 _Sw2SlavAlocCmd Slave User Allocations Switch 12 _Sw2SlavCOSSendCmd Slave COS Send Switch 13 Reserved by system 14 _Sw2FileRestoreCmd Unit Setup File Restore Switch 15 _Sw2FileBkupCmd Unit Setup File Backup Switch CJ series I O memory address NJ series device variables for CJ ser...

Page 298: ...Cmd 4 Master COS Send Switch for Node Address 4 Slave 5 _MstrCOSSendNdCmd 5 Master COS Send Switch for Node Address 5 Slave 6 _MstrCOSSendNdCmd 6 Master COS Send Switch for Node Address 6 Slave 7 _MstrCOSSendNdCmd 7 Master COS Send Switch for Node Address 7 Slave 8 _MstrCOSSendNdCmd 8 Master COS Send Switch for Node Address 8 Slave 9 _MstrCOSSendNdCmd 9 Master COS Send Switch for Node Address 9 Sl...

Page 299: ...Master COS Send Switch for Node Address 19 Slave 4 _MstrCOSSendNdCmd 20 Master COS Send Switch for Node Address 20 Slave 5 _MstrCOSSendNdCmd 21 Master COS Send Switch for Node Address 21 Slave 6 _MstrCOSSendNdCmd 22 Master COS Send Switch for Node Address 22 Slave 7 _MstrCOSSendNdCmd 23 Master COS Send Switch for Node Address 23 Slave 8 _MstrCOSSendNdCmd 24 Master COS Send Switch for Node Address ...

Page 300: ...8 Slave 7 _MstrCOSSendNdCmd 39 Master COS Send Switch for Node Address 39 Slave 8 _MstrCOSSendNdCmd 40 Master COS Send Switch for Node Address 40 Slave 9 _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...

Page 301: ...ve 6 _MstrCOSSendNdCmd 54 Master COS Send Switch for Node Address 54 Slave 7 _MstrCOSSendNdCmd 55 Master COS Send Switch for Node Address 55 Slave 8 _MstrCOSSendNdCmd 56 Master COS Send Switch for Node Address 56 Slave 9 _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 S...

Page 302: ...ries function name CIO n 6 to n 9 0 to 15 for each word _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 0 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 co...

Page 303: ... 3 _CnctNdCmd 3 Disconnect Connect Switch for Node Address 3 Slave 4 _CnctNdCmd 4 Disconnect Connect Switch for Node Address 4 Slave 5 _CnctNdCmd 5 Disconnect Connect Switch for Node Address 5 Slave 6 _CnctNdCmd 6 Disconnect Connect Switch for Node Address 6 Slave 7 _CnctNdCmd 7 Disconnect Connect Switch for Node Address 7 Slave 8 _CnctNdCmd 8 Disconnect Connect Switch for Node Address 8 Slave 9 _...

Page 304: ...ess 22 Slave 7 _CnctNdCmd 23 Disconnect Connect Switch for Node Address 23 Slave 8 _CnctNdCmd 24 Disconnect Connect Switch for Node Address 24 Slave 9 _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 fo...

Page 305: ...CnctNdCmd 35 Disconnect Connect Switch for Node Address 35 Slave 4 _CnctNdCmd 36 Disconnect Connect Switch for Node Address 36 Slave 5 _CnctNdCmd 37 Disconnect Connect Switch for Node Address 37 Slave 6 _CnctNdCmd 38 Disconnect Connect Switch for Node Address 38 Slave 7 _CnctNdCmd 39 Disconnect Connect Switch for Node Address 39 Slave 8 _CnctNdCmd 40 Disconnect Connect Switch for Node Address 40 S...

Page 306: ... Slave 8 _CnctNdCmd 56 Disconnect Connect Switch for Node Address 56 Slave 9 _CnctNdCmd 57 Disconnect Connect Switch for Node Address 57 Slave 10 _CnctNdCmd 58 Disconnect Connect Switch for Node Address 58 Slave 11 _CnctNdCmd 59 Disconnect Connect Switch for Node Address 59 Slave 12 _CnctNdCmd 60 Disconnect Connect Switch for Node Address 60 Slave 13 _CnctNdCmd 61 Disconnect Connect Switch for Nod...

Page 307: ...offErr Bus Off Error 6 _NdAdrDupErr Node Address Duplicated Error 7 _NetPwrErr Network Power Error 8 _SendTimeoutErr Send Timeout Error 9 to 11 Reserved by system 12 _RTblErr Routing Table Error 13 _MsgListErr Invalid Message Timer List Error 14 15 Reserved by system CJ series I O memory address NJ series device variables for CJ series Unit Word address Bit Variable name CJ series function name CI...

Page 308: ...ddress Bit Variable name CJ series function name CIO n 12 0 _Mstr1VefyErr Verification Error 1 _Mstr1StruErr Structure Error 2 _Mstr1IOErr Remote I O Communications Error 3 Reserved by system 4 _Mstr1SListErr Invalid Scan List Data Error 5 _Mstr1IORefErr Master I O Refresh Error 6 7 Reserved by system 8 _Mstr1FunSetErr Master Function Enable Disable Failed 9 _Mstr1AlocErr Master User set Allocatio...

Page 309: ... series device variables for CJ series Unit Word address Bit Variable name CJ series function name CIO n 14 0 1 Reserved by system 2 _Slav1IO1Err Remote I O Communications Error with slave communications enabled for OUT 1 IN 1 3 _Slav1IO2Err Remote I O Communications Error with slave communications enabled for OUT 2 IN 2 4 _Slav1FunDatErr Invalid Setup Data 5 _Slav1IORefErr Slave I O Refresh Error...

Page 310: ...ster for Slave Communications 8 to 15 _SlavIOAlocSta Slave I O Allocation Status CJ series I O memory address NJ series device variables for CJ series Unit Word address Bit Variable name CJ series function name CIO n 16 to n 19 0 to 15 for each word _RegSlavTblSta Registered Slave Table 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...

Page 311: ...ave 4 _RegSlavTblNdSta 4 Registered Slave Table Corresponding to Node Address 4 Slave 5 _RegSlavTblNdSta 5 Registered Slave Table Corresponding to Node Address 5 Slave 6 _RegSlavTblNdSta 6 Registered Slave Table Corresponding to Node Address 6 Slave 7 _RegSlavTblNdSta 7 Registered Slave Table Corresponding to Node Address 7 Slave 8 _RegSlavTblNdSta 8 Registered Slave Table Corresponding to Node Ad...

Page 312: ...RegSlavTblNdSta 23 Registered Slave Table Corresponding to Node Address 23 Slave 8 _RegSlavTblNdSta 24 Registered Slave Table Corresponding to Node Address 24 Slave 9 _RegSlavTblNdSta 25 Registered Slave Table Corresponding to Node Address 25 Slave 10 _RegSlavTblNdSta 26 Registered Slave Table Corresponding to Node Address 26 Slave 11 _RegSlavTblNdSta 27 Registered Slave Table Corresponding to Nod...

Page 313: ...e 4 _RegSlavTblNdSta 36 Registered Slave Table Corresponding to Node Address 36 Slave 5 _RegSlavTblNdSta 37 Registered Slave Table Corresponding to Node Address 37 Slave 6 _RegSlavTblNdSta 38 Registered Slave Table Corresponding to Node Address 38 Slave 7 _RegSlavTblNdSta 39 Registered Slave Table Corresponding to Node Address 39 Slave 8 _RegSlavTblNdSta 40 Registered Slave Table Corresponding to ...

Page 314: ...RegSlavTblNdSta 55 Registered Slave Table Corresponding to Node Address 55 Slave 8 _RegSlavTblNdSta 56 Registered Slave Table Corresponding to Node Address 56 Slave 9 _RegSlavTblNdSta 57 Registered Slave Table Corresponding to Node Address 57 Slave 10 _RegSlavTblNdSta 58 Registered Slave Table Corresponding to Node Address 58 Slave 11 _RegSlavTblNdSta 59 Registered Slave Table Corresponding to Nod...

Page 315: ...ariables for CJ series Unit Word address Bit Variable name CJ series function name CIO n 20 to n 23 0 to 15 for each word _NormSlavTblSta Normal Slave Table 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 CIO n 21 correspond to bits 16 to 31...

Page 316: ...ing to Node Address 4 Slave 5 _NormSlavTblNdSta 5 Normal Slave Table Corresponding to Node Address 5 Slave 6 _NormSlavTblNdSta 6 Normal Slave Table Corresponding to Node Address 6 Slave 7 _NormSlavTblNdSta 7 Normal Slave Table Corresponding to Node Address 7 Slave 8 _NormSlavTblNdSta 8 Normal Slave Table Corresponding to Node Address 8 Slave 9 _NormSlavTblNdSta 9 Normal Slave Table Corresponding t...

Page 317: ...NdSta 22 Normal Slave Table Corresponding to Node Address 22 Slave 7 _NormSlavTblNdSta 23 Normal Slave Table Corresponding to Node Address 23 Slave 8 _NormSlavTblNdSta 24 Normal Slave Table Corresponding to Node Address 24 Slave 9 _NormSlavTblNdSta 25 Normal Slave Table Corresponding to Node Address 25 Slave 10 _NormSlavTblNdSta 26 Normal Slave Table Corresponding to Node Address 26 Slave 11 _Norm...

Page 318: ...7 _NormSlavTblNdSta 39 Normal Slave Table Corresponding to Node Address 39 Slave 8 _NormSlavTblNdSta 40 Normal Slave Table Corresponding to Node Address 40 Slave 9 _NormSlavTblNdSta 41 Normal Slave Table Corresponding to Node Address 41 Slave 10 _NormSlavTblNdSta 42 Normal Slave Table Corresponding to Node Address 42 Slave 11 _NormSlavTblNdSta 43 Normal Slave Table Corresponding to Node Address 43...

Page 319: ...ode Address 52 Slave 5 _NormSlavTblNdSta 53 Normal Slave Table Corresponding to Node Address 53 Slave 6 _NormSlavTblNdSta 54 Normal Slave Table Corresponding to Node Address 54 Slave 7 _NormSlavTblNdSta 55 Normal Slave Table Corresponding to Node Address 55 Slave 8 _NormSlavTblNdSta 56 Normal Slave Table Corresponding to Node Address 56 Slave 9 _NormSlavTblNdSta 57 Normal Slave Table Corresponding...

Page 320: ...ssage Communications Permitted 13 _CMstrSListDsblSta Invalid Scan List Data Flag 14 _CMstrErr Error is occurring or Remote I O Communications is stopped due to error Master Error 15 _CMstrIOCommSta Remote I O Communications Flag CPU Bus Unit Words Allocated in DM Area CJ series I O memory address NJ series device variables for CJ series Unit Word address Bit Variable name CJ series function name D...

Page 321: ...ations cycle time present value D m 17 0 to 15 _CycleTmRefTblSta 2 Communications cycle time maximum value D m 18 0 to 15 _CycleTmRefTblSta 3 Communications cycle time minimum value CJ series I O memory address NJ series device variables for CJ series Unit Word address Bit Variable name CJ series function name D m 19 0 to 7 _MstrAlocRefTblSta 0 OUT block 1 area D m 20 0 to 15 _MstrAlocRefTblSta 1 ...

Page 322: ...le for Node Address 3 D m 45 0 to 7 _Nd4Sta Detailed Slave Status Table for Node Address 4 8 to 15 _Nd5Sta Detailed Slave Status Table for Node Address 5 D m 46 0 to 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 0 to 7 _Nd8Sta Detailed Slave Status Table for Node Address 8 8 to 15 _Nd9Sta Detailed Slave Status Table f...

Page 323: ...de Address 20 8 to 15 _Nd21Sta Detailed Slave Status Table for Node Address 21 D m 54 0 to 7 _Nd22Sta Detailed Slave Status Table for Node Address 22 8 to 15 _Nd23Sta Detailed Slave Status Table for Node Address 23 D m 55 0 to 7 _Nd24Sta Detailed Slave Status Table for Node Address 24 8 to 15 _Nd25Sta Detailed Slave Status Table for Node Address 25 D m 56 0 to 7 _Nd26Sta Detailed Slave Status Tabl...

Page 324: ... 65 0 to 7 _Nd44Sta Detailed Slave Status Table for Node Address 44 8 to 15 _Nd45Sta Detailed Slave Status Table for Node Address 45 D m 66 0 to 7 _Nd46Sta Detailed Slave Status Table for Node Address 46 8 to 15 _Nd47Sta Detailed Slave Status Table for Node Address 47 D m 67 0 to 7 _Nd48Sta Detailed Slave Status Table for Node Address 48 8 to 15 _Nd49Sta Detailed Slave Status Table for Node Addres...

Page 325: ...nit Word address Bit Variable name CJ series function name D m 43 m 44 to m 74 0 of each word _Nd0Err _Nd2Err to _Nd62Err Slave Error for node address 0 2 to 62 1 of each word _Nd0VefyErr _Nd2VefyErr to _Nd62VefyErr Slave Verification Error for node address 0 2 to 62 2 of each word _Nd0CfgErr _Nd2CfgErr to _Nd62CfgErr Slave Configuration Error for node address 0 2 to 62 3 of each word _Nd0IOErr _N...

Page 326: ...efyErr Slave Verification Error for node address 1 3 to 63 10 of each word _Nd1CfgErr _Nd3CfgErr to _Nd63CfgErr Slave Configuration Error for node address 1 3 to 63 11 of each word _Nd1IOErr _Nd3IOErr to _Nd63IOErr Slave Remote I O Communications Error for node address 1 3 to 63 12 of each word Reserved by system 13 of each word _Nd1COSSendErr _Nd3COSSendErr to _Nd63COSSendErr Master COS Send Erro...

Page 327: ... 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 smal...

Page 328: ...he Connection Tab Page shown below select a check box Automatic selection 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 Connections Using Allocations Allocation method Contents With CX Integrator User set allocations from the CX Integra tor The user can select the connection to be used for each node addre...

Page 329: ...an set it for each corresponding slave For details on using the CX Integrator refer to the CP CS CJ CP NSJ CX Integrator Ver 2 Operation Manual Cat No W464 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 applic...

Page 330: ... 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 I O data Connection Connection ...

Page 331: ...ger 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 system performance when using COS DeviceNet Units use the Master COS Send Switch in the allocated CIO Area words to execute COS transmissions from the master to slaves The procedure is outlined below Step 1 Before executi...

Page 332: ...iately after the refresh remote I O communications which is performed with 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 DeviceNet Unit Multiple COS send switches node address 1 2 3 changed to I O refresh Time COS send instruction Node 1 Node 2 Node 3 Node 4 Node 1 COS 1 Node 2 COS 2...

Page 333: ...ponse Block When a normal response is returned for the executed explicit message When an error response is returned for the executed explicit message When the explicit message execution failed or timed out A 3 1 Explicit Message Send 2801 534 bytes max Command code Destination node address Service code Class ID Instance ID Service data 534 bytes max Command code Source node address local node Serv...

Page 334: ...de 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 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 z Explanation The Explicit Message S...

Page 335: ...s 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...

Page 336: ...h Default MAC ID 63 Baud rate setting DIP switch Supported baud rates 125 kbit s 250 kbit s and 500 kbit s Communications data Predefined Master Slave connection set Group 2 client Group 2 only client Group 2 server Dynamic connection support UCMM Yes Explicit message fragmentation support Yes Object Mounting Object class Attribute Not supported Service Not supported Item ID content Get read Set w...

Page 337: ...Revision Yes No 2 Service DeviceNet service Parameter option 0E Get_Attribute_Single No Item ID content Get read Set write Value Object instance Attribute 1 MAC ID Yes No 2 Baud rate Yes No 3 BOI Yes No 0 4 Bus off counter Yes No 0 5 Allocation information Yes No 6 MAC ID switch changed No No 7 Baud rate switch changed No No 8 MAC ID switch value No No 9 Baud rate switch value No No Service Device...

Page 338: ...D Yes No 5 Consumed_connection_ID Yes No 6 Initial_comm_characteristics Yes No 21 hex 7 Produced_connection_size Yes No 553 8 Consumed_connection_size Yes No Format 16 16 557 Format 8 8 555 Format 16 8 8 16 556 9 Expected_packed_rate Yes Yes 12 Watchdog_timeout_action Yes Yes 1 or 3 13 Produced_connection_path_ length Yes No 0 14 Produced_connection_path Yes No empty 15 Consumed_connection_path_ l...

Page 339: ...e Yes No 1 3 Transport_class_trigger Yes No 82 hex 4 Produced_connection_ID Yes No 5 Consumed_connection_ID Yes No 6 Initial_comm_characteristics Yes No 1 7 Produced_connection_size Yes No 1 8 Consumed_connection_size Yes No 2 9 Expected_packed_rate Yes Yes 12 Watchdog_timeout_action Yes No 0 13 Produced_connection_path_ length Yes No 4 14 Produced_connection_path Yes No 20 94 24 01 hex 15 Consume...

Page 340: ...trigger Yes No 82 hex 4 Produced_connection_ID Yes No 5 Consumed_connection_ID Yes No 6 Initial_comm_characteristics Yes No 2 7 Produced_connection_size Yes No 8 Consumed_connection_size Yes No 8 9 Expected_packed_rate Yes Yes 12 Watchdog_timeout_action Yes No 0 13 Produced_connection_path_ length Yes No 0 14 Produced_connection_path Yes No empty 15 Consumed_connection_path_ length Yes No 4 16 Con...

Page 341: ... 00 hex no Cyclic ACK 10 hex no COS ACK 4 Produced_connection_ID Yes No 5 Consumed_connection_ID Yes No FFFF hex no ACK 6 Initial_comm_characteristics Yes No 01 hex with ACK 0F hex no ACK 7 Produced_connection_size Yes No 8 Consumed_connection_size Yes No 9 Expected_packed_rate Yes Yes 12 Watchdog_timeout_action Yes No 0 13 Produced_connection_path_ length Yes No 4 14 Produced_connection_path Yes ...

Page 342: ...ed_connection_ID Yes No 6 Initial_comm_characteristics Yes No 7 Produced_connection_size Yes No 8 Consumed_connection_size Yes No 9 Expected_packed_rate Yes Yes 12 Watchdog_timeout_action Yes No 13 Produced_connection_path_ length Yes No 14 Produced_connection_path Yes No 15 Consumed_connection_path_ length Yes No 16 Consumed_connection_path Yes No 17 Production_inhi_bit_time Yes Yes Service Devic...

Page 343: ... Read Logical Area Address Length 1E Block String Write Logical Area Address 1F Block StringN Write Logical Area Address Object instance 5 HR area Service 1C Block String Read Logical Area Address Length 1D Block StringN Read Logical Area Address Length 1E Block String Write Logical Area Address 1F Block StringN Write Logical Area Address Object instance 6 AR area Service 1C Block String Read Logi...

Page 344: ...11 HE 5 H000 to H511 EM bank 0 8 E0_00000 to E0_32767 EM bank 1 9 E1_00000 to E1_32767 EM bank 2 A E2_00000 to E2_32767 EM bank 3 B E3_00000 to E3_32767 EM bank 4 C E4_00000 to E4_32767 EM bank 5 D E5_00000 to E5_32767 EM bank 6 E E6_00000 to E6_32767 EM bank 7 F E7_00000 to E7_32767 EM bank 8 10 E8_00000 to E8_32767 EM bank 9 11 E9_00000 to E9_32767 EM bank 10 12 EA_00000 to EA_32767 EM bank 11 1...

Page 345: ...Index 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 I Index ...

Page 346: ...OS 5 12 A 35 COS Send Failed 3 43 A 17 COS cyclic heartbeat timer setting 1 11 CPU Unit watchdog timer error 9 29 Cyclic A 35 Cyclic connection 5 12 D Data Exchange with the CPU Unit 3 2 Detailed Slave Status Table 3 51 3 61 Detailed status of slave 3 51 Device data check function 1 11 Device name 3 5 Device type 4 11 Device variable for CJ series Unit 3 2 3 4 3 9 DIP switch 2 6 Disconnect Connect...

Page 347: ...ications Error 3 34 9 56 9 57 A 16 Remote I O Communications Error for OUT IN 3 39 A 17 Remote I O Communications Flag A 28 Remote I O Communications for OUT IN 3 44 A 17 Remote I O Communications Start Switch A 4 Remote I O Communications Status 3 31 A 15 Remote I O Communications Stop Switch 4 31 A 4 Remote I O Data Communications Flag C200H Master Replacement Area 3 50 Remote I O Master Specifi...

Page 348: ... 2 6 13 T Temporary Setting Switch for Communications Cycle Time 3 16 A 4 U Unit Configuration 3 5 Unit Error 3 26 A 15 Unit Memory Error 3 27 9 42 A 15 Unit Memory Error C200H Master Replacement Area 3 48 A 28 Unit No Switch 2 5 6 13 Unit number duplication 9 20 Unit Restart 3 2 Unit Setup File Backup Switch 3 22 A 5 Unit Setup File Restore Switch 3 22 A 5 Unit Status 1 3 25 A 14 Unit Status 2 3 ...

Page 349: ......

Page 350: ... S A Tel 1 847 843 7900 Fax 1 847 843 7787 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 Contact www ia omron com Tokyo JAPAN OMRON ASIA PACIFIC PTE LTD No 438A Alexandra Road 05 05 08 Lobby 2 Alexandra Technopark Singapore 119967 Tel 65 6835 3011 Fax 65 6835 2711 OMRON CHINA CO LTD Room 2211 Bank of China Tower 200 Yi...

Reviews: