FP2 Analog Unit
Sample Program of Analog Input Offset Setting
11 - 7
11.2 Sample Program (Analog Input Unit)
R 0
F0 MV
WX 0
DT 100
,
,
R 1
F0 MV
WX 1
DT 101
,
,
R 2
F0 MV
WX 2
DT 102
,
,
R 3
F0 MV
WX 3
DT 103
,
,
R 4
F0 MV
WX 4
DT 104
,
,
R 9010
F150 READ K 0 K 10 K 1 WR 0
ED
,
,
,
,
Analog input Reading
Preparation completion flag
for analog input
Reading
Always on
Preparation
completion
flag area
ch 0
preparation
completion
ch 1
preparation
completion
ch 2
preparation
completion
ch 3
preparation
completion
ch 4
preparation
completion
ch 1 Input value
ch 0 Input value
ch 2 Input value
ch 3 Input value
ch 4 Input value
Specifies the analog input unit in
slot no. 0.
is read to the internal relay WR0.
The 1-word data from shared memory address 10
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]