FP2 Analog Unit
Sample Program for Analog Output Hold Setting
12 - 4
12.2 Output Hold (Any Value) Setting Program
12.2 Output Hold (Any Value) Setting Program
12.2.1
Basic Program (CPU Unit with Analog I/O)
Program outline
When switching from the RUN mode to the PROG. mode, this program holds the analog
output at any desired value according to the shared memory (addresses 38 and 39)
settings. Then the program writes the data stored in data register DT0 to the output relay
area WY4 of output channel ch 0 for the CPU unit with analog I/O.
Settings
I/O allocation
I/O number
Contents
WY4
Analog output data for ch 0
Shared memory
Address 38
Analog output hold setting
H0: Non-hold
H1: Hold (holds analog output at final value of RUN mode)
H2: Hold (holds analog output at any desired value)
Address 39
Analog output hold data (any value) setting
Range of any value setting
-10 to +10V output range: K-2048 to K2047
0 to 20mA output range: K0 to K4095
For detailed information
section 14.3.1
Sample program:
R 9013
F0 MV
H
2
DT 30
,
,
F151 WRT K 0
K 2 K 38
DT 30
,
,
,
,
ED
R 9010
F0
DT 0
MV
WY 4
,
,
F0 MV
H 2047
DT 31
,
,
Initial
setting
Always on
Output hold setting
ch 0 any value
Output hold
setting
Analog output hold data (any
value) setting
Analog output data Writing
is written to the shared memory addresses 38 and 39.
The 2-word data from data register DT30
Specifies the analog output
unit in slot no. 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 ...