Chapter 7 Usage of Various Functions
7-60
8) Program example
(1) Program which controls speed of inverter by analog output voltage of 5 steps(0 ~ 20mA output)
a) Program explanation
•When P80 becomes On, 2000 (10mA) is output.
•When P81 becomes On, 2400 (12mA) is output.
•When P82 becomes On, 2800 (14mA) is output.
•When P83 becomes On, 3200 (16mA) is output.
•When P84 becomes On, 3600 (18mA) is output.
b) System configuration
Main Unit D/A conversion module Expansion module
c) Program
I/O allocation
Main unit input : P000 ~ P03F
Main unit output : P040 ~ P07F
Expansion module input : P080 ~ P08F
Expansion module output : P090 ~ P09F