Omron DRM21 - W380E107
Omron DRM21 - W380E107
Omron DRM21 - W380E107
(Up to 3 Master Units can be
used.)
User-
set
alloca-
tions
By DM
Area
words
(See note.)
By
Config-
urator
(See note.)
Precautions Same as previous net-
works.
The communications cycle time
is longer.
Note The communications cycle
time for the network in the
figure above is TA+TB if
sections 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 (communications
stopped by multiple transmis-
sions) may occur if multiple
Master Units with disabled scan
lists are present on a single net-
work.
The cycle time of the PLC is
longer.
Make sure that each word allo-
cated in the system is allocated
to only one Master Unit.
Yes
A B
101
Master Remote I/O Communications Section 4-1
4-1-4 Procedure for Using Remote I/O Master
Fixed Allocations for Remote I/O
1,2,3... 1. Turn ON the communications, slave, and PLC power supplies.
Note Turn ON the communications power supply prior to turning ON the
slave power supply or the slaves may not go online.
2. Switch the CPU Unit to PROGRAM mode.
3. Turn ON the Master Enable Switch (word n, bit 06). (The master will remain
enabled even if the power is turned OFF and back ON again.)
Note Execute this only when master communications are turned OFF. (If
the Master Enable Switch is turned ON when master communica-
tions are enabled, a Unit error will occur and a C2 error will be dis-
played on the 7-segment display on the front panel.)
4. Perform the following steps to start with the scan list disabled.
Skip to step 5. to re-register and enable the scan list.
Skip to step 6. to start with the scan list enabled without any changes to
the fixed allocations or scan list.
Note The mode can be confirmed from the dots on the 7-segment display
on the Master Unit.
Left dot not lit: Scan list enabled
Left dot flashing: Scan list disabled
a) Turn ON a Master Fixed Allocation Setting Switch (word n, bits 08 to
10).
b) Monitor and check the registered slave data area to see if communica-
tions are possible with registered slaves.
c) Turn ON the Scan List Enable Switch (word n bit 00) from a Program-
ming Device.
d) Go to step 6.
5. Perform the following steps to re-register the scan list when starting with
the scan list enabled.
a) Turn ON the Scan List Clear Switch (word n, bit 01) from a Program-
ming Device.
b) Turn ON a Master Fixed Allocation Setting Switch (word n, bits 08 to
10).
c) Monitor and check the registered slave data area to see if communica-
tions are possible with registered slaves.
d) Turn ON the Scan List Enable Switch (word n, bit 00) from a Program-
ming Device.
6. Start master remote I/O communications with the scan list enabled. Use
the software switches to start or stop communications.
7. Check to see if both the MS and NS indicators are lit green on the master
and all slaves.
8. Switch the CPU Unit to RUN mode.
User-set Remote I/O Allocations Using DM Area Settings
1,2,3... 1. Turn ON the communications, slave, and PLC power supplies.
Note Turn ON the communications power supply prior to turning ON the
slave power supply or the slaves may not go online.
2. Switch the CPU Unit to PROGRAM mode.
102
Master Remote I/O Communications Section 4-1
3. Turn ON the Master Enable Switch (word n bit 06). (The master will remain
enabled even if the power is turned OFF and back ON again.)
Note Execute this only when master communications are turned OFF. (If
the Master Enable Switch is turned ON when master communica-
tions are enabled, a Unit error will occur and a C2 error will be dis-
played on the 7-segment display on the front panel.)
4. Set data in the Master User Allocation Setup Table (words m+1 to m+6)
and the Allocation Size Setup Table in the DM Area words allocated to the
Unit from the PLC Programming Device.
5. Turn ON the Master User-set Allocations Switch (word n, bit 11).
6. Start master remote I/O communications with the scan list enabled. Use
the software switches to start or stop communications.
7. Check to see if both the MS and NS indicators are lit green on the master
and all slaves.
Note The mode can be confirmed from the dots on the 7-segment display
on the Master Unit.
Left dot not lit: Scan list enabled
Left dot flashing: Scan list disabled
8. Switch the CPU Unit to RUN mode.
User-set Remote I/O Allocations Using the Configurator
1,2,3... 1. Connect the Configurator to the network through a serial line or dedicated
Board/Card.
2. Turn ON the communications, slave, and PLC power supplies.
Note Turn ON the communications power supply prior to turning ON the
slave power supply or the slaves may not go online.
3. Switch the CPU Unit to PROGRAM mode.
4. Perform the following steps to allocate areas, create scan lists, and down-
load the settings to the nodes.
a) Create a network configuration offline on the Configurator.
b) Enable master communications in the CS1W-DRM21(-V1) properties.
c) Create master device parameters.
d) Save the data as a network component file.
Note If desired, you can also go directly online and download the network
component file to the network devices without saving the file.
e) Read the network component file, go online, and download the file to
the network devices.
5. Start master remote I/O communications with the scan list enabled. Use
the software switches to start or stop communications.
6. Check to see if both the MS and NS indicators are lit green on the Master
Unit and all Slave Units.
Note The mode can be confirmed from the dots on the 7-segment display
on the Master Unit.
Left dot not lit: Scan list enabled
Left dot flashing: Scan list disabled
7. Read the network components using the Configurator.
8. Save the components as a network component file using the Configurator.
9. Switch the CPU Unit to RUN mode.
Note 1. Remote I/O communications with a specified slave can be stopped to ef-
fectively disconnect the slave from the network by turning ON the Discon-
103
Scan List Section 4-2
nect/Connect Switch for that slave (words n+6 to n+9). This can be done
when a slave is replaced or to register a slave in the scan list in prepara-
tions to connect it to the network at a later time. The Disconnect/Connect
Switches, however, are cleared when the power supply is turned OFF, so
the bit must be turned back ON from the ladder program after the power
turns ON in order for it to remain effective.
2. Use Configurator Ver. 2.10 or higher for the CJ1W-DRM21.
4-2 Scan List
A scan list is used to register the slaves with which the Master Unit communi-
cates in DeviceNet remote I/O communications. It is the basis on which the
Master Unit communicates with slaves.
The Master Unit does not contain a scan list by default. The CS/CJ-series
DeviceNet Unit, however, has a default setting that allows it to communicate
with all slaves even with the scan list disabled, but this operating mode should
not be used for normal operation. Always create a scan list prior to operating
the Unit.
Scan List Contents The contents of the scan list is listed in the following table. When a Master
Unit goes online, it compares each of these items with the slaves that are
actually connected to the network. The items that are compared, however, will
depend on the allocation method that is used.
Item Description Fixed allocations User-set allocations
using allocated DM
Area words
User-set allocations
from the
Configurator
Node address Node address for
every Slave
Compared Compared
Allocated IN/OUT
sizes and allocation
Settings of the num-
ber of bytes allocated
to every slave in a data
area of the Master Unit
Compared Compared
Vendor Unique manufacturer
ID
Not compared Set from Configurator
Device type Unique product type
value
Not compared Set from Configurator
Product code Unique product model
value
Not compared Set from Configurator
Connection type Applicable DeviceNet
protocol
(See Appendix B
DeviceNet Connec-
tions for details.)
Automatically set Automatically set or
set from Configurator
Connection path Type of slave I/O data
(See Appendix B
DeviceNet Connec-
tions for details.)
Cannot be set Set from Configurator
104
Scan List Section 4-2
Creating the Scan List The way that a scan list is prepared varies with the allocation method as
shown below.
Note 1. Be sure to create a scan list before starting actual system operation.
2. It is still possible to communicate with Units (with the scan list disabled) if
a scan list is not created when fixed allocations areas 1 to 3 are used. This
may result in faulty operation because the Master Unit will communicate
with slaves even if they do not start up due to problems, such as equipment
failure if there is no a scan list.
Scan List Enabled and Scan List Disabled
The scan list must be made. The scan list modes are described here.
Scan List Enabled (Used
for Actual Operation)
Remote I/O communications are performed according to the registered scan
list and only with slaves that are on the list. A verification error occurs (word
n+12, bit 00 in the status area turns ON) if a slave registered on the scan list is
not present on the network, if a slave did not start up when remote I/O com-
munications started, or if the number of I/O points did not match the number
registered.
Scan List Disabled (Used
when Changing System
Components)
Remote I/O communications can be performed with fixed allocations instead
of a scan list in order to change a system component. Do not operate without
a scan list during actual system operation. Use this mode only to replace a
Master Unit or to change a system component (change a connected slave or
a node address).
Note a) To disable the scan list, turn ON the Scan List Clear Switch (word
n, bit 01) during remote I/O communications with the scan list en-
abled (with fixed allocations, user-set allocations using allocated
DM Area words, or user-set allocations using the Configurator). In
all these cases, remote I/O communications are executed using
the fixed allocations area that was last used when the list was dis-
abled. All slaves are targeted for remote I/O communications with
the scan list disabled.
b) Slaves that are connected to the network while communications
are in progress are also targeted for communications. Errors can-
not be confirmed, however, even if there are slaves present that
did start up due to problems such as equipment failure because
there is no scan list available to check communications against.
The communications cycle time will also be significantly longer
than the calculated value.
c) The scan list is automatically enabled when user-set allocations
are set using the allocated DM Area words or the Configurator. If
the list is subsequently cleared using a software switch, fixed allo-
cations (1 to 3) will be used for remote I/O communications when
the scan list is disabled. Make sure the system has stopped before
Fixed allocations User-set allocations
through the allocated DM
Area words area
User-set allocations
through the Configurator
With the CPU Unit in PRO-
GRAM mode:
1. Turn ON the one of the
Master Fixed Allocation
Setting 1 Switches (1 to
3).
2. Turn ON the Scan List
Enable Switch.
With the CPU Unit in PRO-
GRAM mode, turn ON the
Master User Allocations
Setup Switch.
Create a list from the Con-
figurator. (Acquire a list of
online devices, use it to
create a scan list, and then
register the scan list in the
Master Unit.)
105
Fixed Allocations Section 4-3
you disable the scan list with a Master Unit that is set for user-set
allocations. Particularly when multiple Master Units are connected
to a single network, communications will not be performed suc-
cessfully if even one Master Unit on the network is operating with
the scan list disabled. Once the list is disabled, the user-set allo-
cations data registered in the Master Unit is lost.
Backing Up the Scan List
A scan list must be created to switch the DeviceNet Unit to operation with the
scan list disabled or to replace a DeviceNet Unit. It is important to back up the
list using one of the following methods:
Fixed Allocations or User-
set Allocations in
Allocated DM Area Words
Save the scan list as a backup file on Memory Card by turning ON the Setup
File Backup Switch (word n+1, bit 15) in the words allocated in the CIO Area.
User-set Allocations from
the Configurator
Save the scan list as a backup file on Memory Card or save it either as a net-
work component file and master parameter file using the Configurator. In the
preceding cases, turn ON the Setup File Restore Switch (word n+1, bit 14) in
the words allocated in the CIO Area to input setup data, such as the scan list
backed up on Memory Card, into a DeviceNet Unit.
4-3 Fixed Allocations
4-3-1 Allocated Words
Words in the CS/CJ-series DeviceNet CIO Area in the CPU Unit are allocated.
An area of words can be selected from one of three fixed allocation areas.
Use a Software Switch to select the allocation area.
Each area is comprised of an OUT area that is used to write output data to
slaves and an IN area that is used for input from slaves in remote I/O commu-
nications.
A maximum of 3 DeviceNet Units can be included as masters in a single PLC
because the three allocation areas above are set individually for fixed alloca-
tions. The default setting is fixed allocations area 1.
Each OUT/IN area is allocated to a slave according to its node address as
shown below. Allocated words are determined by the node address in fixed
allocations as shown.
Area OUT area (word) IN area (word) Selection method
Fixed allocation area 1 CIO 3200 to CIO 3263 CIO 3300 to CIO 3363 Turn ON the Master Fixed Allocation Setting
1 Switch (word n, bit 08).
Fixed allocation area 2 CIO 3400 to CIO 3463 CIO 3500 to CIO 3563 Turn ON the Master Fixed Allocation Setting
2 Switch (word n, bit 09).
Fixed allocation area 3 CIO 3600 to CIO 3663 CIO 3700 to CIO 3763 Turn ON the Master Fixed Allocation Setting
3 Switch (word n, bit 10).
Area 3 Area 2 Area 1
OUT area
Node
address
IN area
Area 1 Area 2 Area 3
CIO 3600 CIO 3400 CIO 3200 CIO 3300 CIO 3500 CIO 3700
CIO 3601 CIO 3401 CIO 3201 CIO 3301 CIO 3501 CIO 3701
CIO 3602 CIO 3402 CIO 3202 CIO 3302 CIO 3502 CIO 3702
CIO 3661 CIO 3461 CIO 3261 CIO 3361 CIO 3561 CIO 3761
CIO 3662 CIO 3462 CIO 3262 CIO 3362 CIO 3562 CIO 3762
CIO 3663 CIO 3463 CIO 3263 CIO 3363 CIO 3563 CIO 3763
106
Fixed Allocations Section 4-3
Note More than one Master Unit can be included in a single PLC with fixed alloca-
tions, as shown below (3 Units max.).
4-3-2 Procedure
Step 1: Place the CPU Unit in PROGRAM mode.
Step 2: Turn ON the
Master Enable Switch
If the master communications have been disabled (if Master Function Enable
Flag (word n+11, bit 03) is OFF), turn ON the Master Enable Switch (word n,
bit 06) to enable master communications. Once Master communications have
been enabled by turning this switch ON, it will not change even if the power is
turned OFF and back ON again.
Note If the master communications are enabled (if Master Function Enable
Flag (word n+11, bit 03) is ON), skip this step and go onto the next
step. (If the Master Enable Switch is turned ON when master com-
munications are enabled, a Unit error will occur and a C2 error will be
displayed on the 7-segment display on the front panel.)
Step 3: Turn ON the Scan
List Clear Switch
If the Unit is in the Scan List Enable mode (if Scan List Disabled Flag (word
n+11, bit 04) is OFF), turn ON the Scan List Clear Switch (word n, bit 01) to
change to the Scan List Disable mode.
Note If the Unit is already in the Scan List Disable mode (if the Scan List
Disabled Flag (word n+11, bit 04) is ON), skip this step and go onto
the next step. (If the Scan List Clear Switch is turned ON when the
Unit is in the Scan List Disable mode, a Unit error will occur and a C2
error will be displayed on the 7-segment display on the front panel.)
Step 4: Select Fixed
Allocations Area 1 to 3
Turn ON the Master Fixed Allocation Setting 1 to 3 Switch (word n, bits 08 to
10) in the Software Switches in the words allocated in the CIO Area to select
the fixed allocations area from1 to 3. One word will be allocated per node
address in order of node addresses for the output (OUT) block and one word
for the input (IN) block in the CS/CJ-series DeviceNet CIO Area.
First word n = CIO 1500 + (25 x unit number)
Step 5: Turn ON the Scan
List Enable Switch
Remote I/O communications will start with the scan list disabled after a fixed
allocations area has been selected. Check to see if communication is pro-
ceeding normally with each slave, and then turn ON the Scan List Enable
Switch (word n, bit 00) to communicate with the scan list enabled.
Master Unit
Master Unit
Slave
Slave
Software Switch
address
Software Switch name Fixed allocations
area number
Allocated
OUT area
Allocated
IN area
Word n, bit 08 Master Fixed Allocation
Setting 1 Switch
Fixed allocations area
1
CIO 3200 to
CIO 3263
CIO 3300 to
CIO 3363
Word n, bit 09 Master Fixed Allocation
Setting 2 Switch
Fixed allocations area
2
CIO 3400 to
CIO 3463
CIO 3500 to
CIO 3563
Word n, bit 10 Master Fixed Allocation
Setting 3 Switch
Fixed allocations area
3
CIO 3600 to
CIO 3663
CIO 3700 to
CIO 3763
107
Fixed Allocations Section 4-3
Fixed Allocations Area 1
OUT blocks are allocated to slaves from CIO 3200 to CIO 3263 and IN blocks
are allocated to slaves from CIO 3300 to CIO 3363.
Fixed Allocations Area 2
OUT blocks are allocated to slaves from CIO 3400 to CIO 3463 and IN blocks
are allocated to slaves from CIO 3500 to CIO 3563.
CS/CJ-series DeviceNet CIO Area
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
Bit
CIO 3200
to
CIO 3263
CIO 3300
to
CIO 3363
CIO 3200
CIO 3202
CIO 3201
CIO 3260
CIO 3262
CIO 3261
CIO 3263
CIO 3300
CIO 3302
CIO 3301
CIO 3360
CIO 3362
CIO 3361
CIO 3363
to
to
to
to
CS/CJ-series DeviceNet CIO Area
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 3400
to
CIO 3463
CIO 3500
to
CIO 3563
CIO 3400
CIO 3401
CIO 3402
CIO 3460
CIO 3461
CIO 3462
CIO 3463
CIO 3500
CIO 3501
CIO 3502
CIO 3560
CIO 3561
CIO 3562
CIO 3563
to
to
108
Fixed Allocations Section 4-3
Fixed Allocations Area 3
OUT blocks are allocated to slaves from CIO 3600 to CIO 3663 and IN blocks
are allocated to slaves from CIO 3700 to CIO 3763.
The Slave allocation order is fixed in the output (OUT) and IN blocks starting
from address 0. Each address is allocated at least one byte (rightmost).
More than one word is allocated for each slave (according to its node
address) with more than16 I/O points.
The rightmost byte of the word is allocated to each slave that has less
than 16 I/O points.
Note The table below shows how fixed allocations areas differ between the
C200HW-DM21-V1 DeviceNet Master Unit of the C200H-series, and the
CS1W-DRM21(-V1) DeviceNet Unit of the CS/CJ-series and CJ1W-DRM21
DeviceNet Unit of the CJ-series.
CS/CJ-series DeviceNet CIO Area
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 3600
to
CIO 3663
CIO 3700
to
CIO 3763
CIO 3600
CIO 3601
CIO 3602
CIO 3660
CIO 3661
CIO 3662
CIO 3663
CIO 3700
CIO 3701
CIO 3702
CIO 3760
CIO 3761
CIO 3762
CIO 3763
to
to
Item C200HW-DRM21-V1 CS1W-DRM21(-V1)
/CJ1W-DRM21
Fixed allocations
area
C200 DeviceNet CIO Area CS/CJ-series DeviceNet CIO
Area
Output
area
CIO 0050 to CIO 0099 CIO 3200 to CIO 3263
CIO 3400 to CIO 3463
CIO 3600 to CIO 3663
Input area CIO 0350 to CIO 0399 CIO 3300 to CIO 3363
CIO 3500 to CIO 3563
CIO 3700 to CIO 3763
109
Fixed Allocations Section 4-3
4-3-3 Changing System Components
The scan list must be cleared in the following situations:
Adding a slave
Removing a slave
Changing a node address
Turn OFF the Scan List Clear Switch (word n, bit 01) 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 oper-
ating properly after the scan list is cleared and the system component is
changed, and then turn ON the Scan List Enable Switch (word n, bit 00) again
to register all slaves currently online in the scan list. Remote I/O communica-
tions will continue during this time with the scan list enabled.
4-3-4 Fixed Allocations Example
This example shows the allocations that are used when Fixed Allocations 1
are used for the following slaves.
Resulting Slave Allocation
Node address Outputs Inputs Product
0 0 pts 8 pts 8-pt Transistor Input Terminal
(DRT1-ID08)
1 8 pts 0 pts 8-pt Transistor Output Terminal
(DRT1-OD08)
2 0 pts 16 pts 16-pt Transistor Input Terminal
(DRT1-ID16)
3 16 pts 0 pts 16-pt Transistor Output Termi-
nal (DRT1-OD16)
4 8 pts 8 pts 8-pt Input and 8-pt Output Envi-
ronment-resistant Terminal
(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 inputs
16 outputs
8 inputs, 8 outputs
16 inputs, 16 outputs
32 inputs
(Master)
32 outputs
Node
address
setting
00
01
02
03
04
05
06
07
08
Node
address
00
01
02
03
04
05
06
07
08
09
10
11
63
Output
0
8
0
16
8
16
0
32
None
None
Input
8
0
16
0
8
16
32
0
None
None
OUT block
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3263
15 0
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3363
Allocation
Allocated
Allocated
Allocated
Allocated
Allocated
Allocated
Allocation disabled
Allocation
disabled
Allocation disabled
Allocation disabled
Allocation enabled
Not used
Not used
Not used
IN block
15 0
Master Unit
See note 2.
See
note 1.
Allocation
disabled
Allocation
disabled
Allocated
Allocation disabled
Allocated
Allocation disabled
Allocation
disabled
Allocated
Allocated
Allocated
Allocated
Allocation enabled
Allocation enabled
Not used
Not used
Not used
CIO CIO
110
Fixed Allocations Section 4-3
Note 1. The Master Unit does not require any word allocation and so it can use any
available address.
2. Blocks for which allocation is enabled can be allocated to Slaves as long
as the blocks do not overlap.
Turn ON the Scan List
Enable Switch
Turn ON the Scan List Enable Switch (word n, bit 00, CIO 150000 in this
example). This will create a scan list based on data for slaves that are actually
online and will start remote I/O communications with the scan list enabled.
111
User-set Allocations Section 4-4
4-4 User-set Allocations
With a CS/CJ-series DeviceNet Unit, remote I/O communications slaves can
be allocated in any area (CIO, WR, HR, DM, or EM) using one of the following
methods.
Setting through the allocated DM Area words (Master User Allocations
Table)
Setting through the Configurator
User-set Allocations Methods
Note Functions will vary as shown below depending on whether allocations are set
through the allocated DM Area words (Master User Allocations Table) or
through the Configurator.
Words are always allocated to slaves in order of ascending node ad-
dresses when allocations are set with the allocated DM Area words.
The order can be determined by the user when the Configurator is
used. (However, even when using the allocated DM Area words, nodes
do not have to be allocated words, reducing the number of words re-
quired.)
Only two blocks (OUT 1 and IN 1) can be allocated when setting are
made with the allocated DM Area words area, but there are four blocks
(OUT 1/2 and IN 1/2) available with the Configurator.
Method Set through the allocated DM Area
words (Master User Allocations Table)
Set through the Configurator
Allocation areas CIO: 0000 to 6143
WR: W000 to W511
HR: HR000 to HR511
DM: D00000 to D32767
EM: E00000 to E32767 (Banks 0 to C)
No. of allocated blocks 2 blocks: OUT 1 and IN 1
OUT 1 and IN 1 can be created anywhere
in the above areas.
4 blocks: OUT 1, IN 1, OUT 2 and IN 2
OUT 1, IN 1, OUT 2, and IN 2 can be cre-
ated anywhere in the above areas.
Block allocation order Any order
Node address order Allocations must be in order of node
addresses (0 to 63 in ascending order)
Note 1. Not all nodes need to be allo-
cated, reducing the number of
words required.
2. Node addresses do not have
to correspond between blocks.
Any order
Note 1. Node addresses do not have
to correspond between blocks.
2. One node address cannot be
allocated to different blocks.
Start bit for allocations All allocations start from bit 00 (Cannot
start from bit 08. All allocations are in 1
word units.)
Allocations can start from bit 00 or bit 08.
Allocations starting from bit 08 are in
1-byte units only.
Allocation size Per block 500 words max.
Total size 1,000 words max. for a total of 2 blocks 2,000 words max. for a total of 4 blocks
Slave allocation
limits
Slaves with
more than 8
points
The leftmost byte (bits 07 to 15) cannot be used.
Slaves with 8
points
Allocated to the leftmost or rightmost bytes (not allocated a word)
Slaves with 16
points
Allocated one word
Slaves with
more than 16
points
Allocated multiple words (with an odd number of bytes, only the rightmost byte is allo-
cated in the last word)
112
User-set Allocations Section 4-4
The first bit for node allocations is always bit 00 when setting alloca-
tions with the allocated DM Area words, but can be either bit 00 or bit
08 with the Configurator. (Allocations for slaves with two bytes or more
cannot start at bit 08.
Setting through the Allocated DM Area Words (Master User Allocations Table)
All slaves are allocated words in order of node addresses in two blocks: OUT
block 1 and IN block 1.
The block allocation order and block allocation areas can be set. Node
addresses in each block are allocated words in ascending order from 0 to 63.
Node addresses that are not allocated are skipped (not allocated words).
Each address is allocated at least one byte (rightmost byte, 1 word, or multiple
words).
More than one word is allocated for each slave (according to its node
address) with more than16 I/O points.
The rightmost byte of the word is allocated to each slave that has less
than 16 I/O points.
Note Multiple Master Units can be included in a single PLC as shown be-
low using user-set allocations (16 Units max.).
Area specified in I/O memory
Bit
First word specified
Bit
First word specified
OUT block 1
IN block 1
OUT areas
Bit
First word
specified
Address 0
Node addresses
in ascending order
Addresses are in ascending order.
Not all nodes need to be allocated
and addresses for nodes with no
allocations are skipped.
IN areas
Bit
First word specified
Address 0
Node addresses
in ascending order
Output to Slaves
Input from Slaves
to
to
to to
to to
Addresses are in ascending order.
Not all nodes need to be allocated
and addresses for nodes with no
allocations are skipped.
Master Unit
Master Unit
Slave
Slave
113
User-set Allocations Section 4-4
Procedure Step 1: Turn ON the Master Enable Switch
Make sure that master communications have disabled by checking to see if
Master Enable Function Flag (word n+11, bit 03) is OFF and then turn ON the
Master Enable Switch (word n+14, bit 06) to enable master communications.
Once master communications have been enabled by turning this switch ON,
they will remain enabled even if the power is turned OFF and back ON again.
Note Do not turn ON the Master Enable Switch unless master communi-
cations are stopped. (If the Master Enable Switch is turned ON when
master communications are enabled, a Unit error will occur and a C5
error will be displayed on the 7-segment display on the front panel.)
Step 2: Setting the Master User Allocations Table
This table specifies the area and first word for each block and the area and
first word for the Allocation Size Setup Table.
Master User Allocations Table
Areas and Word Ranges for OUT Block 1, IN Block 1, and the Alloca-
tion Size Setup Table
Step 3: Setting the Allocation Size Setup Table
Specify the area and first word in this table at words m+5 and m+6. IN and
OUT sizes for all nodes are set here as shown in the table below. The setting
range for each node is 0 to 200 bytes (0 to 100 words), although actual size
depends on the allocated slaves. The maximum size per block is 500 words. If
the size set here is larger than 1 byte, the start bit for all slaves is bit 00 and
size is allocated in ascending node address order starting from the beginning
of the OUT 1 and IN 1 areas in word units. If the size is set at 0 bytes for a
node address, it is skipped the words are allocated to the next address.
Allocation Size Setup Table
First word m = D30,000+(100 x unit no.)
Bit
OUT block 1 area
First word of OUT block 1
IN block 1 area
First word of IN block 1
Area for Allocation
Size Setup Table
First word of Allocation Size Setup Table
Can be set anywhere past here.
Can be set anywhere past here.
15 08 07 00
m+1 wd
m+2 wd
m+3 wd
m+4 wd
m+5 wd
m+6 wd
0 0
0 0
0 0
Code Name Word range
00 Hex --- The block is not used.
01 Hex CIO Area (CIO) 0000 to 17FF Hex (0 to 6143)
03 Hex Data Memory (DM) 0000 to 7FFF Hex (0 to 32767)
04 Hex Work (WR) 0000 to 01FF Hex (0 to 511)
05 Hex HR (HR) 0000 to 01FF Hex (0 to 511)
08 to 14 Hex Expansion Data Memory (EM)
Bank 0 to bank C (13 banks)
0000 to 7FFF Hex (0 to 32767) for all
banks
114
User-set Allocations Section 4-4
Step 4: Turn ON the Slave User Allocations Switch
Turn ON the Slave User allocations Switch (word n, bit 11). This will make the
DeviceNet Unit read allocation results data for the slaves above from the CPU
Unit and create a scan list based on data for slaves that are actually online
prior to starting remote I/O communications with the scan list enabled.
Note The Master User Allocations Switch not only reads slave allocation
data, but it also enables the scan list.
Note 1. Any order can be used for the OUT 1 and IN 1 blocks.
2. Node addresses do not have to correspond between output block 1 and in-
put block 1.
3. The start bit for node addresses must always be bit 00, and never bit 08.
l is the first word in the Allocation Size Setup Table and is specified at words m+5 and m+6
Bit
Node address 0 OUT size (bytes)
Node address 1 OUT size (bytes)
Node address 62 OUT size (bytes)
Node address 63 OUT size (bytes)
Node address 0 IN size (bytes)
Node address 1 IN size (bytes)
Node address 62 IN size (bytes)
Node address 63 IN size (bytes)
to to
15 08 07 00
I+0
I+1
I+62
I+63
Master User Allocations Table in
the allocated DM Area words
Bit
OUT block 1
area
First word of OUT block 1
IN block 1
area
First word of IN block 1
Size Setup Table
Area
First word of Size Setup Table
Specify the first word.
Specify the
first word.
Specify the
size.
OUT block
Bit
Node address 0
Node address 1
Output to Slaves
Node address 63
IN block
Bit
First word
specified
Node address 0
Node address 1
Node address 63
Input from Slaves
Specify the first word.
in allocated DM Area words
Set first word.
Bit
Address 0
OUT size
Address 0
IN size
Address 1
IN size
Address 1
OUT size
Address 63
OUT size
Address 63
IN size
First word
specified
m+1 wd
m+2 wd
m+3 wd
m+4 wd
m+5 wd
m+6 wd
I wd
I+1 wd
I+63 wd
to
Allocation Size Setup Table
Example:
OUT block 1 IN block 1
Node address 01
Node address 02
Node address 03
Node address 01
Node address 02
This is not necessary.
115
User-set Allocations Section 4-4
4. Multiple masters cannot share the same slave.
5. Be sure to use user-set allocations and operate the Master Unit with the
scan list enabled if multiple masters are connected to a single network.
Communications will not be possible if there is more than one master with
the scan list disabled connected to a network.
Changing System Components
In the following situations, the table must be reset, the Master User Alloca-
tions Switch (word n, bit 11) turned ON, and the scan list recreated:
Adding a slave
Removing a slave
Changing a node address
Changing a node allocation
There is no need to clear the scan list.
Example Settings for User-set Allocations through Allocated DM Area Words
This example uses the following settings for unit number 0.
OUT block 1 area and first word: WR (04 Hex), 50 (0032 Hex)
IN block 1 area and first word: WR (04 Hex), 100 (0064 Hex)
Allocation Size Setup Table area and first word: DM (03 Hex), 00100
(0064 Hex)
This example shows user-set allocations for the following slaves.
Master User Allocations Table
Master
Slave
Master
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-MD16C)
2 16 pts 16 pts CQM I/O Link Terminal (CQM1-DRT21)
3 0 pts 8 pts 8-pt Transistor Input Terminal (DRT1-
ID08)
4 None ---
5 160 pts 160 pts CS/CJ-series DeviceNet Unit (CS1W-
DRM21(-V1)) (Slave Unit)
OUT block 1 area: WR (04 Hex)
First word of OUT block 1: 50 (0032 Hex)
IN block 1 area: WR (04 Hex)
First word of IN block 1: 100 (0064 Hex)
Area for the Allocation Size Setup Table: DM (03 Hex)
First word of the Allocation Size Setup Table: 00100 (0064 Hex)
116
User-set Allocations Section 4-4
Allocation Size Setup Table
Resulting Slave Allocations
Turning ON the Master User Allocations Switch
Turn ON the Master User Allocations Switch (word n, bit 11, CIO 150011 in
this example). The Master User Allocations Switch will read the allocation
results data for the above slaves and create a scan list based on data for
slaves that are actually online prior to starting remote I/O communications
with the scan list enabled.
Address 0 OUT: 2 (bytes)
Address 1 OUT: 1 (bytes)
Address 2 OUT: 2 (bytes)
Address 3 OUT: 0 (bytes)
Address 4 OUT: 0 (bytes)
Address 5 OUT: 20 (bytes)
OUT sizes specified
in the leftmost byte
Address 0 IN: 0 (bytes)
Address 1 IN: 1 (bytes)
Address 2 IN: 2 (bytes)
Address 3 IN: 1 (bytes)
Address 4 IN: 0 (bytes)
Address 5 IN: 20 (bytes)
IN sizes specified in
the rightmost byte
OUT area 1
IN area 1
Address 0
Not used Address 1
Address 2
Address 5
Not used
Address 2
Not used
Address 1
Address 5
Address 0 allocated two bytes (1 word).
Address 1 allocated 1 byte, leftmost byte is not used.
Address 2 allocated two bytes (1 word).
Address 5 allocated 20 bytes (10 words).
Address 1 allocated 1 byte, leftmost byte is not used.
Address 2 allocated two bytes (1 word).
Address 3 allocated 1 byte, leftmost byte is not used.
Address 5 allocated 20 bytes (10 words).
Address 3
117
User-set Allocations Section 4-4
Setting through the
Configurator
Slaves can be allocated words in any order for the following blocks: OUT block
1, OUT block 2, IN block 1, and IN block 2.
The block allocation order, block allocation areas, and order of node
addresses in each block can be set by the user, each address is allocated at
least one byte (rightmost or leftmost byte).
More than one word is allocated for each slave (according to its node
address) with more than16 I/O points.
The leftmost or rightmost byte of the word is allocated to each slave that
has less than 16 I/O points.
Specified area in I/O memory
User-set block order
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 specified
Input from slaves
Bit
First word specified
OUT block 2
Bit
First word specified
IN block 2
OUT block 2
Bit
First word
specified
Address
Address
IN block 2
Bit
First word specified
Address
Address
Address
Address
Address
User-set block order
Output to slaves
User-set block order
Input from slaves
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
to
to
to
to
to
to
to
to to
to
to
118
User-set Allocations Section 4-4
Procedure
Step 1
Set the area, start word, and words allocated for each block using the Config-
urator.
Step 2
Allocate words to all node addresses in each block as shown below using the
Configurator.
Each address is allocated at least one byte (rightmost or leftmost
byte).
Note a) The order of all blocks can be set as desired by the user.
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.
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 address 02: DRT1-ID08 (8 input pts)
Node ad-
dress 01
OUT block 1
IN block 2
OUT block 2
IN block 1
OUT block 1
Node address 01
Node address 02
Node address 03
IN block 1
Node address 01
Node address 02
This is not necessary. Example:
Example:
OUT block 1
Node address 02
OUT block 2
Node address 02
119
User-set Allocations Section 4-4
d) The start bit for node addresses can be bit 00 or bit 08. If it is bit
08 however, 2 or more bytes cannot be allocated as shown below.
e) Multiple masters cannot share the same slave.
You can determine whether there are duplicate node addresses in the
I/O allocations (scan lists) that were created simply by conducting a
master parameter file duplicate check from the Configurator.
f) Be sure to use user-set allocations and operate with the scan list
enabled if multiple masters are connected to a single network. A
Bus OFF errors will occur if multiple fixed allocations masters op-
erating with the scan list disabled are present on a single network.
g) Multiple Master Units can be included in a single PLC as shown
below using user-set allocations (16 Units max.).
Note Use Configurator Ver. 2.10 or higher for the CJ1W-DRM21.
Example of User-set Allocations Using the Configurator
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 input pts
8 input pts
Combination of 8 output
and 16 input pts
Node
address
setting
Node
address
setting
Allocation status
Node
address Output Input
Output Input
OUT area
OUT block 1
IN block 1
Allocation (00)
Allocation (01) Not used
Allocation (02)
Allocation (01) Allocation (03)
IN block 2
Allocation (02)
Allocation
Allocation
OUT block 2
Not used Allocation
Allocation
Allocation
Not used
Allocation (12)
Not used Allocation (09)
16 pts
8 pts
16 pts
0 pts
32 pts
0 pts
0 pts
8 pts
0 pts
8 pts
16 pts
8 pts
0 pts
8 pts
16 pts
48 pts
(10)
Allocation (12)
15
15 00
00
CIO 1950
CIO 1951
CIO 1952
CIO 1953
CIO 1954
01000
IN area
(04)
15
15 00
00
CIO 1900
CIO 1901
10 wd
11 wd
13 wd
12 wd
14 wd
15 wd
Node
address
00
01
02
03
10
09
12
04
00
01
02
03
10
09
12
04
120
Starting and Stopping Remote I/O Communications Section 4-5
Configurator Setting Methods
Refer to the DeviceNet Configurator Operation Manual (W382) for setting
methods.
4-5 Starting and Stopping Remote I/O Communications
4-5-1 Starting Remote I/O Communications
Remote I/O communications start automatically after the power is turned ON
or the Unit is restarted.
The I/O Data Communications Flag (word n+12, bit 15) is turned ON when
remote I/O communications is started with at least one slave.
4-5-2 Stopping Remote I/O Communications
Remote I/O communications stop under the following user-controlled condi-
tions. Message communications can still be performed when the remote I/O
communications stop.
Stop Communications
With All Slaves
Remote I/O communications stop when the Remote I/O Communications
Stop Switch (word n, bit 04) is turned ON.
Stop Communications
With a Specified Slave
Remote I/O communications stop when the Disconnect/Connect Switch for
the desired slave (words n+6 to n+9) is turned ON. (Units are disconnected
from remote I/O communication when the Disconnect/Connect Switch is
turned ON.)
Note The communications cycle time is not shorter even though a slave has been
disconnected from remote I/O communications by turning ON the Disconnect/
Connect Switch. (Blank time in the communications cycle will only be
increased.)
4-5-3 Restarting Remote I/O Communications
Remote I/O communications restart under the following conditions.
Restart Communications
with All Slaves
Remote I/O communications restart when the Remote I/O Communications
Start Switch (word n, bit 02 or 03) is turned ON. (Only communications with
slaves with the Disconnect/Connect Switch turned OFF will be restarted.)
Restart Communications
with Specified Slave
Remote I/O communications restart when the Disconnect/Connect Switch for
the desired slave (words n+6 to n+9) is turned OFF. (A slave will participate in
remote I/O communications while the Disconnect/Connect Switch is OFF.)
4-6 Example of Ladder Programming for Remote I/O
Communications
When writing ladder programming for remote I/O communications, make sure
it performs I/O processing with a Slave under the following conditions:
The I/O Data Communications Flag (word n+12, bit 15) is ON.
The Unit Error Flag (word n+10, bit 00) is OFF.
Example: There is no jump and slave I/O is processed when the JMP(004)
instruction input condition is ON in the following instructions. There is a jump
and slave I/O is not processed when the JMP(004) instruction input condition
is OFF.
121
Example of Ladder Programming for Remote I/O Communications Section 4-6
Note Even if there is a communications error with the slave, the slave input data is
saved in the allocated area.
To prevent operating errors, make the ladder program so that no slave I/O pro-
cessing will occur when the Unit Error Flag (word n+10, bit 00) is ON.
I/O Data Communications
Flag (word n+12, bit 15)
Unit Error Flag
(word n+10, bit 00)
Slave I/O processing
122
Errors that May Occur in Remote I/O Communications Section 4-7
4-7 Errors that May Occur in Remote I/O Communications
The following errors may occur during remote I/O communications.
Condition Error Details Results Indicators 7-
segment
display
Error
occurs in
fixed allo-
cations
with the
scan list
disabled
Structure
Error Flag
(word n+12,
bit 04) turns
ON
Duplicate I/
O area
The same I/O word is allocated to
two or more slaves. (This occurs
whenever a slave that is allocated
multiple words has one of the
words allocated to the node
address of another Slave.)
Reconnect with
the error slave
and continue
remote I/O com-
munications.
MS: Not
related
NS:
Flashes
red
d0
I/O area
range
exceeded
A slave is allocated an area out-
side the fixed allocations area.
(This occurs whenever slaves are
allocated multiple words and a
slave is allocated a word beyond
node address 63 in the fixed allo-
cations area.)
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
either fixed
or user-set
allocations
with the
scan list
enabled
Verification
Error Flag
(word n+12,
bit 00) turns
ON
No slaves
present
A Slave registered in the scan list
is not present.
d5
I/O size
mis-
matched
The I/O size registered in the scan
list does not match the I/O size of
the slave.
Note I/O size is compared in 8-
point (1-byte) units. If I/O
size is registered at 8
points for example, then an
error I/O size mismatch will
not occur with a Slave with
just one input point con-
nected.
d6
Incorrect
vendor
The vendor registered in the scan
list does not match the slave ven-
dor.
d6
Incorrect
device type
The device type registered in the
scan list does not match the slave
device type.
d6
Incorrect
product
code
The product code registered in the
scan list does not match the slave
product code.
d6
Incorrect
connection
bus
The connection bus registered in
the scan list is set incorrectly.
d6
Unsup-
ported con-
nection
The slave does not support the
connection registered in the scan
list.
d6
123
Errors that May Occur in Remote I/O Communications Section 4-7
Note Remote I/O communications will stop (7-segment display: A0) if DIP switch
pin 3 on the front panel is turned ON to specify stopping remote I/O communi-
cations for I/O communications errors.
Fixed or
user-set
allocations
I/O communications error A timeout occurred during remote
I/O communications. (The Slave
response timed out 6 times in a
row or an error occurred 3 times in
a row.)
Reconnect with
the error Slave
and continue
remote I/O com-
munications.
*1
MS: Not
related
NS:
Flashes
red
d9
Network power error The network 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 net-
work.
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 communica-
tions stop, slave
operation stops,
and message
communications
are disabled).
MS: Not
related
NS:
Flashes
red
F0
Bus OFF detected Bus OFF error was detected. F1
Master scan list logic error The master scan list data is incor-
rect.
Remote I/O com-
munications stop
(Slave operation
stops, but mes-
sage communica-
tions are
enabled).
MS:
Flashes
red
NS: Not
related
E8
Condition Error Details Results Indicators 7-
segment
display
124
Errors that May Occur in Remote I/O Communications Section 4-7
125
SECTION 5
Remote I/O Slave Communications
This section describes the remote I/O communications performed as a DeviceNet slave by the DeviceNet Unit.
5-1 Slave Remote I/O Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
5-1-1 Allocation Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
5-1-2 Remote I/O and Slave Communications Specifications . . . . . . . . . . 127
5-1-3 Procedures for Using Remote I/O Slave Communications . . . . . . . 127
5-2 Fixed Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
5-2-1 Allocated Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
5-2-2 Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
5-3 User-set Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
5-3-1 Connection Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
5-3-2 Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
5-3-3 Connection Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
126
Slave Remote I/O Communications Section 5-1
5-1 Slave Remote I/O Communications
A CS/CJ-series DeviceNet Unit can function as a Slave Unit in remote I/O
communications and a single CS/CJ-series DeviceNet Unit can function as
both a Master Unit and a Slave Unit. This section describes Slave communi-
cations.
Slave Communications
Note 1. In the following descriptions, the areas used to transfer data from the mas-
ter to the slaves are called OUT areas and the areas used to transfer data
from the slaves to the master are called the IN areas.
2. In the following descriptions, a CS/CJ-series DeviceNet Unit set to function
as a master is referred to as a Master Unit and a CS/CJ-series DeviceNet
Unit set to function as a slave is referred to as a Slave Unit.
5-1-1 Allocation Methods
All slaves are allocated words in the I/O memory of the CPU Unit to which the
Master Unit is mounted. They are allocated using one of the following meth-
ods:
1) Fixed allocations
2) User-set allocations
CS/CJ-series DeviceNet Unit (Master)
CS/CJ-series CPU Unit
IN area OUT area
IN area
OUT area
Remote I/O communications
DeviceNet
CS/CJ-series CPU Unit
CS/CJ-series DeviceNet Unit (Slave)
Slaves
127
Slave Remote I/O Communications Section 5-1
5-1-2 Remote I/O and Slave Communications Specifications
5-1-3 Procedures for Using Remote I/O Slave Communications
Fixed Allocations for Remote I/O
1,2,3... 1. Turn ON the communications, slave, and PLC power supplies.
Note Turn ON the communications power supply prior to turning ON the
slave power supply or the slaves may not go online.
2. Switch the CPU Unit to PROGRAM mode.
3. Turn ON the Slave Stop Switch (word n+1, bit 07) from the PLC Program-
ming Device to stop slave communications.
4. Turn ON one of the Slave Fixed Allocation Setting Switches (1 to 3: word
n+1, bits 08 to 10) from a Programming Device.
5. Turn ON the Slave Enable Switch (word n+1, bit 06) from a Programming
Device to enable slave communications.
6. Switch the CPU Unit to RUN mode.
Slave remote I/O communications will start up.
Note Slave communications must be disabled prior to area allocation and must be
enabled after area allocation. The order of the procedure is 1) stop slave com-
Item Specifications
Allocation
method
Fixed allo-
cations
Select one of the following fixed allocation areas using the Slave Fixed Allocated Area
Switches 1, 2, and 3 in the software switches in the allocated CIO Area words.
Allocated words
(CIO Area)
I/O Size Fixed Allo-
cation Area
Setting 1
Fixed Allo-
cation Area
Setting 2
Fixed Allo-
cation Area
Setting 3
Output (OUT) area
to the slave from
the master
1 word 3370 3570 3770
Input (OUT) area to
the master from the
slave
1 word 3270 3470 3670
Note Select one of the preceding areas using the software switches. All are fixed at 1 word
per node address. The default setting is Fixed Allocation Area Setting 1.
User-set
allocations
By allocated DM
Area words
Set the areas, the first words, and slave allocation size for the OUT 1
and IN 1 blocks (total of 2 blocks) using the Slave User Allocation Setup
Table in the allocated DM Area words.
Allocated words The input and output areas can be the following
sizes starting 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
Input (IN) area to this slave 100 words
By Configurator Set the areas for the OUT 1 and IN 1/2 blocks, the first words, and the
slave allocation sizes using the Configurator.
Allocated words The input and output areas can be the following
sizes starting 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
Input (IN) area to this slave 100 words
Max. No. of I/
O points per
DeviceNet
Unit slave
Fixed allocations 32 points (1 input word, 1 output word)
User-set
allocations
By allocated DM
Area words
3,200 pts (100 input words, 100 output words)
By Configurator 4,800 pts (100 input words x 2, 100 output words x 1)
128
Slave Remote I/O Communications Section 5-1
munications, allocate areas, and then enable slave communications. The allo-
cated areas will not be valid if the procedure is done in any other order.
User-set Remote I/O Allocations Using DM Area Settings
1,2,3... 1. Turn ON the communications, slave, and PLC power supplies.
Note Turn ON the communications power supply prior to turning ON the
slave power supply or the slaves may not go online.
2. Switch the CPU Unit to PROGRAM mode.
3. Turn ON the Slave Stop Switch (word n+1, bit 07) from the PLC Program-
ming Device to stop slave communications.
4. Allocate areas as follows:
a) Set the Slave User Allocation Setup Table (m+8 to m+13 words) and
the Allocation Size Setup Table in the allocated DM Area words from a
Programming Device.
b) Turn ON the Slave User Allocations Switch (word n+1, bit 11) from a
Programming Device.
5. Turn ON the Slave Enable Switch (word n+1, bit 06) from a Programming
Device to enable slave communications.
6. Switch the CPU Unit to RUN mode.
Slave remote I/O communications will start up.
Note 1. Slave communications must be disabled prior to area allocation and must
be enabled after area allocation. The order of the procedure is 1) stop
slave communications, allocate areas, and then enable slave communica-
tions. The allocated areas will not be valid if the procedure is done in any
other order.
2. In fixed allocation or user-set allocations through the allocated DM Area
settings, area allocations must be set with slave communications disabled
and will be transferred to Units when slave communications are enabled.
User-set Remote I/O Allocations Using the Configurator
1,2,3... 1. Connect the Configurator to the network through a serial line or dedicated
Board/Card.
2. Turn ON the communications, slave, and PLC power supplies.
Note Turn ON the communications power supply prior to turning ON the
slave power supply or the slaves may not go online.
3. Switch the CPU Unit to PROGRAM mode.
4. Perform the following steps to allocate areas, create scan lists, and down-
load the settings to the nodes.
a) Enable slave communications in CS1W-DRM21(-V1) or CJ1W-
DRM21 properties using the Configurator.
b) Create the device parameters to set slave communications.
c) Save the data as a device parameter file.
Note If desired, you can also go directly online and download the device
parameter file to the DeviceNet Unit slave without saving the file.
d) Read the device parameter file, go online, and download the file to the
DeviceNet Unit slave.
5. Switch the CPU Unit to RUN mode.
Slave remote I/O communications will start up.
129
Fixed Allocations Section 5-2
Note 1. Enable slave communications in CS1W-DRM21(-V1) or CJ1W-DRM21
properties if the Configurator is used.
2. Use Configurator Ver. 2.10 or higher for the CJ1W-DRM21.
5-2 Fixed Allocations
5-2-1 Allocated Words
Words in the CS/CJ-series DeviceNet CIO Area in the CPU Unit are allocated.
Words can be selected from one of three fixed allocation areas. Use a Soft-
ware Switch to select the allocation area.
Each area is comprised of an OUT area that is used to write data to the mas-
ter IN area and an IN area that is used for inputs from the master OUT area in
remote I/O communications.
A maximum of 3 DeviceNet Units can be included as slaves in a single PLC
because the three allocation areas above are set individually for fixed alloca-
tions. The default setting is fixed allocations area 1.
5-2-2 Procedure
Step 1: Stop Slave
Communications
If the Unit is already functioning as a Slave Unit, turn ON the Slave Stop
Switch (word n+1, bit 07) to stop slave communications. This step is not nec-
essary if slave communications have already stopped.
Step 2: Select a Fixed
Allocation Area
Turn ON one of the Slave Fixed Allocation Setting Switches (1 to 3: word n+1,
bits 08 to 10) in the allocated CIO Area words to select a fixed allocation area
between 1 and 3. One words is allocated for the output (OUT) area from the
Slave Unit to the master and another word is allocated for the input (IN) area
from the master to the Slave Unit in the CS/CJ-series DeviceNet CIO Area, as
shown below.
First word n = CIO 1500 + (25 x unit number)
Step 3: Turn ON the Slave
Enable Switch
Turn ON the Slave Enable Switch (word n+1, bit 06). This will allocated the
fixed allocation areas as slave areas and the DeviceNet Unit will start slave
remote I/O communications. Slave communications will run automatically
after that whenever the power is turned ON.
Area OUT area
(master to slave)
IN area
(slave to master)
Selection method
Fixed allocation area 1 CIO 3370 CIO 3270 Turn ON the Slave Fixed Allocation Set-
ting 1 Switch (word n, bit 08).
Fixed allocation area 2 CIO 3570 CIO 3470 Turn ON the Slave Fixed Allocation Set-
ting 2 Switch (word n, bit 09).
Fixed allocation area 3 CIO 3770 CIO 3670 Turn ON the Slave Fixed Allocation Set-
ting 3 Switch (word n, bit 010).
Software switch
address
Software switch name Fixed allocation area Allocated output
(OUT) area
(master to slave)
Allocated input (IN)
area
(slave to master)
Word n+1, bit 08 Slave Fixed Allocation
Setting 1 Switch
Fixed allocation area 1 CIO 3370 CIO 3270
Word n+1, bit 09 Slave Fixed Allocation
Setting 2 Switch
Fixed allocation area 2 CIO 3570 CIO 3470
Word n+1, bit 10 Slave Fixed Allocation
Setting 3 Switch
Fixed allocation area 3 CIO 3770 CIO 3670
130
User-set Allocations Section 5-3
Fixed Allocation Area 1
Fixed Allocation Area 2
Fixed Allocation Area 3
5-3 User-set Allocations
With a CS/CJ-series DeviceNet Unit, remote I/O communications slaves can
be allocated in any area (CIO, WR, HR, DM, or EM) using one of the following
methods.
Setting through the allocated DM Area words (Slave User Allocations
Table)
Setting through the Configurator
User-set Allocations Methods
Note 1. Functions will vary as shown below depending on whether allocations are
set through the allocated DM Area words (Slave User Allocations Table) or
through the Configurator.
CS/CJ-series DeviceNet CIO Area
Slave
Bit
Output (OUT) area
Input (IN) area
Master
OUT area
IN area
0 15
CIO 3370
Bit
0 15
CIO 3270
CS/CJ-series DeviceNet CIO Area
Slave
Bit
Output (OUT) area
Input (IN) area
Master
OUT area
IN area
0 15
CIO 3570
Bit
0 15
CIO 3470
CS/CJ-series DeviceNet CIO Area
Slave
Bit
Output (OUT) area
Input (IN) area
Master
OUT area
IN area
0 15
CIO 3770
Bit
0 15
CIO 3670
Method Set through the allocated DM Area
words (Master User Allocations Table)
Set through the Configurator
Allocation areas CIO: 0000 to 6143
WR: W000 to W511
HR: HR000 to HR511
DM: D00000 to D32767
EM: E00000 to E32767 (Banks 0 to C)
No. of allocation blocks 2 blocks: OUT 1 and IN 1 3 blocks: OUT 1, IN 1 and IN 2
Allocation size Per block 100 words max.
Total size 200 words max. for a total of 2 blocks 300 words max. for a total of 3 blocks
Connection type Automatic (connection specified by the
master)
Automatic or user specified
131
User-set Allocations Section 5-3
2. Only two blocks (OUT 1 and IN 1) can be allocated when setting are made
with the allocated DM Area words area, but there are three blocks (OUT 1
and IN 1/2) available with the Configurator.
Setting through the Allocated DM Area Words (Slave User Allocations Table)
Words can be allocated for the OUT 1 area (master to Slave Unit) and IN 1
area (Slave Unit to master) from any specified I/O memory location specified
in the settings in the allocated DM area words.
5-3-1 Connection Types
The type of connection cannot be specified when the allocated DM area
words is used for settings. The master specifies a poll, bit-strobe, COS, or
cyclic connection.
5-3-2 Procedure
Step 1: Stop Slave Communications
If the Unit is already functioning as a slave, turn ON the Slave Stop Switch
(word n+1, bit 07) to stop slave communications. This step is not necessary if
slave communications have already stopped.
Step 2: Set the Slave User Allocations Table
This table is used to specify the areas, first words, and sizes for OUT block 1
and IN block 1.
Slave User Allocations Table
First word m = D30000 + (100 x unit number)
Specified area in I/O memory
Slave
Bit
First word
specified
OUT 1 area OUT area
Master
IN area
IN 1 area
15 0
to
Bit
First word
specified
15 0
to
Allocated DM area words Details
Word m+8 Bits 00 to 07 Slave OUT 1 area Select from fol-
lowing table
Word m+9 Bits 00 to 15 First word of the slave OUT 1
area
Word m+10 Bits 00 to 07 Slave OUT 1 area size (in bytes)
Word m+11 Bits 00 to 07 Slave IN 1 area Select from fol-
lowing table
Word m+12 Bits 00 to 15 First word of the slave IN 1 area
Word m+13 Bits 00 to 07 Slave IN 1 area size (in byte)
132
User-set Allocations Section 5-3
Areas and Word Ranges for the OUT 1/IN 1 Areas
Step 3: Turn ON the Slave User Allocations Switch
Turn ON the Slave User Allocations Switch (word n+1, bit 11).
Step 4: Turn ON the Slave Enable Switch
Turn ON the Slave Enable Switch (word n+1, bit 06). This will allocated the
above areas as slave areas and the DeviceNet Unit will start slave remote I/O
communications.
Note Once slave communications are enabled by turning ON the Slave Enable
Switch, the Unit will continue to perform slave communications even after the
power is turned OFF and back ON again.
Example Settings for User-set Allocations through Allocated DM Area Words
This example uses the following settings for unit number 0.
OUT block 1 area and first word: WR (04 Hex), 50 (0032 Hex), 20-byte
size (14 Hex, 10 words)
IN block 1 area and first word: WR (04 Hex), 100 (0064 Hex), 10-byte
size (0A Hex, 5 words)
Code Name Word range
00 Hex --- The block is not used.
01 Hex CIO Area (CIO) 0000 to 17FF Hex (0 to 6143)
03 Hex DM Area (DM) 0000 to 7FFF Hex (0 to 32767)
04 Hex Word Area (WR) 000 to 01FF Hex (0 to 511)
05 Hex Holding Area (HR) 000 to 01FF Hex (0 to 511)
08 Hex to
14 Hex
Expansion Data Memory (EM)
Bank 0 to C (13 banks)
0000 to 7FFF Hex (0 to 32767) for all
banks
Slave User Allocations Table in the Allocated DM Area Words
Bit
OUT 1
area
First word of the OUT 1 area
OUT 1
area size
IN block 1
area
First word of the IN 1 area
IN 1 area size
Specify the first word.
Specify the size.
Specify the
first word.
Specify the size.
Slave output (OUT) area
Master
OUT area
Bit
First word
specified
Slave input (IN) area
Bit
First word
specified
Master
IN area
Specify the first word.
Specify the size.
to to
to to
Word m+8
Word m+9
Word m+10
Word m+11
Word m+12
Word m+13
133
User-set Allocations Section 5-3
Slave User Allocations Table
Slave areas
Step 1: Turn ON the Slave User Allocations Switch
Make sure that slave communications have stopped prior to performing this
operation. Turn ON the Slave User Allocations Switch (word n+1, bit 11:
CIO 150111 in this example). This will allocate the above areas as slave
areas and the DeviceNet Unit will start slave remote I/O communications.
Step 2: Turn ON the Slave Enable Switch
Turn ON the Slave Enable Switch (word n+1, bit 06: CIO 150106 in this exam-
ple). This will allocate the above areas as slave areas and the DeviceNet Unit
will start slave remote I/O communications.
OUT block 1 area: WR (04 Hex)
First word of OUT block 1: 50 (0032 Hex)
OUT block 1 size: 20 bytes (14 Hex, 10 words)
IN block 1 area: WR (04 Hex)
First word of IN block 1: 100 (0064 Hex)
IN block 1 size: 10 bytes (0A Hex, 5 words)
OUT area 1
IN area 1
to
134
User-set Allocations Section 5-3
Setting through the
Configuration
A maximum of three blocks can be allocated at any locations in I/O memory
for the output (OUT) area block 1, input (IN) area block 1, and input (IN) area
block 2.
The block allocation order and block allocation areas can be set as required.
Refer to the DeviceNet Configurator Operation Manual (W382) for details on
the allocation procedure.
5-3-3 Connection Types
The type of connection can be specified if the Configurator is used for set-
tings. The number of applicable allocation areas varies with the type of con-
nection used.
A maximum of three areas (OUT 1, IN 1, and IN 2) can be used when
multiple connections are specified.
Two allocation areas (OUT 1 and IN 1) can be used if the automatic con-
nection setting or a single connection is specified.
Specified area in I/O memory
User-set block order
Master
Slave output
(OUT) area 1
OUT area
Slave input
(IN) area 1
IN area
Bit
First word
specified
15 0
to
Bit
First word
specified
15 0
to
Slave input
(IN) area 2
IN area
Bit
First word
specified
15 0
to
135
User-set Allocations Section 5-3
Connection Types and Allocated I/O Areas
The following table shows the relationship between various connection combi-
nations and the allocated areas that are applicable with those connections.
Note 1. With poll + COS connections, the OUT data is the same for poll and COS.
Set the same OUT areas for poll and COS connections when specifying
the areas with the Configurator. 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 specifying the areas with the Configurator.
2. Use Configurator Ver. 2.10 or higher for the CJ1W-DRM21.
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 data Not used
Poll+bit-strobe Poll OUT data Poll IN data Bit-strobe IN data
Poll+COS (See note.) Poll/COS OUT data Poll IN data COS IN data
Poll+cyclic (See note.) Poll/cyclic OUT data Poll IN data Cyclic IN data
COS+bit-strobe COS OUT data COS IN data Bit-strobe IN data
Cyclic+bit-strobe Cyclic OUT data Cyclic IN data Bit-strobe IN data
136
User-set Allocations Section 5-3
137
SECTION 6
Message Communications
This section describes message communications using FINS commands sent from the ladder program in the CPU Unit of
the PLC.
6-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
6-1-1 Outline of Message Communications. . . . . . . . . . . . . . . . . . . . . . . . 138
6-1-2 FINS Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
6-1-3 Explicit Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . 141
6-1-4 Message Communications Specifications . . . . . . . . . . . . . . . . . . . . 142
6-1-5 Message Communications Error Indications . . . . . . . . . . . . . . . . . . 143
6-1-6 Message Monitoring Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
6-1-7 Message Communications Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
6-2 FINS Commands and Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
6-2-1 FINS Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
6-2-2 Sending/Receiving FINS Command/Responses. . . . . . . . . . . . . . . . 146
6-2-3 Units Supporting FINS Communications. . . . . . . . . . . . . . . . . . . . . 147
6-2-4 FINS Command Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
6-3 Using FINS Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
6-3-1 Setting Node Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
6-3-2 Creating Routing Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
6-3-3 Data Send/Receive Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
6-3-4 Sending FINS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
6-3-5 Using SEND(090), RECV(098), and CMND(490) . . . . . . . . . . . . . 155
6-3-6 Connecting Networks for FINS Communications . . . . . . . . . . . . . . 160
6-4 Sending Explicit Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
6-4-1 Sending Explicit Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
6-4-2 Sending Explicit Messages Using CMND(490). . . . . . . . . . . . . . . . 164
6-5 Receiving Explicit Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
6-5-1 List of PLC Object Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
138
Overview Section 6-1
6-1 Overview
Message communications enable messages to be set between nodes on a
DeviceNet network when required by system conditions. The messages can
be sent between PLCs, between an OMRON PLC and a master made by
another company, or between slaves. They can be used to send/receive data;
read time data, error histories, and other data; or control operation, e.g., by
force-setting/resetting bits.
There are two types of messages: FINS messages and explicit messages.
6-1-1 Outline of Message Communications
Item FINS messages Explicit messages
Outline Message communications for
OMRON products that use the
FINS protocol.
General-purpose message com-
munications using the DeviceNet
protocol.
Remote
device
OMRON PLCs (with a CS/CJ-
series DeviceNet Unit)
Other manufacturer masters or
slaves.
OMRON PLCs with C200H or
CVM1/CV-series DeviceNet Master
Unit or CS/CJ-series DeviceNet
Units
OMRON PLCs with C200H I/O
Link Units
Features Provide a greater range of services
than explicit messages by sending
and receiving FINS commands.
Have message compatibility with
other OMRON networks, such as
Controller Link, SYSMAC LINK,
and Ethernet (up to 3 levels)
Enable message communications
with DeviceNet devices from other
manufacturers.
Can receive explicit messages
from OMRON PLCs with C200H-
or CVM1/CV-series DeviceNet
Master Units and can send explicit
messages to OMRON PLCs with
C200H I/O Link Units
Message communications functions
FINS communications function
Explicit message
communications function
Send
Receive
Send
Receive
139
Overview Section 6-1
Overall Structure
Note If only the message communications function is being used and the remote
I/O communications function is not being used, message communications are
possible even if the master function is disabled. In this case, it is not neces-
sary to register a scan list.
6-1-2 FINS Message Communications
Messages can be exchanged using FINS commands between DeviceNet
nodes (masters and/or slaves) that support FINS messages.
CPU Unit
CMND(490)
instruction
DeviceNet Unit
CMND(490)
instruction
(2801 Hex)
FINS message
FINS Explicit message
FINS
message
function
Explicit
message
function
DeviceNet network
FINS message
Explicit message
OMRON special message communications
DeviceNet message communications
Type of FINS message Data send/receive FINS commands
Network
communications
instructions
SEND/RECV instructions CMND(490) instructions
PLC to PLC (both must
be CS/CJ-series PLCs
with a CS/CJ-series
DeviceNet Unit) (See
note 1.)
Note Inter-network com-
munications is possible
with other DeviceNet
networks, Controller Link
networks, or other net-
works. (See note 2.)
PLC to OMRON Slave
Data length (excluding
command code)
SEND instruction: 267 words; RECV instruc-
tion: 269 words
542 bytes max.
CS/CJ-series PLC CS/CJ-series PLC
CS/CJ-series PLC CS/CJ-series PLC
Command
CS/CJ-series PLC
Command
Command to
Master Unit
Command to
CPU Unit
CS/CJ-series PLC
Slave
CS/CJ-series PLC
Command
Slave
140
Overview Section 6-1
Note 1. The DeviceNet Unit must be registered in the local network routing table of
the CS/CJ-series PLC when two or more Communications Units (including
the DeviceNet Unit) are mounted to a CS/CJ-series PLC. The commands
will not be sent if the Unit is not registered in the routing tables.
2. For DeviceNet networks connected to a CS/CJ-series DeviceNet Unit,
message communications can be conducted between networks, including
other DeviceNet networks as well as Controller Link, SYSMAC LINK, and
Ethernet networks. Up to three levels of networks can be crossed. Routing
tables (containing local network tables and relay network tables) must be
registered in the CPU Units of each PLC on the network.
Note FINS commands sent and received by the CS/CJ-series DeviceNet
Unit include commands addressed to the CS/CJ-series CPU Unit
and commands addressed to the CS/CJ-series DeviceNet Unit.
FINS message communications is possible between two PLCs with CS1W-
DRM21(-V1) or CJ1W-DRM21 DeviceNet Units.
FINS messages cannot be sent or received for PLCs with C200H-series
DeviceNet Master Units (C200HW-DRM21-V1) or CVM1/CV-series
DeviceNet Master Units (CVM1-DRM21-V1). Explicit messages, however, can
be received from these PLCs.
The following table outlines which CPU Unit support for FINS message com-
munications.
Up to 3 network levels, including DeviceNet, can be crossed.
Controller Link Unit
Controller Link Unit
CS/CJ-series DeviceNet Unit
CS/CJ-series CPU Unit
Remote I/O communications
Controller Link
DeviceNet
CS/CJ-series DeviceNet Unit
DeviceNet
CS/CJ-series DeviceNet Unit
CPU Unit
sending
message
Mounted
DeviceNet
Unit/
DeviceNet
Master Unit
FINS message CPU Unit in receiving message
CS
Series
CJ Series CS
Series
C200HX/
HG/HE
CVM1/CV
Series
Instructions
to send/
receive data
Instructions
to execute
any FINS
command
CS1W-
DRM21
(-V1)
CJ1W-
DRM21
C200HW-
DRM21-
V1
C200HW-
DRM21-
V1
CVM1-
DRM21-
V1
CS Series CS1W-
DRM211(-V1)
SEND/RECV CMND Can receive Cannot
receive
Cannot
receive
Cannot
receive
CJ Series CJ1W-
DRM21
CS Series C200HW-
DRM21-V1
Not supported IOWR Cannot receive Can
receive
Can
receive
Can
receive
C200HX/
HG/HE
C200HW-
DRM21-V1
Not supported IOWR Cannot receive Can
receive
Can
receive
Can
receive
CVM1/CV
Series
CVM1-
DRM21-V1
SEND/RECV CMND Cannot receive Can
receive
Can
receive
Can
receive
141
Overview Section 6-1
Sending FINS Message Communications
Receiving FINS Message Communications
Note C200H-series DeviceNet Master Units (C200H-DRM21-V1) and CVM1/CV-
series DeviceNet Master Units (CVM1-DRM21-V1) both support FINS mes-
sage communications but it is executed by a special OMRON method. With
this CS/CJ-series DeviceNet Unit (CS1W-DRM21(-V1) or CJ1W-DRM21), the
standard message protocol for DeviceNet (i.e., explicit messages) has been
used for FINS communications. For this reason, FINS communications is not
possible between CS/CJ-series DeviceNet Units (CS1W-DRM21(-V1) or
CJ1W-DRM21) and C200H-series DeviceNet Master Units (C200H-DRM21-
V1) or CVM1/CV-series DeviceNet Master Units (CVM1-DRM21-V1).
6-1-3 Explicit Message Communications
Service requests can be sent to C200H I/O Link Units and other OMRON
slaves, PLCs with CS/CJ-series DeviceNet Units, and DeviceNet masters and
slaves made by other manufacturers using explicit messages defined for
DeviceNet.
Service requests to read/write CPU Unit status I/O memory can also be
received from PLCs with C200H-series DeviceNet Master Units (C200HW-
DRM21-V1), PLCs with CVM1/CV-series DeviceNet Master Units (CVM1-
DRM21-V1), PLCs with CS/CJ-series DeviceNet Units, and DeviceNet mas-
ters made by other manufacturers using explicit messages.
CS1W-DRM21(-V1)
CJ1W-DRM21 C200HW-DRM21-V1
CVM1-DRM21-V1
Command can be sent.
Command cannot be sent.
Command cannot be sent.
DeviceNet
C200HX/HG
/HE(-Z)
CPU Unit
CVM1/CV-
series
CPU Unit
X
X
CS1W-DRM21(-V1)
CJ1W-DRM21
CS/CJ-series
CPU Unit
CS/CJ-series
CPU Unit
CS1W-DRM21(-V1)
CJ1W-DRM21
C200HW-DRM21-V1
CVM1-DRM21-V1
CS/CJ-series
CPU Unit
Command can be received
Command cannot be received
Command cannot be received
DeviceNet
C200HX/HG/
HE(-Z) CPU
Unit
CVM1/CV-
series
CPU Unit
X
X
CS1W-DRM21(-V1)
CJ1W-DRM21
CS/CJ-series
CPU Unit
142
Overview Section 6-1
Note A specific FINS command (command 2801) is used to send explicit mes-
sages.
Note A specific FINS command (command 2801) is used to send explicit
messages.
Note This CS/CJ-series DeviceNet Unit (CS1W-DRM21(-V1) or CJ1W-DRM21)
contains a PLC Object so that the I/O memory of the CPU Unit of the
DeviceNet Unit can be read/written from other devices. The C200HW-DRT21
I/O Link Unit also contains a PLC Object so that the I/O memory of the CPU
Unit of the I/O Link Unit can be read/written from other devices. The C200HW-
DRM21-V1 and CVM1-DRM21-V1 DeviceNet Master Units, however, do not
have PLC Objects, the I/O memory of the CPU Unit for these Units cannot be
read or written from other devices.
6-1-4 Message Communications Specifications
Item Sending Receiving
Network commu-
nications instruc-
tion
CMND(490) using FINS command code 2801 Hex
can be used to send explicit messages to
DeviceNet devices. (See note.)
Automatically responds to explicit messages
from other devices.
Remote devices
and supported
functions
Masters/slaves made by other manufacturers. Sup-
ported services determine supported functions.
PLCs with CS/CJ-series DeviceNet Units mounted.
Remote CPU Unit status read/write and I/O memory
read/write functions supported.
PLCs with C200H I/O Link Units mounted. Remote
CPU Unit I/O memory read/write function sup-
ported.
Masters made by other manufacturers.
PLCs with CS/CJ-series DeviceNet Units.
PLCs with C200H-series DeviceNet Master
Units.
PLCs with CVM1/CV-series DeviceNet Master
Units.
All listed devices support status read/write and I/
O memory read/write for the local CPU Unit.
Item Specification
Applicable PLC CS/CJ-series
Unit model number CS1W-DRM21(-V1)/CJ1W-DRM21
Max. No. of communica-
tions nodes per Unit
FINS mes-
sages
62 (node address 0 cannot be used for FINS communications)
Explicit mes-
sages
63
Communications instruc-
tions
Sending/
receiving
data
SEND and RECV instructions
FINS com-
mands
CMND(490) instruction
There are FINS commands addressed to the PLC and others addressed
to the CS/CJ-series DeviceNet Unit.
Note FINS commands can be sent to PLCs with CS/CJ-series DeviceNet
Units mounted to them. FINS commands cannot be sent to PLCs
with C200HW-DRM21-V1 or CVM1-DRM21-V1 DeviceNet Master
Units mounted to them.
Explicit
DeviceNet
messages
CMND(490) instruction
Sends explicit messages to masters/slaves made by other manufacturers,
PLCs with C200H I/O Link Units, or PLCs with CS/CJ-series DeviceNet
Units mounted to them.
Sources: destinations 1:1 (Broadcasting is not supported)
Data length (excluding command code) SEND: 267 words max.
RECV: 269 words max.
CMND 542 bytes max.
143
Overview Section 6-1
6-1-5 Message Communications Error Indications
There are two ways to obtain information on communications errors that occur
in message communications: 1) Using the error history in the DeviceNet Unit
and 2) Using DeviceNet Unit displays, indicators, and Master Status Areas.
1,2,3... 1. Each time a communications error occurs, an error code is placed in an er-
ror record in the error history kept in the RAM of the DeviceNet Unit. Up to
96 records can be stored in the error history. The time and data the record
occurred is also recorded.
The error history can be read or cleared from the CPU Unit by sending an
FINS command to the DeviceNet Unit (Error History Read/Clear). The con-
tents of the error history can also be monitored from the Configurator.
2. The MS and NS indicators and the 7-segment display on the front panel of
the DeviceNet Unit can be used together with the Master Status Area 1 in
the CPU Unit to obtain information on a communications error that has oc-
curred. This information can be used as the basis for troubleshooting.
No. of simultaneous instructions One each for 8 ports (ports 0 to 7)
Refer to 3-25 Network Instructions in the CS/CJ Series Programmable
Controllers Instructions Reference Manual (W340) for information on ports
(logical ports).
Response monitoring time Default setting: 2 s
User setting: 0.1 to 6553.5 s
Retries 0 to 15
FINS mes-
sage com-
munications
commands
Received from CS/CJ-
series CPU Unit with CS/
CJ-series DeviceNet Unit
Supported (Data send/receive or FINS commands).
Received from CVM1/CV-
series CPU Units with
CVM1/CV-series DeviceNet
Master Unit
Not supported.
Received from CS/CJ-
series and C200HX/HG/HE
CPU Units with C200H-
series DeviceNet Master
Unit
Received from C200HX/HG/
HE Units with C200H-series
DeviceNet Master Unit
Internetwork connections Same net-
work type
Supports internetwork communications between DeviceNet networks with
CS/CJ-series DeviceNet Units mounted (up to 3 levels).
Different net-
work type
Supports internetwork communications between DeviceNet networks with
CS/CJ-series DeviceNet Units mounted and other networks (Controller
Link, SYSMAC LINK, and Ethernet; up to 3 levels).
Message monitor timer function (explicit
message communications)
The response monitoring time for DeviceNet Units during explicit message
communications (the interval the explicit connection is open) can be set
from the Configurator for each device. (The settings for all devices can be
stored in the DeviceNet Unit. This is called the Message Monitoring Timer
List.)
Item Specification
CPU Unit
Configurator
FINS command
Read-out
Monitor
Code
Code
Code
96 records
144
Overview Section 6-1
6-1-6 Message Monitoring Timer
A message monitoring timer monitors responses for the DeviceNet Unit. A
timer can be set for each device that will be communicated with (each mes-
sage destination).
Message monitoring timers are supported for both explicit message and FINS
message communications. The timers can be set with version 2 or higher of
the DeviceNet Configurator. The default setting is 2 seconds (2,000 ms). The
setting range is 500 to 30,000 ms.
If the response from the remote communications device (message destina-
tion) is slow, the timer setting must be increased. In particular, responses take
time in FINS message communications that cross different network layers, so
this 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 monitoring based on the response monitoring time for
CMND, SEND(090), and RECV instructions. There will be no effect, therefore,
if either the message monitoring timer or the response monitoring time for
CMND/SEND/RECV instructions setting only is increased or decreased. Both
must be increased or decreased for there to be an effect.
Set the response monitoring time for the CMND, SEND(090), and RECV
instructions the same as or longer than the message monitoring timer, i.e.,
CMND, SEND(090), RECV instructions message monitoring timer.
If a lot of timeouts occur, maintain this relationship but lengthen the time for
both.
Note When performing remote programming or monitoring from the CX-Program-
mer (scheduled to be supported by version 2.1 and later), set the message
monitoring timer in the CS/CJ-series DeviceNet Unit mounted to the PLC con-
nected to the CX-Programmer to at least 20 s (20,000 ms). This setting is
required only for the Unit that will perform remote programming.
6-1-7 Message Communications Errors
The following table shows the main errors that occur when messages are sent
or received. Refer to SECTION 9 Troubleshooting and Maintenance for coun-
Master Status Area 1
CPU
Unit
Device-
Net Unit
Example: Routing table error
Flashing red
Not relevant
145
FINS Commands and Responses Section 6-2
termeasures and errors recorded in error history that are not shown by the
indicators.
Note 1. The 7-segment display alternately displays the error and the master node
address where the error occurred.
2. The send response message or reception response message will be de-
stroyed if any of the following occur:
If any communications instructions (SEND(090), RECV(098), or
CMND) are executed from the PLC at intervals less than the message
communications time.
If messages are received from other nodes at intervals less than the
message communications time.
Be sure that the interval between sending messages (i.e., the interval for
executing communications instructions from the PLC) and the interval for
receiving messages at any one node are longer than the message com-
munications time. Refer to 8-2 Message Communications for details on the
message communications time.
6-2 FINS Commands and Responses
6-2-1 FINS Communications
The FINS communication protocol was developed by OMRON for use with
factory automation control devices. FINS communications enable PLC mem-
ory read/write and operation control without extensive programming in the
user program in the PLC. FINS communications use an independent system
of addresses that does not rely on the addresses used in the DeviceNet net-
work. This enables communications not only with nodes on the DeviceNet
network, but also with devices and PLCs connected via other FA networks,
such as the SYSMAC NET and SYSMAC LINK Networks.
Error Indicators Unit status 1
(word n+10)
Error
history
code (Hex)
MS NS 7-segment
display
Network power error No change Not lit E0 Bit 07 turns
ON.
0341
Send timeout E2 Bit 08 turns
ON.
0342
Routing table error Flashing red No change HC Bit 12 turns
ON.
021A
Node address duplicated No change Lit red F0 Bit 06 turns
ON.
0211
Bus Off detected F1 Bit 05 turns
ON.
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 device busy; cannot send 0109
Header error; cannot send 0112
Reception buffer full; message destroyed 0117
Illegal message received; received message
destroyed
0118
Local node busy; cannot send 0119
146
FINS Commands and Responses Section 6-2
Refer to SYSMAC CS/CJ Series Communication Commands Reference Man-
ual (W342) for details on FINS commands.
6-2-2 Sending/Receiving FINS Command/Responses
FINS commands are sent using the CMND(490) instruction for CS/CJ-series
PLCs. Send/receive FINS commands and responses and the data formats
used are illustrated in the following diagram. Unless otherwise specified, all
data is hexadecimal.
Command Codes Command codes are represented by a 2-byte hexadecimal code. FINS com-
mands always begin with a 2-byte command code and any parameters that
are required follow the command code.
Response Codes Response codes are represented by a 2-byte hexadecimal code that indicates
the results of command execution. The first byte provides the main response
code (MRES), which classifies the results, and the second byte provides the
sub-response code (SRES), which provides details on the results.
(For CS/CJ-series PLC)
Command
Response
Word
Word
1 byte 1 byte
1 byte 1 byte
FINS header
Automatically
generated
and attached
2 bytes
540 bytes max.
Command
code
Text
DeviceNet
Unit
CS/CJ-series CPU Unit
DeviceNet network
Command
FINS header
Automatically
generated
and attached
2 bytes 538 bytes max.
Command
code
Text
2 bytes
Response
code
Response
@CMND
147
FINS Commands and Responses Section 6-2
The main response codes are listed below. Refer to SYSMAC CS/CJ Series
Communication Commands Reference Manual (W342) for further details on
response codes, including sub-response codes (SRES).
6-2-3 Units Supporting FINS Communications
The parameters used for FINS commands depend on the Unit that is process-
ing the command. Command details are provided in Appendix E FINS Com-
mands and Responses for DeviceNet Units for commands and responses
addressed to DeviceNet Units.
Refer to SYSMAC CS/CJ Series Communication Commands Reference Man-
ual (W342) for information on commands and responses addressed to CS/CJ-
series CPU Units.
6-2-4 FINS Command Lists
Commands Addressed to CS/CJ-series CPU Units
Main code Main code
00: Normal completion 20: Read not possible
01: Local node error 21: Write not possible
02: Destination node error 22: Not executable in current mode
03: Communications controller error 23: No Unit
04: Unsupported setting error (service
not supported)
24: Start/stop not possible
05: Routing error 25: Unit error
10: Command format error 26: Command error
11: Parameter error 30: Access right error
40: Abort
Function Name Command
code
Manipulating data in data
areas and force-setting/
resetting bits:
CIO Area, DM Area, EM
Area, Timer/Counter Area,
Transition Area, Step Area
MEMORY AREA READ 01 01
MEMORY AREA WRITE 02
MEMORY AREA FILL 03
MULTIPLE MEMORY AREA READ 04
MEMORY AREA TRANSFER 05
Manipulating parameters:
PLC Setups, I/O tables,
routing tables, etc.
PARAMETER AREA READ 02 01
PARAMETER AREA WRITE 02
PARAMETER AREA CLEAR 03
Manipulating program
areas
PROGRAM AREA READ 03 06
PROGRAM AREA WRITE 07
PROGRAM AREA CLEAR 08
Controlling operation RUN (RUN, DEBUG, MONITOR modes) 04 01
STOP (PROGRAM mode) 02
Reading PLC model infor-
mation
CONTROLLER DATA READ 05 01
CONNECTION DATA READ 02
Reading PLC status CONTROLLER STATUS READ 06 01
CYCLE TIME READ 20
Manipulating the PLC clock CLOCK READ 07 01
CLOCK WRITE 02
Manipulating messages MESSAGE READ 09 20
MESSAGE CLEAR
FAL/FALS READ
148
FINS Commands and Responses Section 6-2
Refer to SYSMAC CS/CJ Series Communication Commands Reference Man-
ual (W342) for information on FINS commands addressed to CS/CJ-series
PLCs.
Commands Addressed to DeviceNet Units
Command to Send Explicit DeviceNet Messages
Controlling access rights ACCESS RIGHT ACQUIRE 0C 01
ACCESS RIGHT FORCED ACQUIRE 02
ACCESS RIGHT RELEASE 03
Manipulating error data ERROR CLEAR 21 01
ERROR LOG READ 02
ERROR LOG CLEAR 03
Manipulating File Memory FILE NAME READ 22 01
SINGLE FILE READ 02
SINGLE FILE WRITE 03
MEMORY CARD FORMAT 04
FILE DELETE 05
VOLUME LABEL CREATE/DELETE 06
FILE COPY 07
FILE NAME CHANGE 08
MEMORY AREA FILE TRANSFER 0A
PARAMETER AREA FILE TRANSFER 0B
PROGRAM AREA FILE TRANSFER 0C
CREATE/DELETE DIRECTORY 15
Force-setting/resetting bits FORCED SET/RESET 23 01
FORCED SET/RESET CANCEL 02
Function Name Command
code
Name Command
code
Page
RESET 04 03 247
CONTROLLER DATA READ 05 01 247
CONTROLLER STATUS READ 06 01 248
ECHOBACK TEST 08 01 249
ERROR LOG READ 21 02 250
ERROR LOG CLEAR 03 251
Name Command
code
Page
EXPLICIT MESSAGE SEND 28 01 263
149
Using FINS Message Communications Section 6-3
6-3 Using FINS Message Communications
There are two instructions that can be executed to send and receive data from
CS/CJ-series CPU Units: SEND(090) and RECV(098). There is another
instruction that can be executed to send any FINS command: CMND(490).
6-3-1 Setting Node Addresses
Set the nodes for FINS message communications to node addresses other
than 0. Node address 0 has a special meaning (local node) in message com-
munications. If 0 is set as a node address for the Unit, message communica-
tions will not be possible.
6-3-2 Creating Routing Tables
The DeviceNet Unit functions as a Communications Unit in the same way as the
SYSMAC LINK Unit, Controller Link Unit, and Ethernet Unit.
It is therefore necessary to create routing tables for the communications func-
tions to be used, as shown in the table below.
Note 1. If a local network table already exists in the CPU unit being used, the De-
viceNet Unit must be registered in that table.
2. The DeviceNet Unit must be registered in the local network table.
3. In all cases other than the following two exceptions, a local network table
must be made, and the DeviceNet Unit must be registered in it.
a) When there is only one DeviceNet Unit.
b) When only multiple DeviceNet Units are mounted, with no remote I/O
communications.
4. A local network table is sometimes necessary even when the DeviceNet
Unit is not operating across networks.
5. If you prepare a local network table inside the CPU Unit, be sure to register
the DeviceNet Unit.
6. Even if a local network table exists inside the CPU Unit, the 7-segment dis-
play of the DeviceNet Unit may indicate HC and FINS message/explicit
message communications may not be possible unless the DeviceNet Unit
is registered in the local network table.
Mounted Units Using master or slave
functions only
Using explicit
message
communications (not
supported across
networks)
Using FINS message
communications not
across networks
Using FINS message
communications
across networks
DeviceNet is the only
Communications
Unit mounted
Not necessary (See note 1.) Local network table
(See note 2.) and relay
network table are nec-
essary.
Multiple DeviceNet
Units mounted as
Communications
Units
Not necessary (See
note 1.)
Local network table necessary (See note 2.)
DeviceNet Unit and
other Communica-
tions Unit mounted
simultaneously
Local network table necessary (See note 2.)
150
Using FINS Message Communications Section 6-3
Routing Tables
The routing tables register the communications path from a Communications
Unit on the local PLC, such as a DeviceNet Unit, Controller Link Unit, SYS-
MAC LINK Unit, or Ethernet Unit, to the network to which the remote PLC is
connected. The routing tables are made up of two tables, the local network
table and the relay network table, as described below.
Local Network Tables The local network table lists the unit numbers of the Communications Units
mounted to the PLC and the addresses of the Networks to which each Unit
belongs. If multiple Communications Units are mounted to one PLC CPU Unit,
the local network table is used to distinguish between network addresses.
The following type of table is used to show which Communications Unit data
must be sent through to reach a destination network address, when sending
data to a network address from one PLCs CPU Unit.
Local network: The address (1 to 127) of the network to which the Communi-
cations Unit belongs.
CPU Bus Units unit number: The unit number of the CPU Bus Unit.
Example
Local Network Table
The unit number of the DeviceNet Unit as a CPU Bus Unit is the number set
on the rotary switches on the front panel (0 to 15). The network address is the
address of the Network to which the CPU Bus Unit is connected (1 to 127).
The network address is specified when this local network table for the routing
table is created.
Local Network Address CPU Bus Units unit number
Address of local
network
CPU Bus Units
unit number
1 00
2 01
3 02
Unit #00
Unit #01
Unit #02
Network address 1
Network address 2
Network address 3
151
Using FINS Message Communications Section 6-3
Relay Network Tables Relay network tables show the destination network (final network) and the
network and node address of the first relay point on the way to that network
(the first point to which communications are sent). The relay points are fol-
lowed on the way to the final network.
Final network address: The address of the final network (1 to 127).
Relay network address: The address of the network to which the first relay
point belongs (1 to 127).
Relay node address: The node address of the first relay point.
Procedure for Creating the Routing Table
Use the CX-Net function for creating/sending routing tables in the CX-Pro-
grammer, with the following procedure.
1. Select Start/Program/Omron/CX-Server/CX-Net Network Configura-
tion Tool to start the CX-Net.
2. Select Edit/FINS Local from the Routing Table Menu. The following PLC
Routing Table Window will appear.
3. Click on the Table View Tab. A table like that shown below will appear.
Final Network Address Relay Network Address Relay Node Address
152
Using FINS Message Communications Section 6-3
4. Use the left-side table to create the local network table. Input the unit num-
bers and corresponding local network addresses.
5. Use the right-side table to create the relay network table. Input the final net-
work addresses and corresponding relay network addresses and relay
node addresses.
6. Save the finished routing table.
7. Go online, then load and send the routing table.
Note Use CX-Programmer Ver. 2.1 or higher to register the DeviceNet Unit in the
routing tables. Actually, registration is possible using versions prior to CX-Pro-
grammer Ver. 2.0, but DeviceNet will not be displayed in the list of network
types when creating the routing tables with CX-Net. In this case, select one of
the network types that are displayed (CLK, SLK, etc.). This will enable the
DeviceNet to be registered in the routing table.
6-3-3 Data Send/Receive Instructions
NETWORK SEND: SEND(090)
Description SEND(090) transfers data beginning at word S in the local PLC to addresses
beginning at D at the designated node on the designated Network.
Control Data The control data depends on the destination. The following information is for
DeviceNet networks.
Note 1. Indicates a Unit as shown in the following table.
Variations
SEND
(192)
SEND S D C
Ladder Symbol
S: 1
st
source word
D: 1
st
destination word
C: 1
st
control word
Local node (source)
No. of
words
(specified
in C)
Destination node
Operands
.
.
.
.
.
.
Word Bits 00 to 07 Bits 08 to 15
C Number of words: 1 to 267 words ($0001 to $010B)
C+1 Destination network address
(0 to 127, i.e., $01 to $7F, 0 = local
network)
Set to 0.
C+2 Destination unit address (See note
1.)
Destination node address (See note
2.)
C+3 Bits 00 to 03:
No. of retries (0 to 15,
i.e., $0 to $F)
Bits 04 to 07:
Set to 0.
Bits 08 to 10:
Transmission port number
($0 to $7)
Bit 11 to 14:
Set to 0.
Bit 15: ON: No response.
OFF: Response returned.
C+4 Response monitoring time ($0001 to $FFFF = 0.1 to 6553.5 seconds) (See
note 3.)
Unit Setting
CPU Unit 00
User program in FA computer 01
CPU Bus Unit $10 to $1F: Unit numbers 0 to 15
$FE: The local Unit
153
Using FINS Message Communications Section 6-3
2. Values of $00 to $3F indicate nodes 0 to 63.
3. Designates the length of time that the PLC retries transmission when bit
15 of C+3 is OFF and no response is received. The default value is $0000,
which indicates 2 seconds.
NETWORK RECEIVE: RECV(098)
Description RECV(098) transfers data beginning at word S from the designated node on
the designated Network to addresses beginning at D at the local node.
Control Data The control data depends on the source node. The following information is for
DeviceNet Networks.
Note 1. Indicates a Unit as shown in the following table.
2. Values of $00 to $3E indicate nodes 0 to 63.
3. Designates the length of time in (0.1-s units) that the PLC retries transmis-
sion when bit 15 of C+3 is OFF and no response is received. The default
value is $0000, which indicates 2 seconds. If baud rate is slow and the re-
sponse monitoring time is short, an error may occur.
Variations
RECV(098)
(098)
(@)RECV S D C
Ladder Symbol
S: 1
st
source word
D: 1
st
destination word
C: 1
st
control word
Local node (destination)
No. of
words
(speci-
fied in C)
Source node
Operands
.
.
.
.
.
.
m
Word Bits 00 to 07 Bits 08 to 15
C Number of words: 1 to 269, i.e., $0001 to $010D)
C+1 Source network address
(0 to 127, i.e., $00 to $7F, 0 = local
network)
Set to 0.
C+2
Source unit address (See note 1.) Source node address (See note 2.)
C+3 Bits 00 to 03:
No. of retries (0 to 15 in
hexadecimal,
i.e., $0 to $F)
Bits 04 to 07:
Set to 0.
Bits 08 to 10:
Transmission port number
($0 to $7)
Bit 11 to 14:
Set to 0.
Bit 15: ON: No response.
OFF: Response returned.
C+4 Response monitoring time ($0001 to $FFFF = 0.1 to 6553.5 seconds) (See
note 3.)
Unit Setting
CPU Unit 00
User program in FA computer 01
CPU Bus Unit $10 to $1F: Unit numbers 0 to 15
$FE: The local Unit
154
Using FINS Message Communications Section 6-3
6-3-4 Sending FINS Commands
DELIVER COMMAND: CMND(490)
Description CMND(490) can be used in the user program of the CS/CJ-series CPU Unit to
send FINS commands to read/write I/O memory, read status data, change the
operating mode, and perform other functions at other nodes.
CMND(490) transmits the command beginning at word S to the designated
Unit at the destination node address in the designated network, and receives
the response beginning at word D.
Note 1. Indicates a Unit as shown in the following table.
2. Values of $00 to $3E indicate nodes 0 to 63.
3. Designates the length of time in (0.1-s units) that the PLC retries transmis-
sion when bit 15 of C+3 is OFF and no response is received. The default
value is $0000, which indicates 2 seconds. If baud rate is slow and the re-
sponse monitoring time is short, an error may occur.
Word Bits 00 to 07 Bits 08 to 15
C Number of command bytes to send: 0 to 542 (i.e., $0000 to $021E)
C+1 Number of response bytes to receive: 0 to 542 (i.e., $0000 to $021E)
C+2 Destination network address
(0 to 127, i.e., $00 to $7F, 0 = local
network)
Set to 0.
C+3 Destination unit FINS address (See
note 1.)
Destination node address (See note
2.)
C+4 Bits 00 to 03:
No. of retries (0 to 15,
i.e., $0 to $F)
Bits 04 to 07:
Set to 0.
Bits 08 to 10:
Transmission port number
($0 to $7)
Bit 11 to 14:
Set to 0.
Bit 15: ON: No response.
OFF: Response returned.
C+5 Response monitoring time ($0001 to $FFFF = 0.1 to 6553.5 seconds) (See
note 3.)
Variations
CMND(490)
(490)
(@)CMND S D C
Ladder Symbol
S: 1
st
command word
D: 1
st
response word
C: 1
st
control word
Local node (source)
Com-
mand
data
Destination node
Operands
Re-
sponse
data
Interpretation
Execution
Command
Response
.
.
.
.
.
.
.
.
.
Unit Setting
CPU Unit 00
User program in FA computer 01
CPU Bus Unit $10 to $1F: Unit numbers 0 to 15
$FE: The local Unit
155
Using FINS Message Communications Section 6-3
Note Explicit messages can be sent to OMRON slaves and DeviceNet devices
made by other manufacturers by setting the FINS command code to 28 01.
When this is done, set the response monitoring time in C+5 to at least the
value set for the message monitoring timer (default: 2 s). If it is set to less than
the value for the message monitoring timer (default:2 s), communications may
be busy even if the next command is executed after the first one times out.
6-3-5 Using SEND(090), RECV(098), and CMND(490)
SEND(090), RECV(098), and CMND(490) instructions normally use an AND
of the Network Enabled Flag in the CPU Unit (A20200 to A2020007 corre-
sponding to ports 0 to 7) and the Online Flag (word n+11, bit 00) (or the Mes-
sage Communications Permitted Flag (word n+24, bit 12)) for the DeviceNet
Unit.
Note The Online Flag and the Message Communication Permitted Flag
perform the same operation.
or
Communications Flags
Communications Flag Operation
The Network Enabled Flag turns OFF when instructions are being sent or
received (from when the instruction is issued until the response is
received) and turns ON when the execution has been completed, whether
normally or with an error.
The Network Error Flag maintains its status until the next send or receive
is executed.
The Network Error Flag turns OFF when the next communications
instruction is executed, regardless of whether the previous execution
ended with an error.
The relationship between the Message Communications Permitted Flag
and the NS indicator and between the Message Communications Permit-
SEND(090), RECV(098), or CMND(490)
Execution
condition
Network
Enabled Flag
Online Flag
word n+11, bit 00
SEND(090), RECV(098), or CMND(490)
Execution
condition
Network
Enabled Flag
Message
Communications
Permitted Flag
word n+24, bit 12
Type Name Address Content
Word Bit
CPU Unit Network Enabled Flag A202 0: Execution not possible (execut-
ing)
1: Execution possible (not execut-
ing)
Network Error Flag A219 0: Normal completion
1: Error
7 6 5 4 3 2 1 0
P
o
r
t
0
P
o
r
t
1
P
o
r
t
2
P
o
r
t
3
P
o
r
t
4
P
o
r
t
5
P
o
r
t
6
P
o
r
t
7
7 6 5 4 3 2 1 0
P
o
r
t
0
P
o
r
t
1
P
o
r
t
2
P
o
r
t
3
P
o
r
t
4
P
o
r
t
5
P
o
r
t
6
P
o
r
t
7
156
Using FINS Message Communications Section 6-3
ted Flag and the NS indicators on the front of the DeviceNet Unit is shown
in the following table.
Communications Instructions Completion Codes
The status at the completion of the execution of network communications
instructions is shown at the words indicated in the following table, as FINS
completion codes. During execution of the instructions the status will be 00 or
$0000 and this will be reflected at the end of the execution of the network
communications instruction.
Note For the CS/CJ-series, the completion codes are stored as 2 bytes of
data (1 word) upon completion of the execution of SEND(090),
RECV(098), and CMND(490). These codes are the same as the re-
sponse codes for FINS commands. The first byte of the completion
code is placed in bits 08 to 15 and the second byte is placed in bits
00 to 07.
Timing of Reading Responses
Responses should be read on the rising edge (upward differentiation) of the
Network Enabled Flag, as shown in the following diagram.
Message
Communications
Permitted Flag
Network status NS
indicator
ON Communications connection made (network nor-
mal)
Lit green
Communications connection not made (network
normal, but communications not established)
Flashing
green
Non-fatal communications error (error in one or
more Slaves)
Flashing
red
OFF Offline or power supply is OFF (no power supply,
resetting, minor failure, or send error)
Not lit
Fatal communications error Lit red
Words Functions
Port #0 to #7
Completion Codes
(A203 to A210)
A203 to A210 contain the completion codes for the results
of communications instruction execution for ports #0 to
#7, respectively.
Network En-
abled Flag
Execution
Error Flag
Completion
code
Communications
instruction
Previous
code
Instruction
1 executed
Instruction
2 executed
Instruction
3 executed
00 Normal
end
00
04 Busy
00
00 Normal
end
00
1
0
1
0
Network Enabled
Flag
Processing to read response
157
Using FINS Message Communications Section 6-3
Send/Receive Data Areas
The size of the data areas that can be used with SEND and RECV depends
on the PLC that is being used. The following table shows the areas that can
be used for CS/CJ-series PLCs.
Note 1. A000 to A477 in the Auxiliary Area are write-protected.
2. There can be up to 13 banks of EM Memory. Refer to the operation manual
for the CPU Unit for information on whether it has EM Memory and how
many banks can be used.
3. Do not exceed the boundary of the data areas for the PLC you are using.
Programming Examples
Example 1: Sending Data Using SEND
Operation
The data from the 5 words D01000 to D01004 from the PLC with De-
viceNet Unit 1 with node address 05 are sent to D03000 to D03004 in
the PLC with DeviceNet Unit 2 with node address 06.
The completion code is stored in D00006 when execution of SEND
has been completed.
Command Details
The following command is used: [SEND S D C]
S = D01000: First source word at local (source) node
D = D03000: First destination word at destination node
C = D00000: First control word; settings are given below (Hex).
D00000 = 0005: Number of words to send
D00001 = 0001: Destination network address
D00002 = 0600: Destination node address (06)
Destination unit address (00 = CPU Unit)
D00003 = 0000: Response, communications port 0, no retries
D00004 = 0064: Response monitoring time
Data Area Range
CIO Area CIO 0000 to CIO 6143
Work Area WR W000 to W511
Holding Area H000 to H511
Auxiliary Area
A000 to A959 (See note 3.)
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D00000 to D32767
EM Area
E00000 to E32767 (See note 2.)
CS/CJ-series DeviceNet Unit No. 0
CS/CJ-series
PLC
CPU
Unit
Node 05
Network 01
SEND
Node 06
Unit address: 00
CPU
Unit
PLC
CS/CJ-series
CS/CJ-series
DeviceNet Unit
158
Using FINS Message Communications Section 6-3
Program Example
(021)
MOV A503 D00006
11
A202
(021)
MOV #0005 D00000
(021)
MOV #0001 D00001
(021)
MOV #0600 D00002
(021)
MOV #0000 D00003
(025)
ASL 0000
000
00
A202
00
0000
01
(071)
BSET #1234 D01000 D01004
Sets 1234 in D01000 to D01004.
Places data into control data words to specify the 5
words to be transmitted to the CPU Unit of node 06 of
network 01, through port 0, with response, 0 retries,
and a response monitoring time of 10.0 seconds.
Shifts the contents of CIO 0000 one bit to the right and
retries the next cycle (CIO 000000 ON).
Transfers 5 words of data from D01000 to D01004 from
the PLC of node 05 to D03000 to D03004 in the PLC of
node 06.
Shifts the contents of CIO 0000 one bit to the left.
Stores the completion code in A203 to D00006.
Network
Enabled
Flag
(021)
MOV #0064 D00004
(021)
MOV #0001 0000
First Scan Flag
1511
00
(061)
ASR 0000
Execution
condition
Online Flag
(Word n+11,
bit 00)
00 08
Network
Enabled
Flag
Network
Execution
Error Flag
Places 0001 into CIO 0000
(001)
END
(090)
SEND D01000 D03000 D00000
A202 A202
159
Using FINS Message Communications Section 6-3
Example 2: Sending a FINS Command Using CMND
Operation
The PLC with DeviceNet Unit 1 with node address 5 reads the data
from the 5 words D01000 to D01004 from the PLC with DeviceNet Unit
2 with node address 06.
The MEMORY AREA READ command (01 01) is used to read variable
data.
Command data is written starting from D01000 in the PLC with De-
viceNet Unit 1 with node address 5 and the response data is written
starting from D02000.
The completion code is stored in D00006 when execution of SEND
has been completed.
Command Details
The following command is used: [CMND S D C]
S = D01000: First command word at local node
Settings (Hex)
D01000 = 0101: Command Code
D01001 = 8203: Command parameters
D01002 = E800: Command parameters
D01003 = 0005: Command parameters
D = D02000: First response word at local node
C = D00000: First control word
Settings (Hex).
D00000 = 0008: Number of command bytes
D00001 = 000E: Number of response bytes
D00002 = 0001: Destination network address
D00003 = 0600: Destination node address (06)
Destination unit address (00 = CPU Unit)
D00004 = 0000: Response, communications port 0, no retries
D00005 = 0064: Response monitoring time
CS/CJ-series
DeviceNet Unit No. 0
CPU
Unit
Node 05
Network 01
CMND
Node 06
Unit ad-
dress: 00
CPU
Unit
CS/CJ-series
DeviceNet Unit
MEMORY AREA READ command
160
Using FINS Message Communications Section 6-3
Example Program
6-3-6 Connecting Networks for FINS Communications
CS/CJ-series DeviceNet Units can perform FINS communications between
networks. DeviceNet networks are handled the same way as other FA net-
works such as Controller Link or SYSMAC LINK, and the OA network Ether-
net.
DeviceNet networks can be connected to the other DeviceNet networks or to
other types of networks.
Note Explicit message communications cannot be performed between networks.
(021)
MOV A203 D00006
A500
15
(021)
MOV #0008 D00000
(021)
MOV #000E D00001
(021)
MOV #0001 D00002
(021)
MOV #0600 D00003
(490)
CMND D01000 D02000 D00000
(025)
ASL 0000
0000
00
A202
0000
01
(071)
BSET #0000 D00000 D02999
Sets 0000 in D00000 to D02999.
Place data into control data words to specify to read
5 words D01000 to D01004 from the PLC of node 06
and network 01 to the PLC of node 05.
Shifts the contents of CIO 0000 one bit to the right to
reset CIO 000000.
Reads 5 words D01000 to D01004 from the PLC of node
06 and network 01 to the PLC of node 05 and stored the
data beginning at D02000.
Shifts the contents of CIO 0000 one bit to the left.
Stores the network error response code in A203 to
D00006.
Port
Enabled
Flag
(021)
MOV #0000 D00004
(021)
MOV #0064 D00005
First Scan Flag
15110
00
(026)
ASR 0000
Execution
condition
Online Flag
(word n+11,
bit 00)
Port
Enabled
Flag
Port
Execution
Error Flag
Places 0001 into CIO 0000
(021)
MOV #0101 D01000
(021)
MOV #8203 D01001
(021)
MOV #E800 D01002
(021)
MOV #0005 D01003
(021)
MOV #0001 0000
Place the command data for MEMORY AREA READ
into D01000 to D01003.
00
00 00
A202
A219
(001)
END
161
Sending Explicit Messages Section 6-4
When connecting networks, routing tables must be registered for the PLC
CPU Units on all networks.
When connecting two or more communication units (including the DeviceNet
Unit) to a CS/CJ-series CPU Unit, the DeviceNet Unit must be registered in
the CS/CJ-series PLC CPU Unit routing table (for the local network table
only). Commands cannot be executed if the DeviceNet Unit is not registered.
6-4 Sending Explicit Messages
CS/CJ-series DeviceNet Units can send explicit messages. FINS command
headers are attached to explicit messages and sent. Explicit messages can
be sent to the following destinations.
Masters or slaves made by other manufacturers
Other PLCs with a CS/CJ-series DeviceNet Unit.
PLCs (Slaves) with C200H I/O Link Units (See note).
Note Only reading and writing I/O memory is possible for PLCs with
C200H I/O Link Units. Status reading/writing is not possible.
Example
Up to 3 levels of networks, including DeviceNet, are possible.
Controller Link Unit Controller Link Unit
CS/CJ-series DeviceNet Unit
CS/CJ-series CPU Unit
Remote I/O communications
Controller Link
DeviceNet
CS/CJ-series DeviceNet Unit
DeviceNet CS/CJ-series
DeviceNet Unit
CS/CJ-series DeviceNet Unit
CS/CJ-series CPU Unit
Explicit messages can be sent
Explicit message
FINS header
DeviceNet
Other manufacturer master or slave
or
C200H I/O Link Unit
C200HX/HG/HE or
CS/CJ-series
CPU Unit (Slave)
Note Only I/O memory
read/write possible
CS/CJ-series DeviceNet Unit
162
Sending Explicit Messages Section 6-4
6-4-1 Sending Explicit Messages
The FINS command code 28 01 can be used to send explicit DeviceNet mes-
sages to OMRON slaves and DeviceNet devices made by other manufactur-
ers. The use of explicit messages is illustrated in the following diagram.
The local DeviceNet Unit is specified as the destination in the communica-
tions instruction in the PLCs user program (not the OMRON Special Slave or
DeviceNet device made by another manufacturer), and the node address of
the actual destination (i.e., the Slave or Master made by another manufac-
turer) is specified in the command data for the explicit message send com-
mand.
CPU Unit
CMND
(490)
Explicit
message
FINS
header
Use 28 01 for the
FINS command code.
FINS
header
Response
DeviceNet Unit
FINS
header
FINS
header
Explicit
message
Response
DeviceNet
network
Slave or Master
by other
manufacturer
FINS command
PLC's
CPU Unit
Explicit message
Slave or Master
not by OMRON
CMND
Control data in C+3
Destination node address: Local node address
Destination unit address: Unit No. of DeviceNet Unit +10 (Hex)
163
Sending Explicit Messages Section 6-4
The following diagram shows an example of actual node address specifica-
tions.
Note Depending on conditions, the destination slave may not always accept an
explicit message. Always perform retry processing when sending explicit mes-
sages.
FINS Command: EXPLICIT MESSAGE SEND (28 01)
EXPLICIT MESSAGE SEND will send an explicit DeviceNet message to the
specified class and receive a response.
Command Block
Response Block
Normal Response
Error Responses
The following response is returned if an error occurs for the explicit message.
The following response is returned if the explicit message cannot be sent or
times out.
PLC's
CPU
Unit
Explicit message
Node 06
(Slave or Master not
by OMRON)
Destination node address:
Local node address: 05
Node 05
Destination unit address:
FE or 12 (Hex)
The node address of the non-OMRON node is set as the
destination node address in the FINS command data.
Command code
Node address of the non-
OMRON node: 06 Hex
Explicit command block
Machine No. of DeviceNet Unit: 2
CMND
S
D
C
S
S+1
2 8 0 1
15 8 7 0
15 8 7 0
0 6
0 C+3 5 F E
01 28
Destination node address
Instance ID Service data Class ID Command
code
534 bytes max.
Service code
01 28
Destination node address (remote node)
No. of bytes
received
Service data Response
code
Command
code
534 bytes max.
Service code
01 28
Destination node address (remote node)
Service code 94 (Hex)
No. of bytes
received
Response
code
Command
code
Error code
164
Sending Explicit Messages Section 6-4
Parameters Destination node address (command): The node address of the destination
of the explicit message. (The node address of the local DeviceNet Unit is
specified in the control data for the CMND(490), but the node address of the
actual destination is specified here in the FINS command.)
Service code (command, response): A service code defined for DeviceNet.
In a normal response, bit 15 of the service code specified in the command will
be turned ON and returned. In an error response, 94 Hex will always be
returned.
Class ID (command): The class ID of the destination of the explicit message.
Instance ID (command): The instance ID of the destination of the explicit
message.
Service data (command, response): The data defined for the services
codes.
No. of bytes received (response): The number of bytes received from the
destination node address (remote node).
Destination node address (remote node): The node address of the
OMRON Special I/O Slave Unit or Slave manufactured by another company to
which the explicit message was sent is returned.
Error code (response): An error code defined by DeviceNet.
Note 1. This command sends a DeviceNet-defined explicit message to an OMRON
Special I/O Slave Unit or a Slave manufactured by another company and
receives a response.
2. Unlike other FINS commands, this command is addressed to the local De-
viceNet Unit. The actual destination of the explicit message is given in the
command data, as described above.
3. If the DeviceNet Unit receives an explicit message, it will automatically re-
turn a response.
4. Refer to the DeviceNet Specification for details on parameters for explicit
messages.
5. Contact the Open DeviceNet Vendor Association, Inc. (ODVA) at 8222
Wiles Road, Suite 287, Coral Springs, FL 33067 USA (phone: 954-340-
5412, fax: 954-340-5413, e-mail: [email protected], Home page:
http://www.odva.org/) to obtain copies of the specification.
6. For details on explicit messages to OMRON Special I/O Slaves, refer to the
DeviceNet Slaves Operation Manual (W347).
6-4-2 Sending Explicit Messages Using CMND(490)
CMND(490) can be used in the CPU Unit ladder program of the CS/CJ-series
DeviceNet Unit to send explicit messages.
FINS command headers are attached to the explicit messages and sent.
After the FINS command header and the FINS completion code are sent, the
explicit message response is received.
The following command is used: [ CMND S D C ]
S: First command word
D: First response word
01 28
Response
code
Command
code
165
Sending Explicit Messages Section 6-4
C: First control data word
Command data is set in order starting with the word specified for the
CMND(490) operand S (first command word) and continuing with words with
higher addresses in I/O memory in the command block format.
Command Format Example: Writing Error Clear Codes to the CPU Unit
In the same way, response data is set from the starting with the word specified
for CMND(490) operand D (first response word) and continuing with words
with higher addresses in I/O memory in the response block format.
Note Service data that is in word (2-byte) or double-word (4-byte) units, such as
word data and ERROR CLEAR codes, is specified from low to high (U) bytes
in command block format. For example, to specify word data $1234, specify
$34 and then $12. To specify $12345678, specify $78 to $56 to $34 to $12.
The command blocks are shown in the following diagram.
Set in this order starting from the word specified for the
CMND(490) operand S (first command word) and
continuing with words with higher addresses.
Command
code
Destination
node address
Service
Code
Class ID
Instance ID
Service Data
Method for Setting Data from CMND(490) Operand S
Bit
FINS command code
Node address, Service Code
Class ID
Instance ID
Service Data
Service Data
28 01 01 10 00 2F 00 00 65 FE FF
166
Sending Explicit Messages Section 6-4
The response format data in service data that is in word (2-byte) or double-
word (4-byte) units, such as word data and ERROR CLEAR codes, is also
specified from low to high bytes in response block format
Example: Sending Explicit Messages Using CMND(490)
Operation The vendor code is read from a Slave (OMRON vendor code: 002F Hex)
using the EXPLICIT MESSAGE SEND command, 28 01. The command data
is written starting at DM01000, and the response data is stored starting at
D02000. When execution of CMND(490) has been completed, the completion
code is stored in D00006 and the instruction is executed again.
Command Details The following command is used: [ CMND S D C ]
S = D01000: First command word at local node
Settings (Hex)
D01000 = 2801: Command Code
D01001 = 0B0E: Slave node address: 11
Service code: 0E
D01002 = 0001: Class ID: 0001
D01003 = 0001: Instance ID: 0001
D01004 = 0100: Attribute ID: 01
D = D02000: First response word at local node
C = D00000: First control word
Command Block
Eg. For $1234 Eg. For $15678234
Service Data
Service Data
The format from CMND(490) operand S onwards will be set as follows:
Example: $1234 Example: $12345678
From higher byte From higher byte
Bit Bit
From lower byte
From lower byte
Bit
Bit
DeviceNet Unit No. 0
CMND(490)
instruction
PLC's
CPU
Unit
Node address 05
Unit address FE Hex or 10 Hex
Explicit message
Slave node 11
167
Sending Explicit Messages Section 6-4
Settings (Hex).
D00000 = 0009: Number of command bytes
D00001 = 000A: Number of response bytes
D00002 = 0001: Destination network address: 1
D00003 = 05FE: Destination node address: 05
Destination unit address: FE (or 10)
D00004 = 0000: Response, communications port 0, no retries
D00005 = 0064: Response monitoring time
Response D02000= 2801
D02001= 0000
D02002= 0004
D02003= 0B8E:Response source node address 11: 0B Hex
Normal completion 8E Hex
D02004= 2F00: Vendor code stored from high to low byte
168
Receiving Explicit Messages Section 6-5
Program Example
6-5 Receiving Explicit Messages
This CS/CJ-series DeviceNet Unit contains a PLC Object. The Unit will
receive messages addressed to the PLC Object, process service requests
addressed to the CPU Unit, and return responses.
The following services are provided by the PLC Object.
CPU Unit status read/write
CPU Unit I/O memory read/write
The explicit messages can be received from the following sources:
Masters made by other manufacturers
PLCs with C200H-series DeviceNet Master Units (C200HW-DRM21-V1)
(021)
MOV A203 D00006
A200
11
(021)
MOV #0009 D00000
(021)
MOV #000A D00001
(021)
MOV #0001 D00002
(021)
MOV #05FE D00003
(490)
CMND D01000 D02000 D00000
(025)
ASL 0000
0000
00
A202
0000
01
(071)
BSET #0000 D00000 D02999
Sets 0000 in D00000 to D02999.
Place data into control data words to specify sending
9 bytes to node 05 (unit FE) on network 01 and to
receive 10 bytes in return.
Shifts the contents of CIO 0000 one bit to the right and
retry at next cycle (CIO 000000 ON).
Sends 9 bytes of command data to node 05 (unit FE) on
network 01 and receives 10 bytes of response data and
stores it in D02000.
Shifts the contents of CIO 0000 one bit to the left.
Stores the completion code in A203 to D00006.
Port
Enabled
Flag
(021)
MOV #0000 D00004
(021)
MOV #0064 D00005
First Scan Flag
1511
00
(026)
ASR 0000
Execution
condition
Message
Commu-
nications
Permitted
Flag
A202
00
A219
00
Port
Enabled
Flag
Port
Execution
Error Flag
(021)
MOV #2801 D01000
(021)
MOV #0B0E D01001
(021)
MOV #0001 D01002
(021)
MOV #0001 D01003
(021)
MOV #0100 D01004
Place the command data for EXPLICIT MESSAGE
SEND into D01000 to D01004.
Places 0001 into CIO 0000
(021)
MOV #0001 0000
00
(001)
END
169
Receiving Explicit Messages Section 6-5
PLCs with CVM1/CV-series DeviceNet Master Units (CVM1-DRM21-V1)
PLCs with CS/CJ-series DeviceNet Units
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 CS/CJ-series DeviceNet Unit can also send an explicit mes-
sage to read/write I/O memory of PLCs with C200H I/O Link Units.
6-5-1 List of PLC Object Services
PLC Objects provide the following services.
Status Read/Write for CPU Units
CS/CJ-series
DeviceNet Unit
CS/CJ-series CPU Unit
C200H-series
DeviceNet Master Unit C200HX/HG/HE
CPU Unit
Other manufacturer master
Explicit messages can
be received
Explicit message
DeviceNet
Services Service
code
Class ID Instance ID Request
service data
Contents
CPU Unit Informa-
tion Read
0E Hex 2F Hex 00 Hex Attribute ID =
64 Hex
Reads the operating mode of the
CPU Unit.
Attribute ID =
65 Hex
Reads if there is a fatal or non-fatal
error in the CPU Unit.
Attribute ID =
66 Hex
Reads CPU Unit model.
CPU Unit Write 10 Hex Attribute 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, CPU
standby
Operating modes: PROGRAM, MON-
ITOR, RUN
Fatal error information: Error flags,
including memory errors, I/O bus
errors, system errors
Messages: Message No. when MSB
instruction executed by CPU Unit
Error codes: Error code for the most
serious errors
Error messages: Messages stored in
CPU Unit when FAL/FALS instruction
executed
170
Receiving Explicit Messages Section 6-5
I/O Memory Read/Write for CPU Units
The commands and responses for the explicit messages that can be sent and
received are described on the following pages.
Note In the following command and response formats, all boxes repre-
sents 1 byte.
Service Service
code
Class ID Instance ID Request
service
data
Contents
Byte Data Read IC Hex 2F Hex Specifies
area (01 Hex
to 14 Hex)
Address, No.
of read bytes
Reads the specified node data in byte units.
The word data is read in order, from high to
low bytes.
Read data: 200 bytes max.
Word Data
Read
ID Hex Address, No.
of read
words
Reads the specified node data in word
units. The word data is read in order, from
high to low bytes.
Read data: 200 bytes max.
Byte Data Write IE Hex Address,
word data
Writes the specified node data in byte units.
The word data is specified in order, from
high to low bytes.
Write data: 200 bytes max.
Word Data Write IF Hex Address
word data
Writes the specified node data in word
units. The word data is specified in order,
from high to low bytes.
Write data: 200 bytes max.
171
Receiving Explicit Messages Section 6-5
CPU Information Read (Service Code: 0E Hex)
Reads CPU Unit information, including operating mode, fatal/non-fatal errors,
and the CPU Unit model.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters Service code (command, response): 0E Hex is specified for commands.
For responses, the highest bit be ON and 8E Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): Always 00 Hex.
Attribute ID (command): The read information is specified by the attribute ID.
The attribute IDs are listed in the following table.
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 fatal or non-fatal 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 returned in 1-word (2-byte) hexadecimal for-
mat, as follows:
0001 Hex: PROGRAM mode; 0002 Hex: MONITOR mode;
0004 Hex: RUN mode
Class ID
Instance ID
0E 2F
(*)
00
(*)
Attribute ID
Service Code
8E
Service Code
Attribute Value
Attribute ID (Hex) Contents Attribute value size
64 CPU Unit operating mode 1 word (2 bytes)
65 CPU Unit errors 1 word (2 bytes)
66 CPU Unit model 22 bytes
PROGRAM mode
MONITOR mode
RUN mode
172
Receiving Explicit Messages Section 6-5
Note The codes for the above modes are 1-word (2-byte) data and are returned in
low byte first. For example, for PROGRAM mode, the code is returned as 01
Hex followed by 00 Hex.
CPU Unit Errors (when Attribute ID = 65 Hex)
The CPU Unit fatal/non-fatal error data is returned in 1-word (2-byte) hexa-
decimal format, as follows:
01 Hex: Error; 00 Hex: No error.
CPU Unit Model (when Attribute ID = 65 Hex)
The CPU Unit model is returned in ASCII.
Size: 2 bytes (Always 1400 Hex) + Model: 20 bytes (fixed). Unused area is
filled with 20 Hex (spaces) and returned.
CPU Unit Write (Service Code: 10 Hex)
This PLC Object service writes CPU Unit information, including the operating
mode and clearing errors.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters Service code (command, response): 10 Hex is specified for commands. For
responses, the highest bit will turn ON and 90E Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): Always 00 Hex.
Attribute ID (command): Information to write is specified by the attribute ID.
The attribute IDs are listed in the following table.
CPU Operating Mode (Attribute ID = 64 Hex)
Changes the CPU Unit operating mode.
1: Error
20 bytes
Byte Byte Byte Byte Byte
Unit name
Class ID
Instance ID
10 2F
(*)
00
(*)
Attribute ID
Service Code Attribute Value
Service Code
90
Attribute ID (Hex) Contents Attribute value size
64 CPU Unit operating mode 1 word (2 bytes)
65 CPU Unit errors 1 word (2 bytes)
173
Receiving Explicit Messages Section 6-5
The Attribute Values are as follows:
0001 Hex: PROGRAM mode; 0002 Hex: MONITOR mode;
0004 Hex: RUN mode
Note The specified code for the above operating modes are 1-word (2-byte
data, and are specified with the low byte first. For example, for PRO-
GRAM mode, the code is specified as 01 Hex followed by 00 Hex. Ac-
cordingly, the low to high bytes for the above codes are set as high
to low bytes in I/O memory, when setting the codes as data for oper-
and S of CMND(490).
Clearing CPU Unit Errors (when Attribute ID = 65 Hex)
Clears any fatal or non-fatal errors in the CPU Unit. Sets the error clear
code to Attribute Value. The error clear codes are listed in the following
table.
Note Error clear codes are 1-word (2-byte) data, so the above codes are
specified with the low byte first. The low to high bytes for the above
codes are set as high to low bytes in I/O memory, when setting the
codes as data for operand S of CMND(490). For example, to specify
battery error 00F7 Hex, specify the error code as F7 Hex followed by
00 Hex, as shown in the following diagram.
Error code
(Hex)
Data cleared
FFFE Current error (clears the highest priority error)
0008B Interrupt task error
009A Basic I/O error
009B PLC Setup error
02F0 Inner Board non-fatal error
0300 to 035F Special I/O Unit error
00A0 to 00A1 SYSMAC BUS error
0500 to 055F Special I/O Unit settings error
00E7 I/O verification error
When registered and actual I/O tables are different
When disconnecting or connecting I/O Units
00F7 Battery error
0200 to 020F CS/CJ-series CPU Bus Unit error (last 2 digits are binary code for
the Unit No.)
For parity errors generated when data transferred between CS/CJ-
series CPU Bus Unit and CPU Unit
For watchdog timer errors in CS/CJ-series CPU Bus Unit
0400 to 040F CPU Bus settings error (last 2 digits are binary code for the Unit
No.)
System error (FAL): FAL instruction executed
4101 to 42FF
Class ID
Instance ID
10 2F 00
Attribute ID
Service Code Attribute Value
65 F7 00
Command Block
174
Receiving Explicit Messages Section 6-5
CPU Unit Status Read (Service Code: 40 Hex)
This PLC Object service reads status details (operation status, operating
mode, fatal and non-fatal errors, etc.) from the CPU Unit.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters Service code (command, response): 40 Hex is specified for commands. For
responses, the highest bit will turn ON and C0 Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): Always 00 Hex.
Read data (response): The read data is given in the following table. The data
is returned after the service code in the order shown in the table (high to low).
Operation status: Returns the operation status of the CPU Unit in 1-byte
(2-digit) hexadecimal.
Operating mode: Returns the operating mode of the CPU Unit in 1-byte
(2-digit) hexadecimal.
0001 Hex: PROGRAM mode; 0002 Hex: MONITOR mode;
0004 Hex: RUN mode
Fatal error information: Returns the fatal error information for the CPU
Unit in 2 bytes (low to high).
Class ID
Instance ID
40 2F
(*)
00
(*)
Service Code
C0
Service Code
Detailed status
Operation Status
RUN mode
Fatal error information (L)
Fatal error information (H)
Non-fatal error information (L)
Non-fatal error information (H)
Message exists/does not exist (L)
Message exists/does not exist (H)
Error code (L)
Error code (H)
Error message (16 bytes)
175
Receiving Explicit Messages Section 6-5
Non-fatal error information: Returns the non-fatal error information for
the CPU Unit in 2 bytes (low to high).
Message Exists/Does Not Exist: When the MSG instruction is executed
by the CPU Unit, the bit corresponding to the message number will turn
ON and be returned in 2 bytes (from low to high bytes).
Error Code: The highest priority error code of the errors existing when
the command is executed will be returned in 2-byte decimal (from low to
high bytes). If there are no errors, the error code will be 0000.
1: System error (FALS)
1: Cycle time over
1: Program error
1: I/O setting error
1: No. of I/O points exceeded
1: Inner Board fatal error
1: Number duplicate use error
1: I/O Bus error
1: Memory error
Unspecified (reserved for system use)
1: Special I/O Unit error
1: CPU Bus settings error
1: Battery error
1: SYSMAC BUS error
1: Special I/O Unit
1: CS1-series CPU Bus Unit error
1: Inner Board error
1: I/O verification error
1: PLC system error
1: Unspecified (reserved for system use)
1: Basic I/O Unit error
1: Interrupt task error
1: Unspecified (reserved for system use)
1: System error (FAL)
Message No. 0 (1: exists; 0: does not exist)
Message No. 1 (1: exists; 0: does not exist)
Message No. 2 (1: exists; 0: does not exist)
Message No. 3 (1: exists; 0: does not exist)
Message No. 4 (1: exists; 0: does not exist)
Message No. 5 (1: exists; 0: does not exist)
Message No. 6 (1: exists; 0: does not exist)
Message No. 7 (1: exists; 0: does not exist)
176
Receiving Explicit Messages Section 6-5
Note For information on the severity of error codes, refer to the CS1 Series
CPU Unit Operation Manual (W339) or the CJ Series CPU Unit Op-
eration Manual (W393).
Error Messages: If the above error codes have occurred when FAL/FALS
instructions are executed with registered messages, those messages are
returned in 16-byte ASCII. If there are no registered messages or if the
error codes have not occurred due to execution of FAL/FALS instructions,
the code is returned in ASCII with 20 Hex (space) in 16 bytes.
Byte Data Read (Service Code: 1C Hex)
Byte Data Read reads any I/O memory area data in a CPU Unit with a CS/CJ-
series DeviceNet Unit mounted. The read word data is in byte units. The
response block is returned from high to low bytes.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters Service code (command, response): IC Hex is specified for commands. For
responses, the highest bit will turn ON and 9C Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): The memory area that will read the data is specified
as shown in the following table.
Address L, Address H (command): The address of the first word from which
to read the data is specified in hexadecimal as shown below.
Address L: The lower 2 digits when the first word address is given in 4-digit
hexadecimal.
Address H: The higher 2 digits when the first word address is given in 4-digit
hexadecimal.
No of Read Bytes (command): The number of bytes of read data is specified
in 1-byte (2-digit) hexadecimal. The range is 01 to C8 Hex (1 to 200 decimal).
Class ID
Instance ID
1C 2F
(*) (*)
Address L
Service Code Address H
No. of bytes read
9C
Service Code
Word data H
Word data L
Word data H
Word data L
Read data (200 bytes max.)
Instance ID (Hex) CPU Unit memory area
for read
Word range
01 CIO 0000 to 6143
03 DM D00000 to D32767
04 WR W000 to W511
05 HR H000 to H511
08 to 14 EM, banks 0 to C En_00000 to En_32767
(n: 0 to C)
177
Receiving Explicit Messages Section 6-5
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 CS/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 byte: bits 0 to 7). If
an odd number is specified for the number of read bytes, the last 1 byte of
data will be read to the high word.
Important Points The actual address L, address H, and number of read bytes that can be spec-
ified depends on the model of the CPU Unit of the CS/CJ-series DeviceNet
Unit and the type of memory area. Do not exceed the boundary of the data
areas for the PLC you are using.
Word Data Read (Service Code: 1D Hex)
Word Data Read reads I/O memory area data in CPU Units with a CS/CJ-
series DeviceNet Units. The read word data is in word units. The response
block is returned from low to high bytes.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters Service code (command, response): ID Hex is specified for commands. For
responses, the highest bit will turn ON and 9D Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): The type of memory area that will read the data is
specified as shown in the following table.
Address L, Address H (command): The address of the first word to read the
data from is specified in hexadecimal as shown below.
Address L: The lower 2 digits when the first word address is given in 4-digit
hexadecimal.
Class ID
Instance ID
1C 2F
(*) (*)
Address L
Service Code Address H
No. of words read
9D
Service Code
Word data L
Word data H
Word data L
Word data H
Read data (200 bytes max.)
Instance ID (Hex) CPU Unit memory area
for read
Word range
01 CIO 0000 to 6143
03 DM D00000 to D32767
04 WR W000 to W511
05 HR H000 to H511
08 to 14 EM, banks 0 to C En_00000 to En_32767
(n: 0 to C)
178
Receiving Explicit Messages Section 6-5
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 speci-
fied in 1-byte (2-digit) hexadecimal. The range is 01 to 64 Hex (1 to 100 deci-
mal).
Read data (response): The specified area, word, and byte data is returned in
order from word L (low byte: bits 0 to 7) to word H (high byte: bits 8 to 15).
Important Points The actual address L, address H, and number of write data bytes that can be
specified depends on the CPU Unit of the CS/CJ-series DeviceNet Unit and
the Memory Area. Do not exceed the boundary of the data areas for the PLC
you are using.
Byte Data Write (Service Code: 1E Hex)
Byte Data Write writes data to I/O memory area in CPU Units with CS/CJ-
series DeviceNet Units mounted. The write word data is in byte units. The
command block is specified from high to low bytes, as shown in the following
diagram.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters Service code (command, response): IE Hex is specified for commands. For
responses, the highest bit will turn ON and 9E Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): The type of memory area to which the data will be
written is specified as shown in the following table.
Address L, Address H (command): The address of the first word to which
the data will be written is specified in hexadecimal as shown below.
Address L: The lower 2 digits when the first word address is displayed in 4-
digit hexadecimal.
Class ID
Instance ID
1E 2F
(*) (*)
Address L
Service Code Address H Word data L
Word data H
Word data L
Write data (200 bytes max.)
Word data H
Service Code
9E
Instance ID (Hex) CPU Unit memory area
for write
Word range
01 CIO 0000 to 6143
03 DM D00000 to D32767
04 WR W000 to W511
05 HR H000 to H511
08 to 14 EM, banks 0 to C En_00000 to En_32767
(n: 0 to C)
179
Receiving Explicit Messages Section 6-5
Address H: The higher 2 digits when the first word address is displayed in 4-
digit hexadecimal.
Write data (response): The specified area and write data is returned in order
from word H (higher byte: bits 8 to 15) to word L (lower byte: bits 0 to 7). If an
odd number is specified, the last 1 byte of data will be written to word H.
Important Points The actual address L, address H, and number of write data words that can be
specified depends on the type of CPU Unit with CS/CJ-series DeviceNet Unit
mounted and the type of memory area. Do not exceed the boundary of the
data areas for the PLC you are using.
Word Data Write (Service Code: 1F Hex)
Word Data Write writes data to any I/O memory area in CPU Units with CS/
CJ-series DeviceNet Units mounted. The write word data is in word units. The
response block is returned from low to high bytes.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters Service code (command, response): IF Hex is specified for commands. For
responses, the highest bit will turn ON and 9F Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): The memory area to which the data is written is
specified as shown in the following table.
Address L, Address H (command): The address of the first word to which
the data is written is specified in hexadecimal as shown below.
Address L: The lower 2 digits when the first word address is displayed in 4-
digit hexadecimal.
Address H: The higher 2 digits when the first word address is displayed in 4-
digit hexadecimal.
Class ID
Instance ID
1F 2F
(*) (*)
Address L
Service Code Address H Word data H
Word data L
Word data H
Write data (200 bytes max.)
Word data L
Service Code
9F
Instance ID (Hex) CPU Unit memory area
for write
Word range
01 CIO 0000 to 6143
03 DM D00000 to D32767
04 WR W000 to W511
05 HR H000 to H511
08 to 14 EM, banks 0 to C En_00000 to En_32767
(n: 0 to C)
180
Receiving Explicit Messages Section 6-5
Write data (response): The specified area and write data is returned in order
from word L (lower byte: bits 0 to 7) to word H (higher byte: bits 8 to 15).
Important Points The actual address L, address H, and number of read words that can be spec-
ified depends on the mode of CPU Unit for the CS/CJ-series DeviceNet Unit
and the type of memory areas. Do not exceed the boundary of the data areas
for the PLC you are using.
181
SECTION 7
Other Functions
This section describes connecting to CX-Programmer via the DeviceNet and the Memory Card backup function.
7-1 Connecting to the CX-Programmer via the DeviceNet. . . . . . . . . . . . . . . . . . 182
7-1-1 Setting Node Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
7-1-2 Setting the Message Monitoring Timer of the DeviceNet Unit . . . . 183
7-1-3 Setting the Frame Length when Using the CX-Programmer via
the DeviceNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
7-1-4 Response when Using the CX-Programmer via the DeviceNet . . . . 185
7-2 Memory Card Backup Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
7-2-1 Outline of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
7-2-2 File Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
7-3 Simple Backup Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
7-3-1 Overview of Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
7-3-2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
7-3-3 Operating Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
182
Connecting to the CX-Programmer via the DeviceNet Section 7-1
7-1 Connecting to the CX-Programmer via the DeviceNet
With CX-Programmer Ver. 2.1 or higher, a serial connection can be made to a
PLC containing a CS/CJ-series DeviceNet Unit to form an online connection,
via the DeviceNet, to other PLC CPU Units on the network.
CS-series CPU Unit
CJ-series CPU Unit
Programmable Slave
It is also possible to form an online connection (for remote programming or
monitoring) with the PLC CPU Units shown above on the DeviceNet network
from another network.
DeviceNet
DeviceNet Unit
CX-Programmer Ver. 2.1
or higher
Serial connection (Host Link or
peripheral bus)
Serial -->
DeviceNet
gateway
Online connection (enabling all online functions,
including remote programming and monitoring)
CS-series CPU
Unit
CJ-series CPU
Unit
Programmable
Slave
DeviceNet
Ethernet
CX-Programmer
Ver. 2.1 or higher
Ethernet --> DeviceNet
gateway
DeviceNet Unit
Online connection (enabling all online functions,
including remote programming and monitoring)
DeviceNet Unit
CS/CJ-series
Programmable
Slave
Ethernet Unit
183
Connecting to the CX-Programmer via the DeviceNet Section 7-1
7-1-1 Setting Node Addresses
When the CX-Programmer is connected online, it uses FINS message com-
munications. It is thus necessary to set the node address to a number other
than 0 for DeviceNet Units mounted to the target PLC, DeviceNet Units
mounted to a PLC which is connected by a serial connection to the CX-Pro-
grammer, or DeviceNet Units mounted to a PLC relaying between networks.
If a DeviceNet Unit with the address node 0 exists in the online connection
path, connection will not be possible.
7-1-2 Setting the Message Monitoring Timer of the DeviceNet Unit
When connecting the CX-Programmer via the DeviceNet, set the message
monitoring timer inside the following DeviceNet Units to 20,000 ms (20 s).
The DeviceNet Unit mounted to the PLC with the serial connection to the
CX-Programmer.
The DeviceNet Unit mounted to the PLC relaying between networks.
Use the Configurator to set the message monitoring timer.
Setting the Message
Monitoring Timer
Use the following procedure to set the message monitoring timer.
1,2,3... 1. Select Device/Parameter/Edit and then click the Message Timer Tab.
DeviceNet
DeviceNet
Ethernet
DeviceNet Unit
CX-Programmer Ver.
2.1 or higher
CX-Programmer Ver.
2.1 or higher
Serial connection (Host
Link or peripheral bus)
Ethernet Unit
DeviceNet Unit
Set the message
monitoring timer of
this DeviceNet Unit
to 20,000 ms (20 s).
Set the message
monitoring timer of this
DeviceNet Unit to
20,000 ms (20 s).
184
Connecting to the CX-Programmer via the DeviceNet Section 7-1
2. Double-click on the node address (#) that you want to change, or select the
node address and click on the Edit Button. A dialogue box like the one be-
low will appear.
3. Input the value, then click on the OK Button.
Note To set the same value for all of the devices, select the node address-
es to be set, then click on Copy to All Device.
Note 1. The default setting for the message monitoring timer is 2,000 ms (2 s). If it
is used without being changed, a communications error will result when the
CX-Programmer is operated. The setting range is 500 to 30,000 ms. Set in
units of ms.
2. The message monitoring timer serves as a timeout monitor for message
communications (both explicit and FINS). Settings can be made for each
device to which messages are to be sent. When the response from the tar-
get device is slow, the setting value must be increased. This is often the
case when FINS messages are sent across networks, because the re-
sponse time is typically slow. However, when the setting is increased, sub-
sequent messages cannot be sent to the same device until it is finished
waiting for the response.
Whereas the DeviceNet Unit monitors the message time-out with this tim-
er, the CPU Unit monitors with the response monitor time set in the CMND/
SEND/RECV instruction. There is thus no effect when only one of them,
i.e., only the message monitoring timer or only the response monitor time
in the CMND/SEND/RECV instruction, is increased or decreased. Set the
185
Connecting to the CX-Programmer via the DeviceNet Section 7-1
response monitor time in the CMND/SEND/RECV instruction to be the
same as or slightly longer than the time for the message monitoring timer
(Response monitor time in the CMND/SEND/RECV instruction message
monitoring timer.) If time-outs occur frequently, increase both of the set-
tings equally, while maintaining the relationship between them.
7-1-3 Setting the Frame Length when Using the CX-Programmer via the
DeviceNet
When using the CX-Programmer via the DeviceNet, set the frame length in
the Network Settings under Change PLC from the CX-Programmer to 542
bytes or less.
When using the peripheral bus, the value must be changed because the
default setting is 1,004 bytes. The Host Link (SYSMAC WAY) does not need
to be changed because the factory setting is 540 bytes.
The frame length setting is made with the following window. Click on the Set-
tings Button to the right of Network Type in the Change PLC Dialog Box to
access this window.
Refer to the operation manual for the CX-Programmer for details.
7-1-4 Response when Using the CX-Programmer via the DeviceNet
To assure appropriate remote I/O response in the DeviceNet field network, the
DeviceNet Unit is designed to prioritize remote I/O communications over mes-
sage communications. For this reason, when the CX-Programmer is con-
nected via the DeviceNet Unit, its response suffers by up to a nine-fold drop
(for a communications speed of 500 Kbps) in comparison with connection by
a peripheral bus.
The following methods can be used to improve this response.
1,2,3... 1. Temporarily disable remote I/O communications.
Operate the CX-Programmer after disabling remote I/O communications
by turning ON the Remote I/O Communications Stop Switch (word n, bit
04) in the allocated CIO Area words. This will limit the drop in response to
Set this value
to 542 or less.
186
Memory Card Backup Functions Section 7-2
a maximum of four-fold (for a communications speed of 500 Kbps) in com-
parison with connection by a peripheral bus.
2. Temporarily extend the communications cycle time.
Operate the CX-Programmer after extending the cycle time in the Commu-
nications Cycle Time Setup Table (word m) in the DM Area, and turning ON
the Temporary Setting Switch for Communications Cycle Time (word n, bit
12).
Extending the communications cycle time 1.5 times will result in a 20%-
30% improvement in response. However, whereas the CX-Programmer re-
sponse will increasingly improve by extending the communications cycle
time, the remote I/O communications response will suffer.
Note The CX-Programmer response decreases in accordance with decreases in
the DeviceNet communications speed. At a speed of 125 Kbps, response will
suffer by up to a twenty-fold drop in comparison with connection by a periph-
eral bus.
Accordingly, a DeviceNet communications speed of 500 Kbps is recom-
mended when the CX-Programmer is connected to the network via the
DeviceNet Unit.
7-2 Memory Card Backup Functions
The DeviceNet Unit stores the following setup data in the internal non-volatile
memory (EEPROM).
Master scan lists
Slave scan lists
Message monitoring timer lists
Communications cycle time settings
Master/Slave functions enabled/disabled settings
Note Backup is possible only when scan lists are enabled.
With the CS/CJ-series DeviceNet Unit, all this setup data can be backed up to
and restored from a Memory Card mounted to the CPU Unit. (See note.)
Note The data can be backed up to a Memory Card only. It cannot be backed up to
a EM file.
If all setup data for a DeviceNet Unit that starts normally is saved on a Mem-
ory 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 Configurator can be saved
from the computer to the Memory Card and can be restored to the DeviceNet
Unit mounted to the CPU Unit. This means that setup data created using the
Configurator (scan lists and other parameters) can be downloaded to
DeviceNet Units simply by taking the Memory Card to site.
187
Memory Card Backup Functions Section 7-2
7-2-1 Outline of Functions
1. Backing Up Unit Setup Files
Saves all internal Unit setup data to the Memory Card mounted to the CPU
Unit.
Method: Turn ON the Setup File Backup Switch (word n+1, bit 15) to save the
internal Unit setup data to the Memory Card as a Unit Setup File.
2. Restoring Unit Setup Files
Restoring Unit Setup Files involves reading the data and setting it to a Unit.
The data saved to the Memory Card mounted to the CPU Unit is read to the
Unit.
Method: Turn ON the Unit Setup File Restore Switch (word n+1, bit 14) to read
the Unit setup data file on the Memory Card and to enable these settings as
the Unit settings.
DeviceNet Unit CPU Unit
Backup
Restore
Unit Setup File Backup Switch
Unit Setup File Restore Switch
Memory Card
Save file
Load file
All setup
data
Configurator (computer)
DeviceNet Unit CPU Unit
data
Backup
Memory Card
Unit Setup File Backup switch
188
Memory Card Backup Functions Section 7-2
Note If there is an error in the setup data or if the file could not be read, the File
Read/Write Error bit in Unit Status 2 (word n + 11, bit 08) will turn ON.
3. Saving Files from Configurator to Memory Card
Device parameter files (.dvf files) for this DeviceNet Unit that have been cre-
ated using the Configurator can be saved on the Memory Card via the HMC-
AP001 Memory Card Adaptor as file name DNnnBKUP.dvf (where nn is the
Unit number in 2-digit hexadecimal). This DeviceNet Unit can be mounted to
the CPU Unit and, by turning ON the Unit Setup File Restore Switch (word n,
bit 14), the setup data can be restored to the DeviceNet Unit.
Note The file name when saving setup data to the Memory Card must be DNnn-
BKUP.dvf (where nn is the Unit number in 2-digit hexadecimal). For example,
for unit number 00, the file name must be DN00BKUP.dvf. If the file is saved
under another name, the data cannot be restored from the Memory Card to
the DeviceNet Unit.
7-2-2 File Names
The following files are created on the Memory Card.
Directory (fixed): Route and directory.
File name (fixed): DNnnBKUP.dvf (nn: Unit number in 2-digit hexadecimal).
Note The data in the above files is compatible with the data in the DeviceNet Unit
device parameter file.
Unit Setup File Restore Switch
Memory Card
DeviceNet Unit CPU Unit
Restore
All setup
data
DeviceNet Unit
All
setup
data
CPU Unit
Restore
Unit Setup File Restore Switch
Memory Card
Saved as file name DNnnBKUP.dvf, where nn
is the Unit number in 2-digit hexadecimal.)
Configurator (com-
puter)
Memory Card
HMC-AP001 Memory Card Adaptor
Saving device
parameter file
189
Simple Backup Function Section 7-3
7-3 Simple Backup Function
7-3-1 Overview of Function
The CPU Units simple backup function can be used when either a CS1W-
DRM21-V1 DeviceNet Unit is mounted to a CS1-H CPU Unit, or a CJ1W-
DRM21 DeviceNet Unit to a CJ1-H CPU Unit. This function enables all setup
data in the internal non-volatile memory (EEPROM) of the DeviceNet Unit, as
well as all data in the CPU Unit, to be automatically backed up to, restored
from, or compared with a file in a Memory Card mounted in the CPU Unit.
When all the setup data in the DeviceNet Unit is written to the Memory Card
using a simple backup operation, it is backed up as a Unit/Board backup file in
the Memory Card under the file name BACKUP@@.PRM.
Note The boxes in the backup file name represent the unit address of the
DeviceNet Unit, which is the unit number + 10 hex.
This backup file is also used when downloading data from or comparing data
with a file in the Memory Card.
Note The following table shows the Units that support the simple backup function.
Make sure that the Units being used support the function.
Note The DeviceNet Units setup data that is created as a Unit/Board backup file is
the same setup data that is backed up and restored when using the backup
function described in 7-2 Memory Card Backup Functions, but is not compati-
ble with the device parameter file. In the same way, although the content of
the device parameter file created using DeviceNet Configurator Ver.2.@ is the
same, it is not compatible with the backup file created using the simple
backup function.
7-3-2 Applications
Use the simple backup function to create a backup file of data for the entire
PLC, including the CPU Unit and Serial Communications Units/Boards, or
when replacing all the Units.
Backing up data
Restoring data
Comparing data
DeviceNet Unit
Memory Card Power Supply Switch
CPU Unit
All data
All setup data Memory Card
CPU Unit DeviceNet Unit
CS1W-DRM21-V1 CS1W-DRM21 CJ1W-DRM21
CS1-H CPU Unit Yes No No
CS1 CPU Unit No No No
CJ1-H CPU Unit No No Yes
CJ1 CPU Unit No No No
190
Simple Backup Function Section 7-3
7-3-3 Operating Methods
Backing Up DeviceNet Unit Setup Files to Memory Card
Set the DIP switch on the front panel of the CPU Unit, as shown in the follow-
ing table, and press down the Memory Card Power Supply Switch for 3 sec-
onds.
This operation will create the DeviceNet backup file and also write the file to
the Memory Card.
When the Memory Card Power Supply Switch is pressed, the MCPWR indica-
tor on the front of the CPU Unit will flash once and then will be lit while data is
being written. If the data is written normally, the indicator will turn OFF.
Restoring DeviceNet Unit Setup Files from Memory Card (Reading and Setting in Unit)
Set the DIP switch on the front panel of the CPU Unit, as shown in the follow-
ing table, turn the power to the CPU Unit OFF and then ON again.
This operation will read the DeviceNet Unit setup data file from the Memory
Card and restore the data in the DeviceNet Unit.
DIP switch on front panel of
CPU Unit
Pin 7 Pin 8
ON OFF
DeviceNet Unit
Memory Card Power Supply Switch
CPU Unit
All data
All setup data Memory Card
Backing up
data
DIP switch on front panel of
CPU Unit
Pin 7 Pin 8
ON OFF
DeviceNet Unit
CPU Unit
All data
All setup data Memory Card
Power ON
Restoring
data
191
Simple Backup Function Section 7-3
When the power supply is ON, the MCPWR indicator on the front of the CPU
Unit will turn ON, flash once, and then will remain lit while data is being read.
After the data is read correctly, the indicator will turn OFF.
Note The 7-segment display on the front panel will display H8 when restoring data
from a Memory Card fails. If this happens, the data on the Memory Card may
not be correct. Make sure that the backup operation ends normally before per-
forming the restore operation.
Comparing DeviceNet Unit Setup Files in Memory Card
Set the DIP switch on the front panel of the CPU Unit, as shown in the follow-
ing table, and press down the Memory Card Power Supply Switch for 3 sec-
onds.
This operation will compare the data in the DeviceNet setup file in the Memory
Card with the setup data in the DeviceNet Unit.
When the Memory Card Power Supply Switch is pressed, the MCPWR indica-
tor on the front of the CPU Unit will flash once, and then will remain lit while
data is being compared. If the data is the same, the indicator will turn OFF.
Note The following table compares the simple backup functions with the Memory
Card backup functions described in 7-2 Memory Card Backup Functions.
DIP switch on front panel of
CPU Unit
Pin 7 Pin 8
OFF OFF
DeviceNet Unit
Memory Card Power Supply Switch
CPU Unit
All data
All setup data Memory Card
Comparing data
192
Simple Backup Function Section 7-3
Function Simple backup Memory Card backup
Applicable
CPU Units
CS Series CS1-H CPU Units only CS1 CPU Units (-V@)
CS1-H CPU Units
CJ Series CJ1-H CPU Units
CJ1M CPU Units
CJ1 CPU Units
CJ1-H CPU Units
Applicable
DeviceNet Units
CS Series CS1W-DRM21-V1 only CS1W-DRM21-V1
CS1W-DRM21
CJ Series CJ1W-DRM21 CJ1W-DRM21
Back up, restore, and compare data The following setup data in the DeviceNet Units internal non-volatile memory
(EEPROM):
Master scan lists
Slave scan lists
Message monitoring timer lists
Communications cycle time settings
Master/slave functions enabled/disabled settings
File name BACKUP@@.PRM
(@@: Unit address = Unit number +
10 hex)
DNnnBKUP.dvf (nn: Unit number in 2-
digit hexadecimal)
Compatibility with DeviceNet Configu-
rator device parameter file
No Yes
Note The file must have the same
extension (.dvf) as the device
parameter file created using
DeviceNet Configurator.
Storage media Memory Card mounted in CPU Unit
Operating
method
Backing up data to
Memory Card
Turn ON pin 7 and turn OFF pin 8 of the
CPU Units DIP switch, and press down
the Memory Card Power Supply Switch
for three seconds.
Turn OFF the Setup File Backup Switch
(word n+1, bit 15) and then turn it ON
again.
Restoring data from
Memory Card
Turn ON pin 7 and turn OFF pin 8 of the
CPU Units DIP switch, and turn ON the
power to the CPU Unit.
Turn OFF the Unit Setup File Restore
Switch (word n+1, bit 14) and then turn
it ON again.
Comparing data with
Memory Card
Turn OFF pins 7 and 8 of the CPU
Units DIP switch, and press down the
Memory Card Power Supply Switch for
three seconds.
None
Main applications Replacing the entire PLC including
the CPU Unit and other Units (Serial
Communications Units/Boards, etc.)
Replacing the DeviceNet Unit only.
Using the DeviceNet Configurator to
create setup data, save it in the Mem-
ory Card, and then write the data to
the DeviceNet Unit from the Memory
Card.
Using multiple DeviceNet Units with
the same settings (copying the set-
tings from the Memory Card to multi-
ple DeviceNet Units).
193
SECTION 8
Communications Timing
This section describes the time required for remote I/O communications and message communications.
8-1 Remote I/O Communications Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . 194
8-1-1 Communications Cycle Time and Refresh Time . . . . . . . . . . . . . . . 194
8-1-2 I/O Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
8-1-3 More than One Master in Network. . . . . . . . . . . . . . . . . . . . . . . . . . 199
8-1-4 System Startup Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
8-2 Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
8-2-1 Message Communications Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
8-2-2 Calculating the Maximum Message Response Time . . . . . . . . . . . . 201
194
Remote I/O Communications Characteristics Section 8-1
8-1 Remote I/O Communications Characteristics
This section describes the characteristics of remote I/O communications
when the DeviceNet Unit is used as a master in combination with OMRONs
slaves. Use this section for reference when planning operations that require
precise I/O timing.
The equations provided here are valid under the following conditions:
1,2,3... 1. The DeviceNet Unit is operating with the scan list enabled.
2. All of the required Slaves are participating in communications.
3. No errors are being indicated at the DeviceNet Unit
4. Messages arent being produced in the Network (from another companys
configurator, for example).
Note The values provided by these equations may not be accurate if another com-
panys Master or Slave is being used in the Network.
8-1-1 Communications Cycle Time and Refresh Time
This section explains the communications cycle time, communications time
per slave, and refresh time required for calculating processing time by the
DeviceNet Unit.
Communications Cycle Time
The communications cycle time is the time from the completion of a Slaves
remote I/O communications processing until remote I/O communications with
the same Slave are processed again. The communications cycle time is used
to calculate the maximum I/O response time.
The communications cycle time depends on the number of Masters in the
Network and on whether or not message communications are being per-
formed. The following explanation is for a network with one Master. For net-
works with several Masters, refer to More than One Master in Network in the
following section.
Communications Cycle
Time Graph
The following graph shows communications cycle time for the number of
slaves when there are both 16-point output and 16-point input slaves.
Inputs: Bit strobe, Outputs: Poll connection
Number of Slaves
: Communications cycle time: 500 kbps (ms)
: Communications cycle time: 250 kbps (ms)
: Communications cycle time: 125 kbps (ms)
C
o
m
m
u
n
i
c
a
t
i
o
n
s
c
y
c
l
e
t
i
m
e
(
m
s
)
195
Remote I/O Communications Characteristics Section 8-1
Communications Cycle
Time Calculation
Use the equations shown below to calculate the communications cycle time
(T
RM
) for a network with one Master. Note that if the result of this calculation is
less than 2 ms, the actual communications cycle time will be 2 ms.
T
RM
= (Communications time per Slave)
+ High-density Unit processing time
+ Explicit message communications time
+ COS/Cyclic connection time (ms)
+ 0.01 N + 1.0 [ms]
Communications Time per Slave:
This is the communications time required for a single Slave.
(Communications time per Slave) represents the total of the Communica-
tions time per Slave for all the Slaves in the network.
High-density Unit Processing Time:
3.5 ms
This is added if there are any Slaves in the network that use at least 8 bytes
for input, output, or both.
Explicit Message Communications Time:
(0.11 T
B
) n [ms]
The explicit message communications time is added as a delay time when
explicit communications (sending or receiving) are performed.
n= Number of explicit messages (both sending and receiving) that occur in
one cycle time
T
B
= The baud rate factor
(500 kbps: T
B
= 2; 250 kbps: T
B
= 4; 125 kbps: T
B
= 8)
COS/Cyclic Connection Time:
{(0.05+0.008 S) T
B
} n (ms)
The COS/cyclic connection time is added as a delay time when COS/cyclic
communications are performed.
S: Total number of inputs and outputs in the COS/cycle connection (bytes)
T
B
: The baud rate factor
(500 kbps: T
B
= 2; 250 kbps: T
B
= 4; 125 kbps: T
B
= 8)
n: Number of nodes occurring simultaneously within 1 communications cycle
time in the COS/Cyclic connection
N: Number of Slaves
Communications Time/Slave
The communications time per Slave is the communications time required for a
single Slave.
The following equations show the communications time/Slave (T
RT
) for each
kind of Slave Unit.
The communications time for each slave is not related to the type of connec-
tion (protocol) used by the slave.
Output Slaves with Less
Than 8 Bytes of Output
T
RT
= 0.016 T
B
S
OUT1
+ 0.11 T
B
+ 0.07 [ms]
S
OUT1
: The number of Output Slave output words
T
B
: The baud rate factor
(500 kbps: T
B
= 2; 250 kbps: T
B
= 4; 125 kbps: T
B
= 8)
Input Slaves with Less
Than 8 Bytes of Input
T
RT
= 0.016 T
B
S
IN1
+ 0.06 T
B
+ 0.05 [ms]
S
IN1
: The number of Input Slave input words
T
B
: The baud rate factor
(500 kbps: T
B
= 2; 250 kbps: T
B
= 4; 125 kbps: T
B
= 8)
196
Remote I/O Communications Characteristics Section 8-1
Mixed I/O Slaves with Less
Than 8 Bytes of Input or
Output
T
RT
= 0.016 T
B
(S
OUT2
+ S
IN2
) + 0.11 T
B
+ 0.07 [ms]
S
OUT2
: The number of Mixed I/O Slave output words
S
IN2
: The number of Mixed I/O Slave input words
T
B
: The baud rate factor
(500 kbps: T
B
= 2; 250 kbps: T
B
= 4; 125 kbps: T
B
= 8)
Slaves with More Than 8
Bytes of Input or Out put
T
RT
= T
OH
+ T
BYTE-IN
B
IN
+ T
BYTE-OUT
B
OUT
[ms]
T
OH
: Protocol overhead
T
BYTE-IN
: The input byte transmission time
B
IN
: The number of input words
T
BYTE-OUT :
The output byte transmission time
B
OUT :
The number of output words
For Input Slaves take B
OUT
to be 0, and for Output Slaves take B
IN
to be 0.
Refresh Time
The refresh time is the time required for I/O data to be exchanged between
the PLCs CPU Unit and the DeviceNet Unit. The CPU Units cycle time is
increased when a DeviceNet Unit is mounted, as shown below.
Note 1. The number of words refreshed is the total number of words in the I/O area
that are used by the Slaves, including any unused words between words
actually used by the Slaves. For example, if there are only two Input Slaves
with node addresses 1 and 5, the 5 input words for nodes 1 through 5
would be refreshed even though the input words for nodes 2, 3, and 4 are
unused.
2. If message communications are being performed, just add the number of
words used in message communications to the above number of words for
whenever messages are being processed.
3. When the message communications are performed, an event execution
time must be added to the PLC cycle time.
4. For details about refresh time or PLC cycle time, refer to operation manual
of the PLC.
Baud rate T
OH
T
BYTE-IN
T
BYTE-OUT
500 kbps 0.306 ms 0.040 ms 0.036 ms
250 kbps 0.542 ms 0.073 ms 0.069 ms
125 kbps 1.014 ms 0.139 ms 0.135 ms
Processing item Processing time
I/O refresh DeviceNet Unit I/O refreshing time (ms)
0.7 + 0.001 the number of words refreshed (See note 1.)
197
Remote I/O Communications Characteristics Section 8-1
8-1-2 I/O Response Time
Maximum I/O Response Time
Communications Cycle
Time PLC Cycle Time
The maximum I/O response time will be as shown below if the DeviceNet Unit
takes in data immediately after I/O refreshing and if the communications cycle
time is longer than the PLC cycle time.
T
IN
: The Input Slaves ON (OFF) delay
T
OUT
: The Output Slaves ON (OFF) delay
T
RM
: Networks communications cycle time (See page 195.)
T
PLC
: The PLCs cycle time (See note below.)
Note The PLCs cycle time will be delayed as shown below for one De-
viceNet Unit. For details, refer to Refresh Time on page 196.
0.7 ms + (number of occupied words 0.001 ms)
The maximum I/O response time (T
MAX
) is the total of the following terms:
T
MAX
= T
IN
+ T
RM
2 + T
PLC
3 + T
OUT
Communications Cycle
Time < PLC Cycle Time
The maximum I/O response time will be as shown below if the DeviceNet Unit
takes in data immediately after I/O refreshing and if the communications cycle
time is shorter than the PLC cycle time.
T
IN
: The Input Slaves ON (OFF) delay
T
OUT
: The Output Slaves ON (OFF) delay
ON input data
notice delayed
Communications cycle
Instruction
execution
Instruction
execution
Instruction
execution
PLC
Transfers to the
shared RAM
when PLC scan
is completed.
Slave
TPLC TPLC TPLC
Takes into the
PLC's internal
memory.
Communications cycle
Instruction
execution
Instruction
execution
PLC
Transfers to the
shared RAM when
communications
cycle is completed.
Slave
TPLC TPLC
198
Remote I/O Communications Characteristics Section 8-1
T
RM
: Networks communications cycle time (See page 195.)
T
PLC
: The PLCs cycle time (See note below.)
Note The PLCs cycle time will be delayed as shown below for one De-
viceNet Unit. For details, refer to Refresh Time on page 196.
0.7 ms + (number of occupied words 0.001 ms)
The maximum I/O response time (T
MAX
) is the total of the following terms:
T
MAX
= T
IN
+ T
RM
2 + T
PLC
2 + T
OUT
Note 1. Refer to the DeviceNet Slaves Operation Manual (W347 or W404) for de-
tails on the Input and Output Slaves delay times.
2. Refer to Refresh Time on page 196 and to the PLCs Operation Manual for
details on the PLCs cycle time.
Minimum I/O Response Time
The minimum I/O response time occurs when the Slaves I/O refreshing is
executed just after the input signal is received by the DeviceNet Unit and the
output signal is output at the beginning of the next I/O refresh cycle.
T
IN
: The Input Slaves ON (OFF) delay
T
OUT
: The Output Slaves ON (OFF) delay
T
RT-IN
: Input Slaves communications time/Slave (See page 195.)
T
RT-OUT
: Output Slaves communications time/Slave (See page 195.)
T
PLC
: The PLCs cycle time
T
RF
: The PLCs DeviceNet Unit refresh time (See page 196.)
The minimum I/O response time (T
MIN
) is the total of the following terms:
T
MIN
= T
IN
+ T
RT-IN
+ T
PLC
+ T
RF
+ T
RT-OUT
+ T
OUT
Note 1. Refer to the DeviceNet Slaves Operation Manual (W347 or W404) for de-
tails on the Input and Output Slaves delay times.
2. Refer to Refresh Time on page 196 and to the PLCs Operation Manual for
details on the PLCs cycle time.
Instruction
execution
PLC
Master Unit processing
Output
Input
(TPLC+TRF)
TPLC
199
Remote I/O Communications Characteristics Section 8-1
8-1-3 More than One Master in Network
The following equation shows the remote I/O communications cycle time
(T
RM
) when there is more than one master in the network. An example for two
masters is used.
First, the network is divided into two groups: Master A and the slaves in
remote I/O communications with it and master B and the slaves in remote I/O
communications with it.
Note Although in the above diagram the Slaves are separated into two groups for
convenience, the actual physical positions in the Network are irrelevant.
Next, we can refer to 8-1-1 Communications Cycle Time and Refresh Time
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.
T
RM
= T
RM-A
+ T
RM-B
Although this example shows only two Masters in the Network, the total com-
munications cycle time for any Network can be calculated by dividing it into
groups and adding the communications cycle times of all groups.
8-1-4 System Startup Time
Master Function
This section describes the system startup time for a network operating with
the scan list enabled. The system startup time is the delay from the time that
the DeviceNet Unit (master) is turned ON until remote I/O communications
begin. Here, we assume that the scan list is enabled and that remote I/O com-
munications are set to start automatically at startup.
The following table shows the system startup times for two cases. In the first
case, the DeviceNet Unit starts up just after all of the Slaves power supplies
are turned ON. In the second case, the DeviceNet Unit is restarted while com-
munications are in progress.
Group A
Master A
Slave A Slave B Slave C
Slaves in remote I/O commu-
nications with Master A
Group B
Master B
Slave D Slave E Slave F
Slaves in remote I/O commu-
nications with Master B
Master A
Group A communications
cycle time: T
RM-A
Group A communications
cycle time: T
RM-B
Group A
Slave A Slave B Slave C
Group B
Master B
Slave D Slave E Slave F
200
Message Communications Section 8-2
Program Example As shown in the preceding table, it takes time for DeviceNet communications
to start up. This programming uses flags in the Master status area to prevents
the Slaves I/O processing from being performed until remote I/O communica-
tions start up.
This programming is for a DeviceNet Unit with a unit number of 00.
Note Refer to 3-2 Allocated CIO Area Words for details on the Master Status Area.
Slave Function
It takes approximately four seconds from the time that the Devicenet Unit is
turned ON or restarted as a slave until remote I/O communications with the
master begin.
8-2 Message Communications
8-2-1 Message Communications Time
The message communications time is the time required from the time a Mas-
ter Unit starts to send a message over the Network to another node until the
Master Unit completes sending the message (data for SEND(192)/
RECV(193) and FINS commands for CMND(194)/IOWR).
The following equation can be used to compute the approximate message
communications time.
Message communications time =
Communications cycle time x ((No. of message bytes + 15) 6 + 1)
No. of message bytes: No. of data bytes following the FINS command code
The communications cycle time depends on whether or not remote I/O com-
munications are being used.
Message Communications Only (No Remote I/O Communications)
The following equation can be used to compute the message communications
time when remote I/O communications are not being used.
Communications cycle time =
2 (see note) + 0.11 T
B
+ 0.6 [ms]
Case Slaves indicator status System
startup time
The Master is
started just after
Slave startup.
The NS indicator is OFF or flashing green. 5 seconds
Just the Master is
restarted.
The NS indicator is flashes red while the Mas-
ter is OFF.
7 seconds
Just the Slaves are
restarted.
--- 9 seconds
Unit Error
(n+10, bit 00)
Remote I/O
Communications
(n+12, bit 15)
Slaves' I/O
processing
1512
15
1510
00
201
Message Communications Section 8-2
T
B
: The baud rate factor
(500 kbps: T
B
= 2; 250 kbps: T
B
= 4; 125 kbps: T
B
= 8)
Note The communications cycle time will be 2 ms even if remote I/O communica-
tions are not being used.
Remote I/O and Message Communications
Performing message communications in addition to remote I/O communica-
tions will increase the message communications time.
Communications cycle time=
Communications cycle time for remote I/O communications only
+ 0.11 T
B
+ 0.6 [ms]
T
B
: The baud rate factor
(500 kbps: T
B
= 2; 250 kbps: T
B
= 4; 125 kbps: T
B
= 8)
(Varies depending on the baud rate.)
Note 1. If the CPU Unit attempts to send another message or receives a message
from another node within the message communications time, the second
message or the message being received from another node may be de-
stroyed. Never execute a second communications instruction before the
message communications time has elapsed and never send messages to
any one node at intervals less than the message communications time.
2. If send or receive messages are destroyed, error records will be placed in
the error history of the Master Unit. If an error occurs, read the error history
using the FINS command or monitor the error history from the Configura-
tor.
3. The above equations can be used to find the approximate message com-
munications time, but this is a typical time, not the maximum time. The
message communications time will vary depending on the frequency of
message communications, the load on the remote node, the communica-
tions cycle time, and other factors. For any one Master Unit, the message
communications time can be greatly increased due to heavy loads and the
user program must be written to allow for this.
8-2-2 Calculating the Maximum Message Response Time
The message response time is the time required from the time a DeviceNet
Unit starts to receive an I/O memory read request message (BYTE DATA
READ explicit message) until the DeviceNet Unit completes sending the
response message to the client.
The message response times described below are based on the following
conditions:
1,2,3... 1. Only one DeviceNet Unit is mounted.
2. The I/O memory read request is returned from CS/CJ-series PLC in two
cycle time.
3. Baud rate: 500 Kbps
4. Communications cycle time: 3 ms (no remote I/O communications)
5. PLCs cycle time: 10 ms
6. DeviceNet Units refresh time: 2 ms (See note.)
Note The PLCs cycle time will be delayed as shown below for one De-
viceNet Unit. For details, refer to Refresh Time on page 196.
0.7 ms + (number of occupied words 0.001 ms)
202
Message Communications Section 8-2
Request from One Client (BYTE DATA READ)
Shown below is the response time required to return data for 100 words.
BYTE DATA READ request sending time: T
BRS
DeviceNet header (4 bytes) + Parameters (3 bytes) = 7 bytes (no frag-
ment)
Therefore, T
BRS
= 1 communications cycle time (T
RM
) = 3 ms
PLCs processing time: T
PC
x 2
T
PLC
x 2 = PLCs cycle time x 2 = 10 x 2 = 20 ms
BYTE DATA READ response receiving time: T
BRR
DeviceNet header (3 bytes) + Number of words to be read x 2 = 203 bytes
Therefore, T
BRR
= 1 + 203 bytes/6 communications cycle time = 35 com-
munications cycle time
DeviceNet Unit refresh time: T
RF
= 2 ms
The message response time will be as follows:
= T
RM
+ T
PLC
x 2 + T
RM
x 35 + T
RF
x 2 =3+20+105+4
= 132 ms
Shown below is the response time required to return data for 100 words to 8
clients.
BYTE DATA READ request sending time: T
BRS
DeviceNet header (4 bytes) + Parameters (3 bytes) = 7 bytes (no frag-
ment)
Therefore, T
BRS
= 1 communications cycle time (T
RM
) = 3 ms
PLCs processing time: T
PLC
x 6 + T
PLC
x 2 = T
PLC
x 8
The following time is required to process data with other clients before the
PLC starts processing.
7 other clients/2 = Approximately cycle time x 3
If one processing requires twice the cycle time, the time will be as follows:
Cycle time x 3 x 2 = Cycle time x 6
PLCs processing time: T
PLC
x 2 = Cycle time x 2
Total time will be as follows:
Cycle time x 8
PLC
Instruction
execution
Instruction
execution
BYTE DATA READ processing time:
PLC's cycle time x 2
Shared memory
DeviceNet internal buffer
Communications cycle
Client
Read
request
Read result
TPLC TPLC
203
Message Communications Section 8-2
BYTE DATA READ response receiving time: T
BRR
DeviceNet header (3 bytes) + Number of words to be read x 2 = 203 bytes
Therefore, T
BRR
= 1 + 203 bytes/6 communications cycle time = 35 com-
munications cycle time
DeviceNet Unit refresh time: T
RF
= 2 ms
The message response time will be as follows:
= T
RM
+ T
PLC
x 8 + T
RM
x 35 + T
RF
x 2 x 8 =3+80+105+32
= 220 ms
Note The above equations can be used to find the approximate message response
time, but this is the typical time, not the maximum time. The message
response time will vary depending on the frequency of message communica-
tions, the load on the remote node, the communications cycle time, and other
factors. For any one DeviceNet Unit, the message communications time can
be greatly increased due to heavy loads and the user program must be written
to allow for this.
204
Message Communications Section 8-2
205
SECTION 9
Troubleshooting and Maintenance
This section describes error processing, periodic maintenance operations, and troubleshooting procedures needed to keep
the DeviceNet network operating properly. We recommend reading through the error processing procedures before
operation so that operating errors can be identified and corrected more quickly.
9-1 Troubleshooting with the DeviceNet Unit Indicators . . . . . . . . . . . . . . . . . . . 206
9-1-1 Determining Operating Status from the Indicators. . . . . . . . . . . . . . 206
9-1-2 Troubleshooting Errors Occurring in the DeviceNet Unit . . . . . . . . 207
9-2 Error Log Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
9-2-1 Error Log Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
9-2-2 Error Codes and Detail Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
9-3 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
9-3-1 CPU Units ERR/ALM Indicator Lit or Flashing. . . . . . . . . . . . . . . 228
9-3-2 Remote I/O Communications Disabled . . . . . . . . . . . . . . . . . . . . . . 228
9-3-3 I/O Link Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
9-3-4 Communications Error Operation Settings. . . . . . . . . . . . . . . . . . . . 230
9-3-5 Scan List Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
9-4 Maintenance and Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
9-4-1 Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
9-4-2 Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
9-4-3 Replacing Faulty Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
206
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
9-1 Troubleshooting with the DeviceNet Unit Indicators
9-1-1 Determining Operating Status from the Indicators
The following table shows the status of the MS and NS indicators and the 7-
segment display during normal operation.
Indicator status Network/Unit status Comments
MS NS 7-segment
OFF OFF OFF Initializing with PLC Initialization processing with the PLC is in
progress.
Restart the DeviceNet Unit if this status continues
for an extended period of time. Replace the CPU
Unit and/or DeviceNet Unit if the problem is not cor-
rected by restarting.
ON
(green)
OFF Masters node
address
(flashing)
Checking for node address
duplication
The node address duplication check is performed
after initialization.
ON
(green)
Flashing
(green)
Masters 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 operating, the
Unit will have this status until remote I/O communi-
cations are performed with either function.)
Masters node
address
Waiting for message commu-
nications connection
The Unit will have this status when both the master
and slave functions are disabled and the Unit is
waiting for a connection by message communica-
tions.
ON
(green)
ON
(green)
Masters node
address
Remote I/O or message com-
munications in progress.
This is the normal display when the master and/or
slave is active.
ON
(green)
ON
(green)
- - (flashing) Scan list operation in
progress.
The scan list is being saved in flash memory or the
scan list is being cleared.
207
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
9-1-2 Troubleshooting Errors Occurring in the DeviceNet Unit
Note 1. The 7-segment display will alternate between the Units node address and
the code given in the tables in this section.
2. When a (master function) structure error or verification error occurs, only
the most recent error is displayed for each slave. If the Unit is set to stop
Error cate-
gory
Error Indicators Error
log
(Hex)
Page
7-segment MS NS
Master func-
tion
Remote I/O communications stopped by
a communications error
A0 --- --- 0346 208
Software set-
tings errors
CPU Unit status error C0 --- --- --- 213
Unit status error C2 --- --- --- 213
Structure error C4 --- --- --- 213
Incorrect setting C5 --- --- --- 214
Multiple switches ON C6 --- --- --- 214
Master func-
tion
Structure
errors
I/O area duplication d0 --- Red (flashing) 0343 208
I/O area range exceeded d1 --- 0343 209
Unsupported slave d2 --- 0343 209
Verification
errors
Non-existent slave d5 --- 0344 209
Illegal vendor d6 --- 0344 210
Illegal connection path d6 --- 0344 210
I/O size mismatch d6 --- 0344 211
Illegal device d6 --- 0344 211
Illegal product code d6 --- 0344 211
Unsupported connection d6 --- 0344 212
Remote I/O communications error d9 --- Red (flashing) 0345 212
Network errors Network power supply error E0 --- OFF or
Red (flashing)
0341 214
Transmission timeout error E2 --- 0342 215
Memory
access errors
Message monitoring timer list logic error E6 Red (flashing) --- 021A 216
Slave scan list logic error E7 --- 021A 217
Master scan list logic error E8 --- 021A 217
Memory access error E9 --- 0602 218
Network errors Node address duplication F0 --- Red (lit) 0211 215
Bus Off detected F1 --- 0340 216
CPU Unit
exchange
Unit number duplication H1 Red (flashing) OFF --- 219
CPU Unit faulty (H2) H2 --- 219
DeviceNet Unit faulty H3 Red (lit) OFF --- 219
Node address setting error H4 Red (flashing) OFF --- 219
Communications speed setting error H5 --- 219
CPU Unit faulty (H6) H6 000F 220
I/O table not registered H7 0006 220
Simple backup function restore error H8 --- --- 220
CPU Unit memory faulty HA 0012 220
CPU Unit faulty (Hb) Hb 0011 221
Routing table logic error HC 021A 221
I/O refresh error Hd 0347 221
CPU Unit service monitoring error HE 0002 222
CPU Unit watchdog timer error HF 0001 223
Slave function Remote I/O communications error L9 --- Red (flashing) 0345 223
Unit errors Special Unit error OFF Red (lit) OFF 0601
CPU Unit
exchange
CPU Unit fatal error --- --- --- --- 223
Output OFF error --- --- --- ---
208
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
remote I/O communications for a communications error, two errors can be
displayed: The slaves communications error and its most recent error.
Master Errors
Remote I/O
Communications Stopped
by a Communications
Error
Likely Cause
Pin 3 on the masters DIP switch is set to stop communications in the event of
a communications error and communications have been stopped due to a
remote I/O communications error, network power supply error, or transmission
timeout.
DeviceNet Unit Response
Remote I/O communications as a master will stop. Remote I/O communica-
tions as a slave and message communications will continue.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (the Error Flag) will be ON as well as bit 05 or 06 (the Sending Error
Flag or Communications Error Flag).
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+10 (Unit Error Flag) will be ON together with one of the following
combinations:
Bit 02 of n+12 (the Remote I/O Communications Error Flag) and bit 01 of
n+10 (the Master Function Error Flag) ON.
Bit 07 of n+10 (the Network Power Error Flag) ON.
Bit 08 of n+10 (the Send Timeout Flag) ON.
Correction
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 communications by
toggling bit 02 of n (the Remote I/O Communications Start Switch.)
Structure Error:
I/O Area Duplication
Likely Cause
The slaves I/O areas overlap. (Occurred with the scan list disabled.)
Errors will occur in the active slaves.
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the struc-
ture error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (the Error Flag) and bit 04 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 01 of n+12 (the Structure Error Flag) and bits 00 and 01 of n+10 (the Unit
Error Flag and Master Function Error Flag) will be ON.
7-segment MS indicator NS indicator Error log (Hex)
A0 --- --- 0346
7-segment MS indicator NS indicator Error log (Hex)
d0 --- Red (flashing) 0343
209
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Correction
Set the slaves node addresses again.
Structure Error:
I/O Area Range Exceeded
Likely Cause
The slaves I/O area isnt within the allowed range. (Occurs with the scan list
disabled.)
DeviceNet Unit Response
Records the error in the error log. The master will periodically attempt to
reconnect with the slave with the structure error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (the Error Flag) and bit 04 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 01 of n+12 (the Structure Error Flag) and bits 00 and 01 of n+10 (the Unit
Error Flag and Master Function Error Flag) will be ON.
Correction
Set the slaves node addresses again or use user-set allocations.
Structure Error:
Unsupported Slave
Likely Cause
The size of the slaves input and/or output area exceeded 200 bytes. (Occurs
with the scan list disabled.)
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the struc-
ture error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 04 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 01 of n+12 (Structure Error Flag) and bits 00 and 01 of n+10 (Unit Error
Flag and Master Function Error Flag) will be ON.
Correction
Use slaves with input and output areas of 200 bytes max.
Verification Error:
Non-existent Slave
Likely Cause
A slave registered in the scan list doesnt exist or the local nodes (masters)
node address is registered in the scan list. (Occurs with the scan list enabled.)
DeviceNet Unit Response
Records the error in the error log.
If a slave is involved, the master will periodically attempt to reconnect.
If the master is involved, it will not send an OPEN frame to itself.
7-segment MS indicator NS indicator Error log (Hex)
d1 --- Red (flashing) 0343
7-segment MS indicator NS indicator Error log (Hex)
d2 --- Red (flashing) 0343
7-segment MS indicator NS indicator Error log (Hex)
d5 --- Red (flashing) 0344
210
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 07 (Comparison Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+12 (Comparison Error Flag) and bits 00 and 01 of n+10 (Unit Error
Flag and Master Function Error Flag) will be ON.
Correction
Check the following:
Matching master and slave baud rates
Proper cable lengths (trunk and branch lines)
Broken or loose cables
Installation of terminators at both ends of the trunk line
Excessive noise
Verification Error:
Illegal Vendor
Likely Cause
The Configurator is set to check the vendor and the slaves vendor does not
match the registered scan list. (Occurs with the scan list enabled.)
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the verifi-
cation error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 07 (Comparison Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+12 (Comparison Error Flag) and bits 00 and 01 of n+10 (Unit Error
Flag and Master Function Error Flag) will be ON.
Correction
Inspect the slave and then create the scan list again.
Verification Error:
Illegal Connection Path
Likely Cause
The connection path was set with the Configurator and there is a mistake in
the connection path setting in the scan list. (Occurs with the scan list
enabled.)
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the verifi-
cation error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 07 (Comparison Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+12 (Comparison Error Flag) and bits 00 and 01 of n+10 (Unit Error
Flag and Master Function Error Flag) will be ON.
7-segment MS indicator NS indicator Error log (Hex)
d6 --- Red (flashing) 0344
7-segment MS indicator NS indicator Error log (Hex)
d6 --- Red (flashing) 0344
211
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Correction
Inspect the slave and then create the scan list again.
Verification Error:
I/O Size Mismatch
Likely Cause
The slaves I/O data size does not match the registered scan list. (Occurs with
the scan list enabled.)
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the verifi-
cation error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 07 (Comparison Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+12 (Comparison Error Flag) and bits 00 and 01 of n+10 (Unit Error
Flag and Master Function Error Flag) will be ON.
Correction
Inspect the slave and then create the scan list again.
Verification Error:
Illegal Device
Likely Cause
The Configurator is set to check the device type and the slaves device type
does not match the registered scan list. (Occurs with the scan list enabled.)
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the verifi-
cation error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 07 (Comparison Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+12 (Comparison Error Flag) and bits 00 and 01 of n+10 (Unit Error
Flag and Master Function Error Flag) will be ON.
Correction
Inspect the slave and then create the scan list again.
Verification Error:
Illegal Product Code
Likely Cause
The Configurator is set to check the product code and the slaves product
code does not match the registered scan list. (Occurs with the scan list
enabled.)
7-segment MS indicator NS indicator Error log (Hex)
d6 --- Red (flashing) 0344
7-segment MS indicator NS indicator Error log (Hex)
d6 --- Red (flashing) 0344
7-segment MS indicator NS indicator Error log (Hex)
d6 --- Red (flashing) 0344
212
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the verifi-
cation error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 07 (Comparison Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+12 (Comparison Error Flag) and bits 00 and 01 of n+10 (Unit Error
Flag and Master Function Error Flag) will be ON.
Correction
Inspect the slave and then create the scan list again.
Verification Error:
Unsupported Connection
Likely Cause
The device does not support the I/O service specified in the scan list. (Occurs
with the scan list enabled.)
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the verifi-
cation error.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 07 (Comparison Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+12 (Comparison Error Flag) and bits 00 and 01 of n+10 (Unit Error
Flag and Master Function Error Flag) will be ON.
Correction
Inspect the slave and then create the scan list again.
Remote I/O
Communications Error
Likely Cause
A timeout occurred during remote I/O communications using the master func-
tion. (The response from the slave timed out 6 consecutive times.)
DeviceNet Unit Response
Records the error in the error log.
The master will periodically attempt to reconnect with the slave with the error,
but remote I/O communications will stop if the master is set to stop communi-
cations.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 06 (Communications Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 02 of n+12 (Remote I/O Communications Error Flag) and bits 00 and 01 of
n+10 (Unit Error Flag and Master Function Error Flag) will be ON.
Correction
Check the following:
7-segment MS indicator NS indicator Error log (Hex)
d6 --- Red (flashing) 0344
7-segment MS indicator NS indicator Error log (Hex)
d9 --- Red (flashing) 0345
213
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Matching master and slave baud rates
Proper cable lengths (trunk and branch lines)
Broken or loose cables
Installation of terminators at both ends of the trunk line
Excessive noise
Software Switch Setting Errors
CPU Unit Status Error
Likely Cause
The software settings operation couldnt be performed because the CPU Unit
wasnt in PROGRAM mode.
DeviceNet Unit Response
The only response is the error code displayed on the 7-segment display. The
error display will be cleared the next time that a settings operation is com-
pleted normally.
Correction
Switch the CPU Unit to PROGRAM mode and try the operation again.
Unit Status Error
Likely Cause
The setting operation failed because the Unit could not perform the requested
process in its current status. The most common causes of Unit status errors
during settings operations are listed below:
The master was stopped and a software switch operation relating to the
master function was performed. (This does not include the master enable
operation.)
The scan list was enabled and a software switch operation was performed
that can only be performed while the scan list is disabled. (Scan list
enable and fixed allocation setting operations)
The scan list was disabled and a software switch operation was per-
formed that can only be performed while the scan list is enabled. (Clear
scan list and Backup Unit settings file operations)
The slave was stopped and a software switch operation relating to the
slave function was performed. (This does not include the slave enable
operation.)
DeviceNet Unit Response
The only response is the error code displayed on the 7-segment display. The
error display will be cleared the next time that a settings operation is com-
pleted normally.
Correction
Change the Units status to allow the operation and try the operation again.
Structure Error
7-segment MS indicator NS indicator Error log (Hex)
C0 --- --- ---
7-segment MS indicator NS indicator Error log (Hex)
C2 --- --- ---
7-segment MS indicator NS indicator Error log (Hex)
C4 --- --- ---
214
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Likely Cause
The setting operation failed because a structure error occurred.
DeviceNet Unit Response
The only response is the error code displayed on the 7-segment display. The
error display will be cleared the next time that a settings operation is com-
pleted normally.
Correction
Correct the cause of the structure error. (See errors d0 to d2.)
Incorrect Setting
Likely Cause
There was an error in the parameters specified in the user settings and the
requested settings could not be made.
DeviceNet Unit Response
The only response is the error code displayed on the 7-segment display. The
error display will be cleared the next time that a settings operation is com-
pleted normally.
Correction
Check the parameters in the user settings and try the operation again.
Multiple Switches ON
Likely Cause
Two or more software switches were ON simultaneously or a second software
switch was turned ON before a prior operation was completed.
DeviceNet Unit Response
The only response is the error code displayed on the 7-segment display. The
error display will be cleared the next time that a settings operation is com-
pleted normally.
Correction
Execute software switch operations one at a time.
Network Errors
Network Power Error
Note The NS indicator will flash red if the error occurs during remote I/O communi-
cations, otherwise the indicator will be OFF.
Likely Cause
The communications power supply is not being supplied properly from the
network.
DeviceNet Unit Response
Records the error in the error log.
As long as power isnt being supplied remote I/O communications will remain
stopped and errors will be returned in response to requests for message
transmissions. The indicator status, scanning, and message processing will
7-segment MS indicator NS indicator Error log (Hex)
C5 --- --- ---
7-segment MS indicator NS indicator Error log (Hex)
C6 --- --- ---
7-segment MS indicator NS indicator Error log (Hex)
E0 --- OFF or Red (flashing)* 0341
215
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
return to normal when the network power supply is restored, although scan-
ning will not resume if the DeviceNet Unit is set to stop remote I/O communi-
cations when a communications error occurs.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 05 (the Sending Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 07 of n+10 (the Unit Error Flag and Network Power Error Flag) will
be ON.
Correction
Check the network power supply and the wiring of the network cables.
Transmission Timeout
Error
Note The NS indicator will flash red if the error occurs during remote I/O communi-
cations, otherwise the indicator will be OFF.
Likely Cause
A transmission request was not completed normally for one of the following
reasons:
There is not even one device such as a slave in the network.
The communications speed settings are not the same in all of the nodes.
CAN controller error
DeviceNet Unit Response
Records the error in the error log.
As long as transmission timeout is in effect, remote I/O communications will
remain stopped and errors will be returned in response to requests for mes-
sage transmissions. The indicator status, scanning, and message processing
will return to normal when the network power supply is restored, although
scanning will not resume if the DeviceNet Unit is set to stop remote I/O com-
munications when a communications error occurs.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 05 (the Sending Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 08 of n+10 (the Unit Error Flag and Send Timeout Flag) will be
ON.
Correction
Check the following:
Matching master and slave baud rates
Proper cable lengths (trunk and branch lines)
Broken or loose cables
Installation of terminators at both ends of the trunk line
Excessive noise
Node Address Duplication
Error
Likely Cause
The masters node address is also set on another node.
7-segment MS indicator NS indicator Error log (Hex)
E2 --- OFF or Red (flashing)* 0342
7-segment MS indicator NS indicator Error log (Hex)
F0 --- Red (lit) 0211
216
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
DeviceNet Unit Response
Records the error in the error log.
The Unit will go offline and communications will be disabled. Error
responses will be returned to all communications requests.
The exchange of data with the CPU Unit will continue.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 01 (the Node Address Duplicated/Bus Off Flag) will
be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 06 of n+10 (the Unit Error Flag and Duplicated Node Address
Flag) will be ON.
Correction
Check the node addresses set on other nodes in the network. Correct the set-
tings to eliminate the duplication and restart the DeviceNet Units.
Bus Off Detected
Likely Cause
A Bus Off condition was detected.
DeviceNet Unit Response
Records the error in the error log.
The Unit will go offline and communications will be disabled. Error
responses will be returned to all communications requests.
The exchange of data with the CPU Unit will continue.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 01 (the Node Address Duplicated/Bus Off Flag) will
be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 05 of n+10 (the Unit Error Flag and Bus Off Flag) will be ON.
Correction
Check the following:
Matching master and slave baud rates
Proper cable lengths (trunk and branch lines)
Broken or loose cables
Installation of terminators at both ends of the trunk line
Excessive noise
Memory Access Errors
Message Monitoring
Timer List Logic Error
Likely Cause
There is an error in the contents of the message monitoring timer list stored in
non-volatile memory.
7-segment MS indicator NS indicator Error log (Hex)
F1 --- Red (lit) 0340
7-segment MS indicator NS indicator Error log (Hex)
E6 Red (flashing) --- 021A
217
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
DeviceNet Unit Response
Records the error in the error log.
Operation will continue using the default message monitoring timer values.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 03 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 13 of n+10 (the Unit Error Flag and Incorrect Message Monitoring
Timer List Data Flag) will be ON.
Correction
Use the Configurator to register the message monitoring timer list again.
Slave Scan List Logic
Error
Likely Cause
There is an error in the contents of the slave scan list stored in non-volatile
memory.
DeviceNet Unit Response
Records the error in the error log.
The slave remote I/O communications will be stopped.
Message processing and the exchange of data with the CPU Unit will
continue. Normal operation will resume when the slave scan list is written
normally. (Start the slave remote I/O communications.)
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 03 of n+10 (the Unit Error Flag and Slave Error Flag) and bit 04 of
n+14 (Invalid Setup Data Flag) will be ON.
Correction
Disable the slave, reset the allocations, and the enable the slave again or use
the Configurator to reset the slave scan list.
Master Scan List Logic
Error
Likely Cause
There is an error in the contents of the master scan list stored in non-volatile
memory.
DeviceNet Unit Response
Records the error in the error log.
The master remote I/O communications will be stopped.
Message communications and the exchange of data with the CPU Unit as
a slave will continue. Normal operation will resume when the master scan
list is written normally. (Start the master remote I/O communications.)
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 03 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 01 of n+10 (the Unit Error Flag and Master Function Error Flag)
and bit 04 of n+12 (the Invalid Scan List Data Flag) will be ON.
7-segment MS indicator NS indicator Error log (Hex)
E7 Red (flashing) --- 021A
7-segment MS indicator NS indicator Error log (Hex)
E8 Red (flashing) --- 021A
218
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Correction
Clear the scan list and register the scan list again or use the Configurator to
reset the master scan list.
Memory Access Error
Likely Cause
An error occurred in the Units non-volatile memory itself. This error will occur
in the following cases.
1,2,3... 1. An error occurs reading the identity information during initialization
2. All 96 error log records cannot be used during initialization or registering
an error log record
3. An error occurs while reading or writing the error log
4. An error occurs while reading or writing the master function enabling data
or the master scan list
5. An error occurs while reading or writing the slave function enabling data or
the slave scan list
6. An error occurs while reading or writing the message monitoring timer
7. An error occurs while reading or writing the communications cycle time set
value
8. An error occurs while reading the identity information during Identity object
server processing
Note This error does occur for checksum errors while reading data.
DeviceNet Unit Response
Registers an error record with error code 0602 in the RAM error log area.
For error 1:
Normal operation continues
For error 2 or 3:
Remaining writes to EEPROM are all ignored. Other than that, normal opera-
tion continues. (Error records continue to be written to RAM.)
For error 4:
The master remote I/O communications are stopped. Other operations con-
tinue.
For error 5:
The slave scanning is stopped and other operations continue.
For error 6:
The default values are used for the message monitoring timer and operation
continues.
For error 7:
The communications cycle time is set automatically and operation continues.
For error 8:
Operation continues.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 00 (the Incorrect Switch Settings/EEPROM Error
Flag) will be ON.
7-segment MS indicator NS indicator Error log (Hex)
E9 Red (flashing) --- 0602
219
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 04 of n+10 (the Unit Error Flag and Unit Memory Error Flag) will
be ON.
Correction
Replace the Unit if the error recurs.
CPU Unit Exchange Errors
Unit Number duplication
Likely Cause
The unit number is duplicated on another Unit.
DeviceNet Unit Response
Stops operation.
Correction
Set the unit numbers correctly and restart the DeviceNet Units.
CPU Unit Faulty (H2)
DeviceNet Unit Response
Stops operation.
Correction
Replace the CPU Unit if the error recurs when the CPU Unit is restarted.
DeviceNet Unit Faulty
DeviceNet Unit Response
Stops operation.
Correction
Replace the DeviceNet Unit if the same error recurs when the Unit is mounted
to another CPU Unit.
Node Address Setting
Error
Likely Cause
The node address set on the rotary switches is out-of-range (64 or higher.)
DeviceNet Unit Response
Stops operation.
Correction
Set the node address correctly and restart the DeviceNet Units.
Communications Speed
Setting Error
Likely Cause
The communications speed is set incorrectly.
7-segment MS indicator NS indicator Error log (Hex)
H1 Red (flashing) OFF ---
7-segment MS indicator NS indicator Error log (Hex)
H2 Red (flashing) OFF ---
7-segment MS indicator NS indicator Error log (Hex)
H3 Red (lit) OFF ---
7-segment MS indicator NS indicator Error log (Hex)
H4 Red (flashing) OFF ---
7-segment MS indicator NS indicator Error log (Hex)
H5 Red (flashing) OFF ---
220
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
DeviceNet Unit Response
Stops operation.
Correction
Set the communications speed correctly and restart the DeviceNet Units.
CPU Unit Faulty (H6)
DeviceNet Unit Response
Records the error in the error log. (The time information is set to all zeroes.)
Stops operation.
Correction
Replace the CPU Unit if the error recurs when the CPU Unit is restarted.
I/O Table Not Registered
Likely Cause
The CPU Units I/O table is not registered.
DeviceNet Unit Response
Records the error in the error log.
Stops operation.
Correction
Create the I/O table.
Simple Backup Function
Restore Error
Likely Cause
Restoring data from the Memory Card failed for the simple backup function.
DeviceNet Unit Response
The data in the Memory Card is not restored, and the settings in the Unit
remain as they were before the simple backup operation was performed.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
---
CIO Area Flags Allocated to DeviceNet Unit
---
Correction
The data on the Memory Card may not be correct. Make sure that the backup
operation ends normally before performing the restore operation.
CPU Unit Memory Faulty
Likely Cause
A parity error occurred while reading the routing table.
DeviceNet Unit Response
Records the error in the error log and continues processing
The routing table is treated as missing.
7-segment MS indicator NS indicator Error log (Hex)
H6 Red (flashing) OFF 000F
7-segment MS indicator NS indicator Error log (Hex)
H7 Red (flashing) OFF 0006
7-segment MS indicator NS indicator Error log (Hex)
H8 Red (flashing) --- ---
7-segment MS indicator NS indicator Error log (Hex)
HA Red (flashing) --- 0012
221
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 03 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 12 of n+10 (the Unit Error Flag and Routing Table Error Flag) will
be ON.
Correction
Register the routing table in the CPU Unit again and restart the CPU Unit.
Replace the CPU Unit if the error recurs.
CPU Unit Faulty (Hb)
Likely Cause
A timeout occurred while reading the routing table.
DeviceNet Unit Response
Continues processing but data exchange with the CPU Unit is stopped.
The routing table is treated as missing.
Records the error in the error log.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 03 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 12 of n+10 (the Unit Error Flag and Routing Table Error Flag) will
be ON.
Correction
Register the routing table in the CPU Unit again and restart the CPU Unit.
Replace the CPU Unit if the error recurs.
Routing Table Logic Error
Likely Cause
There is an error in the contents of the routing table.
DeviceNet Unit Response
Records the error in the error log.
The routing table is treated as missing and processing continues.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 03 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 12 of n+10 (the Unit Error Flag and Routing Table Error Flag) will
be ON.
Correction
Refer to 1-6-3 Creating Routing Tables. Set the routing table in the CPU Unit
correctly and restart the DeviceNet Units.
I/O Refresh Error
7-segment MS indicator NS indicator Error log (Hex)
Hb Red (flashing) --- 0011
7-segment MS indicator NS indicator Error log (Hex)
HC Red (flashing) --- 021A
7-segment MS indicator NS indicator Error log (Hex)
Hd Red (flashing) --- 0347
222
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Likely Cause
The I/O areas set in the master scan list or slave scan list do not exist in the
CPU Unit. This error can occur when the Unit is mounted to a different CPU
Unit with a different number of EM banks or EM that has been converted to
file memory.
Note This error may occur during remote I/O communications, too.
DeviceNet Unit Response
Records the error in the error log.
Stops remote I/O communications for the function (master or slave) using the
non-existent area.
There is a possibility that this error will occur again. If it does occur again,
restart remote I/O communications to return the system to normal operation.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
Bit 14 (Error Flag) and bit 03 (the Structure Error Flag) will be ON.
CIO Area Flags Allocated to DeviceNet Unit
Bit 00 of n+10 (Unit Error Flag) will be ON together with one of the following
combinations:
Bit 05 of n+12 (the Master I/O Refresh Error Flag) and bit 01 of n+10 (the
Master Function Error Flag) ON.
Bit 05 of n+14 (Remote I/O Refresh Error Flag) and bit 03 of n+10 (the
Slave Error Flag) ON.
Correction
Check the master scan list and slave scan list and reset with a correct alloca-
tion.
CPU Unit Service
Monitoring Error
Likely Cause
Servicing from the CPU Unit is not at fixed intervals. Servicing is normally
monitored at 11 s.
DeviceNet Unit Response
Records the error in the error log.
Stops master and slave remote I/O communications.
Performs the following processing if it receives FINS frames that must be
passed along to the CPU Unit:
Returns an error response (0302 Hex) to commands requiring a re-
sponse.
Discards other frames and stores an error record (010B Hex) in the er-
ror log.
Note Remote I/O communications will not restart automatically for this er-
ror. First confirm that the error has been eliminated and then perform
the procedure to start remote I/O communications.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
There is no status notification because communications with the CPU Unit are
disabled.
CIO Area Flags Allocated to DeviceNet Unit
There is no status notification because communications with the CPU Unit are
disabled.
7-segment MS indicator NS indicator Error log (Hex)
HE Red (flashing) --- 0002
223
Troubleshooting with the DeviceNet Unit Indicators Section 9-1
Correction
Inspect the CPU Units operating environment.
CPU Unit Watchdog Timer
Error
Likely Cause
An error occurred in the CPU Unit.
Note The CPU Units watchdog timer error can occur during initialization.
DeviceNet Unit Response
Records the error in the error log.
Stops master and slave remote I/O communications.
Performs the following processing if it receives FINS frames that must be
passed along to the CPU Unit:
Returns an error response (0302 Hex) to commands requiring a re-
sponse.
Discards other frames and stores an error record (010B Hex) in the er-
ror log.
Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)
There is no status notification because communications with the CPU Unit are
disabled.
CIO Area Flags Allocated to DeviceNet Unit
There is no status notification because communications with the CPU Unit are
disabled.
Correction
Replace the CPU Unit.
CPU Unit Fatal Error
DeviceNet Unit Response
Output data is set to 0. (With the master, these are output bits. With the slave,
these are input bits to the other master.)
Output OFF Error
Likely Cause
The Output OFF Bit (A50015) was turned ON in the CPU Unit.
DeviceNet Unit Response
Output data is set to 0. (With the master, these are output bits. With the slave,
these are input bits to the other master.)
Slave Errors
Remote I/O
Communications Error
7-segment MS indicator NS indicator Error log (Hex)
HF Red (flashing) --- 0001
7-segment MS indicator NS indicator Error log (Hex)
--- --- --- ---
7-segment MS indicator NS indicator Error log (Hex)
--- --- --- ---
7-segment MS indicator NS indicator Error log (Hex)
L9 --- Red (flashing) 0345
224
Error Log Functions Section 9-2
Likely Cause
A timeout occurred during remote I/O communications using the slave func-
tion.
DeviceNet Unit Response
Records the error in the error log.
If slave has outputs, the status of those outputs is determined by the hold/
clear outputs setting for communications errors.
CIO Area Flags Allocated to DeviceNet Unit
Bits 00 and 03 of n+10 (the Unit Error Flag and Slave Error Flag) and bits 02
and 03 of n+14 (the Remote I/O Communications Error Flag for OUT1/IN1
and Remote I/O Communications Error Flag for OUT2/IN2) will be ON.
Correction
Check the following:
Matching master and slave baud rates
Proper cable lengths (trunk and branch lines)
Broken or loose cables
Installation of terminators at both ends of the trunk line
Excessive noise
Unit Errors
Special Unit Error
DeviceNet Unit Response
Records the error in the error log.
Stops the Unit.
Correction
Restart the CPU Unit. Replace the DeviceNet Unit if the error recurs.
9-2 Error Log Functions
Errors detected by the DeviceNet Unit are stored in the error log along with
the date and time of their occurrence. The error log can be read, cleared, and
monitored using FINS commands or a Configurator.
9-2-1 Error Log Table
Error Log Table Each time an error occurs, one error record is recorded in the DeviceNet
Units RAM error log table. The table can record up to 96 records. If another
error occurs when the table is full, the oldest record will be erased to make
room for the new error record.
The error log table records the following information.
Error code
Detail code
Time of occurrence (The CPU Units time is used for the time stamp.)
Error Log Storage Area When an error is detected, information on the error and the time stamp are
stored in the Units internal RAM as an error log record. Serious errors are
recorded in EEPROM as well as RAM. The error log records in EEPROM are
retained even when the Units power is turned OFF or the Unit is restarted.
7-segment MS indicator NS indicator Error log (Hex)
OFF Red (lit) OFF 0601
225
Error Log Functions Section 9-2
The error log records in EEPROM are copied to RAM when the DeviceNet
Unit is turned ON.
When the error log is read with a FINS command or from the Configurator,
only the error log records in RAM are read. When the error log is cleared with
a FINS command or from the Configurator, the error log records in RAM and
EEPROM are erased.
Note Refer to 9-2-2 Error Codes and Detail Codes for a table listing the error codes.
Reading and Clearing the
Error Log
The error log table can be read or cleared by sending a FINS command to the
DeviceNet Unit. Use the DeviceNet Units unit address as the FINS com-
mands destination unit address. (The unit address is the unit number+10
Hex.)
Refer to the SYSMAC CS/CJ Series Communication Commands Reference
Manual (W342) for details on using the FINS commands. Refer to the Appen-
dix E FINS Commands and Responses for DeviceNet Units for details on
FINS commands addressed to the DeviceNet Unit.
When using the Configurator, the error log can be monitored with the master
error history read operation. With the Configurator, the error log can only be
monitored and the data cannot be saved.
Time Information The CPU Units time information is used for the time stamps in the DeviceNet
Units error log records. If the time information cannot be read from the CPU
Unit, the time stamp will contain all zeroes.
The DeviceNet Units time stamps will not be correct or consistent unless the
time has been correctly in the CPU Unit. Moreover, if the battery is replaced in
a CS/CJ-series CPU Unit, the time must be set again the next time that power
is turned ON.
9-2-2 Error Codes and Detail Codes
Error
code
(Hex)
Error Detail code Record
stored in
EEPROM
First byte Second byte
0001 CPU Unit watchdog timer error 00 Hex 00 Hex Yes
0002 CPU Unit service monitoring error (The servic-
ing time from the CPU Unit is not fixed.)
Monitoring time (ms) Yes
0006 Other CPU error Bit 14 ON: Duplicate unit number setting
Bit 11 ON: Unit not in registered I/O table
Other bits: Reserved for system
Yes
000F CPU Unit initialization error 00 Hex 00 Hex Yes
0011 Event timeout MRC SRC Yes
0012 CPU Unit memory error 01 Hex: Read error
02 Hex: Write error
03 Hex: Routing table
04 Hex: CPU Bus Unit set-
tings error
05 Hex: Special Unit CIO
or DM allocation
Yes
226
Error Log Functions Section 9-2
0101 Transmission failed because the local node is
not participating in the network.
FINS message communications command:
Bit 15: OFF
Bits 14 to 8: SNA
Bits 7 to 0: SA1
FINS message communications response:
Bit 15: ON
Bits 14 to 8: DNA
Bits 7 to 0: DA1
Explicit message communications command:
Bit 15: OFF
Bits 14 to 8: 0
Bit 7: ON
Bits 6 to 0: Node address of command source
Explicit message communications response:
Bit 15: ON
Bits 14 to 8: 0
Bit 7: ON
Bits 6 to 0: Node address of command source
No
0105 Transmission failed because of a node address
setting error.
0106 Transmission failed because of a node address
duplication error.
0107 Transmission failed because the other node is
not participating in the network.
0108 Transmission failed because there is no Unit
with the specified unit number.
0109 Transmission failed because the other node is
busy.
010B Transmission failed because of a CPU Unit
error. Frame discarded due to one of the follow-
ing:
A cyclic service monitoring timeout occurred.
A CPU Unit watchdog timer error occurred.
Another CPU Unit error occurred.
010D Transmission failed because the destination
address is not registered in the routing table.
010E Transmission failed because the routing table
has not been registered.
010F Transmission failed because of a routing table
error.
0110 Transmission failed because of too many repeti-
tions.
0111 Transmission failed because the command
exceeded the max. command length.
0112 Transmission failed because of a header error.
0117 Packet discarded because the internal recep-
tion buffer is full.
0118 Illegal packet discarded.
0120 Unexpected routing error
0123 Packet discarded because the internal trans-
mission buffer is full.
0124 Routing failed because maximum frame length
was exceeded.
0125 Packet discarded because of response timeout.
021A Setting table logic error 00 Hex 03 Hex: Routing table
0A Hex: Master scan list
0B Hex: Slave scan list
0C Hex: Message moni-
toring timer list
0D Hex: Scan time
Yes
0211 Node address duplication (cause) 00 Hex Local node address No
0300 Packet discarded because of parameter error. Same as the code (such as 0101 Hex) in the dis-
carded FINS/explicit message packet.
No
0340 Bus Off detected 00 Hex 00 Hex No
0341 Network power supply error 00 Hex 00 Hex No
0342 Transmission timeout 00 Hex 00 Hex No
Error
code
(Hex)
Error Detail code Record
stored in
EEPROM
First byte Second byte
227
Error Log Functions Section 9-2
Note The error information is not written to EEPROM when a memory error occurs
in the error log area (EEPROM).
0343 Structure error 01 Hex: I/O area dupli-
cation
02 Hex: I/O area range
exceeded
03 Hex: Unsupported
slave
Slaves node address No
0344 Verification error 01 Hex: Non-existent
slave
02 Hex: Illegal header
03 Hex: Illegal device
type
04 Hex: Illegal product
code
05 Hex: Unsupported
connection
06 Hex: I/O size mis-
match
07 Hex: Illegal connec-
tion path
Slaves node address No
0345 Remote I/O communications error 01 Hex: Master
02 Hex: Slave
Master:
Slaves node address
Slave:
Masters 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:
Slaves node address
Power supply error:
Local (masters) node
address
Transmission timeout:
Local (masters) node
address
No
0347 I/O refreshing error 01 Hex: Master
02 Hex: Slave
00 Hex No
0348 Message discarded because a new request
was received.
Same as the code (such as 0101 Hex) in the dis-
carded FINS/explicit message packet.
No
0601 Special Unit error Uncertain contents Yes
0602 Special Unit memory error 01 Hex: Read error
02 Hex: Write error
06 Hex: Error log
09 Hex: Identity data
0A Hex: Master scan list
0B Hex: Slave scan list
0C Hex: Message moni-
toring timer list
0D Hex: Communications
cycle time setting
Yes
(See
note.)
Error
code
(Hex)
Error Detail code Record
stored in
EEPROM
First byte Second byte
228
Troubleshooting Section 9-3
9-3 Troubleshooting
9-3-1 CPU Units ERR/ALM Indicator Lit or Flashing
Use the following table to troubleshoot the network when the DeviceNet Unit
is mounted and the CPU Units ERR/ALM indicator is lit or flashing.
Note Refer to the CS1 Series CPU Unit Operation Manual (W339) or the CJ Series
CPU Unit Operation Manual (W393) for more details on these errors.
9-3-2 Remote I/O Communications Disabled
Use the following table to troubleshoot the network when remote I/O data
communications wont start. (The I/O Data Communications Flag remains
OFF in Master Status 1.)
Error Probable cause
An I/O verification error occurred. Make sure that the Unit is connected properly.
Check the I/O table with the I/O Table Verification operation and correct it
if necessary. After correcting it, perform the I/O Table Create operation.
A CPU Bus Unit setting error occurred. The CPU Bus Unit model registered in the I/O table does not match the
model of CPU Bus Unit actually mounted. Check the I/O table with the I/O
Table Verification operation and correct it if necessary.
After correcting the I/O table, perform the I/O Table Create operation.
A CPU Bus error occurred. Make sure that the Unit is connected properly.
Restart the Unit. Replace the Unit if it doesnt restart.
An I/O Bus error occurred. Make sure that the Unit is connected properly.
Restart the Unit. Replace the Unit if it doesnt restart.
Error Probable cause
All of the DeviceNet Units indicators are OFF. Check whether power is being supplied to the PLC.
Check whether the DeviceNet Unit is mounted in the Backplane cor-
rectly.
When a watchdog timer (WDT) error has occurred in the PLC, follow
the procedures described in the PLCs manual to correct the problem.
All of a CS1W-DRM21(-V1) or CJ1W-DRM21 Units indicators will be
OFF when a CPU Bus Unit error has occurred. Check for a CPU Bus
Unit error.
Restart the Unit. Replace the Unit if it doesnt restart.
The DeviceNet Units MS indicator is ON and
green, but the NS indicator remains OFF.
(The NS indicator normally goes ON about 2 s
after the MS indicator.)
If the DeviceNet Units 7-segment display is displaying an error code,
refer to the tables in 9-1 Troubleshooting with the DeviceNet Unit In-
dicators.
Make sure that the masters unit number setting is correct.
Make sure that the unit number is not duplicated on another Special
Unit.
Check the I/O table with the I/O Table Verification operation and cor-
rect it if necessary. After correcting it, perform the I/O Table Create
operation.
Restart the Unit. Replace the Unit if it doesnt restart.
229
Troubleshooting Section 9-3
9-3-3 I/O Link Problems
Use the following table to troubleshoot I/O Link problems.
The DeviceNet Units MS indicator is ON and
green, but the NS indicator continues to flash
green.
(The NS indicator normally goes ON 2 s after
the MS indicator.)
If the DeviceNet Units 7-segment display is displaying an error code,
refer to the tables in 9-1 Troubleshooting with the DeviceNet Unit In-
dicators.
Restart the Unit. Replace the Unit if it doesnt restart.
The DeviceNet Units MS and NS indicators are
ON and green, but the 7-segment display contin-
ues to flash the masters node address.
(The node address normally stops flashing
within 8 s after the NS lights.)
Check that the DeviceNet Units baud rate matches the baud rates set
on all of the slaves. If they dont 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.
Check for broken wires in the communications and power supply ca-
bles attached to the connectors.
Check whether the slaves are operating properly.
When an OMRON slave is being used, refer to the DeviceNet Slaves
Operation Manual (W347).
If another companys slave is being used, refer to that slaves users
manual.
Error Probable cause
Error Probable cause
The I/O isnt simultaneous. Observe the following precautions when writing application programs:
The simultaneity of node-units of data is ensured between the PLC
and DeviceNet Unit.
In OMRON slaves, the simultaneity of word-units of data is ensured.
If another companys slave is being used, refer to that slaves users
manual for details.
At startup, OFF outputs are output from the
slaves.
When the master is operating in scan list enabled mode and the PLC is
set to maintain the status of I/O area bits, those held output points will
be output from the output slaves at startup.
Be sure to perform the Create Scan List operation and operate the
master with the scan list enabled.
Refer to the CS1 Series CPU Unit Operation Manual (W339) or the CJ
Series CPU Unit Operation Manual (W393) for details on maintaining
I/O area data with the IOM Hold Bit.
230
Troubleshooting Section 9-3
9-3-4 Communications Error Operation Settings
Use the following table to correct problems with the DIP switch setting for con-
tinuing/stopping communications for errors.
9-3-5 Scan List Problems
Use the following table to troubleshoot scan list problems.
Error Probable cause
Communications are stopped even though
there is no communications error.
When pin 3 on the DIP switch is ON, communications will be stopped if a
communications error, transmission timeout, or network power supply error
occurs.
While communications are stopped, the 7-segment displays will alternately
display error code A0 and the error code of the communications error that
caused the stoppage.
After a network power supply error or transmission timeout is corrected, the
indicators will show just the communications stoppage code (A0).
Communications are stopped by the DIP
switch setting, but dont resume after tog-
gling the Clear Communications Error Stop-
page Bit.
When communications cant be restarted with slaves that were communi-
cating normally before the stoppage, stop the communications again.
Check that the slave has started up and perform the clear communica-
tions error stoppage operation.
It may be necessary to perform the operation twice if the network contains
another companys slave that take a long time to join the network.
Error Probable cause
A scan list couldnt be created by the cre-
ate scan list operation.
A scan list couldnt be cleared by the clear
scan list operation.
Neither the create scan list nor clear scan list operations can be performed
until the I/O Data Communications flag goes ON. (The I/O Data Communi-
cations flag will be OFF for a short time after the power is first turned ON
and after the scan list clear operation is executed.)
Make sure that the I/O Data Communications flag is ON before attempting
to execute the create scan list or clear scan list operations.
The create scan list or clear scan list
operation was executed, but the masters 7-
segment displays still display - -.
(The - - display usually lasts for 1 s after
the create scan list operation or 0.1 s after
the clear scan list operation.)
Restart the DeviceNet Unit, execute the clear scan list operation, and then
the create scan list operation if necessary.
Replace the DeviceNet Unit if this doesnt correct the problem.
231
Maintenance and Replacement Section 9-4
9-4 Maintenance and Replacement
This section describes the routine cleaning and inspection recommended as
regular maintenance as well as the Unit replacement procedure required if a
DeviceNet Unit fails.
9-4-1 Cleaning
Clean the DeviceNet Units regularly as described below in order to keep the
network in its optimal operating condition.
Wipe the Unit daily with a dry, soft cloth.
When a spot cant be removed with a dry cloth, dampen the cloth with a
neutral cleanser (2% solution), wring out the cloth, and wipe the Unit.
A smudge may remain on the Unit from gum, vinyl, or tape that was left on
for a long time. Remove the smudge when cleaning.
!Caution Never use volatile solvents such as paint thinner, benzene, or chemical wipes.
These substances could damage the surface of the Unit.
9-4-2 Inspection
Be sure to inspect the system periodically to keep it in its optimal operating
condition. In general, inspect the system once every 6 to 12 months, but
inspect more frequently if the system is used with high temperature or humid-
ity or under dirty/dusty conditions.
Inspection Equipment Prepare the following equipment before inspecting the system.
Required Equipment
Have a standard and Phillips-head screwdriver, multimeter, alcohol, and a
clean cloth.
Equipment Required Occasionally
Depending on the system conditions, a synchroscope, oscilloscope, ther-
mometer, or hygrometer (to measure humidity) might be needed.
Inspection Procedure Check the items in the following table and correct any items that are below
standard.
Item Standard Equipment
Environmental
conditions
Ambient and cabinet temperature 0C to 55C Thermometer
Ambient and cabinet humidity
(with no condensation or icing)
10% to 90% Hygrometer
Dust/dirt accumulation None ---
Installation Are the Units installed securely? No looseness ---
Are the communications connec-
tors fully inserted?
No looseness ---
Are the external wiring screws
tight?
No looseness ---
Are the connecting cables
undamaged?
No damage ---
232
Maintenance and Replacement Section 9-4
9-4-3 Replacing Faulty Units
Replace a faulty DeviceNet Unit as soon as possible. Refer to the DeviceNet
Slaves Operation Manual (W347 or W404) or the MULTIPLE I/O TERMINALs
Operation Manual (W348) for details on replacing slaves. We recommend
having spare Units available to restore network operation as quickly as possi-
ble.
Precautions Observe the following precautions when replacing a faulty Unit.
After replacement make sure that there are no errors with the new Unit.
When a Unit is being returned for repair, attach a sheet of paper detailing
the problem and return the Unit to your OMRON dealer.
If there is a faulty contact, try wiping the contact with a clean, lint-free
cloth dampened with alcohol.
Note To prevent electric shock when replacing a Unit, be sure to stop communica-
tions in the network and turn OFF the power supplies to all of the nodes (mas-
ter and slaves) before removing the faulty Unit.
Settings after Replacing
DeviceNet Units
When the master is being used, the scan list (network file) must be registered
after replacing the DeviceNet Unit.
All of the settings data stored in the DeviceNet Unit can be saved to the CPU
Units Memory Card
1
and later read from the 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.
Note 1. Toggle (OFF to ON) the Unit Setup File Backup Switch (word n+1, bit 15).
2. Toggle (OFF to ON) the Unit Setup File Restore Switch (word n+1, bit 14).
3. The backup file is saved to the CPU Units Memory Card with the filename
DNnnBKUP.dvf. (The number nn is the unit number in 2-digit hexadeci-
mal.)
Default Remote I/O Allocations
Turn ON power to all slaves and then turn ON the Scan List Enable Switch (bit
00). The scan list will be registered.
User-set Remote I/O Allocations
The scan list can be written to the DeviceNet Unit from the CPU Units Mem-
ory Card or a network file saved on a disk.
Using the Settings Data Stored in the CPU Units Memory Card
Use the following procedure to write all of the settings data from the Memory
Card to the DeviceNet Unit.
1,2,3... 1. Turn ON power to the PLC.
2. Switch the CPU Unit to PROGRAM mode.
3. Toggle (OFF to ON) the Unit Setup File Restore Bit (word n+1, bit 14).
Using a Network File Stored on a Floppy Disk or Hard Disk
Use the following procedure to write the settings to the DeviceNet Unit from a
network file saved on a disk.
1,2,3... 1. Turn ON power to the DeviceNet Unit and the Configurator.
2. Place the Configurator online and read the network file that was previously
saved.
233
Maintenance and Replacement Section 9-4
3. Use the Edit Device Parameters operation, specify the DeviceNet Unit that
has been replaced, and write the settings from the network file to the De-
viceNet Unit.
Creating a New Network File
Use the following procedure to write the settings to the DeviceNet Unit from a
network file saved on a disk.
1,2,3... 1. Turn ON power to the DeviceNet Unit, slaves, and the Configurator.
2. Place the Configurator online and display the Device List.
3. Specify the DeviceNet Unit that has been replaced, and use the Edit De-
vice Parameters operation to register slaves and allocate I/O.
4. Write the settings to the devices.
Note 1. When using user-set remote I/O allocations, always save the network file
to a floppy disk or hard disk to restore operation quickly if the DeviceNet
Unit needs to be replaced.
2. When the CPU Unit is replaced, be sure that all data in the DM Area, HR
Area, and other memory areas is transferred to the new CPU Unit before
starting operation.
234
Maintenance and Replacement Section 9-4
235
Appendix A
Allocation Differences from C200H
DeviceNet Master Units
The following table shows the CS1W-DRM21(-V1)/CJ1W-DRM21 DeviceNet Unit allocation areas that corre-
spond to the C200HW-DRM21-V1 DeviceNet Master Unit allocation areas.
Note The following table does not include the allocation areas that exist only in CS/CJ-series DeviceNet Units.
Refer to this table when using ladder programs in the CS1W-DRM21(-V1)/CJ1W-DRM21 that have been used
in C200HW-DRM21-V1 DeviceNet Master Units and make adjustments as required.
Use the CX-Programmer replacement operation to change ladder program addresses. When using a CX-Pro-
grammer Ver. 1.2 or earlier, use the global replace utility function to globally replace addresses.
Software Switches
Unit No.: Set on rotary switches on front panel (0 to 15).
Name C200H DeviceNet Master
Unit
CS/CJ-series
DeviceNet Unit
Contents for CS/CJ-
series DeviceNet Unit
Differences from C200H-
series DeviceNet Master
Unit
Word address Bit CS/CJ-
series
word
address
Bit
CS/CJ
Series
C200HX/
HG/HE,
C200HS
Scan List
Enable
Switch
IR 2000 +
(10 unit
No.)
Unit No. 0
to 9: IR 100
+(10 unit
No.)
Unit No. A
to F: IR 400
+(10 unit
No. 10)
00 CIO 1500 +
(25 unit
No.)
00 OFF ON
Registers to scan list the
slaves recognized during
operation in scan list dis-
abled mode and starts
operation in scan list
enabled mode (PLC Unit in
PROGRAM mode).
No differences.
Different usage: Switch
returns to OFF when pro-
cessing completed.
Scan List
Clear
Switch
01 01 OFF ON
Disables scan list registra-
tion and starts operation in
disabled mode (PLC Unit in
PROGRAM mode).
No differences.
Different usage: Unit switch
returns to OFF when pro-
cessing completed.
Remote I/O
Communi-
cations
Start Switch
02 02 OFF ON
Restarts remote I/O com-
munications stopped with
communications error
based on settings.
Includes bit 03 remote I/O
communications start
switch functions in CS/CJ-
series DeviceNet Unit.
Different usage: Unit switch
returns to OFF when pro-
cessing completed.
Remote I/O
Communi-
cations
Start Switch
03 03 OFF ON
Starts communications
Includes bit 02 communica-
tions error stop clear switch
functions in CS/CJ-series
DeviceNet Unit.
Different usage: Unit switch
returns to OFF when pro-
cessing completed.
Remote I/O
Communi-
cations
Stop Switch
04 04 OFF ON
Stops remote I/O communi-
cations
Different usage: Unit switch
returns to OFF when pro-
cessing completed.
236
Allocation Differences from C200H DeviceNet Master Units Appendix A
Status Areas
Master Status Area 1
An area with the exact same bit configuration as Master Status area 1 used for C200H DeviceNet Master Units,
was set up. This area is called the Master Replacement Status 1.
The following table compares the C200H DeviceNet Master Unit Master Status Area 1 and the CS/CJ-
series DeviceNet Unit Master Replacement Status 1.
Names for
C200H
DeviceNet
Master
Unit
Master
Status
Area 1
C200H DeviceNet Master Unit Names for
CS/CJ-
series
DeviceNet
Unit Mas-
ter
Replace-
ment Sta-
tus 1
CS/CJ-series
DeviceNet Unit
Details and CS1W-DRM21(-V1)/
CJ1W-DRM21 status
Word address Bit CS/CJ-
series
word
address
Bit
CS/CJ
Series
C200HX/
HG/ HE,
C200HS
Switch Set-
ting Error or
EEPROM
Error Flag
IR 2001+
(10 unit
No.)
Unit No. 0
to 9: IR
101+(10
unit No.)
Unit No. A
to F: IR
401+(10
unit No.
10)
00 Unit Error
Flag
CIO 1524+
(25 unit
No.)
00 This is the same as a Unit memory
error (word n+10, bit 04).
Note This bit is also used for incorrect
switch settings for the C200HW-
DRM21-V1. The Unit will not
start if the switch settings are
incorrect.
Node
Address
Duplicated/
Bus Off
Flag
01 Node
Address
Duplicated/
Bus Off
Flag
01 This bit turns ON if any one of the fol-
lowing flags turns ON:
Node address duplicated (word
n+10, bit 06)
Bus Off (word n+10, bit 05)
Reserved
for system
use
02 Reserved
for system
use
02 Reserved by system
Configura-
tion Error
Flag
03 Configura-
tion Error
Flag
03 This bit turns ON if any of the following
flags turn ON:
Routing table error (word n+10, bit
12)
Invalid message timer list (word
n+10, bit 13)
Invalid Scan List Data (word n+12,
bit 04)
Remote I/O refresh error (word
n+12, bit 05)
Note The C200HW-DRM21-V1 does
not support slave communica-
tions. Scan list data errors for
slave communications are not
relevant.
Structure
Error Flag
04 Structure
Error Flag
04 This is the same as the Structure Error
Flag in word n+12, bit 01.
Send Error
Flag
05 Send Error
Flag
05 This bit turns ON if any one of the fol-
lowing bits turns ON:
Network power error (word n+10, bit
07)
Send timeout (word n+10, bit 08)
237
Allocation Differences from C200H DeviceNet Master Units Appendix A
Communi-
cations
Error Flag
IR 2001+
(10 unit
No.)
Unit No. 0
to 9: IR
101+(10
unit No.)
Unit No. A
to F: IR
401+(10
unit No.
10)
06 Communi-
cations
Error Flag
CIO 1524+
(25 unit
No.)
06 This is the same as the Remote I/O
Communications Error Flag (word
n+12, bit 02).
Verification
Error Flag
07 Verification
error
07 This is the same as the Verification
Error Flag in word n+12, bit 00.
I/O Data
Communi-
cations Not
Running
Flag
08 I/O Data
Communi-
cations Not
Running
Flag
08 This operates in the reverse way of the
Remote I/O Communications Flag
(word n+11 bit 01).
Scan List
Operation
Completed
Flag
09 Reserved
for system
use
09 ---
Scan List
Operation
Error Flag
10 Reserved
for system
use
10 ---
Communi-
cations
Error Stop
Cleared
Flag
11 Reserved
for system
use
11 ---
Message
Communi-
cations
Enable Flag
12 Message
Communi-
cations Per-
mitted Flag
12 The same as the Online Flag in word
n+11, bit 00.
Note When executing message com-
munications instructions
(SEND/RECV/CMND) from the
ladder program, use an AND of
input conditions for the Network
Communications Enabled Flag
in the CPU Unit (A20200 to
A20207) and this bit.
Scan List
Disabled
Flag
13 Scan List
Disabled
Flag
13 The same as operation as the Scan
List Disabled Flag (word n+11, bit 04).
Error Flag 14 Error Flag 14 This bit turns ON if bit 00, 01 or 03 to
07 in this word (n+24) turns ON.
I/O Data
Communi-
cations Flag
15 I/O Data
Communi-
cations
Flag
15 The same as I/O Data Communica-
tions Flag (word n+12 bit 15).
Names for
C200H
DeviceNet
Master
Unit
Master
Status
Area 1
C200H DeviceNet Master Unit Names for
CS/CJ-
series
DeviceNet
Unit Mas-
ter
Replace-
ment Sta-
tus 1
CS/CJ-series
DeviceNet Unit
Details and CS1W-DRM21(-V1)/
CJ1W-DRM21 status
Word address Bit CS/CJ-
series
word
address
Bit
CS/CJ
Series
C200HX/
HG/ HE,
C200HS
238
Allocation Differences from C200H DeviceNet Master Units Appendix A
Master Status Area 2
Communications Cycle Time Present Value
Registered Slave Table
Name C200H DeviceNet Master Unit CS/CJ-series
DeviceNet Unit
Contents for CS/CJ-
series DeviceNet Unit
Differences
from C200H
DeviceNet
Master Unit
Word address Bit CS/CJ-series
word
address
Bit
CS/CJ Series C200HX/HG/
HE, C200HS
Error History
Flag
D06032+ (2
unit No.)
DM6032+ (2
unit No.)
00 CIO 1511 +
(25 unit No.)
15 1: When error history is
stored in Master Unit
0: When error history is
not stored in Master Unit
No difference.
Master I/O
Allocation
Status
15 CIO 1513 +
(25 unit No.)
08 to
15
1: When scan list has
been created using Con-
figurator and operating in
scan list enabled mode
(user-set allocations)
0: When operating in scan
list disabled mode or when
operating in scan list
enabled mode based on
the scan list registered by
software switch settings
(fixed allocations)
Shown in 1-
byte code for
CS1W-
DRM21(-V1)/
CJ1W-
DRM21
Name C200H DeviceNet Master Unit CS/CJ-series
DeviceNet Unit
Contents for CS/CJ-
series DeviceNet Unit
C200H
DeviceNet
Master Unit
Word address Bit CS/CJ-series
word
address
Bit
CS/CJ
Series
C200HX/HG/
HE, C200HS
Communica-
tions cycle
time present
value
D06033+ (2
unit No.)
DM6033+ (2
unit No.)
00 to
15
m+16 00 to
15
The present value of the
communications cycle
time is stored in 4-digit
BCD. The unit is ms. The
digits below decimal place
are rounded up.
Stored in
hexadecimal.
Name C200H DeviceNet Master Unit For CS/CJ-series
DeviceNet Unit
C200H DeviceNet
Master Unit
Word address Bit CS/CJ-series
word address
Bit
CS/CJ Series C200HX/HG/HE,
C200HS
Registered slave
table
4 words starting
with 2002 + (10
unit No.)
Unit No. 0 to 9: 4
words starting with
IR 102 +(10 unit
No.)
Unit No. A to F: 4
words starting with
IR 402 +(10 unit
No. 10)
00 to
15
4 words starting
with n+16
00 to
15
No differences.
239
Allocation Differences from C200H DeviceNet Master Units Appendix A
Normal Slave Table
Replacing Ladder Programs from C200HW-DRM21-V1
If ladder programs have already been created for C200H DeviceNet Master Unit (C200HW-DRM21-V1)
mounted to CS/CJ-series CPU Units, the ladder programs must be changed when replacing the C200HW-
DRM21-V1 with this Unit.
Remote I/O Communications and Status Monitor Ladder Programs
When using a CX-Programmer Ver. 2.0, use its replacement function to globally replace addresses.
When using a CX-Programmer Ver. 1.2 or earlier, use the global replace utility function to globally replace
addresses.
Name C200H DeviceNet Master Unit For CS/CJ-series
DeviceNet Units
C200H DeviceNet Master Unit
Word address Bit Word address Bit
CS/CJ Series C200HX/HG/HE,
C200HS
CS/CJ Series
Normal
slave
table
4 words starting
with CIO 2006 +
(10 unit No.)
Unit No. 0 to 9: 4
words starting with
IR 106 +(10 unit
No.)
Unit No. A to F: 4
words starting with
IR 406 + (10 unit
No. 10)
00 to
15
4 words starting
with n+20
00 to
15
With the C200HW-DRM21-V1,
normal slave information is held,
and when remote I/O communica-
tions are started again, the infor-
mation is cleared to OFF, even in
the following cases:
Network power supply error
Send timeout
Remote I/O communications
stopped
When remote I/O communica-
tions are stopped due to a com-
munications error, only the bits for
the slaves that caused the stop-
page will turn OFF. Also, the cor-
responding Slave remote I/O
communications timeout in the
detailed information for that slave
(m+37 to m+68 bit 11 or bit 03) will
turn ON. The communications tim-
eout bits for all other slaves will
remain OFF.
For the CS1W-DRM21(-V1) or
CJ1W-DRM21, however, all nor-
mal slave information will turn OFF
when the remote I/O communica-
tions are stopped, including for a
communications error.
240
Allocation Differences from C200H DeviceNet Master Units Appendix A
Replace the addresses as shown in the following table.
Message Communications in Ladder Programs
Note If there is a routing table in the CS/CJ-series CPU Unit, the DeviceNet Unit must be registered in it when
replacing the C200HW-DRM21-V1 with the CS1W-DRM21(-V1) or CJ1W-DRM21. If the DeviceNet Unit
is not registered, it will result in a routing table error, and the 7-segment display of the DeviceNet Unit will
indicate HC.
Area type C200HW-DRM21-V1 This Unit (CS1W-
DRM21(-V1))
Remarks
First word of IN area in fixed remote I/O alloca-
tions
IR 350 Can be allocated to
CIO 350 from Config-
urator or in allocated
DM Area words
Completely compati-
ble.
First word of OUT area in fixed remote I/O alloca-
tions
Word 50 Can be allocated to
CIO 50 from Configu-
rator or in allocated
DM Area words
Completely compati-
ble.
Software switches IR 2000 +10 unit
No.
CIO 1500 +25 unit
No.
Only word address
changed.
Communications error stop clear Bit 02 Bit 02
Remote I/O communications start Bit 03 Bit 03
Remote I/O communications stop Bit 04 Bit 04
Master status area 1 IR 2000 +10 unit
No.+ 1
CIO 1500 +25 unit
No.+ 24
Only word address
changed.
Master status area 2 Scan list registration
by Configurator
D06032+2 unit
No.+1, bit 15
CIO 1500 +25 unit
No.+ 13
Note Allocated as
status code.
Cannot be accessed
from ladder program.
Error history D06032+2 unit
No.+1, bit 00
CIO 1500 +25 unit
No.+bit 15 of 11
First word of registered slave table IR 2000 +10 unit
No.+2
CIO 1500 +25 unit
No.+16
Only word address
changed.
First word of normal slave table IR 2000 +10 unit
No.+6
CIO 1500 +25 unit
No.+20
Only word address
changed.
Instructions C200HW-DRM21-V1 This Unit (CS1W-
DRM21(-V1))
Remarks
Message communica-
tions instructions
IOWR instructions CMND instructions
(SEND/RECV also possi-
ble for FINS data commu-
nications)
Change instructions and message
data.
Instruction execution con-
ditions
Message Communica-
tions Enabled Flag
(IR 2000 +10 unit No.+
1, bit 12)
AND condition for 1. Mes-
sage Communications
Permitted Flag (CIO 1500
+25 unit No.+24, bit 12)
and
2. Network Communica-
tions Enabled Flag
(A20200 to A20207: Cor-
respond to ports 0 to 7)
Change execution conditions.
Note The Message Communications
Permitted Flag (CIO 1500 +25 unit
No.+ 24, bit 12) is the same even when
online as (CIO 1500 +25 unit No.+
11, bit 00)
241
Appendix B
DeviceNet Connections
DeviceNet has several different protocols for remote I/O communications between Master and Slave devices.
Connections are units used to monitor those protocols.
There are four kinds of DeviceNet remote I/O communications protocols (connections): Poll, bitstrobe, COS
(change of state), and cyclic. CS/CJ-series DeviceNet Units support all four types.
The connection used by the DeviceNet Unit is automatically selected if the Configurator is not used.
If the Configurator is used, the connection can be automatically selected by the DeviceNet Unit or the user can
specify the connections for each slave. Up to two connections can be set. COS and cyclic connections cannot
be specified at the same time. The characteristics of each connection are outlined in the following table.
Note 1. The C200HW-DRM21-V1 and CVM1-DRM21-V1 DeviceNet Master Units use bit-strobe connections
with slaves with 8 or less input points and poll connections with other slaves. The DeviceNet Unit au-
tomatically chooses the connection.
2. There can be only one master on each network if COS or cyclic connections are used.
Connection Characteristics
Poll Used for basic I/O.
Bit-strobe Used for input of 8 bytes or less. Sends broadcasting requests from master and receives input
from slaves.
COS (Change of
State)
Communications occur at regular cycles (heartbeat timer) and the con-
nection is determined by the master or slave sending the data.
Data can be sent only when required, which reduces the network com-
munications load.
This connection can be used to send data to the master or slave if the
master or slave data changes.
COS connections are given priority over poll and bit-strobe connections,
which may result in a longer communications cycle time due to the
higher frequency of COS connections used to send data or large
amounts of data sent using COS. Therefore, COS connections are
effective when changes to data are infrequent (approximately 100 ms
min.), or to give higher priority to small amounts of data.
For DeviceNet Units, the transmission timing can be decided in the user
program.
The following points apply for CS/CJ-series DeviceNet Units:
If the Master COS Send Switch is turned ON, remote I/O communica-
tions output data can be sent every time from the master using COS to
the slaves that support COS.
If the Slave COS Send Switch is turned ON, remote I/O communications
output data can be sent every time from the slave using COS to the
master (input data from the perspective of the master).
Even if the software switch is not turned ON, the COS communications
using regular cycles (heartbeat timer) can be performed simultaneously.
Note This CS/CJ-series DeviceNet Unit supports COS.
Note COS and cyclic
connections cannot be
used at the same time.
Cyclic Communications timing is determined by regular cycles (heartbeat
timer).
Masters and slaves send output or input data in regular cycles.
Cyclic connections are have higher priority than poll or bit-strobe con-
nections, which may result in a longer communications cycle time due to
large amounts of data sent using cyclic connections. Therefore, cyclic
connections are effective when changes to data are infrequent, or the
amount of data to be sent is small.
242
DeviceNet Connections Appendix B
Connections Using Allocations
Setting Connection Type
The settings for remote I/O communications connections differ depending on the allocation method, as outlined
below.
Fixed Allocation or User-set Allocations Using Allocated DM Area Words
The Master CS/CJ-series DeviceNet Unit automatically selects either poll or bit-strobe, whichever makes the
communications cycle time shortest.
User-set allocations Using Configurator
The Master CS/CJ-series DeviceNet Unit can make an automatic selection, the same as above, or the user
can select up to two connections for a Slave. The setting method is outlined below.
1. Select the Master Node in the Network Configuration Window in the Configurator.
2. Select Device Parameters Edit All Masters and select the corresponding Slave. Click the Detailed
Settings Button.
3. On the Connection Tab Page shown below, select a check box.
Automatic selection
User selection
Select up to two connections from poll, bitstrobe, COS and cyclic. COS and cyclic connections cannot be
used at the same time.
Allocation method Contents
Without Con-
figurator
Fixed allocation (scan
list disabled or
enabled)
Only 1 connection, automatically selected by the DeviceNet Unit.
(Either a polling or bit-strobe connection is used.)
User-set allocations
using allocated DM
Area word settings
Only 1 connection, automatically selected by the DeviceNet Unit
based on the I/O area set in the Master User Allocations Table.
With Configu-
rator
User-set allocations
using Configurator
The user can select the connection to be used for each node address
with the Configurator e.g., poll could be used for data and COS could
be used for status. Automatic selection or user selection can be spec-
ified. Two connections can be used simultaneously for one slave (but
COS and cyclic cannot be used simultaneously.)
243
DeviceNet Connections Appendix B
Note 1. Output data using poll connections and output data using COS or cyclic connections are transmitted
using the same frame. Therefore set the same output size (bytes) when combining poll and COS or
poll and cyclic.
2. The COS/cyclic heartbeat timer is the smallest transmission interval for COS or cyclic connections.
It can be set for each corresponding slave.
Refer to DeviceNet Configurator Operation Manual (W382) for details on Configurator operation.
Connection Path
Connection path are parameters that specify the type of I/O data in the slaves. Depending on the type of slave,
the internal I/O data type may be able to be selected. If it can, the connection path and I/O data type in the
slave specified for remote I/O communications.
The connection path settings will differ depending on the allocation method, as outlined below.
Fixed Allocation or User-set Allocations Using DM
Connection path settings cannot be made.
User-set Allocations Using Configurator
The Configurator can be used to set the type of I/O data in the slave, using the connection path. The user can
use this method to set the I/O data type in the master and the remote I/O communications slave.
The connection path is saved by the Configurator to the CS/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 path
Slave
Data 1 Data 2
244
DeviceNet Connections Appendix B
Master COS Send Switch
COS transmission is possible only for User-set allocations using the Configurator.
When required, remote I/O output data can be output from the master to a specified slave.
Output data can be sent at the communications cycle timing to the specified slave by other connections
selected automatically or by the user (only when using the Configurator).
In this case, the communications timing is not dependant on the communications cycle time but it is dependant
on the CPU Unit cycle time.
Note When a master or slave sending data with COS communications must handle large quantities of data or
when data is sent frequently using COS communications, the communications cycle time may actually
be longer than when using poll communications. This can have a large impact on the performance of
remote I/O communications and delay responses. Therefore, give ample consideration to the system
performance when using COS.
DeviceNet Units use the Master COS Send Switch in the allocated CIO Area words to execute COS transmis-
sions from the master to slaves. The procedure is outlined below.
Step 1
Before executing COS transmission, the connection for the destination slave must be set to COS in the master
scan list, using the Configurator.
Step 2
If the bit allocated to each node address from n + 2 words to n + 5 words is turned from OFF to ON, the output
data is sent to that node address at a timing independent of the communications cycle time.
Multiple bits can be turned OFF to ON simultaneously and output data can be sent to multiple node addresses
simultaneously.
CPU Unit user program
DeviceNet Unit
Slave
COS send switch OFF to ON
I/O refresh Time
COS send instruction
I/O using normal connection COS output
Communications
cycle time
Communications
cycle time
Communications
cycle time
Communications
cycle time
245
DeviceNet Connections Appendix B
The following diagram shows the transmission timing. After the COS send instruction has been sent to the
DeviceNet (at the I/O refresh timing for the CPU Unit), the COS transmission is executed to each slave immedi-
ately after the refresh (remote I/O communications), which each slave is performed 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) turned OFF to ON
I/O refresh
Time
COS send instruction
Node #1 Node #2 Node #3 Node #4 Node #1
COS
#1
Node #2
COS
#2
Node #3
COS
#3
Node #4
Communications cycle time Communications cycle time
Slave # 1
Slave # 2
Slave # 3
: I/O using normal connection
: Output using COS (sent to fit in between
normal cycles)
CPU Unit user
program
246
DeviceNet Connections Appendix B
247
Appendix C
FINS Commands and Responses for
DeviceNet Units
List of Command Codes
Refer to SYSMAC CS/CJ Series Communication Commands Reference Man-
ual (W342) for details on end codes.
RESET (0403)
Resets (restarts) the DeviceNet Unit.
Command Block
Resets the DeviceNet Unit.
Response Block
There are no responses for this command
End Code
Explanation
Resets the DeviceNet Unit.
A communications error has occurred at the Slave but the Slave will
restore after the DeviceNet Unit has started up.
The remote device communicating the message may have timed out but
communications can be performed normally after the DeviceNet Unit has
started up.
READ CONTROLLER INFORMATION (0501)
Reads the following DeviceNet Unit information.
Model
Version
Node address
Command type Command code Reference page
RESET 0403 247
CONTROLLER DATA READ 0501 247
CONTROLLER STATUS READ 0601 248
ECHOBACK TEST 0801 249
ERROR LOG READ 2102 250
ERROR LOG CLEAR 2103 251
End code (hex) Contents
1001 The command length exceeds maximum
command length.
Command code
248
FINS Commands and Responses for DeviceNet Units Appendix C
Baud rate
Command Block
Response Block
End Codes
Parameter Details
[Model, Version] (Response)
The DeviceNet Unit model and version are returned as outlined below in 20-
byte ASCII code. If the data is less than 20 bytes, the remaining bytes will be
filled by 20 Hex (space).
Model:
CS1W-DRM21@@@@@@@@@@ (@: space)
Or:
CJ1W-DRM21@@@@@@@@@@ (@: space)
Version:
V1.00V1.02V1.01@@@@@ (@: space)
Node Address:
The following DeviceNet Unit node addresses are returned: 00 to 3F hex.
Baud Rate:
0 hex: 125 kbps
1 hex: 250 kbps
2 hex: 500 kbps
READ CONTROLLER STATUS (0601)
Reads the internal status of the DeviceNet Unit.
Command Block
End code (hex) Contents
0000 Normal end
1001 Command length exceeds maximum
command length.
Command code
05 01 20 bytes 20 bytes
Command
code
End code Model Version Node
address
Baud
rate
Command code
249
FINS Commands and Responses for DeviceNet Units Appendix C
Response Block
End Codes
Parameter Details
[Operation status, Units status 1, Unit status 2, Master function status 1, Mas-
ter function status 2, Slave function status 1, Slave function status 2]
(response)
Operation Status
Fixed at 01 hex.
Units status 1, Unit status 2, Master function status 1, Master function sta-
tus 2, Slave function status 1, Slave function status 2
The same value as the status in the allocated CIO Area words is returned.
ECHOBACK TEST (0801)
Performs an echo back test (communications test between nodes) between
specified nodes.
Command Block
Response Block
End Codes
Parameter Details
[Test Data] (Command, Response)
End code (hex) Contents
0000 Normal end
1001 Command length exceeds maximum command length.
2606 Service cannot be executed.
End code (hex) Contents
0000 Normal end
1001 Command length exceeds maximum command length.
1002 The command length is insufficient for the smallest command.
There is no test data.
Command
code
End code
Operation
status
Unit
status 1
Unit
status 2
Master
function
status 1
Master
function
status 2
Slave
function
status 1
Slave
function
status 2
Command
code
Test data
538 bytes
max.
Command
code
End code Test data
538 bytes
max.
250
FINS Commands and Responses for DeviceNet Units Appendix C
For commands, the data to be sent to the specified node is specified, with a
maximum of 538 bytes.
For responses, The test data that was sent by the command is returned.
Explanation
An error has occurred if the test data sent by the command and the tests data
returned by the response are different.
READ ERROR HISTORY (2102)
Reads the error history saved in the DeviceNet Unit.
Command Block
Response Block
End Codes
Parameter Details
[Read Start Record No.](Command)
Specifies the record number where the read is to start in 2-byte (4-digit) hexa-
decimal. The record number is specified from 0000 to 005F hex (0 to 95 deci-
mal), with the first word being 0000 hex.
[Read Record No.](Command, response)
For commands, specifies the number of records to be read. The specification
range is 0001 to 0060 hex (1 to 96 decimal).
For responses, the number of records actually read is returned.
[Max. No. of Records] (Response)
The maximum number of errors that can be recorded in DeviceNet Unit error
history. Fixed to 0060 hex (96 decimal) for DeviceNet Units.
[No. Stored] (Response)
The number of error history records stored at the point when the command
was executed. The range is 0000 to 0060 hex (0 to 96 decimal).
[Error History Data] (Response)
End code (hex) Contents
0000 Normal end
1001 Command length exceeds maximum command length.
1002 The command length is insufficient for the smallest command.
1103 Outside address range error
The Read start record No. is larger than the number of records
currently stored.
110C Parameter error
No. of read records= 0.
Command
code
Beginning
record no.
No. of
records
Command
code
End code Max. no.
of stored
records
No. of
stored
records
No. of
read
records
Error log
data (for
1 record)
Error log
data (for
1 record)
251
FINS Commands and Responses for DeviceNet Units Appendix C
Returns the error history for the number specified by Read Record No., in
order from the Read Start Record No. The total number of Error History Data
bytes is 10 Read Record No.
One record of error history data is structured in 10 bytes as shown in the fol-
lowing diagram.
Error Codes, Detailed Information
Shows the contents of the error stored in that record. Refer to 9-2 Error
Log Functions for details.
Minutes, Seconds, Day, Time, Year, Month
Shows the date and time that the error stored in that record occurred.
Explanation
Reads the error history data recorded in the DeviceNet Unit from the
specified point for the specified number of records.
Up to 96 records are recorded in the DeviceNet Unit and the oldest data
will be the first to be replaced when the maximum is reached.
Important Points
If there are fewer error history records than the Read Record No., the
records up to the last (latest) record stored at the point of command exe-
cution and then the processing/communications will end normally. The
actually number of records read will be returned as the Read Record No.
If more than the current number of records is specified for Read Record
No., the end code 1103 hex will be returned.
If the Read Record No. is 0000, the processing will end normally even if
there are no error records.
If the Read Start Record No. is specified as 0000, the end code 110C hex
is returned.
ERROR HISTORY CLEAR (2103)
Command Block
Response Block
Error code Detailed
informa-
tion
Minute Second Time Year Month Day
1st byte 10th byte
Command
code
Command
code
End code
252
FINS Commands and Responses for DeviceNet Units Appendix C
End Codes
Important Point
The Error History Clear command clears the RAM and EEP-ROM error his-
tory tables.
End code (hex) Contents
0000 Normal end
1001 Command length exceeds maximum command length.
253
Appendix D
Multi-vendor Applications
This appendix provides precautions and reference material needed when using DeviceNet (CompoBus/D)
Units as DeviceNet components in a multi-vendor environment.
Connecting another Companys Slaves to an OMRON Master
If a Slave has an EDS file, it can be installed in OMRONs Configurator to enable handling it just like an
OMRON Slave. (OMRONs Configurator already has installed all of the Slave EDS files currently registered
with the ODVA.)
In particular, be sure to determine the number of words in the OMRON Master Unit that the Slave requires for
input and output.
For Connection Object Interface 2 (Polled I/O Connection), the number of I/O words allocated in the OMRON
Master can be found from the Produced Connection Size and Consumed Connection Size as shown below.
Up to 100 words can be allocated to inputs and another 100 words to outputs.
Produced Connection Size
This is the amount of memory (usually in bytes) allocated as input.
Consumed Connection Size
This is the amount of memory (usually in bytes) allocated as output.
If the connection size is an even number of bytes, the number of allocated words is: (bytes 2).
If the connection size is an odd number of bytes, the number of allocated words is: [(bytes +1) 2)].
If the connections size is zero (0), no words are allocated.
For Connection Object Interface 3 (Bit Strobed I/O Connection), the number of input words allocated in the
OMRON Master can be found from the Produced Connection Size as shown below.
Produced Connection Size
This is the amount of memory (usually in bytes) allocated as input.
If the 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)].
Connecting an OMRON Slave to another Companys Configurator
When another companys configurator (a device that makes environment settings on DeviceNet Masters and
Slaves) is connected, it will be able to read settings from OMRON Masters and Slaves but not change them.
When another companys configurator is being used, we recommend creating an OMRON Slave EDS file (a file
that contains each Slaves parameters and operating information). Refer to the OMRON Slave device profile as
well as the Configurators manual for details on creating an EDS file.
254
Multi-vendor Applications Appendix D
Master Unit Device Profile
Object Mounting
Identity Object (01 Hex)
Message Router Object (02 Hex)
General data Compatible DeviceNet Specifications Volume I - Release 2.0
Volume II - Release 2.0
Vendor name OMRON Corporation Vendor ID = 47
Device profile name Communication Adapter Profile number = 12
Manufacturer catalog number Manual number (W267, W347)
Manufacturer revision 1.1
Physical conform-
ance data
Network current consumption 24 VDC, 30 mA max.
Connector type Open plug
Physical insulation Yes
Supported indicators Module, Network
MAC ID setting Rotary switch
Default MAC ID 63
Baud rate setting DIP switch
Supported baud rates 125 kbps, 250 kbps, and 500 kbps
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 class Attribute Not supported
Service Not supported
Item ID content Get (read) Set (write) Value
Object instance Attribute 1 Vendor Yes No 47
2 Product type Yes No 12
3 Product code Yes No CS1W-DRT21: 02
CJ1W-DRT21: 05
4 Revision Yes No 1.1
5 Status (bits supported) Yes No ---
6 Serial number Yes No Unique for each Unit
7 Product name Yes No CS1W-DRM21 or CJ1W-
DRM21
8 State No No ---
Service DeviceNet Service Parameter option
05 Reset None
0E Get Attribute Single None
Object class Attribute Not supported
Service Not supported
Object instance Attribute Not supported
Service Not supported
Vendor specification addition No
255
Multi-vendor Applications Appendix D
DeviceNet Object (03 Hex)
Connection Object (05 Hex)
Item ID content Get (read) Set (write) Value
Object class Attribute 1 Revision Yes No 2
Service DeviceNet service Parameter option
0EGet Attribute Single No
Item ID content Get (read) Set (write) Value
Object class Attribute 1 MAC ID Yes No
2 Baud rate Yes No
3 BOI Yes No 0
4 Busoff 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 DeviceNet service Parameter option
0E Get Attribute Single No
4B Allocate Master/Slave Connection Set No
4C Release Master/Slave Connection Set No
Object class Attribute Not supported
Service Not supported
Max. number of instances 203
256
Multi-vendor Applications Appendix D
Object instance 1 Section Information Max. No. of instances
Instance
type
Explicit Message 1
Produc-
tion trig-
ger
Cyclic
Transport
type
Server
Transport
class
3
Attribute ID content Get
(read)
Set
(write)
Value
1 State Yes No ---
2 Instance type Yes No 0
3 Transport class trigger Yes No 83 hex
4 Produced connection ID 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 time-out action Yes No 1 or 3
13 Produced connection path length Yes No 0
14 Produced connection path Yes No empty
15 Consumed connection path length Yes No 0
16 Consumed connection path Yes No empty
17 Production inhibit time Yes Yes ---
Service DeviceNet service Parameter option
05 Reset No
0E Get Attribute Single No
10 Set Attribute Single No
257
Multi-vendor Applications Appendix D
Note 1. Number of input bytes used by Slave.
2. Number of output bytes used by Slave.
Object instance 2 Section Information Max. No. of instances
Instance
type
Polled I/O 1
Produc-
tion trig-
ger
Cyclic
Transport
type
Server
Transport
class
2
Attribute ID content Get
(read)
Set
(write)
Value
1 State Yes No ---
2 Instance type 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 See note 1.
8 Consumed connection size Yes No See note 2.
9 Expected packed rate Yes Yes ---
12 Watchdog time-out action Yes No 0
13 Produced connection path length Yes No 4
14 Produced connection path Yes No 20 94 24 01 hex
15 Consumed connection path length Yes No 4
16 Consumed connection path Yes No 20 94 24 01 hex
17 Production inhibit time Yes Yes ---
Service DeviceNet service Parameter option
05 Reset No
0E Get Attribute Single No
10 Set Attribute Single No
258
Multi-vendor Applications Appendix D
Note 1. Number of input bytes used by Slave.
Object instance 3 Section Information Max. No. of instances
Instance
type
Bit Strobed I/O 1
Produc-
tion trig-
ger
Cyclic
Transport
type
Server
Transport
class
2
Attribute ID content Get
(read)
Set
(write)
Value
1 State Yes No ---
2 Instance type 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 2
7 Produced connection size Yes No See note 1.
8 Consumed connection size Yes No 8
9 Expected packed rate Yes Yes ---
12 Watchdog time-out 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 Consumed connection path Yes No 20 94 24 01 hex
17 Production inhibit time Yes Yes ---
Service DeviceNet service Parameter option
05 Reset No
0E Get Attribute Single No
10 Set Attribute Single No
259
Multi-vendor Applications Appendix D
Note 1. Number of input bytes used by Slave.
Object instance 4 Section Information Max. No. of instances
Instance
type
COS/cyclic I/O 1
Produc-
tion trig-
ger
Cyclic
Transport
type
Client
Transport
class
0 (no ACK)/2 (with ACK)
Attribute ID content Get
(read)
Set
(write)
Value
1 State Yes No ---
2 Instance type Yes No 1
3 Transport class trigger Yes No 02 hex (with Cyclic
ACK)
12 hex (with COS
ACK)
00 hex (no Cyclic
ACK)
10 hex (no COS ACK)
4 Produced connection ID 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 See note 1.
8 Consumed connection size Yes No ---
9 Expected packed rate Yes Yes ---
12 Watchdog time-out action Yes No 0
13 Produced connection path length Yes No 4
14 Produced connection path Yes No 20 94 24 01 hex
15 Consumed connection path length Yes No 0 (no ACK)
4 (with ACK)
16 Consumed connection path Yes No empty (no ACK)
20 2B 24 01 (with
ACK)
17 Production inhibit time Yes Yes ---
Service DeviceNet service Parameter option
05 Reset No
0E Get Attribute Single No
10 Set Attribute Single No
260
Multi-vendor Applications Appendix D
1. The following table shows the instance type by communications type.
2. The following table shows the transport class trigger by connection type.
PLC Object (2F Hex)
Object instance 5
and above
Section Information Max. No. of instances
Instance
type
Explicit Message/ I/O Message 199
Produc-
tion trig-
ger
Cyclic
Transport
type
Server
Transport
class
0/2/3
Attribute ID content Get
(read)
Set
(write)
Value
1 State Yes No ---
2 Instance type Yes No See note 1.
3 Transport class trigger Yes No See note 2.
4 Produced connection ID Yes No ---
5 Consumed 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 time-out 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 inhibit time Yes Yes ---
Service DeviceNet service Parameter option
05 Reset No
0E Get Attribute Single No
10 Set Attribute Single No
Communications type Instance type
Explicit Message 0
I/O 1
Format Transport class trigger
Poll client 22 hex
COS (M) client 12 hex (with ACK)/10 hex (no ACK)
COS (M) server 92 hex (with ACK)/90 hex (no ACK)
Cyclic (M) client 02 hex (with ACK)/00 hex (no ACK)
Cyclic (M) server 82 hex (with ACK)/80 hex (no ACK)
Bit-strobe client 22 hex
Explicit client 22 hex
Explicit server 83 hex
Object class Attribute Not supported
Service Not supported
261
Multi-vendor Applications Appendix D
DeviceNet service Parameter option
Object
instance 1
(CIO area)
Service 1CBlock String Read Logical Area Address Length
1DBlock StringN Read Logical Area Address Length
1EBlock String Write Logical Area Address
1FBlock StringN Write Logical Area Address
Object
instance 3
(DM area)
Service 1CBlock String Read Logical Area Address Length
1DBlock StringN Read Logical Area Address Length
1EBlock String Write Logical Area Address
1FBlock StringN Write Logical Area Address
Object
instance 4
(WR area)
Service 1CBlock String Read Logical Area Address Length
1DBlock StringN Read Logical Area Address Length
1EBlock String Write Logical Area Address
1FBlock StringN Write Logical Area Address
Object
instance 5
(HR area)
Service 1CBlock String Read Logical Area Address Length
1DBlock StringN Read Logical Area Address Length
1EBlock String Write Logical Area Address
1FBlock StringN Write Logical Area Address
Object
instance 6
(AR area)
Service 1CBlock String Read Logical Area Address Length
1DBlock StringN Read Logical Area Address Length
1EBlock String Write Logical Area Address
1FBlock StringN Write Logical Area Address
Object
instance 7
(TIM/CNT
area)
Service 1CBlock String Read Logical Area Address Length
1DBlock StringN Read Logical Area Address Length
1EBlock String Write Logical Area Address
1FBlock StringN Write Logical Area Address
Object
instance 8-
20 (EM0 to
EMC area)
Service 1CBlock String Read Logical Area Address Length
1DBlock StringN Read Logical Area Address Length
1EBlock String Write Logical Area Address
1FBlock StringN Write Logical Area Address
262
Multi-vendor Applications Appendix D
Note The refresh area types are shown in the following table.
PLC area Refresh area type Refresh address
CIO 1 CIO 0000 to CIO 6143
DM 3 D00000 to D32767
WR 4 W000 to W511
HE 5 H 000 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) 13 EB_00000 to EB_32767
EM (bank 12) 14 EC_00000 to EC_32767
263
Appendix E
DeviceNet Explicit Message Send Command
for Other Manufacturer Nodes
Explicit Message Send (2801)
Sends a DeviceNet explicit message to a specified object and receives a
response.
Command Block
Response Block
When a normal response has been returned for the executed explicit
message:
When an error response has been returned for the executed explicit mes-
sage:
When the explicit message execution failed or timed out:
Command Command code
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)
Service code
No. of bytes
received
Service data End code
Command
code
Source node address (local node)
Service code 94 (hex)
No. of bytes
received
Error code End code
Command
code
End
code
264
DeviceNet Explicit Message Send Command for Other Manufacturer Nodes Appendix E
Parameter Details
[Send Destination Node Address] (Command)
Specifies the node address of the explicit message destination.
The local node DeviceNet Unit is specified for CMND and IOWR instruction
control data for Explicit Message Send commands and the actual destination
node is specified here.
[Service Code] (Command, response)
For commands, the service code defined by the DeviceNet is specified.
For normal responses, the value for when bit 15 of the service code specified
in the command turns ON is returned. For error responses, 94 hex, which indi-
cates an error, is returned.
[Class ID] (Command)
Specifies the class ID for the explicit message destination.
[Instance ID] (Command)
Specifies the instance ID for the explicit message destination.
[Service Data] (Command, response)
For commands, specifies the data defined by the service code.
For responses, returns the reception 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.
Explanation
The Explicit Message Send command sends a DeviceNet-defined explicit
message to an OMRON Special I/O Slave Unit or a Slave manufactured
by another company and receives a response.
Unlike other FINS commands, the Explicit Message Send command
specifies the local node DeviceNet Unit as the CMND and IOWR instruc-
tion control code destination. The actual destination node is specified
using the Destination Node Address in the Explicit Message Send com-
mand.
Always specify the local node DeviceNet Unit in the CMND or IOWR
instruction control code. If another node Master unit is specified an error
will occur.
If the DeviceNet Master Unit receives an explicit message, it will automat-
ically return a response.
Note 1. Refer to DeviceNet Specifications for explicit message parameter details.
2. For information on explicit messages for OMRON slave, refer to DeviceNet Slave Manual (W347 or
W404).
3. Contact the Open DeviceNet Vendor Association, Inc. (ODVA) at 8222 Wiles Road, Suite 287, Coral
Springs, FL 33067 USA (phone: 954-340-5412, fax: 954-340-5413, e-mail: [email protected],
Home page: http://www.odva.org/) to obtain copies of the specification.
265
Index
A
adaptors
remote, 4, 10
allocations
See also I/O allocations
applicable Units, 6
applications
precautions, xviii
C
C200HW-DRM21-V1
changing ladder programs, 82
comparison, 33
cables
I/O Unit Connecting Cable, 18
CIO Area
See also I/O allocations
cleaning, 231
commands
delivering commands through a network, 154
explicit message commands, 171
FINS commands lists, 147, 247
communications, 27, 194, 195
connection types, 131, 134, 241
connectors, 55
cycle time, 84, 194, 238
See also cycle time
errors, 230
flags, 155
hardware preparation, 40
high-speed, 25
instructions, 8, 155
completion codes, 156
message communications, 3, 8, 19, 30, 45, 137, 200
data area sizes, 157
data send/receive instructions, 152
errors, 143, 144
explicit messages, 141
commands
BYTE DATA READ, 176
BYTE DATA WRITE, 178
CPU INFORMATION READ, 171
CPU UNIT STATUS READ, 174
CPU UNIT WRITE, 172
WORD DATA READ, 177
WORD DATA WRITE, 179
list of PLC object services, 169
receiving, 168
send command for other manufacturer nodes
EXPLICIT MESSAGE SEND (2801), 263
sending, 161, 162
sending using CMND(490), 164
FINS messages, 139, 145
command lists, 147
commands
ECHO BACK TEST (0801), 249
ERROR HISTORY CLEAR (2103), 251
READ CONTROLLER INFORMATION
(0501), 247
READ CONTROLLER STATUS (0601),
248
READ ERROR HISTORY (2102), 250
RESET (0403), 247
connecting networks, 160
sending/receiving, 146, 154
Units supporting, 147
maximum message response time, 201
monitoring timer, 144
overview, 138
programming examples, 157
specifications, 142
structure, 139
time, 200
timing for reading responses, 156
using, 149
procedures prior to starting, 42
remote I/O, 3, 19, 27
errors, 122, 228
example ladder programming, 120
restarting, 120
See also Master Units
See also Slave Units
specifications, 127
starting, 120
stopping, 120
scan lists, 103
software switches, 9
status, 9
time/Slave, 25, 29, 195
timing, 193
Configurator
See also DeviceNet Configurator
connections, 25, 241
connection path, 243
supported, 27, 29
using allocations, 242
CPU Units
errors, 219
indicators, 228
I/O memory read/write, 170
status read/write, 169
CX-Programmer, 22
cycle time, 194
communications, 25, 194
reference table, 90
setup table, 84
specifications, 29, 238
D
DeviceNet Configurator, 19, 21, 31
connecting an OMRON slave to another companys con-
figurator, 253
connections, 242
functions, 37, 39
making slave allocations, 98, 117, 134
models, 37
outline, 37
saving files to Memory Card, 188
266
Index
specifications, 38
dimensions, 59
DM Area
See also I/O allocations
dot indicators
See also seven-segment display
E
EC Directives, xx
EEPROM
data, 29, 186
errors, 207
codes, 225
display, 52
communications, 230
error flags, 74, 77, 79, 82
error log functions, 224
error log table, 224
master, 208
memory access, 216
message communications, 143, 144
network, 214
remote I/O communications, 122
scan lists, 230
slave, 223
software switch, 213
Unit, 224
explicit message communications
See also communications
F
features, 19
multi-vendor network, 19
FINS communications
command codes, 247
completion codes, 156
connecting networks, 160
See also communications
fixed allocations
See also I/O allocations
flags
See also communications
functions, 6, 30, 31, 50
DeviceNet Configurator, 4, 19
master, 3, 6, 199
Memory Card backup, 186
slave, 4, 7, 20, 200
I
I/O allocations, 96
allocation size setup table, 87
fixed, 42, 43, 105, 129
allocated words, 105, 129
changing system components, 109
CIO Area, 97
connections, 242
example, 109
procedure, 106, 129
using remote I/O master, 101
using remote I/O slave, 127
methods, 126
user-set, 20, 85, 88, 111, 130
connection types, 131, 134
connections using, 242
master user-set allocations reference table, 90
methods, 97, 111, 130
procedure, 42, 44, 131
setting through allocated DM area words, 112, 131
setting through Configurator, 117, 134
slave user-set allocations reference table, 91
using remote I/O master, 101, 102
using remote I/O slave, 128
word allocations, 26
CIO Area, 63, 64
C200 master replacement master status 1 (word
n+24), 82
disconnect/connect switches (words n+6 to n+9),
73
master COS send switches (words n+2 to n+5),
72, 244
master status 1 (word n+12), 77
master status 2 (word n+13), 78
normal slave table (words n+20 to n+23), 82
registered slave table (words n+16 to n+19), 81
slave status 1 (word n+14), 79
slave status 2 (word n+15), 81
software switches 1 (word n), 64
software switches 2 (word n+1), 69
unit status 1 (word n+10), 74
unit status 2 (word n+11), 75
DM Area, 63, 84
allocation size setup table, 87
communications cycle time reference table, 90
communications cycle time setup table, 84
master user allocations setup table, 85
master user-set allocations reference table, 90
slave detailed status, 92
slave user allocations setup table, 88
slave user-set allocations reference table, 91
overview, 62
I/O Link Units, 4
C200H I/O Link Unit, 5, 12
CQM 1 I/O Link Unit, 11
errors, 229
I/O memory
read/write for CPU Units, 170
I/O response times
maximum, 197
minimum, 198
CS1-series and C200HX/HG/HE/HS PCs, 198
I/O Terminals, 4
environment-resistant, 4, 12
water-resistant, 12
I/O Units
connecting cable, 18
See also Master Units
See also Slave Units
indicators
Index
267
display section, 31
Master Unit, 206
meaning, 51
message communications errors, 143
seven-segment display, 52
status
MS and NS, 51
troubleshooting, 206, 228
inspection, 231
installation, 55
instructions
CMND(490), 154, 155
RECV(098), 153, 155
SEND(090), 152, 155
L
ladder programs
replacing, 239
M
maintenance, 231
cleaning, 231
inspection, 231
Master Units, 6, 9
connecting another companys slave to an OMRON mas-
ter, 253
device profile, 254
errors, 208
I/O allocations, 85
See also I/O allocations
indicators, 206
multiple, 23, 199
node address display, 52
number of, 100
precautions, 100
remote I/O
communications, 96
procedures, 101
specifications, 28, 99
status, 206
status areas, 236
system startup time, 199
user-set allocations reference table, 90
using master function, 42
memory access
errors, 216
Memory Card, 24, 30, 186
message communications
See also communications
message monitoring timer, 144
message response time, 201
mounting, 56
objects, 254
MULTIPLE I/O TERMINAL Units, 5, 17
multi-vendor environment, 253
multi-vendor network
See also features
N
networks
connecting for FINS communications, 160
errors, 214
installation procedure, 40
inter-network connections, 22
multiple masters, 199
multiple PCs on a single network, 23
O
objects, 254
Connection Object, 255
DeviceNet Object, 255
Identity Object, 254
Message Router Object, 254
PC Object, 260
See also PLC object services
operation
basic operation procedures, 40
operating environment
precautions, xvii
operating status
Master Unit, 206
overview, 2
P
PLC object services, 169
precautions, xv
applications, xviii
general, xvi
handling, 57
Master Units
number of, 100
operating environment, xvii
safety, xvi
system configuration, 55
previous models
comparison, 33
replacing ladder programs, 239
programming
examples, 157
See also instructions
See also ladder programs
R
refresh time, 196
remote I/O
communications characteristics, 194
See also communications
replacement, 232
replacing ladder programs, 239
See also setup
routing tables, 150
local network tables, 150
relay network tables, 151
RS-232C Units, 5, 12
268
Index
S
safety precautions, xvi
scan lists, 103
errors, 230
setup
saving setup files, 24, 186
seven-segment display
meaning, 52
Slave Units, 7, 9, 25
communications time, 195
connecting an OMRON slave to another companys con-
figurator, 253
connecting another companys slave to an OMRON mas-
ter, 253
environment-resistant, 12
errors, 223
faulty node address display, 52
general-purpose, 10
I/O allocations, 88
See also I/O allocations
monitoring, 22
multiple, 23
programmable, 12
programming, 22
remote I/O
communications, 126
procedures, 127
specifications, 28, 29, 127
See also adaptors
See also I/O Link Units
See also I/O Terminals
See also MULTIPLE I/O TERMINAL Units
See also RS-232C Units
See also terminals
special, 12
status, 92
system startup time, 200
user-set allocations reference table, 91
using slave function, 43
water-resistant, 12
specifications
default settings, 29
general, 26
network length, 25
other functions, 30, 31
remote I/O, 28, 29, 99
startup procedures
communications, 42
startup times, 199
status
areas
comparison with previous models, 236
indicators, 51
Master Unit, 206
read/write for CPU Units, 169
switches, 31, 50
procedures prior to starting communications, 42
settings, 53
errors, 230
software switches
comparison with previous models, 235
See also I/O allocations
setting errors, 213
system
configuration, 3
startup times, 199
T
tables
error log, 224
local network, 150
normal slave, 239
registered slave, 238
relay network, 151
routing, 150
terminals
analog input, 4
analog output, 4
B7AC Interface Terminal, 12
remote I/O, 10
See also I/O Terminals
sensor, 4, 11
temperature input, 5
timer
message monitoring, 144
timing
communications, 193
reading responses, 156
troubleshooting, 205, 228
U
Units
applicable, 7
usage, 46
user-set allocations
See also I/O allocations
V
VME Master Boards, 3
W
waterproof, 12
word allocations
See also I/O allocations
269
Revision History
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
The following table outlines the changes made to the manual during each revision. Page numbers refer to the
previous version.
Revision
code
Date Revised content
1 October 2000 Original production
2 July 2001 Major revisions to add the CJ-series DeviceNet Unit. CS1 was changed to CS or CS/CJ as
appropriate and the following changes were made. Other changes are as follows:
Page ix: Manual contents updated and manuals added to table.
Page xiv: Precaution added on providing double safety mechanisms.
Page xv: EMC standards updated.
Page xvi: Impedances, manufacturer, and dimensions changed.
Page 2: Changed to DeviceNet Unit to clarify meaning.
Page 3: Corrected callout at upper right of page.
Pages 8 and 25: Number of node for FINS communications changed.
Pages 8, 16, 17, 18, 19: Notes added.
Pages 10, 11, 15: Products added.
Page 15: OS updated in table.
Page 16: Graphics changed.
Page 17: Bottom graphic and description changed.
Page 31: Routing table item added to table.
Page 33: Maximum words per slave item added to table.
Page 34: Corrected CIO 3770 number.
Page 36, 37: Added PCI Board info to graphic and tables.
Page 39: Note added.
Page 41: Routing table section added.
Pages 42, 43, 44: Slight change in procedure.
Page 48: Graphic added.
Pages 48, 49, 50: Information added from previous sections 8-2, 8-3, and graphics changed.
Page 51: Graphics changed.
Page 52: Note added, graphic added.
Page 55: CJ-series explanation added.
Page 56: Graphic added.
Page 60: Information added to Software Switches 1 description.
Pages 62, 63, 64, 65: Table items added.
Page 95: Address numbers changed in graphic.
Page 101: Note in item 7 corrected (Right changed to Left).
Page 101: Same note in item 6 corrected (Right changed to Left).
Page 102: Note 2 added concerning Configurator Ver. 2.10.
Page 105: Change made to Step 2 of 4-3-2, and Step 3 added.
Page 107: Table changed.
Page 109: Allocation tables changed.
Page 114: Changes made to Changing System Components section.
Page 118: Note added concerning Configurator Ver. 2.10.
Page 119: Changes made to 4-5-1.
Page 119: Changes made to 4-5-2.
Page 120: Note added.
Page 127: Note 2 added concerning Configurator Ver. 2.10.
Page 133: Note 2 added concerning Configurator Ver. 2.10.
Page 140: Explanation of node address 0 added to table.
Page 142: Revision made to note in section 6-1-6.
Pages 146, 147, 148, 149: Sections 6-3 to 6-3-2 newly added.
Pages 157, 158: Section 6-4 moved from previous location in section 6-6.
Page 160: Note content changed.
Page 174: Reference to manual changed in Note.
Pages 181, 182, 183, 184, 185: Sections 7-1 to 7-1-4 newly added.
Pages 185, 186, 187: Sections 7-2 to 7-2-2 moved from Appendix.
Page 193: PC cycle time delay calculation in two Notes changed from 0.25 ms + 1.5 ms to 0.7 ms.
Page 194: Table item changed from (TPC-TRF) to (TPC+TRF).
Page 197: PC cycle time delay calculation changed from 0.25 ms + 1.5 ms to 0.7 ms.
Page 200: Information from previous sections 8-2, 8-3 moved to pages 48, 49, 50.
Page 222: Reference to Slaves Operation Manual changed.
Page 225: Reference to Slaves Operation Manual changed.
Page 225: DNnnBKUP.DAT changed to DNnnBKUP.dvf in Note 3.
Page 232: Note added.
Cat. No. W380-E1-07
Revision code
270
03 January 2003 PLC was changed to PC, where appropriate, throughout the manual.
Page v: Changes made to text under OMRON Product References.
Page xvi: Text removed from table.
Page 4: Line added after Analog Input Terminals. Minor change made to text under Analog Output
Terminals.
Page 10: Heading added.
Page 12: Tables added.
Page 31: Minor change made to text in sixth box from top of rightmost column.
Page 106: Changes made to diagram in several places.
Page 143: Four commands removed from bottom table.
Page 144: One command added and one command removed from table.
Page 159: Unit name corrected in one place in first diagram.
Pages 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179: Block formats changed.
Pages 168, 172, 174, 176, 177, 178: Notes added.
Pages 168, 170, 172, 175, 176, 177, 178, 179: Information on destination node address removed.
Pages 168, 172, 177, 178, 179: Information on the number of bytes received removed.
Pages 168, 170, 172, 175, 176, 177, 179: Minor numerical changes made to Class ID.
Pages 168, 170, 172: Minor numerical changes made to Instance ID.
Page 171: Text under block format removed.
Pages 175, 176, 178, 179: Minor change made to information on Instance ID.
Page 252: Manufacturer revision changed in first table. Product code and revision number changed in
third table.
04 September 2003 (-V1) was added to the CS1W-DRM21 model number throughout the manual.
Page ix: Note added.
Page x: Information corrected in table.
Pages 21, 28, 184, and 210: Information on simple backup function added.
Page 29: Information on CS1W-DRM2-V1 added and model number corrected.
Page 31: Information in fourth row from the bottom in rightmost column corrected.
Page 38: Manual name corrected and catalog number added.
Page 46: For this Unit added in two places.
Page 126: Total allocation size corrected for Configurator setting.
Page 187: Information added and term changed.
Page 222: Manual reference added.
Page 231: Information added to table.
Page 232: Graphic changed.
Page 234: Note changed.
Pages 243 to 245: Appendix deleted.
05 July 2005 Page v: Information on general precautions notation added.
Page x: Information on liability and warranty added.
06 February 2007 Pages ix and x: Updated manual information.
Page xx: Added (-V1) to model numbers in table and changed EN50081-2 to EN6100-6-4 (two
locations).
Page 13: Updated list of models, added equipped with detection functions to remarks for Environ-
ment-resistive Slaves, and changed remarks for Analog Terminals.
Page 38: Updated CX-Programmer model number and added catalog number for manual.
Page 48: Added Unit to callouts.
Page 89: Corrected word numbers.
Page 105: Corrected information for node addresses 6 to 11.
Page 116: Corrected bit number of Remote I/O Communications Start Switch.
Page 160: Removed or IOWR instruction.
Page 188: Added CJ-series CPU Units toward top of table.
Pages 194, 128, and 260: Added W404.
Page 203: Added error H8.
Page 222: Added 0D Hex for the setting table logic error.
Page 260: Removed CompoBus/D.
07 February 2008 Page 9: Added bulleted item at bottom of page.
Page 11: Deleted five rows from table.
Page 15: Added eight rows to table.
Page 19: Removed ISA Board and added PCI Board. Added XP to OS specifications. Changed
model number for PCMCIA Card.
Pages 37 and 38: Corrected Board/Card information in tables.
Page 39: Corrected model numbers under monitoring functions.
Pages 39, 143, 218, 224, and 251: Corrected number of records to 96.
Page 109: Changed model number in last row of table.
Page 118: Changed model number in top figure.
Page 250: Changed ranges for the first four parameters.
Page 253: Changed the number of words that can be allocated to 100.
Revision
code
Date Revised content
Terms and Conditions of Sale
1. Offer; Acceptance. These terms and conditions (these "Terms") are deemed
part of all quotes, agreements, purchase orders, acknowledgments, price lists,
catalogs, manuals, brochures and other documents, whether electronic or in
writing, relating to the sale of products or services (collectively, the "Products")
by Omron Electronics LLC and its subsidiary companies (Omron). Omron
objects to any terms or conditions proposed in Buyers purchase order or other
documents which are inconsistent with, or in addition to, these Terms.
2. Prices; Payment Terms. All prices stated are current, subject to change with-
out notice by Omron. Omron reserves the right to increase or decrease prices
on any unshipped portions of outstanding orders. Payments for Products are
due net 30 days unless otherwise stated in the invoice.
3. Discounts. Cash discounts, if any, will apply only on the net amount of invoices
sent to Buyer after deducting transportation charges, taxes and duties, and will
be allowed only if (i) the invoice is paid according to Omrons payment terms
and (ii) Buyer has no past due amounts.
4. Interest. Omron, at its option, may charge Buyer 1-1/2% interest per month or
the maximum legal rate, whichever is less, on any balance not paid within the
stated terms.
5. Orders. Omron will accept no order less than $200 net billing.
6. Governmental Approvals. Buyer shall be responsible for, and shall bear all
costs involved in, obtaining any government approvals required for the impor-
tation or sale of the Products.
7. Taxes. All taxes, duties and other governmental charges (other than general
real property and income taxes), including any interest or penalties thereon,
imposed directly or indirectly on Omron or required to be collected directly or
indirectly by Omron for the manufacture, production, sale, delivery, importa-
tion, consumption or use of the Products sold hereunder (including customs
duties and sales, excise, use, turnover and license taxes) shall be charged to
and remitted by Buyer to Omron.
8. Financial. If the financial position of Buyer at any time becomes unsatisfactory
to Omron, Omron reserves the right to stop shipments or require satisfactory
security or payment in advance. If Buyer fails to make payment or otherwise
comply with these Terms or any related agreement, Omron may (without liabil-
ity and in addition to other remedies) cancel any unshipped portion of Prod-
ucts sold hereunder and stop any Products in transit until Buyer pays all
amounts, including amounts payable hereunder, whether or not then due,
which are owing to it by Buyer. Buyer shall in any event remain liable for all
unpaid accounts.
9. Cancellation; Etc. Orders are not subject to rescheduling or cancellation
unless Buyer indemnifies Omron against all related costs or expenses.
10. Force Majeure. Omron shall not be liable for any delay or failure in delivery
resulting from causes beyond its control, including earthquakes, fires, floods,
strikes or other labor disputes, shortage of labor or materials, accidents to
machinery, acts of sabotage, riots, delay in or lack of transportation or the
requirements of any government authority.
11. Shipping; Delivery. Unless otherwise expressly agreed in writing by Omron:
a. Shipments shall be by a carrier selected by Omron; Omron will not drop ship
except in break down situations.
b. Such carrier shall act as the agent of Buyer and delivery to such carrier shall
constitute delivery to Buyer;
c. All sales and shipments of Products shall be FOB shipping point (unless oth-
erwise stated in writing by Omron), at which point title and risk of loss shall
pass from Omron to Buyer; provided that Omron shall retain a security inter-
est in the Products until the full purchase price is paid;
d. Delivery and shipping dates are estimates only; and
e. Omron will package Products as it deems proper for protection against nor-
mal handling and extra charges apply to special conditions.
12. Claims. Any claim by Buyer against Omron for shortage or damage to the
Products occurring before delivery to the carrier must be presented in writing
to Omron within 30 days of receipt of shipment and include the original trans-
portation bill signed by the carrier noting that the carrier received the Products
from Omron in the condition claimed.
13. Warranties. (a) Exclusive Warranty. Omrons exclusive warranty is that the
Products will be free from defects in materials and workmanship for a period of
twelve months from the date of sale by Omron (or such other period expressed
in writing by Omron). Omron disclaims all other warranties, express or implied.
(b) Limitations. OMRON MAKES NO WARRANTY OR REPRESENTATION,
EXPRESS OR IMPLIED, ABOUT NON-INFRINGEMENT, MERCHANTABIL-
ITY OR FITNESS FOR A PARTICULAR PURPOSE OF THE PRODUCTS.
BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE
PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR
INTENDED USE. Omron further disclaims all warranties and responsibility of
any type for claims or expenses based on infringement by the Products or oth-
erwise of any intellectual property right. (c) Buyer Remedy. Omrons sole obli-
gation hereunder shall be, at Omrons election, to (i) replace (in the form
originally shipped with Buyer responsible for labor charges for removal or
replacement thereof) the non-complying Product, (ii) repair the non-complying
Product, or (iii) repay or credit Buyer an amount equal to the purchase price of
the non-complying Product; provided that in no event shall Omron be responsi-
ble for warranty, repair, indemnity or any other claims or expenses regarding
the Products unless Omrons analysis confirms that the Products were prop-
erly handled, stored, installed and maintained and not subject to contamina-
tion, abuse, misuse or inappropriate modification. Return of any Products by
Buyer must be approved in writing by Omron before shipment. Omron Compa-
nies shall not be liable for the suitability or unsuitability or the results from the
use of Products in combination with any electrical or electronic components,
circuits, system assemblies or any other materials or substances or environ-
ments. Any advice, recommendations or information given orally or in writing,
are not to be construed as an amendment or addition to the above warranty.
See http://www.omron247.com or contact your Omron representative for pub-
lished information.
14. Limitation on Liability; Etc. OMRON COMPANIES SHALL NOT BE LIABLE
FOR SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY
WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS
BASED IN CONTRACT, WARRANTY, NEGLIGENCE OR STRICT LIABILITY.
Further, in no event shall liability of Omron Companies exceed the individual
price of the Product on which liability is asserted.
15. Indemnities. Buyer shall indemnify and hold harmless Omron Companies and
their employees from and against all liabilities, losses, claims, costs and
expenses (including attorney's fees and expenses) related to any claim, inves-
tigation, litigation or proceeding (whether or not Omron is a party) which arises
or is alleged to arise from Buyer's acts or omissions under these Terms or in
any way with respect to the Products. Without limiting the foregoing, Buyer (at
its own expense) shall indemnify and hold harmless Omron and defend or set-
tle any action brought against such Companies to the extent based on a claim
that any Product made to Buyer specifications infringed intellectual property
rights of another party.
16. Property; Confidentiality. Any intellectual property in the Products is the exclu-
sive property of Omron Companies and Buyer shall not attempt to duplicate it
in any way without the written permission of Omron. Notwithstanding any
charges to Buyer for engineering or tooling, all engineering and tooling shall
remain the exclusive property of Omron. All information and materials supplied
by Omron to Buyer relating to the Products are confidential and proprietary,
and Buyer shall limit distribution thereof to its trusted employees and strictly
prevent disclosure to any third party.
17. Export Controls. Buyer shall comply with all applicable laws, regulations and
licenses regarding (i) export of products or information; (iii) sale of products to
forbidden or other proscribed persons; and (ii) disclosure to non-citizens of
regulated technology or information.
18. Miscellaneous. (a) Waiver. No failure or delay by Omron in exercising any right
and no course of dealing between Buyer and Omron shall operate as a waiver
of rights by Omron. (b) Assignment. Buyer may not assign its rights hereunder
without Omron's written consent. (c) Law. These Terms are governed by the
law of the jurisdiction of the home office of the Omron company from which
Buyer is purchasing the Products (without regard to conflict of law princi-
ples). (d) Amendment. These Terms constitute the entire agreement between
Buyer and Omron relating to the Products, and no provision may be changed
or waived unless in writing signed by the parties. (e) Severability. If any provi-
sion hereof is rendered ineffective or invalid, such provision shall not invalidate
any other provision. (f) Setoff. Buyer shall have no right to set off any amounts
against the amount owing in respect of this invoice. (g) Definitions. As used
herein, including means including without limitation; and Omron Compa-
nies (or similar words) mean Omron Corporation and any direct or indirect
subsidiary or affiliate thereof.
Certain Precautions on Specifications and Use
1. Suitability of Use. Omron Companies shall not be responsible for conformity
with any standards, codes or regulations which apply to the combination of the
Product in the Buyers application or use of the Product. At Buyers request,
Omron will provide applicable third party certification documents identifying
ratings and limitations of use which apply to the Product. This information by
itself is not sufficient for a complete determination of the suitability of the Prod-
uct in combination with the end product, machine, system, or other application
or use. Buyer shall be solely responsible for determining appropriateness of
the particular Product with respect to Buyers application, product or system.
Buyer shall take application responsibility in all cases but the following is a
non-exhaustive list of applications for which particular attention must be given:
(i) Outdoor use, uses involving potential chemical contamination or electrical
interference, or conditions or uses not described in this document.
(ii) Use in consumer products or any use in significant quantities.
(iii) Energy control systems, combustion systems, railroad systems, aviation
systems, medical equipment, amusement machines, vehicles, safety equip-
ment, and installations subject to separate industry or government regulations.
(iv) Systems, machines and equipment that could present a risk to life or prop-
erty. Please know and observe all prohibitions of use applicable to this Prod-
uct.
NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS
RISK TO LIFE OR PROPERTY OR IN LARGE QUANTITIES WITHOUT
ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRONS PRODUCT IS PROP-
ERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE
OVERALL EQUIPMENT OR SYSTEM.
2. Programmable Products. Omron Companies shall not be responsible for the
users programming of a programmable Product, or any consequence thereof.
3. Performance Data. Data presented in Omron Company websites, catalogs
and other materials is provided as a guide for the user in determining suitabil-
ity and does not constitute a warranty. It may represent the result of Omrons
test conditions, and the user must correlate it to actual application require-
ments. Actual performance is subject to the Omrons Warranty and Limitations
of Liability.
4. Change in Specifications. Product specifications and accessories may be
changed at any time based on improvements and other reasons. It is our prac-
tice to change part numbers when published ratings or features are changed,
or when significant construction changes are made. However, some specifica-
tions of the Product may be changed without any notice. When in doubt, spe-
cial part numbers may be assigned to fix or establish key specifications for
your application. Please consult with your Omrons representative at any time
to confirm actual specifications of purchased Product.
5. Errors and Omissions. Information presented by Omron Companies has been
checked and is believed to be accurate; however, no responsibility is assumed
for clerical, typographical or proofreading errors or omissions.
Note: Specications are subject to change. 2008 Omron Electronics LLC Printed in U.S.A.
OMRON ELECTRONICS LLC THE AMERICAS HEADQUARTERS
Schaumburg, IL USA 847.843.7900 800.556.6766 www.omron247.com
OMRON CANADA, INC. HEAD OFFICE
Toronto, ON, Canada 416.286.6465 866.986.6766 www.omron.ca
OMRON ELETRNICA DO BRASIL LTDA HEAD OFFICE
So Paulo, SP, Brasil 55.11.2101.6300 www.omron.com.br
OMRON ELECTRONICS MEXICO SA DE CV HEAD OFFICE
Apodaca, N.L. 52.811.156.99.10 [email protected]
OMRON ARGENTINA SALES OFFICE
Cono Sur 54.11.4787.1129
OMRON CHILE SALES OFFICE
Santiago 56.2206.4592
OTHER OMRON LATIN AMERICA SALES
56.2206.4592
W380-E1-07