![background image](http://html1.mh-extra.com/html/omron/cj1w-drm21/cj1w-drm21_operation-manual_742341094.webp)
3 Data Exchange with the CPU Unit
3-18
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
Use one of the following device variables for CJ-series Unit to operate Software Switches 2 from the
user program:
•
WORD-type device variable for CJ-series Unit holding all switch functions contained in Software
Switches 2
•
BOOL-type device variable for CJ-series Unit separating functions per each switch contained in Soft-
ware Switches 2
All switches are set to TRUE by the user. The Unit automatically changes them to FALSE after the
function is executed.
Once a function is set by changing the status to TRUE (except for the switches listed below), it is saved
regardless of whether the power is turned OFF and back ON again.
•
*_Sw2SlavCOSSendCmd
(Slave COS Send Switch)
•
*_Sw2FileRestoreCmd
(Unit Setup File Restore Switch)
•
*_Sw2FileBkupCmd
(Unit Setup File Backup Switch)
If multiple switches are changed to TRUE simultaneously, all requests will generate errors but they will
not alter Unit operation.
The error bits corresponding to the following words will change to TRUE if a request made by a
software switch ends in an error.
•
*_Slav1Sta
(Slave Status 1)
WORD-type device variables for CJ-series Unit holding all switch functions contained in Software
Switches 2 are shown below.
3-2-2
Software Switches 2 (n + 1CH)
Name of device variable for
CJ-series Unit
Type
R/W
Area
Function
*_Sw2Cmd
WORD
RW
Software
Switches 2
Bits 0 to 05: Reserved by system
Bit 06: Slave Enable Switch
Bit 07: Slave Stop Switch
Bit 08: Slave Fixed Allocation Setting 1
Switch
Bit 09: Slave Fixed Allocation Setting 2
Switch
Bit 10: Slave Fixed Allocation Setting 3
Switch
Bit 11: Slave User Allocations Switch
Bit 12: Slave COS Send Switch
Bit 13: Reserved by system
Bit 14: Unit Setup File Restore Switch
Bit 15: Unit Setup File Backup Switch
Default: 16#0000
Содержание 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: ......