Chapter 4. CPU module
4 - 23
•
Program : scan.src (scan program)
Variable Name
Variable
type
Data type
Description
READ
VAR
FB Instance
AD_CH
VAR
ARRAY[4] OF BOOL
Assign a channel of AD module to be used
READ.DONE
VAR
ARRAY[4] OF BOOL
Indicates the reading operation is completed
READ.STAT
VAR
USINT
Shows the error status of AD read FB
READ.ACT
VAR
ARRAY[4] OF BOOL
Shows the error status of AD read FB
READ.DATA
VAR
ARRAY[4] OF INT
Digital data converted from analog input
WRITE_1
VAR
FB Instance
DA01_DT
VAR
ARRAY[4] OF INT
Digital data to be output
WRITE_1.DONE
VAR
BOOL
Indicates the write operation is completed
WRITE_1.STAT
VAR
USINT
Shows the error status of DA write FB
WRITE_2
VAR
FB Instance
DA02_DT
VAR
ARRAY[4] OF INT
Digital data to be output
WRITE_2.DONE
VAR
BOOL
Indicates the write operation is completed
WRITE_2.STAT
VAR
USINT
Shows the error status of DA write FB
STAT
Содержание GLOFA GM6 Series
Страница 1: ...U s e r s M a n u a l LG Programmable Logic Controller GLOFA GM6 Series L G Industrial Systems ...
Страница 2: ... CONTENTS ...
Страница 178: ...Chapter 15 The PID functions 15 24 Example program of 15 4 3 1 ...
Страница 179: ...Chapter 15 The PID functions 15 25 Example program of 15 4 3 2 continue to next page ...
Страница 180: ...Chapter 15 The PID functions 15 26 Example program of 15 4 3 2 continued ...
Страница 209: ...Appendix 4 Outer Dimensions APP4 3 ...