引用
引用第1樓不小心遇見你于2024-11-12 08:08發(fā)表的 :
這句去掉就好了
感謝指點

問題已經(jīng)找到了,是我的另外一個功能塊沒處理好

關(guān)于你的這個建議,情況是這樣的,可能是我的程序問題,就是如果把這句去掉,就會出現(xiàn)一個問題。手動狀態(tài)時候如果FB塊里的工作線圈是置位狀態(tài),在打到自動運行的時候FB塊里的工作線圈狀態(tài)不會復(fù)位,然后氣缸狀態(tài)就會被影響

所以我才加了一個條件不滿足就復(fù)位塊里的線圈

因為剛學(xué)習(xí)用功能塊,還不熟練,我在想是不是功能塊里要盡量避免用SET/RST
