18 - 48
18.4 Error Code and Error Message Lists
18.4.1 Actions by error codes generated at function execution
18
TROUBLESHOOTING
(3) Error codes returned by MELSEC data link functions
The following provides the error descriptions and corrective actions corresponding to
individual error codes returned when the MELSEC data link functions are executed.
Refer to this section (1) for the common error codes returned by bus interface
functions and MELSEC data link functions.
(To next page)
Table18.10 Error codes returned by MELSEC data link functions
Return value
(HEX)
Error description Corrective action
0 Normal completion
-1
(0xFFFF)
Path error
The specified path is invalid.
Check the path pointer that was returned by the
mdOpen function.
-2
(0xFFFE)
Device number error
The specified device number is out of range.
When specifying the bit device, the device number is not a multiple of
8.
In mdRandR / mdRandW function, the specified device number +
points of the same block is out of range.
Check the head device number for the
specified device.
Check the specified device number + points of
the same block.
-3
(0xFFFD)
Device type error
The specified device type is invalid.
Check if the specified device type is in the
device list.
-5
(0xFFFB)
Size error
The device number and size are over the device range.
Access was attempted using an odd device.
The device number and size are over the range for the same block.
Check the specified device size.
Check the device number and size.
-6
(0xFFFA)
Number of block error
The number of blocks specified in dev[0] for device random read/
write is out of range.
Check the number of blocks specified in dev[0].
-8
(0xFFF8)
Channel number error
The channel number specified in the mdOpen function is invalid.
Check the specified channel number.
-11
(0xFFF5)
Insufficient buffer area
The read area size for read data storage array variables is too small.
Check the read size and the read data storage
destination size.
-12
(0xFFF4)
Block error
The specified block number of the extension file register is invalid.
Check the block number (device type) of the
extension file register.
-13
(0xFFF3)
Write protect error
The specified block number of the extension file register is
overlapping with the write protect area of the memory cassette.
Check the block number (device type) of the
extension file register.
Check the write protect DIP switch of the
accessed memory cassette.
-16
(0xFFF0)
Station number error
The specified station number is out of range.
Check the specified station number.
-17
(0xFFEF)
All-station/ group number specification error
A function that does not support all-station /group number
specification was specified.
Check if the function supports all-station /
group number specification.
-18
(0xFFEE)
Remote instruction error
An undesignated code was specified.
Check the specified code.
-19
(0xFFED)
SEND/RECV channel number error
The channel number specified with the SEND/RECV function is out
of range.
Check the specified channel number.
-31
(0xFFE1)
Module load error
An attempt to load a module, which is necessary to execute the
function, has failed.
Check the status of the system ROM drive.