8 PLC Omron Advance Instructions PDF
8 PLC Omron Advance Instructions PDF
Sasaran
Mahasiswa mampu :
{
Shift Instruction
Fungsi :
{
Contoh :
{
{
{
Shift Instruction
Shift Register SFT(10)
Input
Pulse
Reset
Magnetic
Valve
Rotary
Encoder
Photosensor 2
Clock
BAD
GOOD
5
PLC
Jika suhu > 290 C
Fan
Heater
8
Analog Input
PLC
Analog
Output
Fan
Analog
Output
Heater
Pengaturan suhu
Pengaturan kecepatan posisi motor
Sistem Lift
Konversi suhu celsius ke farrenheit
Dll..
10
Review
Tipe data pada PLC Addressing
Bit
{
Byte
{
Channel/Word
{
1 channel/word = 16 bit
11
Review
Addressing in PLC Omron
Addressing in bit
{
{
Addressing in Channel
{
{
Review
Channel Addressing w Omron
CH 000
Channel 000
Bit 00 to
Bit 15
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
1 0 0 1
9 (heksa)
8 7 9 B (heksa)
0 1 1 1
1 0 0 0
7 (heksa)
8 (heksa)
13
MOV(21)
{
16
Channel 000
Bit 00 to
Bit 15
DESTINATION OUTPUT
CH 200
00000
20000
00001
20001
00002
20002
00003
20003
00004
20004
00005
20005
00006
20006
00007
20007
00008
20008
00009
20009
00010
20010
00011
20011
00012
20012
00013
20013
00014
20014
00015
20015
Status
Status
Channel 200
Bit 00 to
Bit 15
17
18
Contoh : Penampilan
kode error plant (2)
19
Laddder
Diagram
20
Comparison Instruction
21
Comparison Instruction
CMP (20)
{
Membandingkan data (isi alamat) dengan data (isi alamat)
yang lain
#
..15 ..14 ..13 ..12 ..11 ..10 ..09 ..08 ..07 ..06 ..05 ..04 ..03 ..02 ..01 ..00
0
DATA
CH 000
DATA
22
Comparison Instruction
23
Comparison Instruction
SR 25507 akan ON
24
ADD
SUBSTRACT
MULTIPLY
DIVIDE
25
ADD(30)
{
{
{
CY
26
Clear carry
27
28
Contoh :
29
SUB(31)
{
10s
complement
31
32
Contoh Aplikasi
Tempat Parkir Otomatis
33
Anti Bouncing,
supaya sinyal
dikenali PLC
34
Contoh Aplikasi
Sistem Pemotongan Barang Otomatis
35
36
37
38
Logic Instruction
NOT
AND
OR
XOR
39
40
BCD TO BINARY
BINARY TO BCD
41
42
Contoh Aplikasi
43