FP2 Analog Unit
Sample Program for Analog Output Hold Setting
12 - 5
12.2 Output Hold (Any Value) Setting Program
12.2.2
Basic Program (Analog Output Unit)
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 17 to 21)
settings. Then the program writes the data stored in data register DT100 to DT103 to the
output relay areas WY0 to WY3 of output channels ch 0 to ch 3 for the analog output unit.
Settings
I/O allocation
I/O number
Contents
WY0
Analog output data for ch 0
WY1
Analog output data for ch 1
WY2
Analog output data for ch 2
WY3
Analog output data for ch 3
Shared memory
Address 17
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 18 to 21
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.3
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]