FUNCTION_BLOCK DeleteCalibrationPoint
COP_LEVEL(TRUE, inLevelArr, 0, outLevelArr, 0, 0, FALSE);
COP_VOLUME(TRUE, inVolumeArr, 0, outVolumeArr, 0, 0, FALSE);

FOR calIndex := deleteIndex TO 9 DO
	outLevelArr[calIndex] := outLevelArr[calIndex + 1];
	outVolumeArr[calIndex] := outVolumeArr[calIndex + 1];
END_FOR;

outLevelArr[10] := 0.0;
outVolumeArr[10] := 0.0;
success := TRUE;
END_FUNCTION_BLOCK