Delta AH500 — 6.3.2 Explanation of Data Conversion Instructions

Chapter 6 Applied Instructions API 0211 Symbol: D : Device in which the sign of the value is reversed Double word Explanation: The sign of the single-precision floating-point number in the device D is reversed. Example: Before the instruction is executed, the value in (D1, D0) is the negative value 16#AE0F9000. When X0.0 is switched from OFF to ON, the sign of the single-precision floating-point number in (D1, D0) is reversed. In other words, after the instruction is executed, the value in (D1, D0) is the positive value 16#2E0F9000. Before the instruction is executed, the value in (D1, D0) is the positive value 16#2E0F9000.

When X0.0 is switched from OFF to ON, the sign of the single-precision floating-point number in (D1, D0) is reversed. In other words, after the instruction is executed, the value in (D1, D0) is the negative value 16#AE0F9000. 6-93 Instruction code Operand Function FNEG P D Reversing the sign of the 32-bit floating-point number Device X Y M S T C HC D L SM SR E PR K 16# “$” DF D           Pulse instruction 32-bit instruction (3 steps) 64-bit instruction AH500 AH500 -