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