plc general
TRANSCRIPT
Programmable Logic Controller
General Introduction of LG PLC
▪ Block type PLC
Block type PLC means one unit containing power supply, CPU,and digital I/O parts.
CPUPower supply
Digital I/O
Expanded digital I/O, Analog I/O, Communication, Special module
Wire connection
General Introduction of LG PLC
▪ Module type PLC
Module type PLC consists of embedded slots such as base, powersupply , CPU, digital I/O and ¹special module.
Po
wer
sup
ply
CP
U
Expanded digital I/O, Analog I/O, Communication, Special module
Wire connection
1. Special module contains HSC, PID, and temperature modules.
Dig
ital I/O
An
alog
I/O
Co
mm
un
ication
General Introduction of LG PLC
▪ General feature of LG PLC
LG PLC can be divided into two general product ranges with Master-Kand GLOFA GM Series.
Master-K GLOFA-GM
MK 80sMK 120s
MK 200sMK 300s
GM7GM7U
GM6GM4GMR
Digital I/O
XGT XGO
2005
Block type Module type Redundancy
General Introduction of LG PLC
▪ General feature of LG PLC
Master-K and GLOFA-GM Series use the same base, digital I/O,analog I/O and special modules. (Different CPU module, S/W)
MK300s
MK200s
MK120s
MK80s
GM4
GM6
GM7U
GM7
Digital I/O
Block type Module type
Master-K
- Window based programming: KGLWin - Various product ranges by digital I/O points: 10 ~1,024 - Easy programming tool & cost efficient
▪ General Introduction of Master-K
1024384120
MK300s
MK200s
MK120s
MK80s
51280
capability
I/O points
Block type Module type
Master-K 80s
▪ Overview
- Dedicated CPU • processing speed (0.5 ㎲ /step) • cost-effective solution
- Variety of CPU just fit to your applications • 10/20/30/40/60 I/O types - Built-in functions • PID with Auto-tuning, High-speed Counter, External Interrupt, Pulse Catch, Pulse Output, Input Filters, RS-232C
- Powerful Network • Built-in RS-232C channels( In K7M-DR10S, both RS-232C and RS-422/485 ), RS-232C(for modem), RS-422/485 serial interfaces as option Profibus-DP (slave), DeviceNet (slave) and F-net (master)
Master-K 80s
▪ System Configuration
MAIN UNIT(10/20/30/40/60)
Wire
con
nectio
n
DIGITAL I/O (Exp.) : 6 Input(24Vdc), 4 Output (Relay)
Hybrid Analog I/O ModuleInput : 2Ch, 0-10Vdc, 0-20mA, 12Bit(0-4,000), 0.5% or less(Full scale) Output : 1Ch, 0-10Vdc, 0~20nA, 12 Bit(0~4,000), 0.5% or less(Full scale)
Communication moduleRS-422, RS-232C (for modem) Module including MODBUS(Master/Slave, RTU, ASCII Mode) protocol.
The expansion configuration of MK80 is equal to the one of GM7.
Master-K 80s
▪ Networking application
- Built in Network • Two communication channels using one port • Dedicated mode, MODBUS mode, User mode
- Option unit • RS-232C: For modem connection (dial-up modem, dedicated modem) • RS-422/485: Dedicated mode (High-speed link service, Multi-drop communication) MODBUS mode (Master, Slave, ASCII, RTU mode), User mode (Asynchronous method 9,600 ~ 128,000 bps)
TXD
RTD
RXD
TXD
Main computerOperator Interface
GMWIN S/W
The networking application of MK80 is equal to the one of GM7.
▪ Comparison with competitors
Master-K 80s
MK80s(LG) CPM1A(Omron) FX0N(Mitsubishi) S7-200(Siemens)
Digital I/O 10~80 10~100 24~128 14~128
Processing Speed 0.5µs/step 1.7µs/step 1.6µs/step 1.3~0.8µs/step
Program memory 68K byte 2,048 word 2,000 steps 1~8K steps
High speed counter
1ph: 16KHz, 2ph: 8KHz
1ph: 5KHz, 2ph: 2.5KHZ
1ph: 5KHz, 2ph: 2.5KHz
1ph: 2KHz, 2ph: 20KHZ
Pulse Catch input 0.2ms (8pts) 0.2ms 50µs -
Input Filter 0~15ms (8pts) 1~128ms 1~15ms (8pts) -
External Interrupt 0.4ms (8pts) 0.3ms (2~4pts) 0.3ms (2~4pts) 0.2ms (1~4pts)
Pulse Output 1 2KHZⅹ 1 2.5HZⅹ 1 2HZⅹ -2 4HZⅹ
Memory backup Flash memory Flash memory EEPROM
RTC O X X O
Serial Interface RS-232C: 2CH X X RS-485 ~ Profibus-DP
PID With Auto-tuning X X X
Bu
ilt-in
Master-K 80s
▪ Comparison with competitors
MK80s(LG) CPM1A(Omron) FX0N(Mitsubishi) S7-200(Siemens)
Analog I/O 2 CH/1CH, 12 bit X 2CH/1CH 3CH/2CH, 3CH/1CH
Network RS-422,
RS-232(modem)
RS-232C/422 RS-232C/485 -
Added digital I/O 10 pts 20 pts 8/16 pts 8/16/32 pts
Price 1 1.2~1.4 1.4~1.7 1.4~1.8
Op
tion
al
Master-K 120s
▪ Overview
- Main unit • Economic type: 10/14/20/30 (10/14 points, analog timer 2 points) Total 70 points are available (up to 2 extension module, 1 comm. Module) • Standard type: 20/30/40/60 points DR/DRT types (DRT type for positioning) Total 120 points are available (up to 3 extension module, 1 comm. Module)
- Processing speed ▪ Standard type: 0.1µs/step ▪ Economic type: 0.4 µs/step - Various input handling ▪ Input filter: Delay time can be set from 0ms to 1000ms (8 points unit) ▪ Pulse catch: 10µs (P0, P1), 50µs (P2~P7) ▪ External interrupt: 10µs (P0, P1)
- Improved special functions • High-Speed Counter ▪ Positioning ▪ PID control (Standard type only)
Master-K 120s
▪ Built in functions
-Pulse catch function ▪ Using pulse catch function, a very short pulse signal can be taken as valid input signal which can’t be executed by general digital input.
Min. 10 µs
Time
Input imagedata
Pulse Catch Set (P000X)
10 2 3
4 5 6 7
• Input point 8 points (P000 ~ P007)• Input signal shorter than time can be detected.
Master-K 120s
▪ Built in functions
-Input filter function ▪ An input signal is valid after the setting time after an input filter signal becomes on. The input image data turn off after the setting time after an input filter signal becomes off.
Time
Input on/offDelay time(Filter time)
Input signal
Input imagedata
Input signal
Input imagedata
Any input signal shorter than assigned on/off filter time from KGLWIN is ignored.
▪ Built in functions
Master-K 120s
- Interruption function ▪ MK120s can perform interrupt function using input points without any special interrupt modules.- High Speed Counter function ▪ Using HSC function, High speed pulses which are generated from encoder of pulse generator can be counted.- Positioning control ▪ The position of servo or stepping motor can be controlled by positioning function.- PID control ▪ PID function is integrated into the man unit. And, all the PID function can be performed with instruction (PIDB, PID8AT). ▪ P operation, PI operation and on/off operation can be selected easily. ▪ Manual output (user-defined forced output) is available. ▪ By proper parameter setting, it can keep stable operation regardless of external disturbance. ▪ The operation scan time (the interval that PID controller gets from an actuator) is changeable for optimizing the system characteristics. ▪ PWM (pulse width modulation) output is available.
Master-K 120s
▪ System Configuration
Modem
Modem
K120s
Comm. module Comm. module
K120s
- Remote communication using a modem
- Multi-drop communication (2 Ways)
K120s
K120s
K120s
RS-485
External RS-422/485
Master-K 200s
▪ Overview
- Dedicated CPU offers ▪ Higher processing speed(0.5 ㎲ /step) ▪ More reliable system ▪ More cost-effective solution
-Variety of CPU just fit to your applications - Maximum I/O : 384 points ▪ CPUA : Computer Link(RS-232C) ▪ CPUB : Computer Link(RS-485), PID and RTC(Real Time Clock) included ▪ CPUC : Computer Link(RS-232C), PID and HSC(High Speed Counter), RTC (Real Time Clock) included
- Built-in Power supply for Analog control ▪ Output :5Vdc 2A, +15Vdc 0.5A, -15Vdc 0.2A
- Powerful Standard & High speed network ▪ RS232C, RS422/485 include MODBUS(RTU, ASCII), AB DF1(Full Duplex), Fieldbus (Fnet), F-net Single Remote I/O
As mentioned on page 6, MK200s and GM6 have the same CPU specification andcommunication system.
▪ Special specification
Master-K 200s
♦ Built-in memory ♦ Built-in RS-232C Link
- Built-in 7K Program Back-up without battery
- Not necessary additional memory pack such as
COM1(OMRON) ▪ COM: 4/8K EEPROM/EPROM Memory Cassette necessary
Dip switch for uploading program
Flash Memory
- Additional RS-232C Ch. with loader Ch. via one serial port
- Monitoring & Controlling communication status
- Providing 3 types of link speed
TXD
RXD
TXD
RXD
Loader Port (on CPU Module)
1
5
6
9
KGLWinHandy Loader
Main Computer
Master-K 200s
▪ Built-in Functions of CPUs
B type (CPU-GM6B) C type (CPU-GM6C)
- RS-422/485
▪ Station : 0~31(32 stations)
▪ Speed : 9,600/19,200/38,400 bps
▪ Multi-drop Network with High Speed
Computer
K200S
Master Slave
1:N N : N PLC
K200S K200SK200S
Computer
▪ ▪ ▪ ▪ ▪ ▪
- RTC (Real Time Clock)
▪ Record of Power Failure & etc. Available
▪ PID with Auto-tuning function
- High Speed Counter
▪ 1 phase Up/Down or 2 phases Up/Down
▪ Counting Range : 0~16,777,215 (24bit)
▪ Counting Speed : Max. 20Kbps
▪ Multiplication : 1 / 2 / 4
▪ Condition Up/Down for 1 phase ;
Program or External Input
- PID with auto-tuning function
▪ Simple PID control using software
▪ Not necessary PID/Temp. Controller
→ Cost-down effect
▪ Loop No. ; Unlimited
- RS-232C Interface
- RTC (Real Time Clock)
▪ Record of Power Failure etc. Available
Master-K 200s
▪ Special modules of MK 200s
CP
U
Po
wer
sup
ply
CP
U
Dig
ital I/O
An
alog
I/O
Co
mm
un
ication
HS
C PI
D
A/D conversion 4 Ch. voltage & current Input
D/A conversion 4 Ch. voltage & current Output
High Speed Counter 1 Ch. 0 ~16,777,215
APM 2,3-axis linear interpolation/2-axis interpolation
Temperature Control 4 Ch (K, J, E, T, B, R, S)
Communication FEnet I/F(Open,Dedicated) Fnet I/F, Fnet Remote I/F
Dnet I/F, Rnet I/F, Pnet I/F, Cnet I/F
• • • •
Master-K 300s
▪ Overview
- Dedicated CPU offers ▪ Higher processing speed(0.2 ㎲ /step) ▪ 15 KStep Program memory, Built-In RTC function ▪ More reliable system ▪ Compact size and Max. I/O up to 1,024 points
- Easy to use Windows based programming S/W ▪ Portability & Compatibility of software ▪ Mnemonic and LD Language support ▪ On-line Editing ▪ Various debugging and self-diagnosis
- Variety of special modules ▪ Analog I/O, PID, RTD, TC, HSC, positioning control
- Powerful Standard & High speed network ▪ RS232C, RS422/485 include MODBUS(RTU, ASCII), AB DF1(Ful Duplex), Fieldbus (Fnet), Single Remote I/O (via Fnet)
Master-K 300s
▪ Temperature control (special module)
- Features ▪ Simultaneous control of different processors with one module ▪ Forward/reverse control selectable ▪ Manual output (forced output) available ▪ Auto-tuning (P.I.D values are found automatically) ▪ No additional Input/Output due to various I/O built-in functions ▪ Input: RTD (2 types), Thermocouple (7 types), Voltage, Current ▪ Output: Current, Open collector output of time proportional control ▪ Various debugging and self-diagnosis
As mentioned on page 6, MK300s and GM4 have the same special modules.
Master-K 300s
▪ Thermocouple (special module) - Features ▪ 5 type thermocouple available (KS, JIS, ANSI, DIN, BS) ▪ Automatic reference junction compensation ▪ Burn-out detection in every channel
▪ Other special modules - RTD module ▪ 4 input channel, 0~16,000 digital conversation value - PID control module ▪ Max. 16 loops, Forward/Reverse control selectable - Analog timer module ▪ Setting and adjusting time (highly precise range) available - Positioning module (APM) ▪ Highly reliable position ▪ Arc/ linear interpolation, separate/ synchronous operation ▪ Trapezoidal & S-curve acceleration/ deceleration function.
As mentioned on page 6, MK300s and GM4 have the same special modules.
KGLWIN (Software)
▪ Overview
- User Friendly Ladder Diagram and Mnemonic Language Supported - Window-Based Tool( Windows 95, 98 and NT) - Applicable to all LG Master-K series - Remote programming via network is available - System configuration by Project Structure - Several windows can be displayed in a screen - Various Self-Diagnosis and abundant PLC information in On-Line mode - Display comments in a program available all printers supported by Windows.
▪ On-line editing
- Possible to edit programs in Run mode- Forced I/O On/Off and change the value of data
Simple Frame Editor Tool enables to replace
old complex programs for the communication protocol.
GLOFA-GM
- Global standard (IEC61131-3) language - Dedicated CPU (one-chip) for fast processing - Convenient programming tool - International standard communication protocol suitable for CIM - Various special function module - International standard Ethernet (GM4/6)
▪ General Introduction of GLOFA-GM
1024384120
GM4
GM6
GM7U
51280
capability
I/O points
GM7
2048
Block type Module type Redundancy
GMR
GLOFA-GM7
▪ Overview
- Dedicated CPU offers ▪ Higher processing speed(0.5 ㎲ /step), 64 KB Programming Capability ▪ More cost-effective solution
- IEC 61131-3 with Windows based programming S/W ▪ IL, LD and SFC supported ▪ Simulation Function and User defined Function Block
- Variety of CPU just fit to your applications ▪ 10/20/30/40/60 I/O types - Built-in I/O ▪ PID with auto-tuning, High-speed counter, External Interrupt, Pulse catch, Pulse output, and Input filters, RS-232C - Network ▪ Built-in two RS-232C channels support Modbus Protocol (In G7M-DR10A, both RS-232C and RS-422/485). RS-232C (for modem), and RS-422/485 are related to Modbus protocol as option Profibus-DP, DeviceNet Slave, F-net Master.
▪ System Configuration
MAIN UNIT(10/20/30/40/60)
Wire
c
on
ne
ctio
n
DIGITAL I/O (Exp.) : 6 Input(24Vdc), 4 Output (Relay)
Hybrid Analog I/O ModuleInput : 2Ch, 0-10Vdc, 0-20mA, 12Bit(0-4,000), 0.5% or less(Full scale) Output : 1Ch, 0-10Vdc, 0~20nA, 12 Bit(0~4,000), 0.5% or less(Full scale)
Communication moduleRS-422, RS-232C(for modem) Module including MODBUS(Master/Slave, RTU, ASCII Mode) protocol.
The expansion configuration of GM7 is equal to the one of MK80s.
GLOFA-GM7
▪ Networking application
- Built in Network • Two communication channels using one port • Dedicated mode, MODBUS mode, User mode
- Option unit • RS-232C: For modem connection (dial-up modem, dedicated modem) • RS-422/485: Dedicated mode (High-speed link service, Multi-drop communication) MODBUS mode (Master, Slave, ASCII, RTU mode), User mode (Asynchronous method 9,600 ~ 128,000 bps)
TXD
RTD
RXD
TXD
Main computerOperator Interface
GMWIN S/W
The networking application of GM7 is equal to the one of MK80s.
GLOFA-GM7
GLOFA-GM7U
▪ Overview
- Main unit • Various main module: 32types 20/30/40/60 points AC/DC power, DC input, Relay/ Transistor output - Global standard (IEC61131-3) language: IL, ID, SFC Total 120 points are available (up to 3 extension module, 1 comm. Module)
- Processing speed: 0.1~0.9µs/Basic instruction - Various expansion module: 23 types • Digital I/O 6 types, Analog I/O 9 types, Communication I/F 6 types, Option module 2 types
- Communication Channel: 3 channels • Loader: 1ch, Built-in RS-485: 1ch Built-in RS-232c or communication I/F: 1ch ▪ Various mode: Dedicated/User-defined/ Modbus/No Protocol/LG Inverter mode
GLOFA-GM7U
▪ Built in functions
- High speed counter function (32bits) • 1 phase: 100kHz 2CH, 20kCH (4CH in total) ▪ 2 phase: 50kHz 1CH, 10kHz 1CH (2CH in total)
- Positioning function ▪ Control axis: 2 axes (100kHz) ▪ Position/Speed/Synchronous operation
- Improved PID control function ▪ Relay and PRC auto-tuning ▪ PWM output, Delta MV ▪ Positioning / Velocity algorithm
- Pulse catch, External Interrupt: 10µs 2points, 50µs 6points - Input filter: 0~1000ms
As mentioned on page 6, MK120s and GM7U have the same special modules , so the explanation of special modules in GM7U is not included here.
GLOFA-GM6
▪ Overview - Dedicated CPU offers ▪ Higher processing speed(0.5 ㎲ /step), 64 Kbyte Programming Capability ▪ More cost-effective solution
- IEC 61131-3 with Windows based programming S/W ▪ IL, LD and SFC supported ▪ Simulation Function and User defined Function Block
- Variety of CPU just fit to your applications - Maximum I/O : 384 points ▪ CPUC : Computer Link(RS-232C), PID and HSC(High Speed Counter), RTC (Real Time Clock) included
- Built-in Power supply for Analog control ▪ Output :5Vdc 2A, +15Vdc 0.5A, -15Vdc 0.2A
- Powerful Standard & High speed network ▪ RS232C, RS422/485 support MODBUS(RTU, ASCII), AB DF1(Ful Duplex) protocol, Fieldbus (F-net), Single Remote I/O(F-net), Profibus-DP, DeviceNet, and Single Remote I/O.
▪ Special modules of GLOFA-GM6
CP
U
Po
wer
sup
ply
CP
U
Dig
ital I/O
An
alog
I/O
Co
mm
un
ication
HS
C PI
D
A/D conversion 4 Ch. voltage & current Input
D/A conversion 4 Ch. voltage & current Output
High Speed Counter 1 Ch. 0 ~16,777,215
APM 2,3-axis linear interpolation/2-axis interpolation
Temperature Control 4 Ch (K, J, E, T, B, R, S)
Communication FEnet I/F(Open,Dedicated) Fnet I/F, Fnet Remote I/F
Dnet I/F, Rnet I/F, Pnet I/F, Cnet I/F
• • • •
GLOFA-GM6
GLOFA-GM4
- Dedicated CPU offers ▪ Higher processing speed(0.2 ㎲ /step), 128 Kbyte Programming Capability ▪ More reliable system ▪ High performance
- IEC 61131-3 with Windows based programming S/W ▪ Portability & Compatibility of Software ▪ IL, LD and SFC supported ▪ Simulation Function and User defined Function Block
- Maximum I/O : 2,048 points
- Powerful Standard & High speed network ▪ RS232C, RS422/485 include MODBUS(RTU, ASCII), AB DF1(Ful Duplex) protocol, Ethernet, Fieldbus(F-net), Single Remote I/O(F-net), Profibus-DP, DeviceNet, and Single Remote I/O
▪ Overview
As mentioned on page 6, MK300s and GM4 have the same special modules , so the explanation of special modules in GM4 is excluded here.
Network (Cnet)
▪ Cnet (Serial interface)
- RS232C, RS422/485 ▪ Frame Editor Tool enables to communicate with any other PLCs using user defined protocol
- MODBUS mode ▪ Cnet module used as a Master or Slave station interface to connect MK 200s to the MODBUS network using MODBUS RTU or ASCII protocol
- AB DF1 (Full Duplex) Protocol
▪ Mountable up to 2 modules in one base board
▪ Modem connection is available for long distance
-RS-232C/422 Equipment
Comm. device
RS-232C/422MK Series
CU
EA
CU
EA
CU
EA
CU
EA
1 : N Link
▪ Cnet (Serial interface)
Network (Cnet)
CU
EA
CU
EA
CU
EA
CU
EA
N : M Link
RS-232C RS-232C
MK series Different PLC
RS-422
Supports MODBUS and AB protocol : In-programmable for MODBUS(RTU, ASCII) or AB DF1(FULL DUPLEX) protocol in slave station.
MK Series: Master
RS232/RS422MODICON: Slave
MODBUS(ASCII & RTU)
AB: Slave
AB DF1(FULL DUPLEX)
▪ Cnet (Serial interface)
Network (Cnet)
▪ Fieldbus (Fnet) & single remote I/Os
- Fnet (LG dedicated Fieldbus network) supports long distance communication ▪ Up to 5.25km (using 6 repeaters), generally 750m - Dedicated Gate Array enables High speed communication and Reliability ▪ Transmission speed : 1M bps - Mountable up to 2 modules in one base board
Network (Fnet)
Repeater (Max. 6)
Max.5.25km
opt Max 3kmCable
. .
. .
. .
. .
. .. .
. .EOC
(opt/elec. Converter)
(Max.2 SlotAllowed)
Active Coupler (optic)
GM7/K80S
Smart I/O
Stand-alone(Single) RemoteDC In (16P)
Stand-alone Remote Relay Out(16P)
PMU
Network (Fnet)
▪ Fnet configuration Ⅰ
Terminal resistance Terminal resistance
▪ Fnet configuration Ⅱ - Programming & Monitoring for 2nd layered remote PLC
CP
UCP
U Fn
et Fn
et
CP
U Fn
et CP
U Fn
et
CP
U Fn
et CP
U Fn
et CP
U Fn
et1st
Local
2nd
Fnet
Fnet
Fnet Fnet
Fnet Fnet Fnet
KGL-WinLoader
1st RemoteLevel
2nd RemoteLevel
2nd 2nd
1st
Network (Fnet)
- 10.100BASE-TX, 100BASE-FX (optical), 10BASE-5 support - High-reliability and performance: 32bit processor- Open (Information level) Ethernet and LGIS dedicated
(between LG PLCs) Ethernet- Internet service support: open Ethernet: E-mail send/ receive
(POP3, SNMP)- User-defined protocol editing and connection to other system using
other system using other function block: Open Ethernet only- GMWIN service for remote programming, Remote monitoring and
PLC mode control
▪ Fast Ethernet
Network (Fast Ethernet)
Network (Fast Ethernet)
▪ Fast Ethernet configuration
PC MMI PC MMI
Open FEnet
Dedicated FEnet
LG PLC LG PLC LG PLC Other PLC
Ethernet I/FBridge or router
LG PLC LG PLC LG PLC
Network (DeviceNet)
▪ DeviceNet
- Max. 63 slave modules control with one master module- Max. 2,048 I/O points control with one master module- Flexibility in network configuration: multi-drop and T- branch connection - Connectable to other master module and various slave modules
▪ Communication with other slave modules as master
▪ Communication with other master module as slave
(Mode change by mode switch in master module)- GM4-CPUC: 8 in total, GM4-CPUB: 4 in total
GM4-CPUA/GM6: 2 in total
- GM7: 1 slave module- Master/slave communication as predefined master/slave connection
communication using scan list enabling high–speed link without other
configuration tool
Network (DeviceNet)
▪ DeviceNet configuration (LGIS system)
PC MMI
DeviceNet
LG VFD
LG PLC LG PLC LG PLC
LG PLC
Smart I/O Smart I/O
▪ DeviceNet configuration (with other products)
Network (DeviceNet)
LG PLC LG PLC
PC MMI
LG VFD
AB, Omron
AB FLEX I/O
Other I/O devices
DeviceNetconfiguration
DeviceNet
PC MMI
Network (Profibus-DP)
▪ Profibus-DP
- Profibus-DP (Decentralized periphery)- Low cost network appropriate to field level- Proper to communicate among a master automation device and
distributed slave I/O devices- Master slave network
- Fast slave network
- Based on RS-485 communication as application layer
- Communication speed: 9.6kbps~12Mbps- Communication distance: 100~1,200m
- Max. 99 stations (32 stations/segment) support- Network setup Sycon (configuration tool)
- Communication using high-speed link parameter
Network (Profibus-DP)
▪ Profibus-DP configuration
LG PLC LG PLC LG PLC
Smart I/O Smart I/O
LG PLC
AB, Omron
Siemens I/O
PC
PC MMI
Profibus-DP
Profibus-DP