American DJ
American DJ XS 400
American DJ XS 400, a moving head by American DJ, with 2 modes (16ch: 16 and 18ch: 18). Channel data from Open Fixture Library (MIT), converted to OAV’s fixture format and not checked on a light by this project.
- from Open Fixture Library (MIT)
- not checked on a unit yet
- Kind
- moving head
- Manufacturer
- American DJ
- Modes
- 2 modes (16ch: 16 and 18ch: 18)
- Protocol
- DMX512
- Pan / tilt
- 540° pan · 360° tilt
- Strobe
- no rate in the file: kept open under the 3 Hz cap
- Licence
- MIT
- Verified
- not checked on a unit yet
Try it
Drive American DJ XS 400 without the light
The sliders go through the same Patch and colour split a show uses, and the table is the bytes the light would receive, address by address. Nothing is sent anywhere.
What the light shows
The bytes it receives
| Ch | Channel | Byte | At this value |
|---|
Strobe is held to 3 flashes a second, as the engine holds it; this swatch never flashes, it says the rate.
DMX channels
Every channel of American DJ XS 400, mode by mode
Generated from the fixture file, so it is the table the patch reads. Channel numbers count from the fixture’s start address; values are bytes 0–255.
Mode 16ch · 16-channel 16 channels
| Ch | Channel | Type | Default | What the values do |
|---|---|---|---|---|
| 1 | pan | pan | 128 | 0–255 |
| 2 | tilt | tilt | 128 | 0–255 |
| 3 | tiltContinuousRotation | other | 0 | 0–55 no function · 56–127 tilt continuous · 128–199 tilt continuous · 200–255 no function |
| 4 | tiltContinuousRotationSpeed | speed | 0 | 0–255 |
| 5 | red | colour: red | 0 | 0–255 |
| 6 | green | colour: green | 0 | 0–255 |
| 7 | blue | colour: blue | 0 | 0–255 |
| 8 | white | colour: white | 0 | 0–255 |
| 9 | colorMacrosEffects | control (written only on purpose) | 0 | 0–10 no function · 11–20 color preset (Red) · 21–30 color preset (Green) · 31–40 color preset (Red + Green) · 41–50 color preset (Blue) · 51–60 color preset (Red + Blue) · 61–70 color preset (Green + Blue) · 71–80 color preset (Red + Green + Blue) · 81–123 effect · 124–166 effect (Color mix) · 167–209 effect · 210–249 effect (Color change) · 250–255 effect (Sound control) |
| 10 | strobing | strobe / shutter | 0 | 0–7 open · 8–139 strobe · 140–189 strobe (RampUp) · 190–239 strobe (RampDown) · 240–255 strobe |
| 11 | masterDimmer | dimmer | 0 | 0–255 |
| 12 | programs | control (written only on purpose) | 0 | 0–15 no function · 16–40 effect (Program 1) · 41–65 effect (Program 2) · 66–90 effect (Program 3) · 91–115 effect (Program 4) · 116–140 effect (Program 5) · 141–165 effect (Program 6) · 166–190 effect (Program 7) · 191–215 effect (Program 8) · 216–240 effect (Random program playing 5 times each) · 241–255 effect (Random program 2min each) |
| 13 | programSpeed | speed | 0 | 0–255 |
| 14 | panTiltSpeed | speed | 0 | 0–255 |
| 15 | specialFunctions | control (written only on purpose) | 0 | 0–69 no function · 70–79 maintenance (Blackout with Pan / Tilt movement) · 80–89 no function · 90–99 maintenance (Blackout with RGBW value change) · 100–199 no function · 200–209 maintenance (Reset all) · 210–255 no function |
| 16 | dimmerCurve | control (written only on purpose) | 255 | 0–20 maintenance (Standard) · 21–40 maintenance (Stage) · 41–60 maintenance (TV) · 61–80 maintenance (Architectural) · 81–100 maintenance (Theatre) · 101–255 maintenance (Default setting) |
Mode 18ch · 18-channel 18 channels
| Ch | Channel | Type | Default | What the values do |
|---|---|---|---|---|
| 1 | pan | pan | 128 | 0–255 |
| 2 | panFine | fine byte of pan | 0 | 0–255 |
| 3 | tilt | tilt | 128 | 0–255 |
| 4 | tiltFine | fine byte of tilt | 0 | 0–255 |
| 5 | tiltContinuousRotation | other | 0 | 0–55 no function · 56–127 tilt continuous · 128–199 tilt continuous · 200–255 no function |
| 6 | tiltContinuousRotationSpeed | speed | 0 | 0–255 |
| 7 | red | colour: red | 0 | 0–255 |
| 8 | green | colour: green | 0 | 0–255 |
| 9 | blue | colour: blue | 0 | 0–255 |
| 10 | white | colour: white | 0 | 0–255 |
| 11 | colorMacrosEffects | control (written only on purpose) | 0 | 0–10 no function · 11–20 color preset (Red) · 21–30 color preset (Green) · 31–40 color preset (Red + Green) · 41–50 color preset (Blue) · 51–60 color preset (Red + Blue) · 61–70 color preset (Green + Blue) · 71–80 color preset (Red + Green + Blue) · 81–123 effect · 124–166 effect (Color mix) · 167–209 effect · 210–249 effect (Color change) · 250–255 effect (Sound control) |
| 12 | strobing | strobe / shutter | 0 | 0–7 open · 8–139 strobe · 140–189 strobe (RampUp) · 190–239 strobe (RampDown) · 240–255 strobe |
| 13 | masterDimmer | dimmer | 0 | 0–255 |
| 14 | programs | control (written only on purpose) | 0 | 0–15 no function · 16–40 effect (Program 1) · 41–65 effect (Program 2) · 66–90 effect (Program 3) · 91–115 effect (Program 4) · 116–140 effect (Program 5) · 141–165 effect (Program 6) · 166–190 effect (Program 7) · 191–215 effect (Program 8) · 216–240 effect (Random program playing 5 times each) · 241–255 effect (Random program 2min each) |
| 15 | programSpeed | speed | 0 | 0–255 |
| 16 | panTiltSpeed | speed | 0 | 0–255 |
| 17 | specialFunctions | control (written only on purpose) | 0 | 0–69 no function · 70–79 maintenance (Blackout with Pan / Tilt movement) · 80–89 no function · 90–99 maintenance (Blackout with RGBW value change) · 100–199 no function · 200–209 maintenance (Reset all) · 210–255 no function |
| 18 | dimmerCurve | control (written only on purpose) | 255 | 0–20 maintenance (Standard) · 21–40 maintenance (Stage) · 41–60 maintenance (TV) · 61–80 maintenance (Architectural) · 81–100 maintenance (Theatre) · 101–255 maintenance (Default setting) |
Use it
American DJ XS 400 in your code
Paste it into a <script type="module"> on any page: it loads @openav/devices and @openav/dmx from this site, patches the light at address 1 in mode 18ch and prints the bytes it would send. Send them with dmxTransport() (Art-Net or sACN through the out-bridge, or an Enttec DMX USB Pro by Web Serial).
import { device } from 'https://openaudiovisual.com/packages/devices/index.js';
import { Patch, DmxEngine } from 'https://openaudiovisual.com/packages/dmx/index.js';
const light = await device('american-dj-xs-400'); // American DJ XS 400
const patch = new Patch();
light.patch(patch, { id: 'light1', address: 1, mode: '18ch' }); // 18 channels from address 1
const engine = new DmxEngine(patch);
engine.set('light1', { dimmer: 1, color: [1, 0.5, 0], pan: 0.5, tilt: 0.25 });
console.log(engine.render(0).bytes(1).slice(0, 18).join(' '));
// → 128 0 64 0 0 0 255 128 0 0 0 0 255 0 0 0 0 255It prints the channels of mode 18ch, in order:
pan128panFine0tilt64tiltFine0tiltContinuousRotation0tiltContinuousRotationSpeed0red255green128blue0white0colorMacrosEffects0strobing0masterDimmer255programs0programSpeed0panTiltSpeed0specialFunctions0dimmerCurve255
Files
Take the fixture with you
The fixture file (JSON, open-audiovisual/fixture@1): every mode and channel, the ranges, the sources and the licence. A show loads it with device() or passes it to a Patch.
Where it comes from
Sources, licence, verified
Channel data from Open Fixture Library (MIT), file fixtures/american-dj/xs-400.json at commit 849343f6, by Flo Edelmann. Converted by tools/import-ofl.mjs; the conversion keeps each channel’s job, default and ranges.
Licence: MIT. Nobody has checked this file on a light for this project yet: every value is as the source says it.
Sources
- Open Fixture Library fixtures/american-dj/xs-400.json by Flo Edelmann; MIT; channel jobs and ranges read from OFL's capabilities, not checked by this project
- American DJ XS 400: manual linked from the OFL file; not read by this project
- American DJ XS 400: product page linked from the OFL file; not read by this project
Notes in the file
Imported from the Open Fixture Library. Nobody has checked it on a light for this project. OFL asks for help: Tilt Continuous Rotation Speed: Is this pan rotation? If not, is it correct that channel 'Tilt Continuous Rotation' only sets direction and this channel the rotation speed? Color Macros & Effects: How does this differ from the other color effects? Color Macros & Effects: How does this differ from the other color effects? Strobing: Is the strobe speed controllable here? Strobing: Is the strobe speed controllable here?
GitHub
Wrong data?
Every value on this page comes from one file in the repository. Open an issue that says which value and where you read the right one, or change the file in a pull request.