n
After a send command, the acknowledgement telegram must be read by a call of the
FC/SFC 218 SER_RCV.
n
The request telegrams send by the master and the respond telegrams of a slave have
the following structure:
Telegram structure
Start sign
Slave address Function Code
Data
Flow control
End sign
n
A request can be directed to a special slave or at all slaves as broadcast message.
n
To mark a broadcast message, the slave address 0 is used.
n
In opposite to a "normal" send command, the broadcast does not require a telegram
evaluation via FC/SFC 218 SER_RCV.
n
Only write commands may be sent as broadcast.
Modbus offers 2 different transfer modes. The mode selection happens during runtime by
using the FC/SFC 216 SER_CFG.
n
ASCII mode: Every byte is transferred in the 2 sign ASCII code. The data are marked
with a start and an end sign. This causes a transparent but slow transfer.
n
RTU mode: Every byte is transferred as one character. This enables a higher data
pass through as the ASCII mode. Instead of start and end sign, a time control is used.
The following Modbus Protocols are supported by the RS485 interface:
n
Modbus RTU Master
n
Modbus ASCII Master
Broadcast with slave
address = 0
ASCII, RTU mode
Supported Modbus proto-
cols
System 300S
+
Deployment PtP communication
Protocols and procedures
HB140 | CPU | 315-4PN23 | en | 18-02
83
Содержание SPEED7 300S+ CPU 315PN
Страница 1: ...CPU 315 4PN23 Manual HB140 CPU 315 4PN23 en 18 02 System 300S SPEED7 CPU 315PN...
Страница 89: ...System 300S Deployment PtP communication Modbus Example communication HB140 CPU 315 4PN23 en 18 02 89...
Страница 155: ...Appendix System 300S Appendix HB140 CPU 315 4PN23 en 18 02 155...