774 B
774 B
FC552: IN/OUT
If Signal_Is_Forced signal is enabled the DIG_Signal is not write
IF NOT #Signal_Is_Forced THEN
// If is not Forced the DIG_Signal is set with the Real signal
#DIG_Signal := #Signal;
ELSE
// Set the Allarm bit if one signal is Forced on the HMI
#Warning_Signal_Forced := TRUE;
END_IF;
FC553: OUT
!Pasted image 20240112115603.png
IF NOT #Signal_Is_Forced THEN
// If is not Forced the DIG_Signal is set with the Real signal
#DIG_Signal := #Signal;
ELSE
// Set the Allarm bit if one signal is Forced on the HMI
#Warning_Signal_Forced := TRUE;
END_IF;
IF #Visualization THEN
#OUT := #DIG_Signal;
ELSE
#OUT := FALSE;
END_IF;