产品
下载
联系我们
网站地图
返回首页

微信扫一扫
在线技术支持

微信扫一扫
访问视频号

Otasuke FAQ's Book
 FAQ
 Is it possible to display the present value of the Timer by the minute and the seconds separately on the screen?
It is possible by calculating on the Logic side.

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.)

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.

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.

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.

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.
Return to Top Close
常见问题 | 个人信息保护 | 关于知识产权 | 使用条款
版权 (C) 2005- Schneider Electric Japan Holdings Ltd.,和普洛菲斯国际贸易(上海)有限公司版权所有,保留所有权利。
沪ICP备05028659号-3