LG MASTER-K 120S Series User Manual page 137

Programmable logic controller
Table of Contents

Advertisement

Chapter 7 Usage of Various Functions
6) Program example
(1) Distinction program of A/D conversion value(Analog input range: DC4∼20 ㎃, 0~10VDC)
(a) Program explanation
• When digital value of channel 0 is the same or more than 2000 and the same or less than 3000, P090 is on.
• When digital value of channel 1 is the same or more than 2000 and the same or less than 3000, P091 is on.
• When digital value of channel 2 is the same or more than 2000 and the same or less than 3000, P092 is on.
• When digital value of channel 3 is the same or more than 2000 and the same or less than 3000, P093 is on.
(b) System configuration
ⓐ Analog input
• channel "0", "1" : Voltage input (0∼10VDC)
• channel "2", "3" : Current input (DC 4∼20 ㎃)
ⓑ Parameter setting
ⓒ System configuration
Main Unit
A/D conversion 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-53

Advertisement

Table of Contents
loading

Table of Contents