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.
99
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).
139
Relay-Type (Bit) XIC, XIO, OTE, OTL, OTU, OSR, ONS, OSF – The relay-type (bit) instructions monitor and control the status
of bits.
167
Timer and Counter TON, TOF, RTO, CTU, CTD, RES – The timer and counter instructions control operations based on time or
the number of events.
175
Compare EQU, NEQ, LES, LEQ, GRT, GEQ, MEQ, LIM – The compare instructions compare values by using a specific
compare operation.
189
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.
197
Conversion DCD, ENC, TOD, FRD, GCD – The conversion instructions multiplex and de-multiplex data and perform
conversions between binary and decimal values.
243
Logical AND, OR, XOR, NOT – The logical instructions perform bit-wise logical operations on words. 255
Move MOV, MVM – The move instructions modify and move words. 261
File CPW, COP, FLL, BSL, BSR, FFL, FFU, LFL, LFU – The file instructions perform operations on file data. 267
Sequencer SQC, SQO, SQL – Sequencer instructions are used to control automatic assembly machines that have
consistent and repeatable operations.
287
Program Control JMP, LBL, JSR, SBR, RET, SUS, TND, MCR, END – The program flow instructions change the flow of
ladder program execution.
297
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.
303
User Interrupt STS, INT, UID, UIE, UIF – The user interrupt instructions allow you to interrupt your program based on
defined events.
307
Process Control PID – The process control instruction provides closed-loop control. 329
ASCII ABL, ACB, ACI, ACL, ACN, AEX, AHL, AIC, ARD, ARL, ASC, ASR, AWA, AWT – The ASCII instructions
convert and write ASCII strings.
361
Communications MSG, SVC – The communication instructions read or write data to another station. 393
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.
511
Data Logging DLG – The data logging instruction allow you to capture time-stamped and date-stamped data. 511
LCD LCD - The LCD instruction transfers data from a data file to the LCD and receives a value from the LCD
keypad.
533
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive