Chapter 7 Usage of Functions
7-
57
5) Program example
(1) Distinction program of A/D conversion value
a) Program explanation
-When digital value of channel 0 is less than 2000, P090 is on.
-when digital value of channel 0 is more than 3000, P091 is on.
-When digital value of channel 0 is more or same than 2000 or lesser than 3000, P092 is on.
b) System configuration
Base Unit A/D
ᇾ
D/A mixture module Digital extended module
c) Program
I/O allocation
Base unit input : P000 ~ P03F
Base unit output : P050 ~ P07F
Expansion unit input : P080 ~ P08F
Expansion unit output : P090 ~ P09F