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

Controller module
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
Description
Decimal
Hexadec
imal
Path error
-1
FFFFH
• 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
-2
FFFEH
• 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.
-3
FFFDH
Device type error
The specified device type is unavailable.
Size error
-5
FFFBH
• 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.
-6
FFFAH
Number of blocks error
The number of blocks specified to the function for reading/
writing device randomly is out of range.
Channel number error
-8
FFF8H
The channel number specified with the mdOpen function is
unavailable.
-11
FFF5H
Insufficient buffer area error
The area size of the read data storage destination is smaller
than the read data size.
Block number error
-12
FFF4H
The specified block number is unavailable.
-13
FFF3H
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
-16
FFF0H
• 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
-17
FFEFH
A function which does not support specifying all stations and
group number was specified.
Remote operation error
-18
FFEEH
The specification code specified with the mdControl function is
unavailable.
SEND/RECV channel number error
-19
FFEDH
The channel number specified in the SEND/RECV function is
out of range.
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 target station.
• Check if the device is accessible to the specified network
number and station number. (Page 17 Accessible range
and devices)
• 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
• CC-Link IE TSN: 1 to 8
• MELSECNET/H network: 1 to 8
4 ERROR CODE LIST
4.3 MELSEC Data Link Functions
4
235

Advertisement

Table of Contents
loading

Table of Contents