9.7.
Error Processing
The errors that may occur during the program execution are shown below.
9.7.1.
SendCmd Instruction Error
These error codes are generated when the SendCmd instruction ends in error.
●SendCmd instruction error code [Output_CmdErrorID, Output_CmdErrorIDEx]
An error code of ErrorID is stored in Output_CmdsErrorID, and an error code of ErrorIDEx is
stored in Output_CmdsErrorIDEx.
[Output_CmdErrorID]
Value
16#0400
An input parameter for an instruction exceeded the valid range for an input
variable.
16#0406
The data position specified for an instruction exceeded the data area range.
16#0407
The results of instruction processing exceeded the data area range of the
output parameter.
16#0800
An error occurred when a FINS command was sent or received.
Detailed information is stored in Output_CmdErrorIDEx.
16#0801
The port is being used.
Additional Information
For details on errors, refer to A-3 Error Code Details of the NJ/NX-series Instructions
Reference Manual (Cat. No. W502).
For information on troubleshooting, refer to 9-3 Troubleshooting of the CJ-series Serial
Communications Units Operation Manual for NJ-series CPU Unit (Cat. No. W494).
[Output_CmdErrorIDEx]
For information on error codes to be stored, refer to the list of expansion error code
ErrorIDEx described in SendCmd in Section 2. Instruction Descriptions of the NJ/NX-series
Instructions Reference Manual (Cat. No. W502).
Error description
9.Program
52