Procedures examples (DDF-Syntax) DMXC3

From English DMXC-Wiki
Revision as of 01:20, 8 February 2024 by Jkuehn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Books.png Procedures examples (DDF-Syntax) DMXC3 Article describes
DMXControl 3.1.2
Arrow back.png Functions
Table of Contents
Part 1: Basics
Part 2: Functions
Part 3: Procedures
Part 4: Examples

The following table shows some examples of predefined as well as custom procedures.

Tag Variant Code
reset Complete device reset
<reset>
  <set dmxchannel="0" value="255" />
  <hold value="6000" />
  <restore dmxchannel="0" />
</reset>

Reset

  • Set DMX channel 1 to DMX value 255.
  • Hold the DMX value for 6000 ms (6 s).
  • Restore the original DMX value for DMX channel 1.
lamp_on Turn on lamp
<lamp_on>
  <set dmxchannel="0" value="255" />
  <hold value="4000" />
  <restore dmxchannel="0" />
</lamp_on>

Turn on lamp

  • Set DMX channel 1 to DMX value 255.
  • Hold the DMX value for 4000 ms (4 s).
  • Restore the original DMX value for DMX channel 1.
lamp_off Turn off lamp
<lamp_off>
  <set dmxchannel="0" value="50" />
  <hold value="8000" />
  <restore dmxchannel="0" />
</lamp_off>

Turn off lamp

  • Set DMX channel 1 to DMX value 50.
  • Hold the DMX value for 8000 ms (8 s).
  • Restore the original DMX value for DMX channel 1.
procedure Eco-mode for lamp
<procedure name="Lamp eco mode">
  <set dmxchannel="0" value="170" />
  <hold value="4500" />
  <restore dmxchannel="0" />
</procedure>

Custom procedure named "Eco-mode for lamp"

  • Set DMX channel 1 to DMX value 170.
  • Hold the DMX value for 4500 ms (4.5 s).
  • Restore the original DMX value for DMX channel 1.