1. |
To display the value by the minute, use DIV instruction to divide the present value by 60000. (Round down the remainder of the calculation.) |
|
![](images/timer_052.gif) |
The result of the calculation above
([The present value] /[60000]) is stored in this variable. |
|
2. |
Insert the branch, and use the MOD instruction to calculate the reminder of the present value when divided by 60000. |
|
![](images/timer_052_2.gif) |
The result of the calculation above ([The reminder of the present value] / [6000]) is stored in this variable. |
|
3. |
To display the value (that is the reminder calculated by the MOD instruction) by the second, use the DIV instruction to divide the value by 1000. Then, the remained present value (that is not displayed by the minute) can be displayed by the second. |
|
![](images/timer_052_3.gif) |
The result of the calculation above ([The reminder calculated by the MOD instruction] / [1000]) is stored in this variable. |
|
4. |
Allocate the value of the present value when divided by 6000 (minute), and the value of its reminder when divided by 1000 (second) to the Numeric Display separately. And then, the present value will be displayed by the minute and second. |
|
![](images/timer_052_4.gif) |
Select it from the pull-down menu of the Word Address. |
|
By calculating as shown above, you can display the value by the unit you like. |