LG MASTER-K 120S Series User Manual page 131

Programmable logic controller
Table of Contents

Advertisement

Chapter 7 Usage of Various Functions
6) 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
Main Unit
c) Program
A/D·D/A combination module Expansion module
I/O allocation
Main unit input : P000 ~ P03F
Main unit output : P050 ~ P07F
Expansion module input : P080 ~ P08F
Expansion module output : P090 ~ P09F
7-47

Advertisement

Table of Contents
loading

Table of Contents