Chapter 7. Usage of Various Functions
7-51
b) Current output
In current output, digital amount 0 exchanges to 0mA, and 4,000 does 20mA.
Analog amount of digital input 1 equals to 5 ㎂.
6) Program example
(1) Distinction program of A/D conversion value
a) Program explanation
- When digital value of channel 0 is less than 2000, %QX0.0.0 is On
- when digital value of channel 0 is more than 3000, P091 is on, %QX0.0.1 is On
- When digital value of channel 0 is more or same than 2000 or lesser than 3000, %QX0.0.2 is On
b) System configuration
Main unit G7F-ADHB G7E-DR20A
Analog output current
D/A conversion characteristic (Current output)
Analog output current
20 ㎃
10 ㎃
0 ㎃
0V
0
2000
4000
Di
ital in
ut value
2004
2000 2001
2002
2003
Di
ital in
ut
2005
10.005 ㎃
10.000 ㎃