EasyManuals Logo

Allen-Bradley Compact GuardLogix 5380 User Manual

Allen-Bradley Compact GuardLogix 5380
116 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background imageLoading...
Page #71 background image
Rockwell Automation Publication 1756-RM012B-EN-P - April 2018 71
Safety Instructions Appendix A
Timer
TON Timer On Delay Time how long a timer is enabled.
TOF Timer Off Delay Time how long a timer is disabled.
RTO Retentive Timer On Accumulate time.
CTU Count Up Count up.
CTD Count Down Count down.
RES Reset Reset a timer or counter.
Compare
CMP
(2)
Compare Perform a comparison on the arithmetic operations you specify in the expression.
EQU Equal To Test whether two values are equal.
GEQ Greater Than Or Equal To Test whether one value is greater than or equal to a second value.
GRT Greater Than Test whether one value is greater than a second value.
LEQ Less Than Or Equal To Test whether one value is less than or equal to a second value.
LES Less Than Test whether one value is less than a second value.
MEQ Masked Comparison for
Equal
Pass source and compare values through a mask and test whether they are equal.
NEQ Not Equal To Test whether one value is not equal to a second value.
LIM Limit Test Test whether a value falls within a specified range.
Move
CLR Clear Clear a value.
MOV Move Copy a value.
MVM Masked Move Copy a specific part of an integer.
SWPB Swap Byte Rearrange the bytes of a value.
Logical
AND Bitwise AND Perform bitwise AND operation.
NOT Bitwise NOT Perform bitwise NOT operation.
OR Bitwise OR Perform bitwise OR operation.
XOR Bitwise Exclusive OR Perform bitwise exclusive OR operation.
Program
Control
JMP Jump To Label Scan of logic jumps to a labeled location within the same routine.
LBL Label Identifies a target location for a JMP instruction.
JSR Jump to Subroutine Jump to a separate routine.
RET Return Return the results of a subroutine.
SBR Subroutine Accept data that is passed to a subroutine by the JSR instruction.
TND Temporary End Mark a temporary end that halts routine execution.
MCR Master Control Reset Forces every rung in a section of logic to execute in the False state.
AFI Always False Instruction Forces a rung to false (rung continues to execute).
NOP No Operation Insert a placeholder in the logic.
EVENT
(3)
Trigger Event Task Trigger one execution of an event task.
Math/
Compute
ADD Add Add two values.
CPT
(2)
Compute Perform the arithmetic operation that is defined in the expression.
SUB Subtract Subtract two values.
MUL Multiply Multiply two values.
DIV Divide Divide two values.
MOD Modulo Determine the remainder after one value is divided by a second value.
SQR Square Root Calculate the square root of a value.
NEG Negate Take the opposite sign of a value.
ABS Absolute Value Take the absolute value of a value.
I/O
GSV
(4)
Get System Value Get controller status information.
SSV
(4)
Set System Value Set controller status information.
(1) When using the COP instruction in a safety routine, you must verify that the length operand is a constant and that the source and destination length are the same.
(2) Advanced operands like SIN, COS, and TAN are not supported in safety routines.
(3) The event instruction triggers a scan of the standard task.
(4) For special considerations when using the GSV and SSV instructions, see the ControlLogix 5580 and GuardLogix 5580 Controllers User Manual, publication 1756-UM543
, or the CompactLogix 5380 and
Compact GuardLogix 5380 User Manual, publication 5069-UM001
.
Table 8 - Ladder Diagram Safety Instructions (Continued)
Type Mnemonic Name Purpose

Table of Contents

Other manuals for Allen-Bradley Compact GuardLogix 5380

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Compact GuardLogix 5380 and is the answer not in the manual?

Allen-Bradley Compact GuardLogix 5380 Specifications

General IconGeneral
BrandAllen-Bradley
ModelCompact GuardLogix 5380
CategoryController
LanguageEnglish

Related product manuals