FP2 Analog Unit
Sample Program for Analog Output Hold Setting
12 - 3
12.1 Output Hold Setting Basic Program (CPU Unit with Analog I/O)
12.1 Output Hold Setting 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 the
final value of the RUN
* mode according to the shared memory (address
38) setting. 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.
Final value of RUN mode:
During the RUN mode, the analog output value corresponding to the last digital data
written.
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)
For detailed information
section 14.3.1
Sample program:
R 9013
F0 MV
H 1
DT 30
,
,
F151 WRT K 0
K 1 K 38
DT 30
,
,
,
,
ED
R 9010
F0
DT 0
MV
WY 4
,
,
Initial
setting
Always on
ch 0 output data
ch 0 data
Output hold
setting
Output hold setting
Analog output data Writing
is written to the shared memory address 38.
The 1-word data from data register DT30
Specifies the analog output unit
in slot no. 0.
Analog output hold setting
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 ...