Arithmetic instructions
Body
When the variable start is set to TRUE, the function is carried out. It searches for the maximum
value and its position in the data_field. The result is here: maximum_value = 222222 and
position = 2.
LD
ST
IF
start
THEN
F271_DMAX( s1_Start:= data_field[0],
s2_End:= data_field[4],
Max=> maximum_value,
Pos=> position);
END_IF;
454