EasyManua.ls Logo

Omron CJ1W-DRM21 - Software Switches 2 (N + 1 CH)

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 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

Table of Contents

Related product manuals