Clear operation record
This instruction clears the operation record of the configuration number specified by s_nNumber.
Input
Specifies the configuration number in the range from 0–7
Instead of using this instruction, you can also send the command from a web page created with Control Web Creator. Refer to the Web Server Function Manual for details.
if an unset configuration number has been specified.
if the specified configuration number is outside the permissible range.
if the area specified using the index modifier exceeds the limit.
if an unset configuration number has been specified.
if the specified configuration number is outside the permissible range.
if the area specified using the index modifier exceeds the limit.
All input and output variables used for programming this function have been declared in the POU header.The same POU header is used for all programming languages.
VAR
bStart: BOOL:=FALSE;
bStop: BOOL:=FALSE;
bClear: BOOL:=FALSE;
@'': @'';
END_VAR
BODY
WORKSPACE
NETWORK_LIST_TYPE := NWTYPELD ;
END_WORKSPACE
NET_WORK
NETWORK_TYPE := NWTYPELD ;
NETWORK_LABEL := ;
NETWORK_TITLE := ;
NETWORK_HEIGHT := 5 ;
NETWORK_BODY
B(B_CONTACT,,bStart,5,1,7,3,R);
B(B_F,FP_OPERATION_RECORDING_START!,,13,0,30,4,,?DEN?Ds_nNumber?AENO);
B(B_VARIN,,0,11,2,13,4,);
L(1,0,1,5);
L(1,2,5,2);
L(7,2,13,2);
END_NETWORK_BODY
END_NET_WORK
NET_WORK
NETWORK_TYPE := NWTYPELD ;
NETWORK_LABEL := ;
NETWORK_TITLE := ;
NETWORK_HEIGHT := 5 ;
NETWORK_BODY
B(B_CONTACT,,bStop,5,1,7,3,R);
B(B_F,FP_OPERATION_RECORDING_STOP!,,13,0,30,4,,?DEN?Ds_nNumber?AENO);
B(B_VARIN,,0,11,2,13,4,);
L(1,0,1,5);
L(1,2,5,2);
L(7,2,13,2);
END_NETWORK_BODY
END_NET_WORK
NET_WORK
NETWORK_TYPE := NWTYPELD ;
NETWORK_LABEL := ;
NETWORK_TITLE := ;
NETWORK_HEIGHT := 5 ;
NETWORK_BODY
B(B_CONTACT,,bClear,5,1,7,3,R);
B(B_F,FP_OPERATION_RECORDING_CLEAR!,,13,0,30,4,,?DEN?Ds_nNumber?AENO);
B(B_VARIN,,0,11,2,13,4,);
L(1,0,1,5);
L(1,2,5,2);
L(7,2,13,2);
END_NETWORK_BODY
END_NET_WORK
NET_WORK
NETWORK_TYPE := NWTYPELD ;
NETWORK_LABEL := ;
NETWORK_TITLE := ;
NETWORK_HEIGHT := 5 ;
NETWORK_BODY
L(1,0,1,5);
END_NETWORK_BODY
END_NET_WORK
END_BODY
If DF(bClear) Then
FP_OPERATION_RECORDING_CLEAR(s_nNumber := 0);
End_if;
If DF(bStart) Then
FP_OPERATION_RECORDING_START(s_nNumber := 0);
End_if;
If DF(bStop) Then
FP_OPERATION_RECORDING_STOP_(s_nNumber := 0);
End_if;