_GLOBAL globalvar1: INT; arr1 [...] Redundancy] DataSyncAlways=1 [...] SyncDataResult: BOOL; END_VAR GVL_1
SyncAlways=1 的变量 PROGRAM 冗余 [...] PLC_PRG VAR b: INT [...] .STATE.RS_CYCLE_ACTIVE THEN b := b + 1; END