Delta Electronics AH — 3.1.1 Items of Standard Instructions

Chapter 3 Standard Instructions 3_ 3-5 F/DF: floating-point instruction The floating-point instructions can be 32-bit, single-precision floating-point instructions, or 64-bit, double-precision floating-point instructions. For more inforamation on floating-point value, refer to Chapter 2: Devices, Symbols and Instructions of this manual. To identify 32-bit single precision floating-point instructions, an F is added in front of the name of the 32-bit instruction. To identify 64-bit double precision floating-point instructions, a DF is added in front of the name of the 32-bit instruction.

32-bit single-precision floating-point value instruction F+ When X0.0 is ON, the 32-bit data in (D11, D10) is added to (D21, D20) and stored to (D31, D30). 64-bit double-precision floating-point value instruction DF+ When X0.0 is ON, the data in (D13, D12, D11, D10) is added to (D23, D22, D21, D20) and storred to (D33, D32, D31, D30). P: pulse execution instruction The continuous execution and the pulse execution: The execution of the instructions can be continuous execution or pulse execution. When a program contains less continuous executed instrucitons, the time needed to execute the program could be less because of a shorter scan cycle.

You can obtain a shorter scan cycle by using pulse instruction appropriately in the program. When the driving contact of the instruction is ON, the pulse function allows the instruction to execute once in one scan cycle. The instruction will execute again only when the driving contact is switched from OFF to ON again. Examples: Pulse execution When M1 is switched from OFF to ON, the instruction MOVP is executed once. The instruction will not be executed any more within the scan cycle. Therefore, it is called the pulse instruction.