29
akytec GmbH - Vahrenwalder Str. 269 A - 30179 Hannover - Germany Tel.: +49 (0) 511 16 59 672–0 - www.akytec.de
Function
Error name
Possible causes
– attempt to write a parameter of this
type, which cannot be written to by
this function. Supported Types:
– signed and unsigned integers
(max. 2 bytes);
– enumerated type;
– float16 (currently this type is not
used for Module).
– request for nonexistent parameter
MODBUS_ILLEGAL_
DATA_VALUE
– value outside the parameter limits
MODBUS_WRITE_
MULTIPLE_REGISTERS
MODBUS_ILLEGAL_
DATA_ADDRESS
– writing of a nonexistent parameter;
– attempt to write a parameter,
access to which is denied;
– number of writable registers is
greater than the maximum possible
number (123)
MODBUS_ILLEGAL_
DATA_VALUE
– no terminating character (\0) was
found in the string parameter;
– size of the requested data is less
than the size of the first or last
parameter in the request;
– value outside the parameter limits
Situations leading to errors during operation with the log file are described in
Table 5.9 Errors while working with the log file
Function
Error name
Possible causes
MODBUS_READ_FILE_
RECORD
MODBUS_ILLEGAL_
FUNCTION
– illegal data size (0x07 <= data
length <= 0xF5)
MODBUS_ILLEGAL_
DATA_ADDRESS
– reference type does not meet
specification;
– could not open the file for reading (it
may be missing)
MODBUS_ILLEGAL_
DATA_VALUE
– could not move to the desired offset
in the file
MODBUS_SLAVE_
DEVICE_FAILURE
– file deletion error when deleting;
– request too much data (more than
250 bytes);
– illegal record number (more than
0x270F);
– illegal record length (more than
0x7A)
MODBUS_WRITE_FILE_
RECORD
MODBUS_ILLEGAL_
FUNCTION
– illegal data size (0x09 <= data
length <= 0xFB)
MODBUS_ILLEGAL_
DATA_ADDRESS
– reference type does not meet
specification;
– could not open file for writing