Delta AH500 Programming Manual page 397

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
1002
TMRH
Device X
Y
M
S
1
S
2
Symbol:
Explanation:
1.
The timer used in the instruction TMR takes 100 milliseconds as the timing unit, and the timer
used in the instruction TMRH takes 1 millisecond as the timing unit.
2.
The timers for the subroutine's exclusive use are T1920~T2047.
3.
The values of the timers used in TMR and TMRH should be within the range between 0 and
32767.
4.
If the same timer is used repeatedly in the program, including in the different instructions TMR
and TMRH, the setting value is the one that the value of the timer matches first.
5.
As long as users add the letter S in front of the device T, the timer used in the instruction TMR
becomes the accumulative timer. When the conditional contact is OFF, the accumulative timer
value is not reset. When the conditional contact is ON, the timer counts from the current value.
6.
If the same timer is used repeatedly in the program, it is OFF when one of the conditional
contacts is OFF.
7.
If the same timer is used repeatedly as the timer for the subroutine's exclusive use and the
accumulative timer in the program, it is OFF when one of the conditional contacts is OFF.
8.
When the timer is switched from ON to OFF and the conditional contact is ON, the timer is
reset and counts again.
9.
When the instruction TMR is executed, the specified timer coil is ON and the timer begins to
count. As the value of the timer matches the setting value, the state of the contact is as follows.
Normally open (NO) contact
Normally closed (NC) contact
Example 1:
When X0.0 is ON, the setting value 50 is loaded to the timer T0. When the value of T0 matches 50,
the contact of T0 is ON.
Operand
S
, S
1
2
S
T
C
HC
D
Pulse instruction 16-bit instruction (5 steps) 32-bit instruction
: Timer number
S
1
: Setting value of the timer
S
2
C ha pt er 6 A p pl i e d In s tr uc t io ns
L
SM SR
E
PR
AH500
Word
Word
ON
OFF
Function
16-bit timer
K
16# "$"
DF
6 - 2 2 9

Advertisement

Table of Contents
loading

Table of Contents