Triggers - Advanced. ETC v1.11
विज्ञापन
विज्ञापन
Triggers - Advanced
Triggers - Advanced
Unison Mosaic Controllers support numerous serial communication ports and optional
and the following advanced triggers & actions, together with
,
and
Lua scripts , provide powerful show
control functionality. Indeed, above and beyond a Controller's lighting & AV control capabilities, a Controller can be used to tie together numerous pieces of equipment with various interfaces to yield a robust and fully integrated show control solution.
Advanced trigger types
Analog Input
The revised MSC and TPC with TPC-RIO hardware has 8 inputs that can be configured as digital or analog inputs in the
tab of the Network view. The RIO 80 and RIO 44 have inputs that can be configured as digital or analog inputs in the
tab of the Network view.
Use the Controller and Input settings to specify which Controller’s analog input should be considered the input source. Alternatively, leave the Input set to Any to match any of the inputs of the Controller and to capture the input as a
variable . To use a RIO's input as the input source, change the Device from Local and select the RIO
number, or leave this as Any.
Now you should specify the range of voltage to trigger on. You can choose whether to trigger every time the voltage changes within the specified range ("Changes in range"), or to only trigger when the voltage enters the specified range ("Enters range"). "Enters range" is generally more useful when you are using analog inputs to trigger timelines, but "Changes in range" would be required if you were using an analog input as a
passed to a Set Intensity action to control the intensity for a group.
The voltage range of a Controller's or RIO's analog input can be configured in the Network view. The smallest measurable voltage change is 0.25V.
Serial Input
RS232 remains a very popular protocol for interfacing equipment and the RS232 port of a Controller or Remote
Device can be configured to support most common data formats. RS485 is a more robust alternative to RS232
(better noise immunity, longer cable lengths and faster data rates) and is a widely supported protocol. A Controller or Remote Device can be configured to receive RS232 full-duplex or RS485 half-duplex in the Network view, see
and
Remote Devices . A TPC with TPC-RIO can receive RS232 full-duplex.
To receive serial from a Controller's serial port, leave Device as Local and use the Controller setting to specify which Controller's serial port should be considered the input source.
If you're using an RS485 expansion module with the original MSC hardware, select which module should be the input source by setting the number next to the Device:
1
2
3
Controller serial port
1st RS485 expansion module
2nd RS485 expansion module (only used if two RS485 modules are connected)
For the MSC X, the number next to the Device setting selects which of the two RS232 ports should be the input source.
Alternatively, set the Device to a RIO and select the RIO number.
- 105 -
Unison Mosaic Designer User Manual
Now define the string of input characters to be matched as the trigger. There are three formats in which serial strings can be entered:
Hex
Decimal
ASCII
A series of hexadecimal characters (0-9, a-f, A-F) where pairs of values are interpreted as a byte.
A series of decimal characters (0-255) separated by "." characters.
A series of ASCII characters. The special characters '\n' for new line, '\r' for carriage return, and '\t' for tab are supported.
Additionally, each byte can be replaced with a wildcard to match a range of input characters and these wildcards can even be captured as
to determine the trigger's action.
Ethernet Input
Use the Controller setting to specify which Controller should process the Ethernet input. Select the Ethernet
Source (see
ger in much the same way as RS232 (see above).
MIDI Input
MIDI is another very popular protocol for interfacing equipment and the MIDI input trigger allows you to define, via a convenient MIDI Message Builder, the type (Short message, MIDI Show Control or Extended) and command string that is to be matched as the trigger. Variables can be captured to determine the trigger's action.
Use the Controller setting to specify which MSC's MIDI port should be considered the input source. To use the
MIDI port on a RIO A, set the Device to RIO A and specify the RIO A number, or leave this as Any. In this case, the RIO number will be captured as a
.
Press Edit to open the Message Builder:
Press Insert New, select one of the three message types and then the specific command and
.
Press Append New to add and define another command string to be matched, the Raise and Lower buttons can be used to define the matching order.
- 106 -
Triggers - Advanced
Press Remove to delete a command string and Clear to delete them all.
The resulting hexadecimal string will be constructed automatically and displayed in the window for reference with question marks ("??") indicating undefined characters in MIDI Show Control (since we do not know in advance how many characters will be captured) or <c>, <d> and <x> as appropriate for Short and Extended messages.
Press Ok to finish.
Use
Options > Preferences > Triggers
to select the default Short MIDI message data format.
A comprehensive guide to MIDI is beyond the scope of this document, see the MIDI Manufacturers Association for more details, and the manual for the equipment to be interfaced will also certainly be an invaluable reference.
DMX Input
DMX-IN Expansion Module required for original MSC hardware. Revised MSC hardware, AVC and MSC X can receive DMX directly. TPC and MSC X can receive DMX-In via Art-Net and sACN.
Use the Controller setting to specify which controller should receive the DMX. If using two DMX-IN Expansion
Modules with an MSC, use the Port setting to specify which module should be considered the input source (modules are numbered in the order they are connected to the MSC).
Now you should specify which DMX channel to look at and the range of values to trigger on. You can choose whether to trigger every time the value changes within the specified range ("Changes in range"), or to only trigger when the value enters the specified range ("Enters range"). "Enters range" is generally more useful when you are using DMX to trigger timelines, but "Changes in range" would be required if you were using a DMX channel as a
passed to a Set Intensity action to control the intensity for a group.
Audio Input
The RIO A has a stereo balanced line level audio input that can be used as a trigger. The original MSC hardware can be used with an audio expansion module, though the RIO A offers a great advance in performance.
To use an MSC with an audio expansion module as the input source, use the Controller setting to specify which
Controller has the expansion module and leave the Device as Local. If two audio modules are connected, set the port number to match which module should be the input source.
To trigger from a RIO A, set Device to RIO A and select the number of the RIO A, or leave this set to Any to cause the trigger to attempt to match against audio input from any RIO A. In this case, the RIO number will be captured as
.
Use the Channel setting to specify whether the trigger should match against the left or right audio channel, or the combination of the two (only available for RIO A). Now select which frequency band to use, or leave this set to the overall volume of the channel. Each audio module analyses the incoming audio as 5 frequency bands. Each
RIO A can analyse incoming audio as up to 30 frequency bands - see
.
The Peak checkbox tells the trigger to match on the decaying level of the last peak in the audio frequency band.
Finally, specify the range of values to trigger on. You can choose whether to trigger every time the value changes within the specified range ("Changes in range"), or to only trigger when the value enters the specified range
("Enters range"). "Enters range" is generally more useful when you are using audio to trigger timelines, but
"Changes in range" would be required if you were using an audio band as a
passed to a Set Intensity action to control the intensity for a group.
- 107 -
Unison Mosaic Designer User Manual
DALI Ballast Error
RIO D, TPC with TPC-RIO or DALI-S Expansion Module required.
Use this to trigger from a DALI ballast reporting an error. Specify the interface then use All to match if any ballast on that interface reports an error. Alternatively select a single address to match to. Next select the error type to match to.
DALI Input
RIO D, TPC with TPC-RIO or DALI-S Expansion Module required.
To use an MSC with a DALI-S expansion module as the input source, use the Controller setting to specify which
Controller has the expansion module and leave the Device as Local. If two DALI-S modules are connected, set the port number to match which module should be the input source.
To use a TPC with TPC-RIO as the input source, use the Controller setting to specify which Controller has the
TPC-RIO and leave the Device as Local.
To trigger from a RIO D, set Device to RIO D and select the number of the RIO D, or leave this set to Any to cause the trigger to attempt to match against DALI input from any RIO D. In this case, the RIO D number will be captured as
The RIO D, TPC with TPC-RIO and DALI-S Expansion Module snoop the DALI bus and so the trigger can be set up to respond to any DALI commands: l l l l l
Command - select Direct Level (0>254), Scene or Relative Level
Address - select All, Group (0>15) or Ballast (1>64)
Min/Max - select the level to match for Direct Level triggering or
Scene - select the scene (1>16) for Scene matching or
Type - select the type of Relative Level command to match
The RIO D and TPC-RIO both recognise DALI input from Light Sensors and Occupancy Sensors that utilise eDALI. When triggering from an Occupancy Sensor select which state is to be matched. When using a Light
Sensor, specify what range of light level (0>254) is to be matched. See the table below for light levels:
Light Sensor Level
0 - 31
32 - 63
64 - 95
96 - 127
128 - 159
160 - 191
192 - 223
224 - 254
Lux Range
0.00 - 7.75
8.00 - 15.75
16.00 - 31.75
32.00 - 63.75
64.00 - 127.75
128.00 - 255.75
256.00 - 511.75
512.00 - 1008.00
DALI Bus Power
RIO D or TPC with TPC-RIO required.
- 108 -
Triggers - Advanced
Use this trigger if you want to act upon a change of the electrical state of a specific DALI bus. Buses can be in one of three states: Correct Power, Incorrect Power and No Power.
BPS Button
The BPS has eight buttons which can be used as triggers.
Use the configuration pane to select which Controller should process the trigger. Select the BPS, button number
(or leave as Any - see
) and the type of button event (Press, Held, Repeat, Release). Setting the button number to Any will capture the pressed button as a
Paradigm Indicator
Use this trigger for integration with a Unison Paradigm system. Specify an Indicator Type and then the relevant trigger matching information for that indicator. Setting a parameter to Any will capture the value as a
.
Note: To use this trigger ensure a Paradigm Processor IP address has been specified in the
tab.
Remote Device Online
Use this trigger, not the Startup trigger (which will fire before the Remote Devices can be detected), if you wish to act upon the detection of a Remote Device, for example to configure it with settings other than its defaults.
Use the configuration pane to select which Controller should process the trigger and select the Remote Device's type and identification number (or leave as Any - see
Remote Device Offline
Use this trigger if you wish to act upon the loss of a Remote Device, for example to enter a failsafe state and issue a warning.
Use the configuration pane to select which Controller should process the trigger and select the Remote Device's type and number (or leave as Any - see
).
Advanced action types
Set Timeline Rate
The set timeline rate action allows the playback speed of a particular timeline to be modified on the fly. You can select which timeline you want to control or get the timeline number from a
. The rate is specified as a percentage, where 100% is the programmed rate, 200% would be double speed, and 50% would be half speed. The rate can also be driven by a
.
Set Timeline Position
The set timeline position action allows the playback position of a particular timeline to be modified on the fly, typically the timeline would be paused to prevent it running on by itself. You can select which timeline you want to control or get the timeline number from a
. The position is specified as a percentage, where 0% is the start and 100% the end. The position can also be driven by a
- 109 -
Unison Mosaic Designer User Manual
Set Timecode
Use this to set the timecode position for one of the six Time Sources (set the appropriate timecode format).
Set Fixture RGB
Use this to inhibit a fixture's RGB levels selectively either to a fixed value or to track a variable. The latter makes for some very interesting realtime effects when used in conjunction with 2D and Media presets. Set a fade time to introduce the change.
Clear Fixture RGB
Use this to clear one or all fixture RGB inhibitions (see above), set a fade time to release the change(s).
Set DALI Level
Use this to set an intensity level on DALI fixtures patched to a specified Interface. You can specify whether you want all of the fixtures on that Interface, fixtures in a certain group or a single fixture to be affected by the level change. You can also specify a fade time or choose to reuse the last fade time stored on the ballasts.
Recall DALI Scene
Use this to a DALI scene on DALI fixtures patched to a specified Interface. You can specify whether you want all of the fixtures on that Interface, fixtures in a certain group or a single fixture to be affected by the scene change.
You can also specify a fade time or choose to reuse the last fade time stored on the ballasts.
DALI Command
Use this to send a DALI command to DALI fixtures patched to a specified Interface. You can specify whether you want all of the fixtures on that Interface, fixtures in a certain group or a single fixture to be affected by the command. DALI commands include off, fade up/down, step up/down, step to min/max, step down and off and step up and on. Where fading is involved, you can specify a fade rate or choose to reuse the last fade rate stored on the ballasts.
Mark DALI Ballast Fixed
Use this to mark all or a single emergency ballast as fixed on the specified interface.
DALI Start Emergency Test
Use this to start a Duration or Function test on all or a single DALI address(es) on the specified interface.
DALI Stop Emergency Test
Use this to stop a Duration or Function test on all or a single DALI address(es) on the specified interface.
- 110 -
Triggers - Advanced
Set Text Slot
The Set Text Slot trigger action allows you to change the value of a text slot from a trigger, see the
preset.
You select the slot either by picking from the Text Slot list or by specifying a variable. If you use a variable, the variable must have captured a string in the trigger, and that string must be the name of an existing text slot.
The value to put in the text slot is then selected with the second variable.
Inject Trigger
Use this to fire a Trigger. You can specify which trigger you want to fire or which variable you want to use to get the trigger number from. You can also choose whether you want test the conditions of that trigger or not.
Run Script
Use this to run a
Lua script , press Launch Editor to open the script editing dialog. If you can not achieve what you
want with the triggers and actions provided it is almost certain that a script can be defined to solve your problem.
Unison Mosaic Controllers support a scripting language that can be used for handling complicated conditional triggering or other advanced control requirements. The user can write scripts and set them to run in response to any trigger event. From within a script you can do all the things that you can do with a trigger in the triggers screen – access passed-in variables, test conditions and perform actions - but you can also define more complicated conditional statements and perform mathematical operations.
Designer provides sample scripts which are located in Program Files at \ETC\Mosaic\Designer\resources\scripts\actions.
WARNING: Scripts are an advanced feature intended to solve problems that cannot be addressed in any other way. They are not as user-friendly as the normal triggers interface and incorrectly written scripts will not work as intended and could cause other problems with the operation of your Controller. For help with writing scripts, please see the
Trigger Script Programming Guide , or please
to discuss requirements for a particular project.
Digital Output
The RIO 08 has eight relay outputs, the RIO 44 has four and the RIO 80 none.
Use the configuration pane to select the RIO, output and the state of the relay.
Serial Output
RS232 remains a very popular protocol for interfacing equipment and the RS232 port of a Controller or Remote
Device can be configured to support most common data formats. RS485 is a more robust alternative to RS232
(better noise immunity, longer cable lengths and faster data rates) and is a widely supported protocol. A Controller or Remote Device can be configured to send RS232 full-duplex or RS485 half-duplex in the Network view, see
and
Remote Devices . A TPC with TPC-RIO can send RS232 full-duplex.
To send serial from a Controller's serial port, use the Controller setting to specify the Controller number, leave the
Device as Local and choose a port number. For the revised MSC hardware and TPC with TPC-RIO this should
- 111 -
Unison Mosaic Designer User Manual be set to 1. For the original MSC hardware this should be set to 1 if using the onboard RS232 port, or 2 or 3 if using an RS485 expansion module. For the MSC X this should be set to 1 or 2, depending which RS232 port is being used.
Alternatively, set the Device to a RIO and select the RIO number.
Now define the string of output characters. There are three formats in which serial strings can be entered:
Hex
Decimal
ASCII
A series of hexadecimal characters (0-9, a-f, A-F) where pairs of values are interpreted as a byte.
A series of decimal characters (0-255) separated by "." characters.
A series of ASCII characters. The special characters '\n' for new line, '\r' for carriage return, and '\t' for tab are supported.
Ethernet Output
Use the Controller setting to specify which Controller should generate the Ethernet output. Define the recipient's
IP address and Port, select the messaging protocol (UDP, TCP) and define the string of output characters to be transmitted. The recipients IP address and port number can be passed with variables.
MIDI Output
MIDI is another very popular protocol for interfacing equipment and the MIDI input trigger allows you to define, via a convenient MIDI Message Builder, the type (Short message, MIDI Show Control or Extended) and command string that is to be output.
Use the Controller setting to specify which MSC's MIDI port should be used as the output. To use the MIDI port on a RIO A, set the Device to RIO A and specify the RIO A number.
Press Edit to open the Message Builder:
Press Insert New, select one of the three message types and then the specific command and variables.
- 112 -
Triggers - Advanced
Press Append New to add and define another command string to be output, the Raise and Lower buttons can be used to define the output order.
Press Remove to delete a command string and Clear to delete them all.
The resulting hexadecimal string will be constructed automatically and displayed in the window for reference with question marks ("??") indicating undefined characters.
Press Ok to finish.
Use
Options > Preferences > Triggers
to select the default Short MIDI message data format.
A comprehensive guide to MIDI is beyond the scope of this document, see the MIDI Manufacturers Association for more details, and the manual for the equipment to be interfaced will also certainly be an invaluable reference.
Set BPS Button LED
The BPS has eight buttons each with an integral white LED.
Use the configuration pane to select the BPS, button number (which can be driven by a
) and the desired
LED behaviour. Enabling "Set all other LEDs to default" will set these LEDs to their default values as specified in
Paradigm Action
Use this to trigger a Paradigm system. Select the type of command you wish to send then specify the parameters relevant to that action type.
Disable Audio Input
Use this to stop a RIO A or an audio expansion module from processing audio. This can aid troubleshooting as audio activity tends to fill the log. Leave Device as Local to disable a module, or select RIO A and specify the
RIO A number.
Toggle eDMX Pass-Thru
Use this to enable or disable eDMX Pass-Thru on an MSC's DMX ports. Choose which port you want to enable or disable by choosing from the port selection box. See
for more information.
Hardware Reset
Use this to force the Controller(s) to perform a hard reset which is equivalent to a power cycle. Note that unlike
PC based solutions there is no particular advantage or maintenance requirement to periodically reset a Controller, this action is offered purely as a method of resetting the system to a defined, start-up state.
- 113 -
डाउनलोड
विज्ञापन