Procedures examples (DDF-Syntax) DMXC3: Difference between revisions

From English DMXC-Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Chaptertitle|Version=DMXControl 3.1.2}}
{{Manual Header
 
| Type = DMXC3 DDFs
{{DMXC3_Manual-Navigation_DDF
| Version = 3.1.2
|backLink = Procedures functions (DDF-Syntax) DMXC3
| LinkBackwards = Procedures functions (DDF-Syntax) DMXC3
|backText = Functions
| TextBackwards = Functions
|forwardLink =
|forwardText =
}}
}}



Revision as of 13:43, 2 March 2025

Blockdevice.png Article describe
DMXControl 3.1.2
Stand: 02.03.2025
Procedures examples (DDF-Syntax) DMXC3
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.