xPC Target    

RS232 I/O Support


xPC Target interfaces the target PC to an RS-232 device using either the COM1 or COM2 port. This chapter includes the following sections:
Introduction to RS-232 Drivers
Description of hardware connections, Simulink blocks, and MATLAB message structures associated with the Simulink blocks.
RS-232 Synchronous Mode
Procedures to add an RS-232 driver block to your Simulink model, and create the message structures associated with those blocks.
RS-232 Asynchronous Mode
Procedures to add RS-232 driver blocks to your Simulink model, and create the message structures associated with those blocks.
RS-232 Simulink Block Reference
Description of block parameters for Simulink RS-232 driver blocks.
RS-232 MATLAB Structure Reference
Description of the fields in the message structures, and data types supported in the message fields.
RS-232 Binary Mode
Explanation of when to use RS232 Binary Mode and how to select drivers from the xPC Target block library.


  Hardware Board Manufacturers Introduction to RS-232 Drivers