61
Publication 1747-SG001D-EN-P — January 2009
SLC 500
Programming
Instruction Set
The following table shows the SLC 500 instruction set listed within their
functional groups.
SLC Programming Instruction Set
Functional
Group
Description
Instruction(s)
SLC 5/01
SLC 5/02
SLC 5/03
SLC 5/04
SLC 5/05
Bit
monitor and control status of bits
XIC, XIO, OTE, OTL, OTU, OSR
Timer and Counter control operations based on time or number of events
TON, TOF, TU, CTD, RTO, RES, RHC, TDF
Compare
compare values using an expression or specific
compare instruction
EQU, NEQ, LES, LEQ, GRT, GEQ, MEQ
LIM
Compute
evaluate arithmetic operations using an expression or
specific arithmetic instruction
ADD, SUB, MUL, DIV, DDV, CLR, NEG
SQR, SCL
SCP, ABS, CPT, SWP, ASN, ACS, ATN, COS, LN, LOG, SIN,
TAN, XPY, RMP
Logical
perform logical operations on bits
AND, OR, XOR, NOT
Conversion
perform conversion between integer and BCD values,
and radian and degree values
TOD, FRD, DCD
DEG, RAD, ENC
Move
move and modify bits
MOV, MVM, RPC
File
perform operations of file data
COP, FLL, BSL, BSR
FFL, FFU, LFL, LFU, FBC, DDT
Sequencer
monitor consistent and repeatable operations
SQO, SQC
SQL
Program Control
change the flow of ladder program execution
JMP, LBL, JSR, SBR, RET, MCR, TND, SUS, IIM, IOM,
END
REF
User Interrupt
interrupt your program based on defined events
STD, STE, STS, IID, IIE, RPI, INT
Process Control
close-looped control
PID
Communications
read or write data to another station
MSG, SVC, BTR, BTW, CEM, DEM, EEM (SLC 5/05
only)
ASCII
read, write, compare, convert ASCII strings
ABL, ACB, ACI, ACL, ACN, AEX, AHL, AIC, ARD, ARL,
ASC, ASR, AWA, AWT
www.aotewell.com
www.fa-market.com
AoteWell International.inc
Tel: +852-6563-2160