Delta AH500 Programming Manual page 327

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
0702
STMR
Device X
Y
M
S
m
D
Symbol:
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.
Operand
S, m, D
S
T
C
HC
D
Pulse instruction
S : Timer number
m : Setting value of the timer
D : Output device
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Special timer
L
SM SR
E
PR
16-Bit instruction (7 steps)
AH500
Function
K
16# "$"
DF
32-Bit instruction
T0~T2047
Word
Bit
6 - 1 5 9

Advertisement

Table of Contents
loading

Table of Contents