91
Publication 1766-RM001A-EN-P - October 2008
Chapter
4
Programming Instructions Overview
Instruction Set
The following table shows the MicroLogix 1400 programming instructions
listed within their functional group.
(1)
(1) The Memory Module Information Function File appears on page 60 following the Real-Time Clock Function File information.
Functional Group
Description
Page
High-Speed Counter
HSL, RAC – The high-speed counter instructions (along with the HSC function file) allow you to monitor
and control the high-speed counter. Generally used with DC inputs.
High-Speed Outputs
PTOX, PWMX – The high-speed output instructions (along with the PTOX and PWMX function files) allow
you to monitor and control the high-speed outputs. Generally used with FET outputs BXB and BXBA
units).
Relay-Type (Bit)
XIC, XIO, OTE, OTL, OTU, OSR, ONS, OSF – The relay-type (bit) instructions monitor and control the status
of bits.
Timer and Counter
TON, TOF, RTO, CTU, CTD, RES – The timer and counter instructions control operations based on time or
the number of events.
Compare
EQU, NEQ, LES, LEQ, GRT, GEQ, MEQ, LIM – The compare instructions compare values by using a specific
compare operation.
Math
ADD, SUB, MUL, DIV, NEG, CLR, ABS, SQR, SCL, SCP, SWP, CPT, COS, ATN, ASN, ACS, SIN, TAN, XPY, LN,
LOG, DEG, RAD – The math instructions perform arithmetic operations.
Conversion
DCD, ENC, TOD, FRD, GCD – The conversion instructions multiplex and de-multiplex data and perform
conversions between binary and decimal values.
Logical
AND, OR, XOR, NOT – The logical instructions perform bit-wise logical operations on words.
Move
MOV, MVM – The move instructions modify and move words.
File
CPW, COP, FLL, BSL, BSR, FFL, FFU, LFL, LFU – The file instructions perform operations on file data.
Sequencer
SQC, SQO, SQL – Sequencer instructions are used to control automatic assembly machines that have
consistent and repeatable operations.
Program Control
JMP, LBL, JSR, SBR, RET, SUS, TND, MCR, END – The program flow instructions change the flow of
ladder program execution.
Input and Output
IIM, IOM, REF – The input and output instructions allow you to selectively update data without waiting
for the input and output scans.
User Interrupt
STS, INT, UID, UIE, UIF – The user interrupt instructions allow you to interrupt your program based on
defined events.
Process Control
PID – The process control instruction provides closed-loop control.
ASCII
ABL, ACB, ACI, ACL, ACN, AEX, AHL, AIC, ARD, ARL, ASC, ASR, AWA, AWT – The ASCII instructions
convert and write ASCII strings.
Communications
MSG, SVC – The communication instructions read or write data to another station.
Recipe
RCP – The recipe instruction allows you to transfer a data set between the recipe database and a set of
user-specified data table elements.
Data Logging
DLG – The data logging instruction allow you to capture time-stamped and date-stamped data.
LCD
LCD - The LCD instruction transfers data from a data file to the LCD and receives a value from the LCD
keypad.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive