3. Instruction Set Operands: D : Device for absolute value operation Explanation 1. The instruct ion conducts absolute value operation on D 2. This instruction is generally used in pulse execution mode (ABSP, DABSP). 3. If operand D uses index F, then only 16-bit instruction is available. Program Example: When X0 goes from OFF to ON, ABS instruction obtains the absolute value of the content in D0. X0 3-257 API Mnemonic Operands Function Controllers 87 D ABS P Absolute Value ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F ABS, ABSP: 3 steps DABS, DABSP:
5 steps D * * * * * * * * PULSE 16-bit 32-bit SA2 SA2 SA2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 SE SE SE ABS D0