3. Quick Start!
3.1. Section A – Configure CAN Baud Rate and Message ID’s
Before the neoRADI/O can be used, the CAN baud rate and CAN ID need to be configured. This configuration is done via switches inside the box. Figure 1 shows a picture of the switches inside the unit. The default baud rate is 500kbits and the default CAN IDs are 0x600 and 0x640.
![_images/fig1.png](_images/fig1.png)
Figure 1: Configuration Switches
Switches 1 and 2 control the baud rate the neoRADI/O communicates on. Table 1 shows the proper settings for the available baud rates.
Switch 1 | Switch 2 | Baud Rate |
Off | Off | 125 kbit/s |
On | Off | 250 kbit/s |
Off | On | 500 kbit/s |
On | On | 1000 kbit/s |
Table 1: Baud Rate settings
Switches 8 through 3 control the CAN IDs used by the device by adding an offset to the base CAN ID. neoRADI/O uses two addresses, one to send commands (0x600 + offset) and the other for receiving responses (0x640 + offset). The value of the binary pattern of the 6 switches is added as an offset to the base CAN ID. Table 2 shows the switch positions and the resulting offset.
![_images/table2.png](_images/table2.png)
3.2. Section B - CAN Termination
The last setting that may need to be changed is the CAN termination of the neoRADI/O. By default a 120? termination resistor is added by the neoRADI/O. To remove the termination, remove the small daughter board, and then remove the “RT” jumper. This jumper is boxed in red in Figure 2.
![_images/fig2.png](_images/fig2.png)
Figure 2: Termination Jumper marked in red.
3.3. Section C - CAN Connections and Power
Wiring the neoRADI/O box to the CAN bus is done through the use of a terminal block. Figure 3 shows CAN connections on the unit. Using the supplied terminal block, connect CAN High to the H connector, CAN Low to the L connector. Power and ground can be applied to the terminal block or to the 12 volt DC jack to the right of the terminal block. The supported voltage range is 8 to 20 Volts.
![_images/image-003.jpg](_images/image-003.jpg)
Figure 3: CAN Connections
![_images/image-004.jpg](_images/image-004.jpg)
Figure 4: I/O connections
3.4. Section D – I/O Connections
I/O connections are made using terminal block connections on the front and back of the box. The I/O connections on the front of the unit (figure 4) are for the analog inputs. The analog inputs 1 to 4 (I/O pins 1 to 4) are 0 to 26 volts. Analog input number 5 (I/O pin 5) is 0 to 5 volts. The analog inputs are single ended measurements, so make sure that they all have a common ground.
The connections for the Digital optical inputs are made on the Opto Inputs terminal block (figure 3). The Opto inputs are differential so there is a positive and negative connection. The positive side for the input is connected to the “+” while the negative to the “-”. The inputs allow for input voltages up to 30 volts.
Relay connections are found on both sides of the neoRADI/O. Each relay has 3 connections. The relays can be used as normally open (using the NO connection) or normally closed (using the NC connection). The “C” pin is the common connection. Figure 5 shows a simple diagram of the connections the relays make when activated nd deactivated.
![_images/image-005.jpg](_images/image-005.jpg)
Figure 5: Relay Diagram
The LEDs on the front of the neoRADI/O give status information of the unit. Table 3 describes How each LED functions.
LED Name | Function |
Power LED | Flashes when the unit is powered and running |
LED I/O 1 | Flashes when Control Messages are received |
LED I/O 2 | Flashes when Report messages are sent |
LED I/O 3 | Flashes when a Relay timeout is enabled |
LED I/O 4 | Turns solid when Timeout occurs |
LED I/O 5 | User controlled from Command Message |
LED I/O 6 | User controlled from Command Message |
LED Opto 1-4 | Shows states of Opto inputs |
LED Opto 1-5 | Shows activation states of Relays |
Table 3: LED functions of the neoRADI/O
3.5. Section E – Message Setup
The last section to cover is the messaging convention used to communicate to the neoRADI/O. As mentioned before, only two arbitration IDs are used: one to send commands and one for reports. neoRADI/O ships with DBC and VS3 databases that can be used with almost any CAN tool on the market. The database files will decode the report messages and give the encoding for the command message. Table 4 and 5 describes the decoding for the two messages.
Control Message 0x600 + offset | Input range | Length | Signal Type | Decoding | ||
Byte 1 | Bit 0 | Set Relay 1 Activation State | 0/1 | 1 Bit | Digital | N/A |
Bit 1 | Set Relay 2 Activation State | 0/1 | 1 Bit | Digital | N/A | |
Bit 2 | Set Relay 3 Activation State | 0/1 | 1 Bit | Digital | N/A | |
Bit 3 | Set Relay 4 Activation State | 0/1 | 1 Bit | Digital | N/A | |
Bit 4 | Set Relay 5 Activation State | 0/1 | 1 Bit | Digital | N/A | |
Bit 5 | Set LED IO 5 State | 0/1 | 1 Bit | Digital | N/A | |
Bit 6 | Set LED IO 5 State | 0/1 | 1 Bit | Digital | N/A | |
Byte 2 | Input Report Rate MSB in milliseconds (set Byte 2 and Byte 3 to 0 to disable reporting) | 0 to 255 | 1 Byte | Analog | ||
Byte 3 | Input Report Rate LSB in milliseconds (set Byte 2 and Byte 3 to 0 to disable reporting) | 0 to 255 | 1 Byte | Analog | ||
Byte 4 | Set to 0 for Sending Report at rate set by Bytes 2 and 3 Set to 1 - 255 for sending Report on any input change. Value determines amount of change needed to report on analog channels |
0 to 255 | 1 Byte | Analog | N/A | |
Byte 5 | Set to 0 to disable relay time out Set between 1 - 255 sets Number of 100 ms clicks to wait till relay deactivate (Resend message to refresh) |
0 to 25500ms | 1 Byte | Analog | N*100 |
Table 4: Control Message
Report Message 0x640 + offset | Input range | Length | Signal Type | Decoding | ||
Byte 1 | Bit 0 | Status of Digital Input Opto IO 1 | 0/1 | 1 Bit | Digital | N/A |
Bit 1 | Status of Digital Input Opto IO 2 | 0/1 | 1 Bit | Digital | N/A | |
Bit 2 | Status of Digital Input Opto IO 3 | 0/1 | 1 Bit | Digital | N/A | |
Bit 3 | Status of Digital Input Opto IO 4 | 0/1 | 1 Bit | Digital | N/A | |
Byte 2 | Analog input 1 Value | 0 to 26 volt | 1 Byte | Analog | N*(26/255) | |
Byte 3 | Analog input 2 Value | 0 to 26 volt | 1 Byte | Analog | N*(26/255) | |
Byte 4 | Analog input 3 Value | 0 to 26 volt | 1 Byte | Analog | N*(26/255) | |
Byte 5 | Analog input 4 Value | 0 to 26 volt | 1 Byte | Analog | N*(26/255) | |
Byte 6 | Analog input 5 Value | 0 to 5 volt | 1 Byte | Analog | N*(5/255) | |
Byte 7 | Digital Input Status (all 4 in 1 byte) | 0 to 15 count | 4 bit | Analog | N |
Table 5: Report Message