Вариант capzapа другими словами :

R_TRIG1(IN:=current);
if R_TRIG1.Q then
fixResult:=realTemp;
end if