Mitsubishi MELSEC-Q Series User Manual page 735

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
Completed normally
-1
Path error
(0xFFFF)
The specified path is invalid.
Device No. error
The specified device No. is out of range.
-2
Device No. in the bit device settings is not a multiple of 8.
(0xFFFE)
Device No. plus the number of points specified in mdRandR/
mdRandREx/mdRandW/mdRandWEx function exceeds the range for
the same block.
-3
Device type error
(0xFFFD)
The specified device type is invalid.
Size error
-5
The device No. plus size exceeds the device range.
(0xFFFB)
Access was attempted in odd byte(s).
The device No. plus size exceeds the range for the same block.
Number of blocks error
-6
The number of blocks specified in dev[0] for mdRandR/mdRandREx/
(0xFFFA)
mdRandW/mdRandWEx is out of range.
-8
Channel No. error
(0xFFF8)
The channel No. specified in the mdOpen function is invalid.
-11
Insufficient buffer area
(0xFFF5)
Read data storage size is smaller than the read data size.
-12
Block No. error
(0xFFF4)
The specified block No. is invalid.
Write protect error
-13
The specified block No. of the extension file register is overlapping
(0xFFF3)
with the write protect area of the memory cassette.
-16
Station No. error
(0xFFF0)
The specified station No. is out of range.
All stations/group No. specification error
-17
All stations/group No. specification is not supported by the specified
(0xFFEF)
function.
-18
Remote operation error
(0xFFEE)
An undesignated code was specified.
SEND/RECV channel No. error
-19
The channel No. specified in the SEND/RECV function is out of
(0xFFED)
range.
-31
Module load error
(0xFFE1)
Loading a module required for executing the functions has failed.
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
18.4.1 Actions by error codes generated at function execution
Use a path pointer returned by the mdOpen
function.
Check the start device No. of the specified
device.
Check the device No. plus the number of points
of the same block.
When specifying device No.32768 (8000
higher, use an extended function.
Check if the specified device type is in the
device list.
Check the device size.
Check the device No. plus size.
When specifying device No.32768 (8000
higher, use an extended function.
When specifying a size of 32768 (8000
or more, use an extended function.
Check the number of blocks specified in dev[0].
Check the channel No.
Check the read data size and the read data
storage size.
Check the block No. (device type).
Check if the specified device and block No. are
valid in the target.
Check the block No. (device type) of the
extension file register.
Check the write protect DIP switch of the
accessed memory cassette.
Check the station No.
Check if the function allows for specifying all
stations/group No.
Check the code.
Specify the channel No. within the range (1 to
8).
Check the status of the standard ROM and
system ROM.
18.4 Error Code and Error Message Lists
Corrective action
) or
H
) or
H
) bytes
H
(To next page)
18
- 54
17
18

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q06ccpu-vMelsec q06ccpu-v-bMelsec sw3pvc-ccpu-e

Table of Contents