Introduction to Q-SYS Control (Part 1)

Q-SYS Quantum Level 1 Training (Online) : Introduction to Q-SYS Control

10 ) Control Troubleshooting

9m 52s

Video Transcript

Introduction to Q-SYS Control (Part 1) 6m 23s
00:07
Welcome to "Intro to Control”, as part of our QSC Quantum Training,
00:11
an advanced service and troubleshooting curriculum.
00:14
My name is Patrick Heyn and today we’re going to go deep on Control!
00:18
Before we start, I highly recommend you complete Control 101 AND Control 201.
00:24
Like a said, this is going to get really detailed, really fast, so do your homework first.
00:30
Let’s start with some basics. Control can be as simple as GPIO for controlling devices such as microphones.
00:37
We press a button on a microphone when we want it to mute it, and then press it again when you want to unmute.
00:42
GPIO can also control the LED on that microphone to show red for muted and green for unmuted.
00:49
Then we have Q-SYS native control with our touchscreens
00:53
and user interfaces that can be included as part of the control system.
00:57
Q-SYS can also receive incoming control from 3rd party control systems such as Crestron,
01:03
AMX, Extron and other devices that can be part of the design.
01:07
And finally, we have outgoing controls from Q-SYS to other devices.
01:12
Once our system receives control signals from these methods, then we can then have programming
01:18
comprised of simple control components, plug-ins, or scripts provide the functionality we need.
01:23
Our objectives for these videos will be to take a look at these different control methods with a little more detail,
01:29
see how they are applied, and then provide some basic trouble guidelines.
01:34
Let’s start with the control signals in and out of Q-SYS, these signal types include:
01:39
Ethernet, GPIO, and RS232 or serial.
01:44
With serial connections,
01:46
Q-SYS provides bi-directional RS232 ports on either a Phoenix connector or a DB-9 style connector,
01:53
just like the Data Terminal Equipment (or DTE connection) on a PC.
01:59
If your design requires a different type of serial connection such as an RS485 or RS422,
02:06
then we typically recommend you go with an Ethernet-based 3rd party control device.
02:11
Serial connections on I/O-22’s and most Q-SYS Core’s have a DB9 male DTE connector.
02:18
When connecting to a DCE device with a female connector,
02:22
a male to female straight through cable can be used.
02:25
When connecting Q-SYS to another DTE male connection,
02:29
then we will need a female to female cross over or a “null modem” cable.
02:34
Other serial connectors on Q-SYS devices such as on the IO-8 flex
02:38
and the Core 110f have a three pin Phoenix connector,
02:43
so for troubleshooting purposes,
02:44
this makes it a lot easier if we need to swap to transmit/receive connectors.
02:49
So pop quiz: Do Q-SYS serial ports support flow control? Here’s a hint: there are two types of flow controls.
02:58
One is hardware based, and as I mentioned earlier, we only use transmit,
03:03
receive and ground connections and not the additional RS-232 pins required for flow control.
03:09
So NO on hardware based flow control.
03:12
And while it would be possible technically to code some sort of Lua script flow control,
03:18
there's no native support for software based flow control.
03:21
So in order to add Serial control to your design, you will need to add the Serial Port component of a Q-SYS
03:29
device from your inventory to the schematic and create one (and only one) connection to a control component
03:37
that will run on the Core.
03:39
Remember: You cannot daisy chain RS-232 signals!
03:44
In this example design, if you open the Command Buttons component,
03:48
you can see our Serial Port configuration of 9600, 8, none and 1.
03:56
This is a very common Serial Port configuration.
03:59
In this case, 9600 refers to the Baud Rate, we have 8 data bits, no parity represented by the “N”, and 1 stop bit.
04:11
So, if we look at the data flow of this serial signal at the bottom, we start at idle with the transmit pin held high.
04:20
Then the start bit goes low and then we see the waveform for this piece of data
04:25
followed by the stop bit as a high.
04:28
For the next transmission,
04:29
we see the stop bit again and this pattern will continue for every character of a string to be sent out.
04:35
So in our example, the first Byte of our transmission is 08 Hex,
04:42
this is literally what the signal would look like from position D0 to D7 for our 8 data bits.
04:49
Since we are configured for 8 data bits, we know that when we start the start bit,
04:54
to look for 8 data bits at 9600 baud speed, then we have our stop bit, then we see the start bit for the next order to
05:04
signal the start of the second data transmission, et cetera.
05:08
Now, if we employ parity in our serial signal, typically we would see one less data bit to follow for our parity bit,
05:16
so it reduces the number of actual data bits to 7.
05:20
In our example we have Even parity, so if the sum of our data bit is odd,
05:26
then my parity bit goes high to make our Data Bit sum an even number.
05:31
If our Parity bit was set to odd, the Parity Bit would be low to produce a sum that is odd.
05:37
The most common serial configuration is 8, none, and 1, but in rare cases, parity may be required.
05:45
Since Q-SYS does not support serial control from 3rd party devices natively,
05:49
we need to add this functionality to our Q-SYS design.
05:53
To do this, we need to add a Serial to TCP Script to the schematic.
05:58
Then we will need to add that script to the Q-Sys device’s serial connection.
06:03
Since this control utilizes a script, keep in mind that a scripting license will be required.
06:08
Alright, that seems like a good place to stop.
06:11
When we get back, we’ll open up Q-SYS Designer software
06:14
and show you how to configure Serial Communication GPIO in Q-SYS. See you then!

Downloads and Links

Introduction to Q-SYS Control (Part 1) 6m 23s