引用引用第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;大概是这样的,细节自已进一步。