FP2 Analog Unit
Sample Program of Analog Input Offset Setting
11 - 4
11.1 Sample Program (CPU Unit with Analog I/O)
Sample program:
R 9013
F0 MV
H 111
DT 0
,
,
F151 WRT K 0
K 1 K 16
DT 0
,
,
,
,
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 9013
F0 MV
K 0
DT 10
,
,
F0 MV
K 10
DT 11
,
,
F0 MV
K 20
DT 12
,
,
F151 WRT K 0
K 3 K 30
DT 10
,
,
,
,
R 9010
F150 READ K 0 K 10 K 1 WR 0
ED
,
,
,
,
Initial
setting
Always on
ch 0
preparation
completion
ch 1
preparation
completion
ch 2
preparation
completion
Initial
setting
ch 0 to 2
execution
ch 0 to 2
execution
ch 0 offset
ch 1 offset
ch 2 offset
ch 0 to 2
offset
ch 0 Input
value
ch 1 Input
value
ch 2 Input
value
Preparation
completion
flag area
Analog input offset setting
ch 0: K0
ch 1: K10
ch 2: K20
Analog input Reading
Preparation completion flag
for analog input
Reading
Execution of conversion
processing setting for ch
0 to ch 2 analog inputs
Specifies the CPU unit with
analog I/O in slot no. 0.
Specifies the CPU unit with analog
I/O in slot no. 0.
Specifies the CPU unit with analog
I/O in slot no. 0.
is read to the internal relay WR0.
The 1-word data from shared memory address 10
is written to the shared memory addressees 30 to 32.
The 3-word contents of data register DT 10 to DT12
is written to the shared memory address 16.
The 1-word data from data register DT 0
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание FP2 -C1A
Страница 23: ...Chapter 3 Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 24: ...FP2 Analog Unit Wiring 3 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 37: ...Chapter 5 Initial Settings Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 99: ...Chapter 13 Troubleshooting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 100: ...FP2 Analog Unit Troubleshooting 13 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 103: ...Chapter 14 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 104: ...FP2 Analog Unit Specifications 14 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...