Integrated Control System
Integrated Control System
2
Schneider PLC Range
Machine Application Process Application
M258
Quantum
M251
M580
M241
Premium
M221
Twido M340
3
PLC Modicon M221
4
M221 Compact
• Compact Controller
M221 Compact Type :
• Easy to set up
•1 Removable screw terminal for Power
•2 TM221CE : RJ 45 connector for
Ethernet network
•3 Mini Usb for connecting a PC,
Micro SD slot, and Run/Stop Switch
• 4 Serial Link port (RS 232/ RS 485)
• 5 Analog Input connector
• 6 QR code for technical documentation
• 7 Digital Input Connector
• 8 Slot for Backup Battery
• 9 Lamp Status for PLC,I/O and Comm
• 10 Bus Connector for Expantion Module
• 11 Slot for I/O, Comm,aplication Catridge
• 12 Digital Output Connector
• 13 Dclip for Locking symmetrical ring
5
M221 Compact
Number of..
Product Reference Power Supply Comm Port
Inputs Outputs
TM221C16R 100 – 240 Vac 1 SL 9 7 Relay
TM221C16T 24 Vdc 1 SL 9 7 Transistor
TM221C24R 100 – 240 Vac 1 SL 14 10 Relay
TM221C24T 24 Vdc 1 SL 14 10 Transistor
TM221C40R 100 – 240 Vac 1 SL 24 16 Relay
TM221C40T 24 Vdc 1 SL 24 16 Transistor
TM221CE16R 100 – 240 Vac 1 SL + 1 ETH 9 7 Relay
TM221CE16T 24 Vdc 1 SL + 1 ETH 9 7 Transistor
TM221CE24R 100 – 240 Vac 1 SL + 1 ETH 14 10 Relay
TM221CE24T 24 Vdc 1 SL + 1 ETH 14 10 Transistor
TM221CE40R 100 – 240 Vac 1 SL + 1 ETH 24 16 Relay
TM221CE40T 24 Vdc 1 SL + 1 ETH 24 16 Transistor
6
M221 Modular
• Flexible
• Easy to cable
M221 Modular Type :
• Easy to install •1 Removable screw terminal for Power
•2 TM221ME* : RJ 45 for Ethernet network
TM221M* : RJ 45 for Serial Network
• 3 Serial Link port (RS 232/ RS 485)
• 4 Analog Input connector
• 5 QR code for technical documentation
• 6 Slot for Backup Battery
• 7 Slot for Micro SDigital Input Connector
• 8 Run/Stop Switch lot for Backup Battery
• 9 Mini Usb for connecting a PC
• 10 Bus Connector for Expantion Module
• 11 Lamp Status for PLC,I/O and Comm
• 12 Digital Output Connector
• 13 Digital Input Connector
• 14 Dclip for Locking symmetrical ring
7
M221 Modular
Number of..
Product Reference Power Supply Comm Port
Inputs Outputs
TM221M16T/G 24 Vdc 1 SL 8 7 Relay
8
M221 Expansions
TM3 I/O Module :
9
Digital Input Expansions
10
Digital Output Expansions
11
Digital Mixed Expansions
16 Inputs 24 VDC
16 Point Input & 8 Output TM3DM24R/G Terminal Block
8 Outputs Relay
4 Inputs 24 VDC
4 Point Input & 4 Output TM3DM8R/G Terminal Block
4 Outputs Relay
13
M221 Catridges
Module Name Reference Type Feature
Analog Input TMC2AI2 Analog 2 Voltage or Current Input
Analog Curent Output TM22AQ2C Analog 1 Function, CAT 4
Analog Voltage Output TM22AQ2V Analog 2 Function, CAT 3
Conveying Aplication TMC2CONV01 Serial Line Serial for Conveying Aplication
Hoisting Application TMC2HOIS01 Analog Loadcell for Hoisting Application
Packaging Application TMCPACK01 Analog Analog Input for Packaging Application
Serial Line TMC2SL1 Serial Line 1 Serial Line
Temperature TMC2TI2 Analog 2 Temperature Input
Graphic Display TMH2GDB Option Monitoring Screen
15
M221 Wiring Schematic – CPU Input
16
M221 Wiring Schematic – CPU Output
17
M221 Wiring Schematic – Output Relay
TM3DQ16R Wiring Diagrams
18
M221 Wiring Schematic – Analog
TM3TI4 Wiring Diagrams
19
M221 Wiring Schematic – Analog
TM3AQ4 Wiring Diagrams
20
Troubleshooting & Maintenance
Backup Battery
Run/Stop Switch
Slot Micro SD
22
Pengalamatan I/O
Digital : Analog :
%I x . y %IW x . y
%Q x . y %QW x . y
I : Input
Q : Output
x : Base (0) / Expansion (1-14) I/0
y : I/O channel number
23
Contoh
CPU 1 2 3
40 IO = 24 DI + 16 DO 16 DO 4 AI 4 AO
Format :
%Mi
%Si
i : Number
M : Memory Bit
(Range : %M0 - %M1024)
S : System Bit
(Range : %S0 - %S159)
25
Pengalamatan Memory Word
Format :
%MWi
%SWi
%KWi
W : Word (16 bit) Range :
I : Number MW : %MW0 - %MW7999
M : Memory SW : %SW0 - %SW233
S : System KW : %KW0 - %KW511
K : Konstan
26
Contoh
27
SoMachine Basic
• SoMachine Basic adalah software untuk memprogram M221
• Software ini dapat digunakan untuk memprogram semua type
PLC M221
• Software ini GRATIS (hanya butuh registrasi online untuk
penggunaan lebih dari 30 hari)
• Versi terbaru 1.4
28
SoMachine Basic, Computer and M221
SoMachine Basic
29
SoMachine Basic Overview
30
Create A New Project (1)
• Buka software SoMachine Basic
31
Create A New Project (2)
• Ganti CPU PLC menjadi TM221CE40T
• Klik YES
32
Create A New Project (3)
• Tambahkan module berikut :
– TM3DQ16R (1)
– TM3TI4 (2)
– TM3AQ4 (3)
1 2 3
33
Create A New Project (4)
• Setting Analog Input :
34
Create A New Project (5)
• Setting Ethernet Address
192 . 168 . 0 . 10
255 . 255 . 255 . 0
35
Create A New Project (6)
• Save konfigurasi PLC yang sudah dibuat (misal : PLC1)
36
Create A New Project (7)
• Klik tab Programming
%I0.15 %Q1.0
37
Create A New Project (8)
• Pastikan kabel USB sudah terhubung antara PC dan PLC
• Klik tab Commissioning
38
Create A New Project (9)
• Klik PC to Controller (download)
• Klik OK
39
Create A New Project (10)
• Klik Start Controller
• Klik OK
40
Create A New Project (11)
• Tes program yang sudah dibuat !
41
Create A New Project (12)
• Untuk disconnect PC dengan PLC, caranya klik tab
Commissioning, kemudian klik Logout
42
Instruksi Timer pada PLC M221
1
Comment, Symbol, Timer Number
2 Output
Input
Timer Timer
Timer
3 Description
43
Blok Fungsi Timer
Parameter Label Value
Comment - Comment / Info untuk block Timer
Symbol - Nama block Timer
Timer Number %TMi 0 s/d 255
Jenis TON On-delay (by default)
TOF Off-delay
TP Pulse
Time Base TB 1 Min (default), 1 s, 100 ms, 10 ms
Preset Value Preset Alamat ini dapat diisi dengan nilai antara 0-9999. nilai pada alamat ini
(%TMi.P) dapat dibaca dan ditulis. Perioda = %TMi.P x TB.
Current Value %TMi.V Alamat ini akan increment dari 0 hingga nilai preset tercapai ketika timer
aktif. Nilai pada alamat ini dapat dibaca tetapi tidak dapat ditulis.
Setting Input IN Timer mulai aktif saat rising edge (TON dan TP) dan falling edge (TOF)
(atau perintah)
Timer Output Q Nilai output ini akan bernilai 1 sesuai dengan fungsi dari jenis timernya.
44
Jenis Timer
TON
TP
TOF
45
Contoh Program Timer untuk PLC M221
46
Instruksi Counter pada PLC M221
Counter Number
1
Input Counter
Output Counter
Counter
Decription
4
2
3
47
Blok Fungsi Counter
Parameter Label Value
Comment - Comment / Info untuk block Counter
Symbol - Nama block Counter
Counter Number %Ci 0 s/d 255
Preset Value Preset Nilainya diantara 0-9999. nilai alamat ini dapat dibaca dan ditulis.
(%Ci.P)
Current Value %Ci.V Nilai pada alamat ini akan di increment atau decrement tergantung
input dari CU atau CD. Nilai pada alamat ini dapat dibaca tetapi tidak
dapat ditulis.
Reset input (or insturction) R Jika diberi input 1 maka %Ci.V = 0
Set input (or instruction) S Jika diberi input 1 maka %Ci.V = %Ci.P
Upcount input (or instruction) CU Setiap ada input rising edge maka nilai %Ci.V akan di increment
Downcount input (or instruction) CD Setiap ada input rising edge maka nilai %Ci.V akan di decrement
Underflow output E Output akan aktif jika %Ci.V bernilai negatif (%Ci.V sudah bernilai 0 lalu
CD diberi rising edge maka nilai %Ci.V = 9999)
Preset output reached D Output akan bernilai 1 jika dan hanya jika %Ci.V = %Ci,P
Overflow output F Output akan aktif jika %Ci.V bernilai 10000 (%Ci.V sudah bernilai 9999
lalu CU diberi rising edge maka nilai %Ci.V = 0)
48
Contoh Program Counter pada PLC M221
49
Variable Speed Drive (VSD) / Inverter
50
VSD Principle
51
Schneider - VSD Product
ATV61 ATV71
ATV312
ATV212
ATV12
52
ATV312 (1)
from 0.18 kW up to 15 kW
1 phase : 240V
3 phases : 240 / 400V / 600V
53
ATV312 – Wiring Power
Example
Motor output
54
COM
AI1
CLI
Sink
10V
Source
AI2 AI3
COM
AOV
AOC
Connector RJ45
R1A
24V LI4 R1B
LI1 LI5 R1C
LI2 LI6 R2A
LI3 CLI R2C
ATV312 – Wiring Control (1)
55
ATV312 – Wiring Control (2)
Source
CLI
COM
Sink
x
x
x
COM
Sink
CLI
LI1
Source CLI
24V
24V
LI3
LI1
LI2
LI1
LI2
LI3
PLC
56
ATV312 – Wiring Control (3)
2 wires
COM
AOC
AOV
R1C
R2C
R1A
R1B
R2A
2 directions
AI3
Source
Positive logic CLI
Sink
PLC
COM
10V
CLI
AI2
AI1
LI4
LI5
LI6
Reference
24V
LI1
LI2
LI3
Control
FW RV
57
Rotary Encoder
58
Rotary Encoder to PLC
Rotary Encoder
Input PLC
59
Power Meter
60
How many of you are still doing this?
61
PM5000 (1)
PM5100 PM5300 PM5500
Features and Options PM5100 PM5110 PM5310 PM5320 PM5330 PM5340 PM5560 PM5563
Installation
Fast installation, panel mount with integrated display ■ ■ ■ ■ ■ ■ ■ –
Fast installation, DIN rail mountable – – – – – – – ■
Accuracy CI 0.5 CI 0.5 CI 0.5 CI 0.5 CI 0.5 CI 0.5 CI 0.2 CI 0.2
Display
Backlit LCD, multilingual, bar graphs, 6 lines, 4 concurrent ■ ■ ■ ■ ■ ■ ■ –
values
Remote display (optional) – – – – – – – ■
Power and energy metering
3-phase voltage, current, power, demand, energy, ■ ■ ■ ■ ■ ■ ■ ■
frequency, power factor
Multi-tariff – – 4 4 4 4 8 8
Power quality analysis
THD, thd, TDD ■ ■ ■ ■ ■ ■ ■ ■
Harmonics, individual (odd) up to 15th 15th 31st 31st 31st 31st 63rd 63rd
I/Os and relays
I/Os 1DO 1DO 2DI/2DO 2DI/2DO 2DI/2DO 2DI/2DO 4DI/2DO 4DI/2DO
Relays 0 0 0 0 2 2 0 0
Alarms and control
Alarms 33 33 35 35 35 35 52 52
Set point response time, seconds 1 1 1 1 1 1 1 1
Single and multi-condition alarms – – ■ ■ ■ ■ ■ ■
Boolean alarm logic – – – – – – ■ ■
Communications
Serial ports with Modbus protocol – 1 1 – 1 – 1 1
Ethernet port with Modbus TCP protocol – – – 1 – 1 2** 2**
Ethernet to serial gateway – – – – – – ■ ■
MID ready compliance,
PM5111 PM5331 PM5341 PM5561
EN50470-1/3, Annex B and Annex D Class C
62
PM5000 (2)
63
PM5350 – Modbus Register
64
Human Machine Interface (HMI)
KONTROL
PROSES PROSES
SISTEM KONTROL
66
HMI Magelis communication ports
COM1 (RS-232)
USB1
COM2 (RS-485)
Ethernet
67
Vijeo Designer Software for HMI Magelis
68
Create a New Project (1)
69
Create a New Project (2)
70
Create a New Project (3)
71
Create a New Project (4)
72
Create a New Project (5)
73
Create a New Project (6)
74
Create a New Project (7)
75
Setting Communication (1)
76
Setting Communication (2)
• Masukkan IP Address PLC yang akan di monitoring
misal : 192.168.0.10
• Klik IEC61131 Syntax
• Pilih Low Word First
• Klik OK
77
Setting Communication (3)
• Klik Yes
78
Create Variables (1)
• BOOL : Digital Off / On 0 / 1
• INT / Integer : Data Range -32768 s/d 32767
• UINT (Unsigned INT) : Data Range 0 – 65535
• DINT (Double INT) : Data Range -2147483648 s/d
2147483647
• UDINT (Unsigned DINT) : Data Range 0 – 4294967295
• REAL : Decimal Range -3.4028e+038 s/d 3.4028e+038
• STRING : Character 2 - 100
79
Create Variables (2)
80
Create Variables (3)
• Klik tanda
81
Create Variables (4)
• Ketik nama variable yang ingin dibuat
• Pilih Data type (BOOL / INT)
• Ketik Device Address
• Kemudian Klik OK
82
Create Variables (5)
• Contoh variable untuk INT
83
Create Variables (6)
• Buat variable berikut ini :
84
Command (1)
85
Command (2)
• Klik Switch
• Kemudian gambar kotak,
menggunakan mouse
di layar hitam
86
Command (3)
87
Command (4)
88
Animation (1)
• Klik Lamp
• Kemudian gambar kotak,
menggunakan mouse
di layar hitam
89
Animation (2)
90
Animation (3)
91
Numeric Display (1)
92
Numeric Display (2)
93
Numeric Display (3)
94
Numeric Display Input Mode (1)
95
Numeric Display Input Mode (2)
• Pada Style, pilih : 00026
• Variable : Timer1_Preset (Jangan diketik, tapi
pilih dari klik simbol lampu)
• Display Digits : 2
• Klik Enable Input Mode
• Klik OK
96
Numeric Display Input Mode (3)
97
Download Program–Cable Ethernet (1)
• Pastikan PC sudah terhubung menggunakan kabel Ethernet
dengan HMI melalui Ethernet Switch
• Klik Download, kemudian pilih Ethernet di jendela Property
Inspector
98
Download Program–Cable Ethernet (2)
99
Download Program–Cable Ethernet (3)
100
Export Project (1)
101
Export Project (2)
102
Export Project (3)
103
Export Project (4)
104
Import Project (1)
105
Import Project (2)
106
Import Project (3)
107
Servo and Stepper Motor
Characteristics Servo Motor Stepper
The cost for a servo motor and servo motor This feature would have to go to stepper
Cost system is higher than that of a stepper motor motors. Steppers are generally cheaper than
system with equal power rating. servo motors that have the same power rating.
Servo motors are availible in a wide variety of Stepper motors do not have as many size
frame sizes, from small to large motors capable of selections as servo motors in the large sizes.
Frame Sizes running huge machines. Many of the motors However stepper motors may still be found in
come in NEMA standard sized. a variety of NEMA frame sizes.
Servo motors require tuning of the (PID) closed Stepper motors are almost plug-and-play. They
Setup Complexity loop variable circuit to obtain correct motor require only the motor wires to be wired to the
function. stepper motor driver.
The brushes on servo motors must be replaced The bearing on stepper motors are the only
Motor Life every 2000 hours of operation. Also encoders may wearing parts. That gives stepper motors a
need replacing. slight edge on life.
Servo motors will do fine with low speed
Stepper motors provide most torque at low
Low Speed High Torque applications given low friction and the correct
speed (RPM).
gear ratio
Stepper motors lose up to 80% of their
Servo motors maintain their rated torque to about
High speed High Torque 90% of their no load RPM.
maximum torque at 90% of their maximum
RPM.
Since the current draw of a servo motor is
Stepper motors draw excess current regardless
Least Heat production proportional to the load applied, heat production
of load. The excess power is dissipated as heat.
is very low.
Servo motors are not as readily available to the Stepper motors are far easier to find than
Availability masses as are stepper motors. quality servo motors.
Servo motors are more mechanically complex due Stepper motors are very simple in design with
Motor Simplicity to their internal parts and the external encoders. no designed consumable parts.
108
Schneider - Servo and Stepper Motor Product
109
Servo ILA2 and Stepper ILS2
110
Stepper ILS2 – Modbus Register
112
Definition of SCADA
113
Visualisation
114
SCADA
Network
115
Citect SCADA Product
Market Share
• Lebih dari 90% menguasai market share Australia.
• Sekitar 5% digunakan pada market share dunia.
Age & maturity of the product
• Dipergunakan pertama kali pada pertengahan tahun 1980an.
• Tahun 2006 diakusisi oleh Schneider Electric
• Versi terbaru adalah V2015 diperkenalkan pada 2015.
Strengths
• Mampu digunakan dengan PLC dari berbagai macam vendor.
• Mampu digunakan untuk suatu sistem yang rumit.
116
Licensing
117
The Vijeo Citect Environment
Dibagi menjadi 2 bagian:
Runtime System
Configuration Environment
Citect Explorer
118
Citect Explorer
Otomatis menjalankan dan menghentikan Citect Project
Editor dan Citect Graphics Builder.
Untuk memilih dan mengatur project.
Membuat project, menghapus, Backup dan Restore project.
Menjalankan aplikasi lainnya, seperti Cicode Editor.
119
Citect Project Editor
Membuat dan mengatur database Vijeo Citect yang berisi
informasi dari project Vijeo Citect
Tidak dapat digunakan untuk membuat halaman graphics.
Melihat semua informasi dari project Vijeo Citect.
120
Citect Graphics Builder
Digunakan untuk membuat tampilan halaman SCADA pada
suatu project.
121
Langkah – Langkah membuat Aplikasi baru VijeoCitect
122
Create A New Project (1)
• Klik ganda VijeoCitect Explorer
123
Create A New Project (2)
• Pada Citect Explorer, klik File / New Project
124
Create A New Project (3)
• Pindah ke Citect Project Editor
• Klik Tools / Option
125
Create A New Project (4)
• Klik Communication / Express Wizard
• Klik Next
126
Create A New Project (5)
• Klik Next
• Klik Next
127
Create A New Project (6)
• Klik Next
128
Create A New Project (7)
• Masukkan IP Address PLC yang mau dimonitoring
• Masukkan Port : 502 no port Modbus TCP
129
Create A New Project (8)
• Klik Next
• Klik Finish
130
Create A New Project (9)
• Klik Equipment / Equipment
131
Create A New Project (10)
• Klik Tag / Variable Tags
132
Create A New Project (11)
• Tambahkan variable tag berikut ini :
133
Variable Tag Data Type
134
Create A New Project (12)
• Klik File / Compile
135
Create A New Project (13)
• Pindah ke Citect Graphic Builder
• Klik File / New
• Klik Page
136
Create A New Project (14)
• Pilih sesuai gambar berikut :
137
Drawing Objects
Free hand Line
Rectangle Oval
Polygon Pipe
Symbol Genie
Active X Control Process Analyst
138
Create A New Project (15)
• Gambar object berikut ini :
Symbol Set
Button
139
Create A New Project (16)
• Setting Button sesuai gambar berikut
140
Create A New Project (17)
• Setting Button sesuai gambar berikut
141
Create A New Project (18)
• Setting Symbol Set sesuai gambar berikut
142
Create A New Project (19)
• Setting Numeric-1 sesuai gambar berikut
143
Create A New Project (20)
• Setting Numeric-2 sesuai gambar berikut
144
Create A New Project (21)
• Setting Numeric-2 sesuai gambar berikut
145
Create A New Project (22)
• Klik File / Save as
146
Create A New Project (23)
• Klik File / Compile
• Pastikan tidak ada error / warning, kemudian klik Run
147
Create A New Project (24)
• Klik Continue
• Klik OK
148