
17-30
System 3
BH32 Behavioral Cage Controller
BH32
Technical
Specifications
GET_SET_RZ_IP
13
If the RZ IP Address is non-zero, the BH32 will enter
RZ_CONTROLLER state. In this state, the BH32 will:
Multicast a GET_SET_TRIGGER message on the network to every
BH32 device in its same group, with its own IP Address as the
reply address and 0xFFFFFFFF as the Trigger Mask
Send a SET_REMOTE_IP packet to the RZ IP Address
Enter a special TRIGGER state
While in this mode, the device will respond to BH32 and RZ type
packets. Whenever a GET_SET_IO, POLL_EVENT or
TRIGGER_EVENT message is received, the BH32 will save the I/
O state from the packet in an RZ message buffer. Every 1ms, the
BH32 will check if new data has been received and transmit new
data to the RZ as a DATA packet. Whenever a DATA packet is
received from the RZ IP Address, the BH32 creates a
GET_SET_IO message and multicasts it to the local network to its
same group.
If the RZ IP Address is set to 0, the BH32 will no longer be in
RZ_CONTROLLER state and broaast a GET_SET_TRIGGER
message on the network with Trigger Mask 0.
Message:
Device #
Group
0b0 0b0001101
0x00000000
RZ IP Address (optional)
Reply:
Device #
Group
0b1
0b0001101
0x00000000
RZ IP Address
GET_SET_RZ_NBNAME
14
Same as GET_SET_RZ_IP, but uses RZ’s NetBIOS name as input
(e.g. ‘TDT_UDP_D3_2012’. If the name starts with a null
character, the BH32 leaves RZ_CONTROLLER state.
Message:
Device #
Group
0b0 0b0001110
0x00000000
Null-terminated string (up to 16
characters, optional)
Reply:
Device #
Group
0b1
0b0001110
0x00000000
Null-terminated string (up to 16
characters)
RESET_TO_DEFAULTS
126
Clears the target IP and port, thereby stopping the flow of packets.
Message:
Device #
Group
0b0 0b1111110
N/A
N/A
Reply:
Device #
Group
0b1
0b1111110
N/A
N/A
RESET
127
Performs a software reset of the BH32
Message:
Device #
Group
0b0 0b1111111
N/A
N/A
Name
Number
Description
Power Input
Input for 6-9V, 3A center-negative adapter input.
Timing Specs
Note that these timings depend on network latency.
UDP input to BH32 output
1 ms average
UDP input to BH32 UDP response
4 ms average
Digital Input to BH32 UDP response
<2 ms average