Omron CJ1W-DRM21 Operation Manual page 95

Machine automation controller cj-series, nj-series cpu unit
Hide thumbs Also See for CJ1W-DRM21:
Table of Contents

Advertisement

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
*_Sw2SlavEnblCmd
*_Sw2SlavDsblCmd
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
3 Data Exchange with the CPU Unit
Type
R/W
Area
BOOL
RW
Slave
Enable
Switch
BOOL
RW
Slave Stop
Switch
Function
<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.
<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.
3
3-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents