DVP-ES3 Series Programming Manual Symbol S 1 : Timer number S 2 : Setting value for the timer Explanation 1. The TMR instruction uses 100ms as the timing unit in the timer, while, the TMRH instruction uses 1ms as the timing _6 unit in the timer. 2. The value of S 2 for both the TMR and TMRH instructions is between 0–32767. 3. If you use the same timer repeatedly in the program, including using it in different TMR and TMRH instructions, the timer that completes the measurement first will be the only one that counts. 4. The T timer resets to zero automatically when the conditional contact changes from ON to OFF. 5.
When you add the letter S in front of the device T, the timer in the instruction TMR is an accumulative timer. When the conditional contact is OFF, the value of the accumulative timer is not cleared. When the conditional contact is ON, the timer counts from the current value. Use the RST instruction with the ST accumulative timer when you want to clear the value of the timer. 6. If you use the same T timer in the program, it is OFF when one of the conditional contacts is OFF. 7. If you use the same T timer for T and ST in the program, T is OFF when one of the conditional contacts is OFF. 8. 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 contact is ON. 6-270 API Instruction code Operand Function 1002 TMRH S1, S2 16-bit timer (1ms) Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 Pulse instruction 16-bit instruction 32-bit instruction - ES3 -