Specifications

RS-232 Simulink Block Reference
2-31
RS-232 MATLAB Structure Reference
You do not use all message fields in all messages. For example, a message to
send data would not use the message field
.RecData, but would use the field
.SendData. However, knowing the possible message fields will be helpful when
you are creating any of the message structures.
This section contains the following topics:
RS-232 Send/Receive Message Structure (Synchronous) — Description of
the message fields for the send/receive structure associated with RS-232
asynchronous mode and the RS-232 Send/Receive block.
RS-232 Send Message Structure (Asynchronous) — Description of the
message fields for the send structure associated with RS-232 synchronous
mode and the RS-232 Send block.
RS-232 Receive Message Structure (Asynchronous) — Description of the
message fields for the receive structure associated with RS-232 synchronous
mode and the RS-232 Receive block.
Supported Data Types for Message Fields — List of supported data types
and the format you use to indicate those types in message fields.
Message
Structure
Name
Enter the name of the MATLAB structure this block uses to
receive messages and data from an RS-232 device. For
information on creating this structure, see “Creating
RS-232 Message Structures (Asynchronous)” on page 2-22.
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