adHere: ARRAY[0..8]OF LREAL;
apfb: ARRAY[0..8]OF LREAL;
data.GetHere(adHere:= ADR(adHere), pfb:= ADR(apfb));
IF adHere[0]<800 OR adHere[0]>950 THEN
data.SetDO(10,1);
ELSE
data.SetDO(10,0 );
END_IF
adHere: ARRAY[0..8]OF LREAL;
apfb: ARRAY[0..8]OF LREAL;
data.GetHere(adHere:= ADR(adHere), pfb:= ADR(apfb));
IF adHere[0]<800 OR adHere[0]>950 THEN
data.SetDO(10,1);
ELSE
data.SetDO(10,0 );
END_IF