Delta DVP-ES3 — 6.8.2 Explanation of Miscellaneous Instructions

Chapter 6 Applied Instructions Symbol D : Recorded time n : Multiplier Explanation 1. This instruction uses seconds as the unit of time. The time for which a button switch has been turned ON is multiplied by n , and the product is stored in D . D +1 is for system use only. When the instruction is executed, the value in D +1 cannot be altered. Otherwise, the time is counted incorrectly. 6_ 2. When the conditional contact is ON, D is reset to 0. 3. Setting the multiplier: when n is 0, D uses a second as the timing unit. When n is 1, the time for which the button switch has been turned ON is multiplied by 10, and D uses 100 milliseconds as the timing unit.

When n is 2, the time for which the button switch has been turned ON is multiplied by 100, and D uses 10 milliseconds as the timing unit. The greater the value in n , the higher the timing resolution. 4. When you use on-line editing, reset the conditional contact to initialize the instruction. 5. The value in n must be between 0 – 2. 6-181 API Instruction code Operand Function 0701 TTMR D, n Teach mode timer Device X Y M S T C HC D FR SM SR E K 16# “$” F D   n      BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type D    n    Pulse instruction 16-Bit instruction 32-Bit instruction - ES3 - n D K0 (unit: 1 second) 1×T K1 (unit:

100 milliseconds) 10×T K2 (unit: 10 milliseconds) 100×T