其实很简单 有计数器作为秒 SM0.5作为一秒脉冲 用计数器计分 计数器计时 计数器计天 计数器计月 计数器计年 很简单的哦
TITLE=程序注释
Network 1 // 网络标题
// 网络注释
LD SM0.5
EU
LD M0.0
CTU C1, 60
Network 2
LD C1
= M0.0
Network 3
LD M0.0
EU
LD M0.1
CTU C2, 60
Network 4
LD C2
= M0.1
Network 5
LD M0.1
EU
LD M0.2
CTU C3, 60
Network 6
LD C3
= M0.2
Network 7
LD M0.2
EU
LD M0.3
CTU C4, 24
Network 8
LD C4
= M0.3
Network 9
LD M0.3
EU
LD M0.4
CTU C5, 30
Network 10
LD C5
= M0.4
Network 11
LD M0.4
EU
LD M0.5
CTU C6, 12
Network 12
LD C5
= M0.5