Publication 1766-RM001A-EN-P - October 2008
206
Math Instructions
NEG - Negate
Instruction Type: output
Use the NEG instruction to change the sign of the Source and place the
result in the Destination.
CLR - Clear
Instruction Type: output
Use the CLR instruction to set the Destination to a value of zero.
ABS - Absolute Value
Instruction Type: output
Exeution Time for the ABS Instruction
The ABS instruction takes the absolute value of the Source and places it in
the Destination. The data range for this instruction is
-2,147,483,648…2,147,483,647 or IEEE-754 floating point value.
NEG
Negate
Source
N7:0
0<
Dest
N7:1
0<
NEG
Execution Time for the NEG Instruction
Controller
Data Size
When Rung Is:
True
False
MicroLogix 1400
word
1.3570 µs
0.3548 µs
long word
1.3660 µs
0.3413 µs
CLR
Clear
Dest
N7:0
0<
CLR
Execution Time for the CLR Instruction
Controller
Data Size
When Rung Is:
True
False
MicroLogix 1400
word
2.0522 µs
0.3714 µs
long word
2.0125 µs
0.3691 µs
ABS
Absolute Value
Source
N7:0
0<
Dest
N7:1
0<
ABS
Controller
Data Size
When Rung Is:
True
False
MicroLogix 1400
word
1.4410 µs
0.3750 µs
long word
1.5390 µs
0.3730 µs
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive