Download - DEE 3323.05 Programming Console.pdf
-
7/29/2019 DEE 3323.05 Programming Console.pdf
1/23
EN. MUHAMAD NABIL BIN MANSOR
-
7/29/2019 DEE 3323.05 Programming Console.pdf
2/23
Programming Console
Pilihan
Mode
Mode Operasi
PROGRAMDigunakan untuk
memasukkan atau
menukar program sedia
ada.
MONITORDigunakan untuk menukar
kandungan memori
semasa PLC sedang
beroperasi.
RUNDigunakan untuk
melaksanakan
program.iada perubahan
boleh dilakukan.
-
7/29/2019 DEE 3323.05 Programming Console.pdf
3/23
Memulakan program
< PROGRAM>
PASSWORD!
CLR CLRMONITOR 0000
-
7/29/2019 DEE 3323.05 Programming Console.pdf
4/23
Padam semua program
< PROGRAM>
* Program dan ingatan PLC akan TERPADAM selepas arahan ini ditekan
CLR
CLR 0000
SET NOT
MONTR CLR
RESET
0000 MONITOR CLREND HR CNT DM
-
7/29/2019 DEE 3323.05 Programming Console.pdf
5/23
Overview of Instruction
FUN
LD
AND
OR
NOT
OUT
TIM
CNT
SHIFT
0
CHG
WRITE
-
7/29/2019 DEE 3323.05 Programming Console.pdf
6/23
Basic Instruction
1. LD / LD NOT
2. OUT / OUT NOT
3. END
4. AND / AND NOT
5. OR / OR NOT
6. AND LD
7. OR LD
8. TIM
9. CNT
-
7/29/2019 DEE 3323.05 Programming Console.pdf
7/23
LD / LD NOT
The first condition that starts any logic block within
a ladder diagram corresponds to a LD or LD NOT
instruction.
LD - Normally Open contact, examine if On
LD NOT - Normally Close contact, examine if Off
-
7/29/2019 DEE 3323.05 Programming Console.pdf
8/23
OUT / OUT NOT
The OUT instruction is like a relay coil.
When there is a path of True instruction preceding
this on the ladder rung, it will also be True.When the instruction is True it is physically On.
We can think of this instruction as a normally open
output.
This instruction can be used for internal coils andexternal outputs.
The OUT NOT instruction is the reverse logic of
OUT instruction.
-
7/29/2019 DEE 3323.05 Programming Console.pdf
9/23
END (01)
The last instruction required to complete a
simple program is the END instruction.
When the CPU scan the program, it executes all
instructions up to the first END instructionbefore returning to the beginning of the program
and begin the execution again.
END
-
7/29/2019 DEE 3323.05 Programming Console.pdf
10/23
AND / AND NOT
When 2 or more conditions lie in series on the
same instruction line, the first one correspond to
a LD or LD NOT instruction, and the rest of the
conditions, to AND or AND NOT instructions.
AND - taking the logical AND of the executioncondition
AND NOT - taking the logical AND between its
execution condition and the inverse of its
operand bit.
-
7/29/2019 DEE 3323.05 Programming Console.pdf
11/23
OR / OR NOT
When 2 or more conditions lie on separateinstruction line running in parallel and joining
together, the first one correspond to a LD or LD
NOT instruction, and the rest of the conditions
correspond to OR or OR NOT instructions.
OR - taking the logical OR of the execution
condition.
OR NOT - taking the logical OR between its
execution condition and the inverse of its
operand bit.
-
7/29/2019 DEE 3323.05 Programming Console.pdf
12/23
AND LD
The AND LD instruction logically AND the
execution conditions produced by two logic blocks.
The OR LD instruction logically OR theexecution conditions produced by two logic
blocks.
OR LD
AND LD & OR LD Instructions
-
7/29/2019 DEE 3323.05 Programming Console.pdf
13/23
Timer (TIM)
Timer is an instruction normally used for time delay. It can be ON delay or OFF delay.
The timer is based on a decrement method.
On-Delay-Timer after our sensor (input) turns on we
wait x-seconds before activating a solenoid valve(output).
Timer number 000 to 127 (Must not coincide withcounter)
Set value #0000 to #9999 (0 - 999.9 sec)
If the start input becomes OFF or the power is turnedOFF during operations before time up (current value#0000), the current value will be reset to the value set.
-
7/29/2019 DEE 3323.05 Programming Console.pdf
14/23
Timers
LD 0000
TIM 000
#0100
LD TIM000
OUT 1000END (01)
*#0100 = 10s
Timer present value can be monitored by :
CLR TIM 0 MONTR
-
7/29/2019 DEE 3323.05 Programming Console.pdf
15/23
Counter (CNT)
CNT is a preset decrement counter.
It decrements one count every time an input signal
goes from OFF to ON.The counter must be programmed with a count input,
a reset input, a counter number and set value.
Set value can range from #0000 - #9999
Counter number 000 to 127 (Must not coincide withcounter)
Its current value will not be reset even if the PC power
supply is turned OFF. It will preserve the count until
then.
-
7/29/2019 DEE 3323.05 Programming Console.pdf
16/23
COUNTER
LD 0001
LD 0002
CNT 001
#010
LD CNT01OUT 1000
END (01)
* Counter present in decrement method. Once reach zero
it signal goes from OFF to ON. The Counter & Timershare the same memory location.
-
7/29/2019 DEE 3323.05 Programming Console.pdf
17/23
Useful
Basic
Command
-
7/29/2019 DEE 3323.05 Programming Console.pdf
18/23
Program Search
SHIFTCONT
#
CLR
CLR
OUT
SRCH
SRCH
0
INSTRUCTION
SEARCH
-
7/29/2019 DEE 3323.05 Programming Console.pdf
19/23
Inserting & Deleting Instruction
BIT SEARCH
BIT SEARCH
INS
DEL
Note : Only in PROGRAM mode, instruction that display can be
delete or insert.The instruction once deleted, it cannot be
recovered !
-
7/29/2019 DEE 3323.05 Programming Console.pdf
20/23
Bit Monitor
Word Monitor
CH
#DM
CONT
#SHIFT
SHIFT
00000
010 MONTR
SHIFT MONTR
HEXADECIMAL
BINARY
MONTR
* Monitor the status (ON/OFF) of bit & word in any PLC operating mode
Bit & Word Monitoring
-
7/29/2019 DEE 3323.05 Programming Console.pdf
21/23
Forced Set/Reset
PLAY
SET
ON
REC
RESET
OFF
-
7/29/2019 DEE 3323.05 Programming Console.pdf
22/23
HEX / BCD DATA MODIFICATION
02000 01000
PRESS VAL ?
01000 ???/CHG
WRITE
* Change the BCD orHexadecimal value of
status being monitor in
MONITOR mode or
PROGRAM mode.
-
7/29/2019 DEE 3323.05 Programming Console.pdf
23/23