B-6 F650 DIGITAL BAY CONTROLLER GEK-106310-AF
B.2 MODBUS F650 APPENDIX B: MODBUS PROTOCOL
+[A]+ +[B]+ +[C]------------------------+ +[D]--+
01 90 07 XX XX
Error code...........
Writting function 67:
+[A]+ +[B]+ +[C]------------------------+ -+ +[D]--+
01 C3 03 XX XX
B.2.6 Function codes
B.2.7 Exception and error responses
The following table shows error codes defined in ModBus protocol:
CODE MODBUS NAME F650 DEFINITION COMMENT
HEX DEC
03 3 Read Holding
Registers
Reading of any
value
These functions allow the master to read one or more consecutive relay
addresses. Registers are always 16-bits long, with the most important byte first.
The maximum number of registers that can be read in a single package is 125,
equivalent to 250 bytes.
04 4 Read Input
Regi
sters
Reading of any
value
42 66 Setting Group
Rea
d
Reading of values
affected by
setting groups
This function allows the master to read any setting/actual value that belongs to
an
y setting groups, active or not, in one or more consecutive relay addresses.
Registers are always 16-bits long, with the most important byte first. The
maximum number of registers that can be read in a single package is 125,
equivalent to 250 bytes.
10 16 Preset Multiple
Regi
sters
Writing This function allows the master to write one or more registers, representing one or
more settings. Registers are 2-byte long values, transmitted with the most
important byte first. The maximum number of registers that can be written in a
single package is 125, equivalent to 250 bytes.
43 67 Setting Group
Wri
te
Writtig of values
affected by
sseting
This function allows the master to write any setting that belongs to any setting
gr
oup, active or not, in one or more consecutive relay addresses. Registers are
always 16-bits long, with the most important byte first. The maximum number of
registers that can be written in a single package is 125, equivalent to 250 bytes.
01 ILLEGAL FUNCTION Slave does not support the function code received.
02 ILLEGAL DATA ADDRESS Master is using an incorrect address.
03 ILLEGAL DATA VALUE Slave has detected an invalid value.
04 ILLEGAL RESPONSE LENGTH Response to the master’s request exceeds the maximum size for that function code.
05 ACKNOWLEDGE Generic acknowledgement.
06 SLAVE DEVICE BUSY Slave is busy and cannot perform the requested operation.
07 NEGATIVE ACKNOWLEDGE Negative acknowledgement.