Chapter 4. CPU module
4 - 22
•
Program : cw_rst.src (cold/warm restart initialization program)
Variable Name
Variable
type
Data type
Initial value
Description
INI_START
VAR
BOOL
-
Start condition of initialization
AD2INI.ACT
VAR
ARRAY[4] OF BOOL
-
Shows active channel
AD01_DT
VAR
ARRAY[4] OF BOOL
Set by parameter
Select digital output type
AD01_CH
VAR
ARRAY[4] OF BOOL
Set by parameter
Select channel to be used
AD2INI
VAR
FB Instance
-
AD2INI.STAT
VAR
USINT
-
Shows error status
AD01_FE
VAR
ARRAY[4] OF BOOL
-
Enable/Disable average function
AVG_NUM
VAR
ARRAY[4] OF BOOL
Set by parameter