RS-232
RS-232 is a mature point-to-point protocol for serial communication. Use the RS-232 blocks to communicate with other devices by using the serial ports built into the target computer. For detailed information about the target computer serial ports, see the manufacturer documentation.
Blocks
ASCII Encode | Convert Simulink values into uint8 character vector (Since R2020b) |
ASCII Decode | Parse ASCII character vector into Simulink values (Since R2020b) |
ASCII Decode V2 | Parse ASCII character vector into Simulink values (Since R2020b) |
FIFO Read | Read simple data streams (Since R2020b) |
FIFO Write | Write simple data streams (Since R2020b) |
FIFO Read HDRS | Read multiple ASCII data streams according to header information (Since R2020b) |
FIFO Read Binary | Read multiple binary data streams according to header information (Since R2020b) |
Modem Control | Control state of RTS and DTR output lines on serial port (Since R2020b) |
Modem Status | Return state of modem control lines (Since R2020b) |
Legacy Serial Read | Read input data for baseboard serial communications (Since R2020b) |
Legacy Serial Setup | Set up baseboard serial communications (Since R2020b) |
Legacy Serial Write | Write output data for baseboard serial communications (Since R2020b) |
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 |
Topics
- RS-232 Serial Communication
Learn about the Simulink® Real-Time™ library for serial communication between target computers and serial devices.
- RS-232 Legacy Drivers
To represent multiple serial devices, use composite Simulink Real-Time RS-232 mainboard driver blocks.