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 |
ASCII Decode | Parse ASCII character vector into Simulink values |
ASCII Decode V2 | Parse ASCII character vector into Simulink values |
FIFO Read | Read simple data streams |
FIFO Write | Write simple data streams |
FIFO Read HDRS | Read multiple ASCII data streams according to header information |
FIFO Read Binary | Read multiple binary data streams according to header information |
Modem Control | Control state of RTS and DTR output lines on serial port |
Modem Status | Return state of modem control lines |
Legacy Serial Read | Read input data for baseboard serial communications |
Legacy Serial Setup | Set up baseboard serial communications |
Legacy Serial Write | Write output data for baseboard serial communications |
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.