Work With Networked Devices - Digi XLR PRO User Manual

Radio frequency (rf) module
Hide thumbs Also See for XLR PRO:
Table of Contents

Advertisement

Advanced application features
Command
Description
IR
Sample Rate
IC
DIO Change Detect
D1
DIO1/AD1
P1
DIO11/PWM1
PT
PWM Output Timeout
D2
DIO2/AD2
D3
DIO3/AD3
T3
DIO3 Timeout
In the example, both devices have I/O Line Passing enabled with appropriate inputs and outputs
configured. The IA parameter determines which device on the network is allowed to affect the
device's outputs.
Device A takes a periodic sample of all I/O lines every two seconds and transmits it as a unicast
transmission to the address defined by DH and DL (in this case, Device B). Device B does not
periodically sample, instead it monitors DIO3 for a binary change. When it detects a change on that
pin, it generates a sample and transmits it as a broadcast to all devices on the network.
When Device B receives a sample packet from Device A:
DIO2 on Device B outputs the state of DIO2 from Device A.
n
PWM1 outputs a duty cycle equivalent to the analog voltage read on AD1 of Device A.
n
A PWM timeout has been set to three seconds; if no sample is received, PWM1 returns to 0 V
n
after this period.
When Device A receives a sample packet from Device B:
DIO3 on Device A outputs the state of DIO3 from Device B.
n
A DIO3 timeout has been set to 10 seconds; if no sample is received, DIO3 reverts to a HIGH
n
state after this period.
Note
By default, all Digital I/O lines have internal pull-up resistors enabled with the PR command. This
causes inputs to float high. You can use the PD command to change the direction of the internal pull-
up/down resistors. The XLR PRO RF Module uses an internal reference voltage of 2.5 V for ADC lines,
but you can use the AV command to set it to 1.25 VDC.

Work with networked devices

XLR PRO Radio Frequency (RF) Module User Guide
Device A
0x7D0 (2 seconds)
0 (disabled)
2 : ADC input
N/A
N/A
3: Digital input
5: Digital output, HIGH
0x64 (10 seconds)

Work with networked devices

Device B
0 (disabled)
0x1000 (DIO3 only)
N/A
2: PWM1 output
0x1E (3 seconds)
5: Digital output, HIGH
3: Digital input
N/A
110

Advertisement

Table of Contents
loading

Table of Contents