Revised July
Page
Moderate injury, or property damage
Word and is abbreviated Wd in documentation in this sense
Thing else
To the user
Trademarks and Copyrights
Omron
Table of Contents
Remote I/O Slave Communications 121
Manual Products Contents Cat. No
About this Manual
WS02-CXPC1-EV
Precautions
Safety Precautions
General Precautions
Intended Audience
Operating Environment Precautions
Operating Environment Precautions
Application Precautions
Application Precautions
Conformance to EC Directives
Applicable Directives
Concepts
Conformance to EC Directives
Xvii
Section
Overview of DeviceNet
Section
Master Features DeviceNet Master Units and DeviceNet Units
Overall System Configuration
VME Master Boards
Configurator Features
Slave Features Terminals
Environment-resistant Terminals
Remote Adapters
Temperature Input Terminals
C200H I/O Link Units
RS-232C Units
Multiple I/O TERMINALs
Master Model Without Configurator With Configurator
Applicable Units and DeviceNet Functions
Remote I/O Master
C200HX/HG/HE
Remote I/O Slave only Units Mounted in a PC
C200HX/HG/HE CQM1H CQM1-DRT21
CS1W-DRM21 CIO, WR, DM, EM, HR
CIO, DM, EM, AR, LR, T/C
Message Communications
Communications Instructions
Master Unit model Send Receive
Master model Model Capacity
Masters
Communications Software Switches and Communications Status
Types of Slave
Name Appearance Points Model number Remarks
DRT1-HD16S
DRT1-ND16S
DRT1-TS04T
DRT1-TS04P
DRT1-ID04CL
DRT1-ID04CL-1
DRT1-ID08CL
DRT1-ID08CL-1
Multiple I/O Terminal Units
Tion Number Supply Input Output Voltage
GT1-AD08MX
GT1-DA04MX
GT1-TS04T
GT1-TS04P
DeviceNet Unit Features
DeviceNet Configurator
Without the Configurator
Explicit Message Communications
Fins Message Communications
User-set allocations
Tions. The maximum I/O for the slave function is 100 words
Configurator Connection
Through a Serial Line
CX-Programmer
Programming
Monitoring of DeviceNet
Slave PCs Ver .1 or Later
Refer to 4-1 Master Remote I/O Communications for details
Various Connection
Methods
Maximum Network Length
500 m
Specifications
General Specifications
Functional and Performance Specifications
DeviceNet Unit
Specifications
Figurator
OUT
Section
Remote I/O Allocation method Fixed allo
CVM1/CV
Cations parameter settings, etc
Comparison between CS1W-DRM21 and CJ1W-DRM21
CS1W-DRM21
CS/CJ-series PC
Comparison with Previous Models
C200HW-DRM21-V1
Comparison with Previous Models
Using the Configurator 300 words total for
Eeprom
Model Contents Personal Computer
Outline of the Configurator
Models
Configurator Specifications
With no allocation area duplication
Network Installation Procedure
Basic Operating Procedures
Hardware Preparations for Communications
Creating Routing Tables
Sysmac Link Unit, Controller Link Unit, and Ethernet Unit
Tions to be used, as shown in the table below
Communications
Procedures Prior to Starting Communications
Using the Master Function
User-set Allocations Using Allocated DM Area Words
Fixed Allocations
Using Slave Function
User-set Allocations Using the Configurator
Section
Section
List of Usage Methods by Purpose
Situation Action
List of Usage Methods by Purpose
Nomenclature and Installation
Nomenclature and Functions
Indicators
Nomenclature and Functions
Indi Color Status Meaning likely errors
Status Indicators MS and NS
OFF
Seven-Segment Display
Seven-segment Digits
Following table shows the functions of the 7-segment digits
Status Display
Switch Settings
Dot Indicators
Following table shows the functions of the dot indicators
Unit No. Switch
DIP Switch
Baud Rate
Installing the DeviceNet Unit
System Configuration Precautions
Connectors
Continue/Stop Remote I/O Communications
CS-series, up to 16 Units can be mounted to the CS1W-BC
Mounting
CS-series
Carefully align the connectors to mount the DeviceNet Unit
Handling Precautions
CJ-series
Remove the label after wiring
External Dimensions
Allocated CIO and DM Words
Overview of Word Allocations
Allocated DM Area Words
Allocated CIO Area Words
Unit number Allocated words
Software Switches 1 Word n
Allocated CIO Area Words
Mas Scan Unit Ter List Oper Func Sta Ating Tion Tus Mode
Unit status area 2 word n+11 Master Status 1 word n+12
Word n n = CIO 1,500 + 25 x unit number
OFF→
Mas
List Oper Func Sta Ating Tion Tus
A C2 error will be displayed on
Mode Alloca Tions
Slave Unit Func Oper Tion Ating Mode Reserved By system
Software Switches 2 Word n+1
Word n+1 n = CIO 1,500 + 25 x unit number
Slave Unit Func Oper Tion Ating Mode
User Allocates the following words to the slave Pro
List Func Oper Sta Tion Ating Tus Mode
Scan Slave Unit
Master COS Send Switches Words n+2 to n+5
Disconnect/Connect Switches Words n+6 to n+9
Bit Name Status Controlled Unit operation
Unit Status 1 Word n+10
Word n+10 n = CIO 1,500 + 25 x unit number
Unit Status 2 Word n+11
Word n+11 n = CIO 1,500 + 25 x unit number
Itored from I/O Data Communications Flag word n+12 bit
Master Status 1 Word n+12
Word n+12 n = CIO 1,500 + 25 x unit number
Master I/O Allocation Status
Master Status 2 Word n+13
Code Details
Slave Status 1 Word n+14
Word n+14 n = CIO 1,500 + 25 x unit number
Tions Flag for Ter OUT 2/IN
List Enabled
Slave Status 2 Word n+15
Registered Slave Table Words n+16 to n+19
Master Node Addresses
13 C200H Master Replacement Master Status 1 Word n+24
Normal Slave Table Words n+20 to n+23
Word n+24 n = CIO 1,500 + 25 x unit number
ON/OFF
Unit Structure
Communications Cycle Time Setup Table
Allocated DM Area Words
Master User Allocations Setup Table
Areas and Word Ranges
Enabled before you set these values
Code Name Word range
Setting Results
Allocation Size Setup Table
Code Description Details
Slave User Allocations Setup Table
Setting Example
Word
Master User-set Allocations Reference Table
Communications Cycle Time Reference Table
Ranges
Slave User-set Allocations Reference Table
Figuration Slave with the scan list disabled Error Flags
Slave Detailed Status
COS
Remote I/O Master Communications
Allocations
Master Remote I/O Communications
Master Communications
Using the Master User
Fixed Allocations
User-set Allocations
Allocations Table
Section
Remote I/O Master Specifications
Slave alloca Fixed allo
Numbers of Master Units when DeviceNet Units are used
Precautions on the Number of Master Units
Pattern One Master Unit Multiple Master Units connected
User-set Remote I/O Allocations Using DM Area Settings
Procedure for Using Remote I/O Master
Fixed Allocations for Remote I/O
User-set Remote I/O Allocations Using the Configurator
Scan List Contents
Scan List
Scan List Enabled and Scan List Disabled
Through the allocated DM Through the Configurator
Creating the Scan List
Shown below
Use a Software Switch to select the allocation area
Fixed Allocations
Allocated Words
Backing Up the Scan List
Procedure
Place the CPU Unit in Program mode Turn on
Master Enable Switch
Select Fixed
Fixed Allocations Area
104
Fixed Allocations Example
Changing System Components
Node address Outputs Inputs Product
Resulting Slave Allocation
Enable Switch
Turn on the Scan List
User-set Allocations
User-set Allocations Methods
108
Procedure Turn on the Master Enable Switch
Setting the Master User Allocations Table
First word for the Allocation Size Setup Table
Setting the Allocation Size Setup Table
Turn on the Slave User Allocations Switch
Changing System Components
Multiple masters cannot share the same slave
Master User Allocations Table
Turning on the Master User Allocations Switch
Allocation Size Setup Table
Resulting Slave Allocations
113
Procedure Step
Same node address cannot be allocated more than once
Example of User-set Allocations Using the Configurator
Starting and Stopping Remote I/O Communications
Example of Ladder Programming for Remote I/O Communications
Starting Remote I/O Communications
Stopping Remote I/O Communications
Example of Ladder Programming for Remote I/O Communications
Following errors may occur during remote I/O communications
Errors that May Occur in Remote I/O Communications
Condition Error Details Results Indicators Segment Display
Condition Error Details Results Indicators
Remote I/O Slave Communications
Allocation Methods
Slave Remote I/O Communications
Slave Communications
Remote I/O and Slave Communications Specifications
Procedures for Using Remote I/O Slave Communications
124
Stop Slave
Select a Fixed
Allocation Area
Turn on the Slave
Fixed Allocation Area
Connection Types
Stop Slave Communications
Set the Slave User Allocations Table
Slave User Allocations Table
Turn on the Slave Enable Switch
Turn on the Slave User Allocations Switch word n+1, bit
Areas and Word Ranges for the OUT 1/IN 1 Areas
Slave areas
Configuration
Setting through
Block
Connection Types and Allocated I/O Areas
Specified connection OUT 1 area 2 area Type
Message Communications
Overview
Outline of Message Communications
OverviewSection
Fins messages Explicit messages
Type of Fins message Data send/receive Fins commands
Fins Message Communications
Overall Structure
Nodes masters and/or slaves that support Fins messages
Any Fins Command
Unit Series
DeviceNet Instructions
Master Unit To send
Sending Fins Message Communications
Explicit Message Communications
Receiving Fins Message Communications
Message Communications Specifications
Sages
Message Communications Error Indications
Message Monitoring Timer
Message Communications Errors
Indicators
Fins Commands and Responses
Fins Communications
Sending/Receiving Fins Command/Responses
Command Codes
Are required follow the command code
Response Codes
Fins Command Lists
Commands Addressed to CS/CJ-series CPU Units
Function Name Command Code
Units Supporting Fins Communications
Function Name Command
Error Clear Error LOG Read Error LOG Clear
Forced SET/RESET Forced SET/RESET Cancel
Clock Read Clock Write
Using Fins Message Communications
Setting Node Addresses
Commands Addressed to DeviceNet Units
Command to Send Explicit DeviceNet Messages
Routing Tables
Relay network table, as described below
Local Network Tables
Example
Procedure for Creating the Routing Table
Table is created
Relay Network Tables
Lowed on the way to the final network
Data Send/Receive Instructions
Description
Control Data
DeviceNet networks
Unit Setting
Indicates a Unit as shown in the following table
Operating mode, and perform other functions at other nodes
Sending Fins Commands
Response beginning at word D
Using SEND090, RECV098, and CMND490
Communications Flags
Type Name Address Content Word Bit
Communications Flag Operation
Following table
Communications Instructions Completion Codes
Timing of Reading Responses
Send/Receive Data Areas
Example 1 Sending Data Using Send
Command Details
Programming Examples
Operation
Program Example
Bset
Example 2 Sending a Fins Command Using Cmnd
Connecting Networks for Fins Communications
Example Program
Sending Explicit Messages
Sending Explicit Messages
Fins Command Explicit Message Send 28
Command Block Response Block
Error Responses
Normal Response
Sending Explicit Messages Using CMND490
162
Following command is used Cmnd S D C
Example Sending Explicit Messages Using CMND490
Vendor code is read from a Slave Omron vendor code 002F Hex
Response
Receiving Explicit Messages
List of PLC Object Services
PLC Objects provide the following services
Status Read/Write for CPU Units
ITOR, RUN
Service Class ID Instance ID Request Contents Code Data
Memory Read/Write for CPU Units
CPU Information Read Service Code 0E Hex
Command Block
Attribute ID Hex Contents Attribute value size
Hexadecimal
CPU Unit Write Service Code 10 Hex
Error code Data cleared Hex
Fffe
171
Class ID command Always 002F Hex
CPU Unit Status Read Service Code 40 Hex
Operation Status
173
Byte Data Read Service Code 1C Hex
Areas for the PC you are using
Hexadecimal as shown in the following table
To read the data is specified in hexadecimal as shown below
Data will be read to the high word
Specified in hexadecimal as shown in the following table
Word Data Read Service Code 1D Hex
Data from is specified in hexadecimal as shown below
You are using
Byte Data Write Service Code 1E Hex
Mal
Data areas for the PC you are using
Word Data Write Service Code 1F Hex
Instance ID Hex CPU Unit memory area Word range For write
Data is written is specified in hexadecimal as shown below
Other Functions
Connecting to the CX-Programmer via the DeviceNet
Setting the Message Monitoring Timer of the DeviceNet Unit
Use the Configurator to set the message monitoring timer
Setting the Message
Monitoring Timer
184
Response when Using the CX-Programmer via the DeviceNet
Memory Card Backup Functions
Restoring Unit Setup Files
Backing Up Unit Setup Files
Outline of Functions
Saving Files from Configurator to Memory Card
File Names
Communications Timing
Communications Cycle Time and Refresh Time
Remote I/O Communications Characteristics
Communications Cycle Time
Communications Time/Slave
2 I/O Response Time
Refresh Time
Maximum I/O Response Time
Slaves with More Than 8 Bytes of Input or Out put
Communications Cycle
Time PC Cycle Time
More than One Master in Network
Minimum I/O Response Time
Case Slave’s indicator status
System Startup Time
Master Function
Tions start up
Message Communications
Message Communications Time
Slave Function
Message Communications Only No Remote I/O Communications
Calculating the Maximum Message Response Time
Request from One Client Byte Data Read
198
Troubleshooting and Maintenance
Determining Operating Status from the Indicators
Troubleshooting with the DeviceNet Unit Indicators
Indicator status Network/Unit status Comments Segment
Troubleshooting Errors Occurring in the DeviceNet Unit
Error cate Indicators Gory Log Segment Hex
Master Errors
Set the slaves’ node addresses again
Segment MS indicator NS indicator Error log Hex
Use slaves with input and output areas of 200 bytes max
Inspect the slave and then create the scan list again
205
Check the following
CPU Unit Status Error
Software Switch Setting Errors
Unit Status Error
Network Errors
Incorrect Setting
Multiple Switches on
Network Power Error
Transmission Timeout Error
Node Address Duplication Error
Master’s node address is also set on another node
0342
Memory Access Errors
Message Monitoring Timer List Logic Error Likely Cause
Bus Off Detected
Bus Off condition was detected
211
Reset the master scan list
Memory Access Error
CPU Unit Faulty H2
CPU Unit Exchange Errors
Unit Number duplication
CPU Unit Faulty H6
CPU Unit Memory Faulty
CPU Unit Faulty Hb
Table Not Registered
There is an error in the contents of the routing table
Routing Table Logic Error
Refresh Error
An error occurred in the CPU Unit
Likely Cause CPU Unit Watchdog Timer Error
Inspect the CPU Unit’s operating environment
Slave Errors
CPU Unit Fatal Error Output OFF Error
Replace the CPU Unit
Output OFF Bit A50015 was turned on in the CPU Unit
Error Log Functions
Error Log Table
Unit Errors
Special Unit Error
Error Codes and Detail Codes
Monitored and the data cannot be saved
Time Information
Unit, the time stamp will contain all zeroes
220
221
Troubleshooting
CPU Unit’s ERR/ALM Indicator Lit or Flashing
Remote I/O Communications Disabled
Error Probable cause
3 I/O Link Problems
Use the following table to troubleshoot I/O Link problems
Tinuing/stopping communications for errors
Communications Error Operation Settings
Use the following table to troubleshoot scan list problems
Cleaning
Maintenance and Replacement
Inspection
Replacing Faulty Units
Creating a New Network File
Software Switches
Unit No. Set on rotary switches on front panel 0 to
Allocation Differences from C200H DeviceNet Master Units
Word address Bit
Status Areas
Master Status Area
DeviceNet Unit DRM21 status
C200HX Unit Unit Mas
Appendix a
C200HX Unit Unit Mas Word Series
Communications Cycle Time Present Value
Registered Slave Table
CS1W
CJ1W
Replacing Ladder Programs from C200HW-DRM21-V1
Normal Slave Table
Bit CS/CJ Series
CS/CJ Series C200HS
Message Communications in Ladder Programs
Replace the addresses as shown in the following table
Area type C200HW-DRM21-V1 This Unit CS1W Remarks
Instructions C200HW-DRM21-V1 This Unit CS1W Remarks
Connection Characteristics
DeviceNet Connections
Connections Using Allocations
Setting Connection Type
User-set allocations Using Configurator
Allocation method Contents
Connection path settings cannot be made
Fixed Allocation or User-set Allocations Using DM
Connection Path
Master COS Send Switch
239
Reset
Resets restarts the DeviceNet Unit
Resets the DeviceNet Unit
There are no responses for this command
Space
Baud rate
Reads the internal status of the DeviceNet Unit
Test Data Command, Response
Echoback Test
Read Error History
Reads the error history saved in the DeviceNet Unit
Error History Clear
Appendix C
Appendix D
Restoring Unit Setup Files
Backing Up Unit Setup Files
Outline of Functions
Saving Files from Configurator to Memory Card
File Names
Connecting an Omron Slave to another Company’s Configurator
Connecting another Company’s Slaves to an Omron Master
Multi-vendor Applications
ID content Get read Set write Value
Master Unit Device Profile
Object Mounting
Identity Object 01 Hex
Appendix E
DeviceNet Object 03 Hex
Connection Object 05 Hex
MAC ID
ID content Get Set Value Read Write
Section Information Max. No. of instances
Number of output bytes used by Slave
256
ACK
Communications type Instance type
PC Object 2F Hex
Format Transport class trigger
DeviceNet service Parameter option
TIM/CNT
PC area Refresh area type Refresh address
Command Command code
When the explicit message execution failed or timed out
Explicit Message Send
Appendix F
Index
Index
265
266
Revision History
Cat. No. W380-E1-2