Publication 1756-RM084F-EN-P - July 2002
6-4 Entering Structured Text Logic
Entering Structured Text
The following tables lists each structured text instruction and function.
For more details, see one of these manuals:
Instruction Type: Documents:
General, sequential
instruction
Logix5000 Controllers General Instructions Set Reference Manual
, publication 1756-RM003
Process control or drives
instruction
Logix5000 Controllers Process Control and Drives Instructions Set Reference Manual
, publication 1756-RM006
Motion instruction
Logix5000 Controllers Motion Instructions Set Reference Manual,
publication 1756-RM007
Instruction: Neutral text format:
ABL
ABL(
Channel,SerialPortControl
);
ABS
dest := ABS(
source
);
ACB
ACB(
Channel,SerialPortControl
);
ACL
ACL(
Channel,ClearSerialPortRead,ClearSerialPortWrite
);
ACOS
dest
:= ACOS(
source
);
ADD
dest := sourceA + sourceB
;
AHL
AHL(
Channel,ANDMask,ORMask,SerialPortControl
);
ALM
ALM(
ALM_tag
);
AND
dest := sourceA & sourceB
;
dest := sourceA
AND
sourceB
;
ARD
ARD(
Channel,Destination,SerialPortControl
);
ARL
ARL(
Channel,Destination,SerialPortControl
);
ASIN
dest
:= ASIN(
source
);
ATAN
dest
:= ATAN(
source
);
AWA
AWA(
Channel,Source,SerialPortControl
);
AWT
AWT(
Channel,Source,SerialPortControl
);
BAND
IF
operandA
AND
operandB
THEN
<
statement
>;
ENDIF;
BNOT
IF NOT
operand
THEN
<
statements
>;
ENDIF;
BOR
IF
operandA
OR
operandB
THEN
<
statements
>;
ENDIF;
BTDT
BTD(
BTDT_tag
);
BXOR
IF
operandA
XOR
operandB
THEN
<
statements
>;
ENDIF;