
Jetter AG
Programming | 8
User Manual – JetControl 365MC
104 / 148
Example 1
The Modbus/TCP server on the controller receives from a Modbus/TCP client the
command
read multiple registers
starting from register number 100. The num-
ber of registers to be read is 5. Register 272702
Register Offset
contains the
value 1000000. Hence, registers 1000100 through 1000104 will be read.
Example 2
The Modbus/TCP server of the controller receives from a Modbus/TCP client the
Modbus/TCP command
read input discretes
with the input number 210 and the
instruction to read this input. Register 272704
Input offset
contains the value
100000000. Hence, input 100000210 of a peripheral module, such as JX3-DI16,
will be read.
Example 3
The Modbus/TCP server on the JC-365MC receives from a Modbus/TCP client
the command
write coils
specifying output number 205 and the instruction to en-
able this output. Register 272705
Output offset
contains the value 100000000.
Hence, output 100000205, for example of a peripheral module JX3-DO16, will be
activated.
Supported commands
Class 0
Command
Description
fc 3
read multiple registers
Reading register sets
The starting register number within the controller is cal-
culated as follows: Add the register number specified in
the command to the content of R 272702
Register Off-
set
.
fc 16
write multiple registers
Writing register sets
The starting register number within the controller is cal-
culated as follows: Add the register number specified in
the command to the content of R 272702
Register Off-
set
.
Tab. 56:
Supported commands – Class 0
Class 1
Command
Description
fc 1
read coils
Reading outputs
The output register number within the controller is calcu-
lated as follows: Add the output number specified in the
command to the content of R 272705
Output offset
.
fc 2
read input discretes
Reading inputs
The input register number within the controller is calcu-
lated as follows: Add the input number specified in the
command to the content of R 272704
Input offset
.
fc 4
read input registers
Reading inputs blockwise in 16-bit words
The starting register number within the controller is cal-
culated as follows: Add the register number specified in
the command to the content of R 272702
Register Off-
set
.