Redundant instruction
This is a redundant instruction. It is replaced by: FP_SET_ERROR, FP_MEWNET_CLEAR_ERRORS
The error no. specified by n* is copied into the system variable sys_iSelfDiagnosticErrorCode that reads the corresponding special data register. Setting n*=0, all error numbers greater than 43 are cleared and the error LED turns off.
Input
must be a constant
self-diagnostic error code number, range: 0 and 100 to 299
Instead of using this F instruction, we recommend using the corresponding FP7 instruction: FP_SET_ERROR
At the same time, the self-diagnostic error-flag sys_bIsSelfDiagnosticError is set and ERROR LED on the CPU is turned ON.
The contents of the error flag sys_bIsSelfDiagnosticError and the error no. can be read and checked using Control FPWIN Pro
or the corresponding system variables.Error number areas:
When n* = 100 to 199, the operation is halted.
When n* = 200 to 299, the operation is continued.
if n* exceeds the limit.
if n* exceeds the limit.