ReDAC IO Module Data Report | Main Page

General Information

VID 05f3h
PID 0D9h or 217
Consumer Usage Page 1
Usage Page 000Ch or 12

ReDAC IO Input Report

The following types of input reports are available; General Incoming Data and Check Key.

ReDAC IO pin reference

Figure 1: Port pin reference.

ReDAC IO Module

Figure 2: Port reference.

Endpoint: 1, consumer usage page

Report Length: 19 bytes.

1.  General incoming data

Byte 1
Bytes 2-24
Bytes 25-27
Bytes 28-30
Byte 31
Constant
Analog Input Data
Digital Input Port 1
Digital Input Port 2
Unit ID
(0-255)
0
Analog1
Digital1
Digital2
<data>

Analog1:  Byte 2=Pin2, Byte 3=Pin3, Byte 4=Pin4, … Byte 24=Pin24.  Pin 1=Ground, Pin 25=5V.
Digital1:  For all bits 0= key release, 1=key pressed.  All pins listed here are on Digital Input Port 1.  Byte 25 Bit 1=Pin2, Byte 25 Bit 2=Pin3, Byte 25 Bit 3=Pin4, Byte 25 Bit 4=Pin5, Byte 25 Bit 5=Pin6, Byte 25 Bit 6=Pin7, Byte 25 Bit 7=Pin8, Byte 25 Bit 8=Pin9, Byte 26 Bit 1=Pin10, Byte 26 Bit 2=Pin11, Byte 26 Bit 3=Pin12, Byte 26 Bit 4=Pin13, Byte 26 Bit 5=Pin14, Byte 26 Bit 6=Pin15, Byte 26 Bit 7=Pin16, Byte 26 Bit 8=Pin17, Byte 27 Bit 1=Pin18, Byte 27 Bit 2=Pin19, Byte 27 Bit 3=Pin20, Byte 27 Bit 4=Pin21, Byte 27 Bit 5=Pin22, Byte 27 Bit 6=Pin23, Byte 27 Bit 7=Pin24, Byte 27 Bit 8=n/a.  Pin 1=Ground, Pin 25=5V.
Digital2
:  For all bits 0= key release, 1=key pressed.  All pins listed here are on Digital Input Port 2.  Byte 28 Bit 1=Pin2, Byte 28 Bit 2=Pin3, Byte 28 Bit 3=Pin4, Byte 28 Bit 4=Pin5, Byte 28 Bit 5=Pin6, Byte 28 Bit 6=Pin7, Byte 28 Bit 7=Pin8, Byte 28 Bit 8=Pin9, Byte 29 Bit 1=Pin10, Byte 29 Bit 2=Pin11, Byte 26 Bit 3=Pin12, Byte 26 Bit 4=Pin13, Byte 26 Bit 5=Pin14, Byte 26 Bit 6=Pin15, Byte 29 Bit 7=Pin16, Byte 29 Bit 8=Pin17, Byte 30 Bit 1=Pin18, Byte 30 Bit 2=Pin19, Byte 30 Bit 3=Pin20, Byte 30 Bit 4=Pin21, Byte 30 Bit 5=Pin22, Byte 30 Bit 6=Pin23, Byte 30 Bit 7=Pin24, Byte 30 Bit 8=n/a.  Pin 1=Ground, Pin 25=5V.

2. Check Key message.  This message is received after the output report number 5 (see ReDAC I/O Module Output Reports, number 5) is sent.  The four values in bytes 4, 5, 6 and 7 are required to continue the check. Non PC users please contact P. I. Engineering or further details.

Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Bytes 9-32
Byte 31
Constant
Reserved
Reserved
Check Key
B1 value
B2 value
B3 value
B4 value
Reserved
Unit ID
(0-255)
0
0
0
121 (79h)
B0
B1
B2
B3
0 or junk
<junk>

B0: Value returned by hardware for comparison
B1: Value returned by hardware for comparison
B2: Value returned by hardware for comparison
B3: Value returned by hardware for comparison

ReDAC IO Module Output Report

The following types of output reports are available; Set LED State, Set Unit ID, Send Data to Digital Output Port, Set Key, Check Key.  The Unit ID is a value between 0 and 255 which can be set and read.  This number stays permanently in the device independent of computer. It is useful if more than one device of the same PID will be connected to the same computer in order to distinguish the devices uniquely. 

Endpoint: 2, vendor defined usage page

Report Length: 9 bytes.

1. Set LED State

Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Constant
LED Command
LED state
Constant
Constant
Constant
Constant
LED Control
LED Control
0
134
0
0
0
0
0
0
LED

LED:  0=LED off, 16=LED on, 32=LED Blink, 48=LED Fast Blink.

2. Set Unit ID

Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Constant
LED Command
LED state
Constant
Constant
Constant
Constant
Unit ID
(0-255)
Unit ID Command
0
137
137
0
0
0
0
value
16

3. Send Data to Digital Output Port

Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Constant
LED Command
LED state
Constant
Constant
Constant
Constant
Unit ID
(0-255)
Unit ID Command
0
147
digital1
digital2
digital3
0
0
0
0

digital1:  0 in the corresponding bit position turns off the pin, 1 turns on the pin.  Pin 1=Ground.  Bit 1=Pin 2, Bit 2=Pin 3, Bit 3=Pin 4, Bit 4=Pin 5, Bit 5=Pin 6, Bit 6=Pin 7, Bit 7=Pin 8, Bit 8=Pin 9.
digital2:  Bit 1=Pin 10, Bit 2=Pin 11, Bit 3=Pin 12, Bit 4=Pin 13, Bit 5=Pin 14, Bit 6=Pin 15, Bit 7=Pin 16, Bit 8=Pin 17.
digital3:  Bit 1=Pin 18, Bit 2=Pin 19, Bit 3=Pin 20, Bit 4=Pin 21, Bit 5=Pin 22, Bit 6=Pin 23, Bit 7=Pin 24, Bit 8=Pin 25.

4. Set Key

Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Constant
Set Key Command
Constant
Constant
Key Value 1
Key Value 2
Key Value 3
Key Value 4
Set Key Command
0
205
0
0
K0
K1
K2
K3
220

K0:  User chooses any number between 1 and 254, 0 and 255 not allowed.
K1:  User chooses any number between 1 and 254, 0 and 255 not allowed.
K2:  User chooses any number between 1 and 254, 0 and 255 not allowed.
K3:  User chooses any number between 1 and 254, 0 and 255 not allowed.

The values for K1, K2, K3 and K4 must be recorded and saved for later in order to check the key. Non PC users of this feature please contact P. I. Engineering for further details.

5. Check Key

Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Constant Check Key Command Check Key Command Constant N0 Value N1 Value N2 Value N3 Value Check Key Command
0
137
137
0
N0
N1
N2
N3
121

N0:  User chooses any number between 1 and 254, 0 and 255 not allowed.
N1:  User chooses any number between 1 and 254, 0 and 255 not allowed.
N2:  User chooses any number between 1 and 254, 0 and 255 not allowed.
N3:  User chooses any number between 1 and 254, 0 and 255 not allowed.
After sending this command the next ReadData with 121 in byte position 4 returns four values in byte position 5, 6, 7, and 8 (see ReDAC IO Module Input Reports number 2) that will be needed to continue with the hardware check of the key.  Non PC users please contact P. I. Engineering for further details.