MODBUS TCP and PROFINET Can Live With Each Other
MODBUS TCP and PROFINET Can Live With Each Other
- It is an open-source protocol, so there are many devices that support Modbus i.e.
SCADA, HMI, Power Meters, fans, mass flow meters, frequency drive level and
temperature transmitters and others.
- MODBUS TCP and PROFINET can live with each other
- The Modbus “Slave Address” field usually used on MODBUS Serial Line is replaced by a
single byte “Unit Identifier” within the MBAP Header. The ‘Unit Identifier’ is used to
communicate via devices such as bridges, routers and gateways that use a single IP
address to support multiple independent MODBUS end units.
- When the Master sends a message to the Slave, it is the function code field which
informs the server of what type of action to perform.
- All MODBUS requests and responses are designed in such a way that the recipient can
verify that a message is finished. For FCs where the MODBUS PDU has a fixed length,
Unrestricted
the FC alone is sufficient. For function codes carrying a variable amount of data in the
request or response, the data field includes a byte count.
- When MODBUS is carried over TCP, additional length information is carried in the
MBAP header to allow the recipient to recognize message boundaries even if the
message has been split into multiple packets for transmission. The existence of explicit
and implicit length rules, and use of a CRC-32 error check code (on Ethernet) results in
an infinitesimal chance of undetected corruption to a request or response message.
Licensing
Modbus RTU
(MB_Comm_Load,Mb_Master,MB_Slave blocks)
(MB_Comm_Load,Mb_Master,MB_Slave blocks)
Modbus TCP
Unrestricted
Main Resources and Concepts were delivered in order implement Modbus RTU/TCP
in SIMATIC
Data length
Start address: Read input words:
0 (WORD) per call: 04
30001 to 39999 0 to 9998
1 to 125
Unrestricted
Data length (bits) Writing an output
Start address:
1=Write per call: 05 bit:
1 to 9999
1 0 to 9998
Unrestricted
The event
counter is
incremented
when the
Modbus
request was
executed
successfully. If
an error
occurred
during
execution of a
Modbus
function, a
message is
sent by the
server but the
event counter
is not
incremented.
1 WORD per
call
3 to 10,
12 to 79, Reserved
82 to 255
Unrestricted
Unrestricted