このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
Modbus RS485 Server Read
ライブラリ:
Simulink Coder Support Package for STMicroelectronics Nucleo Boards /
Common
Embedded Coder Support Package for STMicroelectronics STM32 Processors /
STM32F746G-Discovery
Embedded Coder Support Package for STMicroelectronics STM32 Processors /
STM32F769I-Discovery
Embedded Coder Support Package for STMicroelectronics STM32 Processors /
STM32L475VG-Discovery (B-L475E-IOT01A)
Description
In the Modbus RS485 Server Read block, the server device reads data from its registers. The server can read data only from one register per read operation.
Simulink® Coder™ Support Package for STMicroelectronics® Nucleo Boards and Embedded Coder® Support Package for STMicroelectronics Discovery Boards supports the Modbus® communication protocol over the RS485 network. Each device on the RS485 network is referenced by a unique 8-bit address or identifier.
This table categories the server registers referenced by the Modbus server device.
| Register Type | Register Size |
|---|---|
| Coil | 1-bit |
| Discrete Input | 1-bit |
| Holding Register | 16-bit |
| Input Register | 16-bit |
The server can perform either a read or a write operation on its registers.
端子
Output
Parameters
拡張機能
バージョン履歴
R2021b で導入
