TDT BH32 Manual Download Page 14

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

Summary of Contents for BH32

Page 1: ...ameter Standard Molex Pin and Socket connectors on the top panel For pinouts see BH32 Technical Specifications on page 17 30 Power The BH32 logic board is powered by either a 6 9V 3A center negative a...

Page 2: ...and current state of all bits in each bank 3 NetBIOS name and IP address 4 IP address of paired RZ device if paired See RZ Configuration on page 17 22 Push and hold the Mode button for two seconds th...

Page 3: ...Controlling the Molex outputs with UDP Serial banks A B only Configure the bank as an output The Molex outputs are low when active The digital output logic is the inverse of the Molex output logic Mo...

Page 4: ...sses configuring the BH32 networking communication and hardware interfaces See RZ UDP Communications Interface on page 1 51 for more information on the basics of networking and the various protocols I...

Page 5: ...er such as Internet Explorer Chrome or Firefox Enter the device s IP address as the web address e g http 10 1 0 100 and press Enter or Enter the NetBIOS name as the web address e g TDT_BHC_32_1001 and...

Page 6: ...ogin information can be changed on the Network Configuration page To access a page that requires authentication 1 Click the navigation link for the page 2 When prompted enter the username and password...

Page 7: ...Device Number is used to identify the BH32 among a network of BH32s For single BH32 use this value should be set to 1 Direction Each Bank can be configured as either Input or Output Logic Level Each...

Page 8: ...and password can be changed on this page If the Enable DHCP check box is checked the IP Address Gateway Address Subnet Mask and DNS server address values are overridden and automatically configured b...

Page 9: ...which supports TCP IP To initialize the PC for a direct connection in Windows XP 1 Physically connect the BH32 Ethernet interface and the PC via an Ethernet crossover cable 2 Click Start Control Panel...

Page 10: ...lly sends a new packet if any of the Inputs change value The 32 bit integer represents the current state of all I O on the BH32 device The ordering is as follows Bit31 Bit0 A8 A1 B8 B1 C8 C1 D8 D1 Exa...

Page 11: ...his writing This header is used by the BH32 and the RZ to identify packets that they should read and process The target device is identified with the next 24 bits of the packet It consists of a 16 bit...

Page 12: ...M mode the BH32 display flashes a prompt for the user to press the input button to set the BH32 device number to the starting device number Message Device Group 0b0 0b0000001 0x00000000 Starting Devic...

Page 13: ...to 256 timestamps total for all pins can be stored in memory Message Device Group 0b0 0b0000110 Pin Number Active 0 or 1 32 bits Reply Device Group 0b1 0b0000110 Pin Number 64 bit timestamp s GET_SET...

Page 14: ...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 D...

Page 15: ...ion 1 C1 Bank C Bits 1 3 5 and 7 14 C2 Bank C Bits 2 4 6 and 8 2 C3 15 C4 3 C5 16 C6 4 C7 17 C8 5 GND Digital I O Ground 18 A1 Bank A Bits 1 3 5 and 7 6 A2 Bank A Bits 2 4 6 and 8 19 A3 7 A4 20 A5 8 A...

Page 16: ...s are shorted together do not connect a second external power source I O CONNECTORS V Positive Voltage S Signal G Ground Pin Name Description Pin Name Description 1 A1 Bank A Bits 1 3 5 and 7 14 D7 Ba...

Reviews: