Specifications
48
SLC 500 Programmable Controllers and I/O Modules
SLC
Programming
Instruction Set
The following table shows the SLC
500 programming instruction set listed
within their functional groups.
The latest SLC 500 operating systems
(1747-OS310, 1747-OS410, and
• 1747-OS510) support eight new
instructions. See “Operating System
Upgrade Kits” on page 11 if you’d
like to upgrade your existing SLC 5/03
or higher processor to use these new
instructions. The new instructions are:
• BTR - Block Transfer Read
• BTW - Block Transfer Write
• FBC - File Bit Comparison
• DDT - Diagnostic Detect
• RHC - Read High-Speed Clock
• TDF - Compute Time Difference
• ENC - Encode 1-of-16 to 4
• RMP - Ramp
Functional Group Description
Relay-Type (Bit) The relay-type (bit) instructions monitor and control the
status of bits.
XIC, XIO, OTE, OTL, OTU, OSR
Timer and Counter The timer and counter instructions control operations
based on time or the number of events.
TON, TOF, CTU, CTD, RTO, RES, RHC, TDF
Compare The compare instructions compare values by using an
expression or a specific compare instruction.
EQU, NEQ, LES, LEQ, GRT, GEQ, MEQ;
SLC 5/02 and higher: LIM
Compute The compute instructions evaluate arithmetic operations
using an expression or a specific arithmetic instruction.
ADD, SUB, MUL, DIV, DDV, CLR, NEG; SLC 5/02 and higher:
SQR, SCL; SLC 5/03 and higher: SCP, ABS, CPT, SWP, ASN,
ACS, ATN, COS, LN, LOG, SIN, TAN, XPY, RMP
Logical The logical instructions perform logical operations on bits.
AND, OR, XOR, NOT
Conversion The conversion instructions perform conversions between
integer and BCD values, and radian and degree values.
TOD, FRD, DCD; SLC 5/03 and higher: DEG, RAD, ENC
Move The move instructions modify and move bits.
MOV, MVM
File The file instructions perform operations on file data.
COP, FLL, BSL, BSR; SLC 5/02 and higher: FFL, FFU, LFL,
LFU, FBC, DDT
Sequencer The sequencer instructions monitor consistent and
repeatable operations.
SQO, SQC; SLC 5/02 and higher: SQL
Program Control The program flow instructions change the flow of ladder
program execution.
JMP, LBL, JSR, SBR, RET, MCR, TND, SUS, IIM, IOM, END;
SLC 5/02 and higher: REF
User Interrupt The user interrupt instructions allow you to interrupt your
program based on defined events.
SLC 5/02 and higher: STD, STE, STS, IID, IIE, RPI, INT
Process Control The process control instruction provides closed-loop control.
SLC 5/02 and higher: PID
Communications The communication instructions read or write data to
another station.
SLC 5/02 and higher only: MSG, SVC, BTR, BTW
ASCII The ASCII instructions read, write, compare, and convert
ASCII strings.
SLC 5/03 and higher only: ABL, ACB, ACI, ACL, ACN, AEX,
AHL, AIC, ARD, ARL, ASC, ASR, AWA, AWT










