1 Publication 1762-RM001C-EN-P
Chapter
4
Programming Instructions Overview
Instruction Set
The following table shows the MicroLogix 1200 and 1500 programming
instructions listed within their functional group.
Functional Group Description Page
High-Speed Counter The high-speed counter instructions (along with the HSC function file) allow you to monitor and control
the high-speed outputs. Generally used with DC inputs.
HSL, RAC
5-1
High-Speed Outputs The high-speed output instructions (along with the PTO and PWM function files) allow you to monitor
and control the high-speed outputs. Generally used with FET outputs (BXB units).
PTO, PWM
6-1
Relay-Type (Bit) The relay-type (bit) instructions monitor and control the status of bits.
XIC, XIO, OTE, OTL, OTU, OSR, ONS, OSF
7-1
Timer and Counter The timer and counter instructions control operations based on time or the number of events.
TON, TOF, RTO, CTU, CTD, RES
8-1
Compare The compare instructions compare values by using a specific compare operation.
EQU, NEQ, LES, LEQ, GRT, GEQ, MEQ, LIM
9-1
Math The math instructions perform arithmetic operations.
ADD, SUB, MUL, DIV, NEG, CLR, SQR, SCL, SCP, SWP
10-1
Conversion The conversion instructions multiplex and de-multiplex data and perform conversions between binary
and decimal values. DCD, ENC, TOD, FRD
11-1
Logical The logical instructions perform bit-wise logical operations on words.
AND, OR, XOR, NOT
12-1
Move The move instructions modify and move words.
MOV, MVM
13-1
File The file instructions perform operations on file data.
COP, FLL, BSL, BSR, FFL, FFU, LFL, LFU
14-1
Sequencer Sequencer instructions are used to control automatic assembly machines that have consistent and
repeatable operations. SQC, SQO, SQL
15-1
Program Control The program flow instructions change the flow of ladder program execution.
JMP, LBL, JSR, SBR, RET, SUS, TND, MCR, END
16-1
Input and Output The input and output instructions allow you to selectively update data without waiting for the input and
output scans.
IIM, IOM, REF
17-1
User Interrupt The user interrupt instructions allow you to interrupt your program based on defined events.
STS, INT, UID, UIE, UIF
18-1
Process Control The process control instruction provides closed-loop control.
PID
19-1
ASCII The ASCII instructions convert and write ASCII strings. They cannot be used with MicroLogix 1500
1764-LSP Series A processors.
ABL, ACB, ACI, ACL, ACN, AEX, AHL, AIC, ARD, ARL, ASC, ASR, AWA, AWT
20-1
Communications The communication instructions read or write data to another station.
MSG, SVC
21-1
Data Logging
(MicroLogix 1500
1764-LRP only)
The data logging instruction allow you to capture time-stamped and date-stamped data.
DLG
22-1