PLC Addressing
Pengalamatan I/O Digital
I : Input Q : Output
x : CPU (0) / Expansion (1-14) I/0 y : I/O channel number
Format :
%I x . y
%Q x . y
1
3 - 3
Contoh
16 DI
1 2
24 IO = 14 DI + 10 DO 8 DO CPU
CPU Exp 1 Exp 2
Address DI %I0.0 - %I0.13 %I1.0 - %I1.15 - Address DO %Q0.0 - %Q0.9 - %Q2.0 - %Q2.7
Pengalamatan Memory Bit
i : Number M : Memory Bit
Format :
%Mi
%Si
3
3 - 5
Pengalamatan Memory Word
W : Word (16 bit) i : Number
M : Memory S : System K : Konstan
Range :
MW : %MW0 - %MW7999 SW : %SW0 - %SW233 KW : %KW0 - %KW511
Format :
%MWi
%SWi
%KWi
Contoh
• %MW15 = memory word no 15
• %KW26 = constant word no 26
• %SW30 = system word no 30 --> fungsi tertentu
• %M10 = memory bit no10
• %S6 = system bit no 6 ---> fungsi tertentu
5
PLC Software
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.6
7
3 - 9
SoMachine Basic, Computer and M221
Mini USB Cable SoMachine Basic
RJ45 – Ethernet Cable RS 232 / RS485 Cable
Overview (1)
Versi
Register Software (Hanya 1x) 9
3 - 11
Overview (2)
Create A New Project (1)
1
2
11
3 - 13
Create A New Project (2)
Create A New Project (3)
13
3 - 15
Download to PLC (1)
1
2 3
Simulation
Download to PLC (2)
15