Profinet I/O to Modbus RTU signal mapping
Data length
Profinet I/O
Trigger
Data length
Modbus re-
gister
Name
1 byte out
1
Changed data
1 coil
00012
SetRelay
1 word out
2
Changed data
1 register
40011
SetSpeedRegister
1 word out
3
Changed data
1 register
40012
SetOperationRegister
10 words in
4
Cyclically 10
sec.
10 registers
40001-40010
DeviceName
4 words in
5
Cyclically 1 sec.
4 registers
30017-30020
CommonInputs
16 words in
6
Cyclically 5 sec.
16 registers
30001–30016
MiscInputs
1 word in
7
Cyclically 1 sec.
1 register
30047
AlarmStatus
10 words in
8
Cyclically 10
sec.
10 registers
30021–30030
FirmwareVersion
16 words in
9
Cyclically 10
sec.
16 registers
30031–30046
PartVersionSerialNumber
1 word in
10
Cyclically 1 sec.
1 register
40011
GetSpeedRegister
1 word in
11
Cyclically 1 sec.
1 register
40012
GetOperationRegister
2 bytes in
12
Cyclically 1 sec.
12 coils
00001–00012
ReadCoils
Siemens TIA Portal V14 gateway mapping example
Below is a screenshot from TIA Portal V14 showing how the gateway can be mapped into the system. Use the GSDML file
that is downloadable from the Hilscher website to add support for the Hilscher NT 50-RS-EN gateway into your system.
Basic operation for Modbus RTU
The motor drive must be in ON-state before the tool can be started. The very first command that should be sent to the
motor drive is the ON-state command. It is not mandatory to send the OFF-state command before removing power from
the motor drive.
When the motor drive is in ON-state the speed set-point value can be written and the state can be set to RUN-state by
sending the RUN-state command. This will cause the tool to run at the set-point speed. To stop the tool, set the motor
drive to STOP-state by sending the STOP-state command.
It is recommended to continuously monitor the average speed, average current, tool temperature, motor drive temperature
and the alarm status flag. This will help to detect if there are any issues present during operation.
Example sequence for starting and stopping the tool:
• Write 4 (0x0004) to the “Operation” register, this will set the motor drive to ON-state.
13
en (original)