EasyManua.ls Logo

Omron CJ1W-DRM21 - Page 95

Omron CJ1W-DRM21
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3-19
3 Data Exchange with the CPU Unit
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
3-2 Device Variables for CJ-series Unit (Software
Switches, Statuses)
3
3-2-2 Software 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>
FALSETRUE:
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>
FALSETRUE:
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.

Table of Contents

Related product manuals