Serial Port (QIO Series)
The QIO Series includes serial port(s) for extension of Q-SYS Control to third-party devices, such as projectors, TVs, and A/V receivers. You can control and read from these devices using Lua script from a Q-SYS scripting component.
Tip: To learn about scripting in Q-SYS, see Control Scripting.
The QIO-S4 features four serial ports:
-
COM 1 is configurable in the QIO-S4 Serial Port 1 inventory component Properties for RS232, RS485 Half Duplex TX, RS485 Half Duplex RX, or RS485/422 Full Duplex.
-
COM 2-4 ports are dedicated to RS232 communication.
RS232 Pinout: COM 1 (Configurable), COM 2-4 (Dedicated)
Pin | Signal Flow | Description |
---|---|---|
N/A | Signal ground | |
TX | Output | Transmit data |
RX | Input | Receive data |
RTS | Output | Ready to Send1 |
CTS | Input | Clear to Send1 |
1. When using hardware flow control.
RS485 Half Duplex TX or RX Pinout: COM 1 (Configurable)
Pin | Signal Flow | Description |
---|---|---|
N/A | Signal ground | |
TX | Input/Output | Differential B- |
RX | (Unused) | (Unused) |
RTS | Input/Output | Differential A+ |
CTS | (Unused) | (Unused) |
RS485/422 Full Duplex: COM 1 (Configurable)
Pin | Signal Flow | Description |
---|---|---|
N/A | Signal ground | |
TX | Output | Differential Z- / Tx- |
RX | Input | Differential A+ / Rx+ |
RTS | Output | Differential Y+ / Tx+ |
CTS | Input | Differential B- / Rx- |
Input Pins
This component has no input pins.
Output Pins
Serial Port
Connect this pin to the Serial Input pin of a Q-SYS scripting component, such as Block Controller, Text Controller, or Control Script. You must configure these components for serial communication.
Name
The Name may contain ASCII letters 'a' through 'z' (case-insensitive), the digits '0' through '9', and the hyphen. Names cannot begin or end with a hyphen. No other symbols, punctuation characters, or blank spaces are permitted.
Note: This name must match the Hostname for the device as defined in Core Manager or Peripheral Manager.
Location
User-defined name that groups the component with other components in the same physical location – for example, "Rack 1" – or in the same organizational scheme.
Is Network Redundant
Select whether the device is connected to redundant networks.
Is Required
When enabled, and the device is not found on the network, the device is reported as 'Missing', which is an error condition. This is the default behavior. When disabled, and the device is not found on the network, the device is reported as 'Not Present', which is not an error condition.
Dynamically Paired
Indicates that this virtual component can be paired with the same type of hardware without changing the network ID of the hardware or the name of this component. Refer to the Q-SYS Core Manager Dynamic Pairing topic for more information. The default is 'No'.
Com Mode
(COM1 / Serial Port 1 only) Select the type of serial communication: RS232 (default), RS485 Half TX, RS485 Half RX, or RS485/422 Full. See the QIO-S4 Serial Port Pinouts section for more information.
Flow Control
Select whether to enable or disable flow control on the serial port. The default is Disabled.
Graphic Properties
Label
Use the Label property to change the name of the component in the schematic. The Label property defaults to the component name. To learn more about renaming schematic elements, see Organizing Your Design.
Position
The coordinates reference a specific place in the schematic - for example,"100,100" (horizontal, vertical). 0,0 is the upper left corner of the schematic.
Fill
Sets the fill color of the component in the schematic.
Script Access Properties
Code Name
Displays the currently assign name for control access. You can use the auto-assigned name or customize it. Q-SYS will automatically check all Code Names in the design to ensure name is unique.
Script Access
Defines whether the component will be accessible by script and/or externally, or not at all. Choices include All, External, None (default), and Script.
- None (default) - Not accessible by any script, plugin, or by Q-SYS Remote Control Protocol (QRC).
- Script - Can be accessed by scripts, such as Text Controller, Block Controllers, and plugins only.
- External - Can only be accessed by 3rd party controls systems using component commands from the Q-SYS Remote Control Protocol (QRC).
- All - No restrictions, can be accessed by 3rd party control systems via Q-SYS Remote Control Protocol (QRC), or script objects or plugin objects.
Tip: Use Script Programmer Mode to quickly view the Script Access setting directly on the component in the design schematic without the need to disconnect from the Q-SYS Core processor.
TX Bytes
Displays a running total of the number of transmitted bytes of data.
RX Bytes
Displays a running total of the number of received bytes of data.
Reset
Click to reset the TX Bytes and RX Bytes counters to zero.
Pin Name |
Value |
String |
Position |
Pins Available |
---|---|---|---|---|
Receive Bytes |
(text) |
Output |
||
Reset |
(trigger) |
Input/Output |
||
Transmit Bytes |
(text) |
Output |
Checking Pinouts
Check the pinout of any equipment, including the cable, to be connected to a Q-SYS serial port for input or output. In many cases, you can solve serial communication problems by inserting a null modem adapter or cable to swap the TX and RX pin positions. The TX pin on one end must be connected to an RX pin on the other end (and vice versa) for data to flow properly.
Proper RS-485/RS-422 Termination
To avoid communication errors with RS-485/RS-422 modes, you must match the terminating resistor's impedance to that of the cable being used. For example, if you are using a 120 Ohm cable, terminate both ends with a 120 Ohm resistor.