372
Checking Operations of CS-series and CJ-series Master Units
Section 6-3
Example 2
The input conditions can be set according to the following table when the
Slave registration table and communications stop mode are used (DIP switch
pins 3 and 4 both set to ON).
DM Area Contents
(Refer to
Slave Registration Function and Communications Stop Mode
page 98 and page 120 for details.)
b
a
2016
> (320)
#00FF
2017
> (320)
#00FF
2018
> (320)
#00FF
2019
> (320)
#00FF
2016
#00FF
2017
#00FF
2018
#00FF
2019
#00FF
= (300)
= (300)
= (300)
= (300)
#0001
JMP (004)
#0001
JME (005)
b
a
Communica-
tions error
Slave
joined
network
Slave joined
network
Communications
error
Slave I/O processing program
Determines that Communications Error Flags in
leftmost 8 bits of DM 2016 to DM 2019 are OFF. If
the Flag for any node is ON, the comparison result
with constant #00FF is ON, and work bit turns ON.
Determines that Active Node Flags for Slaves in
rightmost 8 bits of DM 2016 to DM 2019 match the
Slave configuration.
Set the FF part of the constant #00FF to match the
configuration of connected Slaves.
Slave I/O is processed when the JMP condition is
ON only.
If the JMP condition is OFF, the program jumps to
JME and Slave I/O is not processed.
DM
address
Bit
Name
Function
D20004
00
Registration Completed Flag
ON when all registered Slaves
have joined network.
08
Verification Error Flag: Slave
Missing
ON when a Slave are not
present in network.
09
Verification Error Flag: Unregis-
tered Slave in Network
ON when an unregistered Slave
is in the network.
10
Communications Stopped Flag
ON when communications have
stopped due to a communica-
tions error.
15
Error Flag
ON when any of the flags 08 to
10 are ON.