![background image](http://html1.mh-extra.com/html/omron/cj1w-drm21/cj1w-drm21_operation-manual_742341100.webp)
3 Data Exchange with the CPU Unit
3-24
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
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.
3-2-4
Disconnect/Connect Switches
Name of device variable for
CJ-series Unit
Type
R/W
Area
Function
*_CnctCmd
LWORD
RW
Discon-
nect/Con-
nect
Switches
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
Содержание 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: ......