Specifications

2 RS232 I/O Support
2-30
RS-232 Send Block (Asynchronous)
The Block Parameters dialog box for the Asynchronous Send block
contains the following fields.
RS-232 Receive Block (Asynchronous)
The Block Parameters dialog box for the Asynchronous Receive block
contains the following fields.
Parameter Description
Port This list allows you to define which COM port is used for
sending data. The model must contain one RS232 Setup
block to configure its COM port. Otherwise, an error
message is displayed.
Message
Structure
Name
Enter the name of the MATLAB structure this block uses to
send messages and data to an RS-232 device. For
information to create this structure, see “Creating RS-232
Message Structures (Synchronous)” on page 2-13.
Sample
Time
This entry allows you to define the sample time of the block.
Because the block does not wait until data is received from
the external RS-232 device, you can set sample times to
small values.
Parameter Description
Port This list allows you to define which COM port the data is
used to send and receive data. The model must contain one
RS232 Setup block for the same COM port. Otherwise, an
error message is displayed.