Situation
#5
:
The
ID
for
the
slave
device
is
not
correct
in
the
polling
definition.
Solution:
Check
and
fix
the
difference
of
ID
number
between
the
polling
definition
and
the
slave
device.
Situation
#6
:
The
Timeout
or
PollDelay
setting
is
not
long
enough.
Solution:
Lengthen
the
Timeout
or
PollDelay
setting
until
it
is
suitable
for
communication
with
the
slave
device.
ComPortNo
BaudRate
DataBit
Parity
StopBit Timeout PollDelay
Operating
Mode
1
9600
8
0
1
120
100
Master
2
9600
8
0
1
3000
1000
Master
3
9600
8
0
1
3000
1000
Master
4
9600
8
0
1
120
100
Master
5
9600
8
0
1
120
100
Master
Possible
causes
of
ERROR
messages
Situation
#1:
ERROR:
ILLEGAL
FUNCTION
.
The
FunctionCode
used
in
the
polling
definition
is
not
an
allowable
action
for
the
slave.
Copyright
©
2014
ICP
DAS
Co.,
Ltd.
All
Rights
Reserved.
∗
E
‐
mail:
‐
27
‐
Solution:
Correct
the
FunctionCode
parameter.
UseComPort
SlaveModbusID
FunctionCode RegStartAddr RegCount
2
1
3
178
2
2
1
3
124
1
2
2
3
178
2
2
2
3
124
1
2
3
3
178
2