发布于 2012-10-21 20:41:04
1楼
看看S_CU计数器的帮助文件,帮助文件里面提到你这个现象了:If the counter is set and if RLO = 1 at the inputs CU, the counter will count once in the next scan cycle, even if there was no change from a positive to a negative edge or vice versa.
用M100.0的上升作为计数器S_CU的输入,可以解决这种现象。
佛对我说:“你的痛苦来自于你的欲望,没有欲望也就没有痛苦!”