串行端口 (RS232) 协议模块
采用 RS-232 协议的串行通信
RS-232 是一种成熟的点对点串行通信协议。使用 RS-232 模块通过目标计算机内置的串行端口与其他设备进行通信。有关目标计算机串行端口的详细信息,请参阅制造商文档。
请参阅RS-232 串行通信。
模块
| ASCII Encode | 将 Simulink 值转换为 uint8 字符向量 |
| ASCII Decode | 将 ASCII 字符向量解析为 Simulink 值 |
| ASCII Decode V2 | 将 ASCII 字符向量解析为 Simulink 值 |
| FIFO Read | Read simple data streams |
| FIFO Write | 编写简单的数据流 |
| FIFO Read HDRS | Read multiple ASCII data streams according to header information |
| FIFO Read Binary | 根据头信息读取多个二进制数据流 |
| Modem Control | 控制串行端口上 RTS 和 DTR 输出线的状态 |
| Modem Status | 调制解调器控制线的返回状态 |
| Legacy Serial Read | 读取底板串行通信的输入数据 |
| Legacy Serial Setup | 设置基座串行通信 |
| Legacy Serial Write | 写入基板串行通信的输出数据 |
| Legacy Serial Port | Send and receive data over mainboard baseboard serial port |
| Legacy Serial Port F | Send and receive data over mainboard baseboard serial port with FIFO |
主题
- RS-232 串行通信
了解用于目标计算机与串行设备之间串行通信的 Simulink® Real-Time™ 库。
- RS-232 Legacy Drivers
To represent multiple serial devices, use composite Simulink Real-Time RS-232 mainboard driver blocks.








