Modem Status block
Simulink® Real-Time™ Library for RS-232
The Modem Status block reads the state of the four input modem control lines.
This block has an output of type
If the input voltage is positive, the output is true. If the input
voltage is negative, the output is false.
The Commtech/Fastcom and Quatech® boards and blocks will be removed in a future release. Do not use them in new models. Instead, use boards and blocks available from www.speedgoat.com/products.
From the list, choose a port. The Port parameter defines the port to configure for this driver block.
Select this check box to monitor the CTS line.
Select this check box to monitor the DSR line.
Select this check box to monitor the RI line.
Select this check box to monitor the DCD line.
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
From the list, choose a port. This parameter specifies the port whose input modem control line states you want to read.
Normally, the ports are set to the following:
COM1 — 0x3F8
COM2 — 0x2F8
COM3 — 0x3E8
COM4 — 0x2E8
A Custom port is one that is set to an address other than these.
If only one board of this type is in the target computer, enter
automatically locate the board.
If two or more boards of this type are in the target computer,
enter the bus number and the PCI slot number of the board associated
with this driver block. Use the format
To determine the bus number and the PCI slot number, type:
tg = slrt; getPCIInfo(tg, 'installed')