Protocol; Telegram Structure - BONFIGLIOLI Active cube Operation Manual

Hide thumbs Also See for Active cube:
Table of Contents

Advertisement

7

Protocol

The Modbus/TCP communication protocol is a Client/Server based protocol. Modbus/TCP communica-
tion will always be initialized by the client (e.g. PLC). The server nodes (frequency inverters) do not
communicate with one another.
Modbus/TCP communication will be established by the client via the TCP/IP-Port #502 on the side of
the Modbus/TCP server.
CM-Modbus/TCP and CM-Modbus/TCP-2P only support
• Port #502 for establishing Modbus/TCP connection
• one request per transaction only (NumberMaxOfServerTransaction = 1)
7.1

Telegram structure

A Modbus/TCP telegram comprises the following fields:
MBAP
Function code
MBAP Modbus Application Header
Field
Transaction ID
(transaction identifier)
Protocol ID
(protocol identifier)
Length
ID of data unit
(unit identifier)
• The data unit identifier will not be processed by the server.
• The function code and data field structure are the same in Modbus/TCP and Modbus-
RTU.
• Modbus/TCP uses byte sequence Big-Endian (Motorola format).
The function code tells the server/frequency inverter which action is to be performed. The function
code is followed by a data field containing the parameters of the request (or the response parameters
in the case of the response by the frequency inverter).
If there are no errors while a request is received via Modbus/TCP, the data field will contain the re-
quired data. If an error occurs, the field contains an exception condition code to tell the master that
the request was not processed successfully. For information on how to handle exception conditions
and the exception condition codes, refer to Chapter 7.2.9 "Exception condition codes".
26
Data
(Modbus RTU data contents)
Length
Description
2 bytes
Identification of Mod-
bus request/response
transaction
2 bytes
0 = Modbus protocol
2 bytes
Number of subse-
quent bytes (includ-
ing ID of data unit)
1 byte
Identification of seri-
ally connected Re-
mote Slave
ACU
Modbus/TCP
Client
Server
(inverter)
Initialized by
Written back by the
client
server from the
request received
Initialized by
Written back by the
client
server from the
request received
Initialized by
Initialized by server
client (request)
(response)
Initialized by
Initialized by server
client (request)
(response)
10/13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents