Disconnect/Connect Switches - Omron CJ1W-DRM21 Operation Manual

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

Advertisement

3 Data Exchange with the CPU Unit
3-2-4

Disconnect/Connect Switches

Use one of the following device variables for CJ-series Unit is used to operate Disconnect/Connect
Switches from the user program.
• *_CnctCmd
LWORD-type device variable for CJ-series Unit that is capable of operating switches for all slaves
(node addresses 0 to 63).
• *_CnctNdCmd[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 *_CnctCmd (Disconnect/Connect Switches) and array elements of *_CnctNdCmd[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 the remote I/O communications to
the slave will be temporarily stopped (i.e., it is disconnected from the network). A communications error
will occur for any slave that is disconnected if the corresponding switch is changed to TRUE during
communications.
Disconnect/Connect Switches are used primarily to replace slaves or to reserve a place for a slave that
will be added (when a Unit is registered in the scan list but not yet connected). A communications error
and verification error for the slave that is disconnected will not be generated at the master as long as
the corresponding switch is TRUE.
Remote I/O communications will restart (reconnect) with the corresponding slave if a user returns the
Disconnect/Connect Switches to FALSE.
More than one of these switches may be changed to ON for multiple slaves at the same time. If the
switch for a slave that is not using remote I/O communications is set to TRUE, it will be ignored.
A Unit that is disconnected can still perform message communications.
Changing this switch to TRUE does not effect the communications cycle time (except that it increases
blank time in the communications cycle).
Note All Disconnect/Connect Switches and device variable for CJ-series Unit are cleared and
returned to FALSE when the power is turned OFF. If required, write a user program to turn them
back to TRUE when the power is turned ON.
The following device variable for CJ-series Unit is used when you execute the functions for multiple
slaves at the same time.
Name of device variable for
CJ-series Unit
*_CnctCmd
3-24
Type
R/W
Area
LWORD
RW
Discon-
nect/Con-
nect
Switches
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
Function
Executes the operation of Discon-
nect/Connect Switches for multiple slaves
at the same time.
Bits 0 to 63 correspond to the Discon-
nect/Connect Switches for slaves at node
addresses 0 to 63.
Default: 16#0000000000000000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents