引用引用第8楼凯起鑫来于2023-08-23 20:03发表的 :和梯形图有一点点儿差距,加一条ELSE L15.7:=0;就和梯形图一致了
引用引用第4楼chzhuhai于2023-08-23 11:32发表的 :IF SM0.0 AND L4.7 AND L16.7 AND (NOT L1.7 AND L2.7 OR # startl0.0 AND L1.7 AND (AC2<>B OR NOT L14.3) AND (L14.2 AND AC1=B OR L15.7)) THEN L15.7:=1; END_IF;大概是这样的,细节自已进一步。