<9. Advanced Engineering >
DO001: DTag_O_Sts
Attr : WORD
Value : WORD
Status : WORD
MvRaw : UINT
DO001_BOOL : BOOL
DI001: DTag_I_Sts
Attr : WORD
Value : WORD
Status : WORD
dummy1 : WORD
DI001_BOOL : BOOL
Conversion from WORD to
BOOL data type
Conversion from WORD to
BOOL data type
When accessing only ON/OFF data of a digital input or digital output in a control
application, use the variable with “_BOOL” suffix.
When accessing not only ON/OFF data but also Status data as in NPAS_SIO_**,
use the device label variable.
● “_RB” Suffix Variable of Analog/Digital Output
For the device label variable of each analog/digital output, a variable with “_RB”
suffix is automatically created for read back input.
AO001 and DO001, which are device label variables of analog output and digital
output respectively, are used for output to external equipment but not for read back.
Read back input is via the variable with "_RB" suffix.
FCN
AO001 AO001_RB
FCN
DO001
DO001_BOOL
DO001_RB
DO001_BOOL_RB
Analog output
Digital output
This picture is for FCN but
applies similarly to FCJ.
The data type of the read back input variable is the same as the device label
variable (DTag_O_Anlg or DTag_O_Sts) and contains structure members named
Status and Value.
Status stores the status, while Value stores the output value of external equipment.