Delta AH500 — 6.8.2 Explanation of Convenience Instructions

AH500 Programming Manual API 0701 Symbol: D : Device in which the time is stored Word n : Multiplier Word Explanation: 1. A second is taken as the timing unit. The time for which the 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 can not be altered. Otherwise, the time will be counted incorrectly. 2. When the conditional contact is ON, D is reset to 0. 3. Setting the multiplier: When n is 0, D takes 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 takes 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 takes 10 milliseconds as the timing unit. 4. When the on-line editing is used, please reset the conditional contact to initialize the instruction. 5. The operand n should be within the range between 0 and 2. Example 1: 1. The time for which the button switch X0.0 has been turned ON is multiplied by n, and the product is stored in D0. 2. When X0.0 is switched OFF, the value in D0 is unchanged.

6-158 Instruction code Operand Function TTMR D, n Teaching timer Device X Y M S T C HC D L SM SR E PR K 16# “$” DF D       n         Pulse instruction 16-Bit instruction (5 steps) 32-Bit instruction - AH500 - n D K0 (unit: 1 second) 1×T K1 (unit: 100 milliseconds) 10×T K2 (unit: 10 milliseonds) 100×T