Mitsubishi MELSEC-Q Series User Manual page 608

C controller module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q06ccpu-v-h01

Table of Contents