CPU214是否能实现时钟定时输出控制?如果有,断电重新上电时钟是否能保持?请学长们指教
最佳答案
214可以实现时钟定时输出控制,断电重新上电时钟能保持,前提是断电小于50小时,如果大于50小时可以外加电池卡保持约200天。给你个程序:
LD SM0.0
TODR VB100
LDB= VB103, 16#0
AB>= VB104, 16#0
AB<= VB104, 16#02
LDB= VB103, 16#08
AB>= VB104, 16#0
AB<= VB104, 16#02
OLD
LDB= VB103, 16#16
AB>= VB104, 16#0
AB<= VB104, 16#02
OLD
LDB= VB103, 16#10
AB>= VB104, 16#30
AB<= VB104, 16#32
OLD
LDB= VB103, 16#19
AB>= VB104, 16#10
AB<= VB104, 16#12
OLD
LDB= VB103, 16#03
AB>= VB104, 16#10
AB<= VB104, 16#12
OLD
LDB= VB103, 16#11
AB>= VB104, 16#0
AB<= VB104, 16#02
OLD
LDB= VB103, 16#19
AB>= VB104, 16#40
AB<= VB104, 16#42
OLD
LDB= VB103, 16#03
AB>= VB104, 16#40
AB<= VB104, 16#42
OLD
= Q0.0
= Q0.5
提问者对于答案的评价:
谢谢!
原创文章,作者:ximenziask,如若转载,请注明出处:https://www.zhaoplc.com/plc347615.html