Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 124

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

MELSEC data link function
The following table shows the error codes of MELSEC data link functions.
*1
Error code
Decimal
Hexadec
imal
-1
FFFFH
-2
FFFEH
-3
FFFDH
-5
FFFBH
-6
FFFAH
-8
FFF8H
-11
FFF5H
-12
FFF4H
-13
FFF3H
-16
FFF0H
-17
FFEFH
-18
FFEEH
-31
FFE1H
-32
FFE0H
-33
FFDFH
APPX
122
Appendix 1 Function error codes
Description
■Path error
• The specified path is unavailable.
• The taskDelete was executed in the task using a MELSEC
data link function.
• The task using a MELSEC data link function was deleted with
the taskDelete.
■Device number error
• The specified device number is out of range.
• The specified bit device number is not a multiple of 8.
• The device number and the points for the same block
specified for reading/writing device randomly exceeds the
device range.
■Device type error
The specified device type is unavailable.
■Size error
• The device number and the size exceeds the device range.
• The device number and the size exceeds the range for the
same block.
• The access was made with an odd-number bytes.
• The total points that are specified for each block number of
the mdRandREx/mdRandWEx function exceeds 10,240.
■Number of blocks error
The number of blocks specified to the function for reading/
writing device randomly is out of range.
■Channel number error
The channel number specified with the mdOpen function is
unavailable.
■Insufficient buffer area error
The area size of the read data storage destination is smaller
than the read data size.
■Block number error
The specified block number is unavailable.
■Write protect error
The block number of the specified extended file register
overlaps with the write-protected area of the memory cassette.
■Station number/network number error
• The specified station number or network number is out of
range.
• A device which cannot be accessed by the target station is
specified.
■All stations/group number specification error
A function which does not support specifying all stations and
group number was specified.
■Remote operation error
The specification code specified with the mdControl function is
unavailable.
■Module load error
Loading modules required for executing functions failed.
■Resource timeout error
The resource is being used by another task/thread and is not
released within 30 seconds.
■Communication target unsupported error
The module specified as the communication target by the
network number and station number is not supported.
Corrective action
• Use a path pointer returned with the mdOpen function.
• Check if the taskDelete was executed in the task using a
MELSEC data link function.
• Check if the task using a MELSEC data link function was
deleted with the taskDelete.
• Check the start device number of the specified device.
• Check the device number plus the number of points.
• Specify the start device number of bit device in multiples of 8.
• Check if the specified device is available in the CPU module
on the target station.
• Check the specified device type.
• Check if the specified device is available in the target station.
• Check the specified device size.
• Check the device number and the size.
• Specify an even-number byte.
• Reduce the total points that are specified for each block
number of the mdRandREx/mdRandWEx function to 10,240
or less.
Check the number of the specified blocks.
Check the specified channel number.
Check the area size of the read data storage destination and the
read data size.
• Check the block number (device type) of the specified device.
• Check if the specified device and block number are available
in the target.
• Check the block number (device type) of the extension file
register.
• Check the write protection switch of the memory cassette.
• Check the specified station number and network number.
• Check the devices which can be accessed by the target
station.
• Check if the function allows specifying all stations and group
number.
• When "All stations" or "Group number" is specified to the
station number, specify "Without arrival confirmation" to the
device type.
Check the specified specification code.
• The memory may be insufficient. End other running tasks.
Alternatively, reduce the excess size.
• Check the status of the system drive of the MELIPC.
• Retry.
• The memory may be insufficient. End other running tasks.
• Check if the MELIPC is running normally.
• Reset the MELIPC, or turn the power OFF and ON.
• Check if the module specified as the communication target by
a network number and station number is supported.
• Check the settings of the access target set in MI Configurator.

Advertisement

Table of Contents
loading

Table of Contents