Configure RevPi Gate for DMX

You can operate the gateway component as a master or a slave.

In “Sender” function mode, the gateway component sends data to slaves and performs the function of a bus master (as for a DMX lighting control desk, for example).

In “Receiver” function mode, the gateway component receives data from a bus master and performs the function of an actuator (as for a lighting control, for example).

You have 2 options for configuration of the gateway components:

  • Make the setting via the rotary switches
  • Making the settings via the partner gateway component

Make the setting via the rotary switches

You can set the function mode and the addressing at the rotary switches.

With each rotary switch, you can set a decimal from 0-9. These 3 values together allow you to set a value range of 0-999.

  • Switch 0x100 (1) determines the hundreds digit
  • Switch 0x10 (2) determines the tens digit
  • Switch 0x1 (3) determines the ones digit
  • Example: You want to set the value 234.Switch setting:
  • Switch 1: 2
  • Switch 2: 3
  • Switch 3: 4
  • The values are interpreted accordingly in the following table:
Value Switch setting at switch Function mode
1 2 3
0 0 0 0 Configuration is via the partner gateway component
1 0 0 1 Receiver mode, bus termination inactive, start address = 1
[…]
512 5 1 2 Receiver mode, bus termination inactive, start address = 512
513 5 1 3 Sender mode, bus termination active, 512 bytes are transmitted
[…]
999 9 9 9 Sender mode, bus termination active, 512 bytes are transmitted

Restart the gateway component to activate new settings.

Examples:

Receiver mode, start address 73

To set a DMX receiver with inactive bus termination at start address 73, you must set the switch as follows:

SW_1 = 0

SW_2 = 7

SW_3 = 3

Sender mode

To set a DMX sender with activated bus termination, which transmits 512 channels, you must set the switch as follows:

SW_1 = 5

SW_2 = 1

SW_3 = 3

Partner gateway mode

To configure via a partner gateway, you must set the switch as follows:

SW_1 = 0

SW_2 = 0

SW_3 = 0

Making the settings via the partner gateway component

You can also make the settings for the DMX gateway component also via a partner gateway component.

In this configuration mode, you as a “sender” can send a maximum 510 bytes, since 2 bytes are required for the configuration.

To make the settings:

  • Set the rotary switch of the DMX gateway component to “0, 0, 0”
  • Use the master software to configure the individual bits of the first 2 bytes of the DMX data.

They are assigned as follows:

Byte Bit Function Setting options
0 0 (LSB) Number A 9-Bit value range can be set here. The meaning of this value differs depending on the mode. Sender” function mode Number of channels to be sent : 1-510 Default value: 510

! Since the first two bytes are occupied by the configuration data, a maximum 510 bytes of DMX data can be transmitted in sender mode.

“Receiver” function mode Receiver address: 1-512 default value: 1

1
2
3
4
5
6
7
1 0
1 (MSB)
2
3
4
5 Zero data determine the behavior with a communication interruption. 0= inactive Last received data are retained

1= active After 1s communication interruption, all data bytes are set to 0

6 Mode 0= Sender

1= Receiver

7 Termination 0=Termination active

1= Termination inactive

Termination

The termination resistor prevents reflexions from occurring at the end of the connection that could cause errors in the data communication.

The integrated termination resistor is 120 Ω.

NOTICE
Activate the termination resistor only if the module is the first or last subscriber of the connection.
Errors in the data communication may occur if the termination resistor is activated while the module is connected at a central position in the network.
.

Beispiel:

Mode

        • Sender, Byte 2, do not set Bit

Send data (number)

        • Send 73 channels, channels 7310 := 4916

Termination

    • Inactive: Byte 2, set Bit 7

Zero data

  • Inactive: Byte 2, do not set Bit 5

 

Byte Bit Setting
0 0 1
1 0
2 0
3 1
4 0
5 0
6 1
7 0
1 0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 1