AutoSync THEN IF sReduState.eRedundancyState [...] state (*IF sReduState.eRedundancyState [...] ToStandalone(); END_IF IF sReduState.eRedundancyState
; END_VAR IF sReduState.eRedundancyState = RDCY.STATE.RS_CYCLE_ACTIVE THEN b := b + 1; END_IF
对冗余状态的查询。 PROGRAM PRG_PLC VAR sReduState: RedundancyState; b [...] Result := RDCY.GetRedundancyState