Modbus Communication - Siemens SINAMICS V90 Operating Instructions Manual

Hide thumbs Also See for SINAMICS V90:
Table of Contents

Advertisement

Control functions
7.7 Communicating with the PLC
Note
The USS protocol communication libraries of S7-200, S7-200 SMART V1.0, and S7-1200 do
not support the communication with the SINAMICS V90 servo drive.
7.7.2

Modbus communication

The SINAMICS V90 servo drive can communicate with the PLC through an RS485 cable
with the standard Modbus communication protocol. For Modbus data format, V90 supports
Modbus RTU while Modbus ASCII is not supported. Registers of the servo drive can be read
by Modbus function code FC3 and written via function code FC6 (single register) or FC16
(multiple registers).
Supported function codes
The SINAMICS V90 supports only three function codes. If a request with an unknown
function code is received, an error message will be returned.
FC3 - Read holding registers
When a message with FC = 0x03 is received, then four bytes of data are expected, that is,
FC3 has four bytes of data:
● Two bytes for the starting address
● Two bytes for the number of registers
Byte 1
Address
FC6 - Write single register
When a message with FC = 0x06 is received, then four bytes of data are expected, that is,
FC6 has four bytes of data:
● Two bytes for the register address
● Two bytes for the register value
Byte 1
Address
212
Byte 2
Byte 3
FC (0x03)
Start ad-
dress
(most
significant
byte)
Byte 2
Byte 3
FC (0x06)
Start ad-
dress
(most
significant
byte)
Byte 4
Byte 5
Start ad-
Number of
dress
registers
(least
(most
significant
significant
byte)
byte)
Byte 4
Byte 5
Start ad-
New regis-
dress
ter value
(least
(most
significant
significant
byte)
byte)
Operating Instructions, 09/2015, A5E36037884
Byte 6
Byte 7
Number of
CRC
registers
(least
significant
byte)
Byte 6
Byte 7
New regis-
CRC
ter value
(least
significant
byte)
SINAMICS V90, SIMOTICS S-1FL6
Byte 8
CRC
Byte 8
CRC

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simotics s-1fl6

Table of Contents