beautypg.com

Yaskawa MotionWorks IEC Hardware User Manual

Page 60

background image

MotionWorks IEC Hardware Configuration – 2013-03-26

57

type, for example because it is not configured
and is being asked to return register values.

02

Illegal Data
Address

The data address received in the query is not
an allowable address for the server (or
slave). More specifically, the combination of
reference number and transfer length is
invalid. For a controller with 100 registers,
the PDU addresses the first register as 0, and
the last one as 99. If a request is submitted
with a starting register address of 96 and a
quantity of registers of 4, then this request
will successfully operate (address-wise at
least) on registers 96, 97, 98, and 99. If a
request is submitted with a starting register
address of 96 and a quantity of registers of 5,
then this request will fail with Exception Code
0x02 “Illegal Data Address” since it attempts
to operate on registers 96, 97, 98, 99 and
100, and there is no register with address
100.

03

Illegal Data
Value

A value contained in the query data field is
not an allowable value for server (or slave).
This indicates a fault in the structure of the
remainder of a complex request, such as that
the implied length is incorrect. It specifically
does NOT mean that a data item submitted
for storage in a register has a value outside
the expectation of the application program,