beautypg.com

LG G4F-AD3A User Manual

Page 44

background image

Chapter 5. GM PROGRAMMING


5 -7

5) Input/output variables on the programming






AD_CH : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0}

AD_INI : VAR : FB Instance

AD_RD : VAR : FB Instance

AVG_EN : VAR : ARRAY [0..7] OF BOOL : = {1,0,0,0,0,0,0,0}

CH0_DATA : VAR : INT

DATA : VAR : DINT

DATATYPE : VAR :ARRAY [0..7] OF BOOL : = {0,0,0,0,0,0,0,0}

INI_ACT : VAR : ARRAY [0..7] OF BOOL

INI_STAT : VAR : USINT

AVG_NUM : VAR : ARRAY [0..7] OF UINT : = {10,0,0,0,0,0,0,0}

RD_STAT : VAR : USINT

START : VAR : BOOL




















Variable Name

Var_Kind

Data Type

(AT Address) (Initial Value)

This manual is related to the following products: