■
Exit codes when communication error occurs
When a wrong command is sent or an error occurs in the CPU unit, a different exit code is
returned. Exit codes in an error state are as follows.
Code Timing of occurrence
4031 Address is too long (Starting device + Number of written points)
C051 The number of devices is outside the specified range.
C056 The starting device is outside the specified range.
C059
Command search: There is no command that matches the receive data command in the MC
protocol command table.
C059 The subcommand is outside the specified range.
C05B The device code is outside the specified range.
C05C Subcommand is in bit unit (0001) and device code is word device.
C05F Receive header check: "Network number" check
C05F Receive header check: "PC number" check
C05F Receive header check: "Destination unit I/O number" check
C05F Error in the number of received and written data
C060 Error in written contact data (except 0/1)
C061
Receive header content check: the number of receive data is smaller than the minimum received
bytes that support header content check.
C061 The number of receive data is smaller than the minimum number of receive bytes.
**50
(Note) No
reference
destination
Receive header check: When a value other than 0x5000 is specified for the sub header, the
value consisting of the first byte of the subheader plus 0x80 is inserted in the high byte "**" of the
error code.
■
Flag operations
Name Description
SR7
SR8
(ER)
To be set in the case of out-of-range in indirect access (index modification).
To be set when the source range is outside the accessible range.
To be set when the slot number [S1] specified with UNITSEL is not 100 (built-in ET-LAN).
When there is not a connection that is specified with the UNITSEL instruction, the
connection is closed.
To be set when the data device specified by S is incorrect or exceeds the area.
The amount of sent data specified by n is incorrect.
The device code and the destination upper address specified by D1 is out of the range.
The destination lower address specified by D2 is out of the range.
The device in which results are stored specified by D3 is incorrect.
17.39 SEND (MC Protocol Master)
17-200 WUME-FP7CPUPGR-12