FP2 Analog Unit
Sample Program for Analog Output
9 - 3
9.1
Basic Program (Analog Output Unit)
9.1
Basic Program (Analog Output Unit)
Program outline
This program writes the output data stored in data registers DT100 and DT101 to the
output relay areas WY0 and WY1, which correspond to the output channels ch 0 and ch
1 of the analog output unit set for the execution of conversion processing.
V or
I
20
4095
t
mA
K
17.5
3580
15
3069
12.5
2558
10
2047
7.5
1534
5
1023
2.5
511
0
0
By the move instruction F0 (MV), the stored digital values of the desired
data registers (DT100 and DT101) are written to the output relay areas
WY0 and WY1 for analog output unit.
Analog
output
unit
CPU
unit
Analog output
Output range: 0 to 20mA DC
Converts the digital values 0 to 4095
that were written in WY0 and WY1 to
the analog values 0 to 20 mA (if, for
example, the analog output range was
set to 0 to 20mA DC)
(K)
0
(mA)
+10
+20
+2047
+4095
Settings
Channels that execute analog output conversion processing
H11: ch 0 and ch 1 are set for execution and ch 2 and ch 3 is not set for execution
I/O Allocation
I/O number
Contents
WY0
Analog output data for ch 0
WY1
Analog output data for ch 1
Shared memory
Address 22
No execution of conversion processing setting for ch 0 to ch 3 analog outputs
For detailed information
section 14.3.3
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание FP2 -AD8
Страница 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 ...