![background image](http://html.mh-extra.com/html/omron/cj1w-pnt21/cj1w-pnt21_operation-manuals_742351115.webp)
4 Data Exchange with the CPU Unit
4-8
CJ-series PROFINET IO Controller Unit Operation Manual for NJ-series CPU Unit (W511)
4-2
Device Variables for CJ-series Unit
(Software Switches, Statuses)
When you operate and reference software switches and statuses, use the following device variables for
CJ-series Unit allocated to the I/O port of this Unit.
The function of each device variable for CJ-series Unit is explained below.
One of the following device variables for CJ-series Unit is used to operate Software Switches from the
user program:
•
WORD-type device variable for CJ-series Unit holding all switch functions contained in Software
Switches
•
BOOL-type device variable for CJ-series Unit separating functions per each switch contained in
Software Switches
The switches of Software Switch execute a function when turned ON by the user (in any CPU mode).
The Unit state is not restored after a Power-Down of the CPU.
If multiple switches are changed to TRUE simultaneously, the requests will generate errors and Unit
operation will remain unchanged.
WORD-type device variables for CJ-series Unit holding all switch functions contained in Software
Switches are shown below.
BOOL-type device variables for CJ-series Unit separating functions per each switch contained in Soft-
ware Switches are shown below.
Name of device variable
for CJ-series Unit
Type
R/W
Area
*_SwCmd
WORD
RW
Software switches
*_UnitSta
WORD
RO
Unit Status
*_CtlrSta
DWORD
RO
IO Controller Status 1
*_IoDevSta
WORD
RO
IO Device Status
*_DevInDataValid
BOOL
RO
IO Device Input Data Valid
*_DevInDataValidL
LWORD
RO
IO Device Input Valid Flags
*_DevInDataValidH
LWORD
RO
IO Device Input Valid Flags
*_DevAlm
BOOL
RO
IO Device New Alarm
*_DevAlmL
LWORD
RO
IO Device New Alarm flags
*_DevAlmH
LWORD
RO
IO Device New Alarm flags
4-2-1
Software Switches
Name of device variable
for CJ-series Unit
Type
R/W
Area
Function
*_SwCmd
WORD
RW
Software
Switches
Bits have the following functions:
Bit 00 to 07: Reserved by system
Bit08: Clear all alarm bits
Bit 09 to 11: Reserved by system
Bit 12: Set output data valid (See note)
Bit 13 to 15: Reserved by system
Содержание CJ1W-PNT21
Страница 3: ......
Страница 16: ...13 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...
Страница 107: ...3 Configuration Software 3 36 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...
Страница 198: ...Index 1 CJ series PROFIBUS Master Unit Operation Manual for NJ series CPU Unit W509 I Index ...