Melsec Data Link Functions - Mitsubishi Electric MELSEC iQ-R C Programming Manual

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

4.3

MELSEC Data Link Functions

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
-19
FFEDH
-31
FFE1H
4 ERROR CODE LIST
184
4.3 MELSEC Data Link Functions
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 of the points that are specified for each block
number of the mdRandREx function or the mdRandWEx
function exceeds 10240.
■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 specified block number of the extension file register
overlaps with the write protect area of the memory card.
■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.
■SEND/RECV channel number error
The channel number specified in the SEND/RECV function is
out of range.
■Module load error
Loading modules required for executing functions failed.
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 function or the mdRandWEx
function 10240 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 protect switch of the memory card.
• 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.
Specify the channel number within the range.
• CC-Link IE Controller Network: 1 to 8
• CC-Link IE Field Network: 1 to 2
• The memory may be insufficient. End another running task or
reduce the access size.
• Check the status of the system drive of the C Controller
module.

Advertisement

Table of Contents
loading

Table of Contents