
Define a ladder logic routine Chapter 8
Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 151
N: XIC(input3)OTE(output3);
END_ROUTINE
Example with a single branch
N: XIC(conveyor_a)[,XIC(input_1) XIO(input_2) ]OTE(light_1);
Example with two simultaneous branches
N: XIC(conveyor_b)[,XIC(input_1) XIO(input_2) ,XIC(input_a)
XIO(input_b) ]OTE(light_2);
These tables lists each ladder instruction and its neutral text format. For details
about a specific instruction, see the listed reference manuals.
Ladder Logic Instruction Reference Manuals
Instruction Type Resource
Basic, sequential instruction
Logix5000 Controllers General Instructions Set Reference Manual, publication 1756-RM003.
Process control or drives
instruction
Logix5000 Controllers Advanced Process Control and Drives Instruction Set Reference Manual, publication 1756-RM006.
Motion instruction Logix5000 Controllers Motion Instructions Reference Manual, publication MOTION-RM002.
Relay Ladder Instructions
Instruction Neutral Text Format
ABL ABL(channel,serial_port_control,character_count);
ABS ABS(source,destination);
ACB ACB(channel,serial_port_control,character_count);
ACL ACL(channel,clear_serial_port_read,clear_serial_port_write);
ACS ACS(source,destination);
ADD ADD(source_A,source_B,destination);
AFI AFI();
AHL AHL(channel,ANDMask,ORMask,serial_port_control,channel_status);
ALMA ALMA (alma_tag,in,program_acknowledge_all,program_disable,program_enable);
ALMD ALMD (almd_tag,program_acknowledge,program_reset,program_disable,
program_enable);
AND AND(source_A,source_B,destination);
ARD ARD(channel,destination,serial_port_control,string_length,
characters_read);
ARL ARL(channel,destination,serial_port_control,string_length,
characters_read);
ASN ASN(source,destination);
ATN ATN(source,destination);
AVC AVC(avc_tag,feedback_type,feedback_reation_time,delay_type,delay_time,
output_follows_actuate,actuate,delay_enable,feedback_1,input_status,
output_status,reset);
AVE AVE(array,dim_to_vary,destination,control,length,position);
Neutral text for ladder
instructions