3-23
3 Data Exchange with the CPU Unit
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
3-2
De
vice V
a
riab
les
f
o
r CJ-series
Unit (Software
S
w
itc
h
es, Statuses)
3
3-2-3 Ma
ster COS S
e
nd Swit
ches
Use one of the following device variables for CJ-series Unit is used to operate Master COS Send
Switches.
•
*_MstrCOSSendCmd
LWORD-type device variable for CJ-series Unit that is capable of operating switches for all slaves
(node addresses 0 to 63).
•
*_MstrCOSSendNdCmd[0 to 63]
BOOL-type device variable for CJ-series Unit that is capable of operating switches for any slave of
node addresses 0 to 63.
Bits 00 to 63 of
*_MstrCOSSendCmd
(Master COS Send Switch) and array elements of
MstrCOSSendNdCmd[0 to 63]
correspond to slaves at node addresses 0 to 63.
If a bit or device variable for CJ-series Unit is changed to TRUE, then COS output data will be sent to
the corresponding slave.
You can simultaneously change multiple Master COS Switches to TRUE for multiple slaves. Once COS
data are sent to slaves, the corresponding switches will be changed back to FALSE.
If a send error occurs, the bit corresponding to
*_Nd0Sta
to
*_Nd63Sta
(Slave Detailed Status) will
change to TRUE.
The following device variable for CJ-series Unit is used when you execute functions for multiple slaves
at the same time.
The following device variable for CJ-series Unit is used when you execute an individual function for
each slave.
3-2-3
Master COS Send Switches
Name of device variable for
CJ-series Unit
Type
R/W
Area
Function
*_MstrCOSSendCmd
LWORD
RW
Master
COS Send
Switch
Executes the operation of Master COS
Send Switches for multiple slaves at the
same time.
Bits 0 to 63 correspond to the Master COS
Send Switches for slaves at node
addresses 0 to 63.
Data range: 16#0000000000000000 to
FFFFFFFFFFFFFFFF
Default: 16#0000000000000000
Name of device variable for
CJ-series Unit
Type
R/W
Area
Function
*_MstrCOSSendNdCmd[0 to 63]
BOOL
RW
Master
COS Send
Switch for
Node
Address
0-63 Slave
<Operation specifications>
FALSE
→
TRUE:
Sends COS output data to the corre-
sponding slave.
FALSE:
Returns to FALSE when COS is sent.
Default: FALSE
Summary of Contents for CJ1W-DRM21
Page 12: ...Manual Structure 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Page 42: ...Revision History 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Page 345: ...Index 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 I Index ...
Page 349: ......