3-19
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-2 Soft
w
a
re Switches 2 (n + 1CH
)
BOOL-type device variables for CJ-series Unit separating functions per each switch contained in Soft-
ware Switches 2 are shown below.
Name of device variable for
CJ-series Unit
Type
R/W
Area
Function
*_Sw2SlavEnblCmd
BOOL
RW
Slave
Enable
Switch
<Operation specifications>
FALSE
→
TRUE:
Enables slave communications. (The Unit
automatically restarts.)
To use fixed allocations, set this switch to
TRUE after setting
*_Sw2SlavFixAloc1Cmd
to
*_Sw2SlavFixAloc3Cmd
(Slave Fixed
Allocation Setting Switch) to TRUE.
To use user-set allocations, set this switch
to TRUE after setting
*_Sw2SlavAlocCmd
(Slave User Allocations Switch) to TRUE.
Once enabled, the Unit will function as a
slave until
*_ Sw2SlavDsblCmd
(Slave
Stop Switch) is changed to TRUE regard-
less of whether the power is turned OFF
and back ON again.
Note 1
Slave communications are dis-
abled by default.
2
If this bit is changed to TRUE with
slave communications enabled, a
Unit status error will occur due to
a software switch operation error
and a C2 error will be displayed
on the front 7-segment indicator.
The 7-segment indicator will go
out automatically after 30 sec-
onds.
FALSE:
Returns to FALSE at the start of slave
communications.
Default: FALSE
<Operation conditions>
•
CPU Unit is operating in PROGRAM
mode.
•
Slave function is stopped.
*_Sw2SlavDsblCmd
BOOL
RW
Slave Stop
Switch
<Operation specifications>
FALSE
→
TRUE:
Stops slave communications. (The Unit
automatically restarts.)
Set this switch to TRUE if the Unit will be
used only for master communications.
FALSE:
Returns to FALSE after slave communica-
tions stop.
Default: FALSE
<Operation conditions>
•
CPU Unit is operating in PROGRAM
mode.
•
Slave function is enabled.
Содержание CJ1W-DRM21
Страница 12: ...Manual Structure 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 42: ...Revision History 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 214: ...6 Message Communications 6 26 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 345: ...Index 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 I Index ...
Страница 349: ......