Delta AH500 Programming Manual page 325

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
0701
TTMR
Device X
Y
M
D
n
Symbol:
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.
K0 (unit: 1 second)
K1 (unit: 100 milliseconds)
K2 (unit: 10 milliseonds)
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.
Operand
D, n
S
T
C
HC
D
Pulse instruction
D : Device in which the time is stored
n : Multiplier
n
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Teach mode timer
L
SM SR
E
PR
16-Bit instruction (5 steps)
AH500
D
1×T
10×T
100×T
Function
K
16# "$"
DF
32-Bit instruction
Word
Word
6 - 1 5 7

Advertisement

Table of Contents
loading

Table of Contents