Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter Five PLC Function Code
27
V
o
lume
I Programming
CHAPTER FIVE PLC FUNCTION CODE
It is hard to compile some machine operations using the basis command codes, but the function
command codes can be simplified it.
Table 5-1 (218MC series PLC function command code)
Series
No.
Name Function Series
No.
Name Function
1 END1
The
1
st
level
sequence program
end
19
ROT
Binary rotation control
2 END2
The
2
nd
level
sequence program
end
20 SFT Register
shift
3 CALL Call
subprogram 21 DIFU Rising
edge
detection
4 CALLU
Unconditionally
call
the subprogram
22 DIFD Trailing
edge
detection
5 SP Subprogram 23
COMP Binary
number
comparison
6
SPE
End of subprogram
24 COIN
Consistency
comparison
7 SET
Setting
25
MOVN Data
transfer
8
RST
Resetting
26
MOVB
Transfer of one byte
9
JMPB
Sign skip
27
MOVW
Transfer of two bytes
10
LBL
Sign
28
XMOV
Binary indexed data
transfer
11
TMR
Timer
29
DSCH
Binary data search
12
TMRB
Regular timer
30
ADD
Binary addition
13 TMRC
Timer
31 SUB Binary
subtraction
14 CTR Binary
counter 32 ANDF
Logic
AND
15
DEC
Binary decode
33
ORF
Logic OR
16 COD Binary
code
conversion
34 NOT
Logic
NOT
17
COM
Control of the
concentric line
35
EOR
Exclusive OR/ XOR
18
COME
End of the concentric
line control