Delta AH500 — 6.8.2 Explanation of Convenience Instructions

AH500 Programming Manual API 0702 Symbol: S : Timer number T0~T2047 m : Setting value of the timer Word D : Output device Bit Explanation: 1. The instruction STMR is used to generate the off-delay relay, the one-shot circuit, and the flashing circuit. 2. The timer specified by the instruction TMR takes 100 milliseconds as the timing unit. 3. The timer specified by the instruction STMR can not be used repeatedly. 4. D occupies four consecutive devices. 5. Before the instruction is executed, please reset D ~ D +3. 6.

When the conditional contact is not enabled and the value of the device meets one of the two conditions mentioned below, D , D +1, and D +3 are ON for m seconds before they are switched OFF. When the conditional contact is not enabled and the value of the device does not meet either of the two conditions mentioned below, D ~ D +3 keep OFF.  The value of the timer is less than or equal to m , D is ON, and D +1 is OFF.  The value of the timer is less than m , D +2 is OFF, and D , D +1, and D +3 are ON. 7. When the on-line editing is used, please reset the conditional contact to initialize the instruction. 8. The operand m should be within the range between 1 and 32767. Example: 1.

When X0.0 is ON, the instruction STMR specifies the timer T0, and the setting value of T0 is five seconds. 2. Y0.0 is the off-delay contact. When X0.0 is switched from OFF to ON, Y0.0 is ON. Five minutes after X0.0 is switched from ON to OFF, Y0.0 is OFF. 3. When X0.0 is switched from ON to OFF, Y0.0 is ON for five seconds. 4. When X0.0 is switched from OFF to ON, Y0.2 is ON for five seconds. 5. Five seconds after X0.0 is switched from OFF to ON, Y0.3 is ON. Five seconds after X0.0 is switched from ON to OFF, Y0.3 is OFF.

6-160 Instruction code Operand Function STMR S, m, D Special timer Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S  m         D         Pulse instruction 16-Bit instruction (7 steps) 32-Bit instruction - AH500 -