Page 1
CANblue II Extended User Manual USER MANUAL 4.01.0126.20000 EN 3.2 ENGLISH...
Page 2
HMS Industrial Networks has intellectual property rights relating to technology embodied in the product described in this document. These intellectual property rights may include patents and pending patent applications in the USA and other countries. CANblue II User Manual 4.01.0126.20000 EN 3.2...
Operation Modes ......................9 Features ........................9 Installation ........................10 Installing the Software ....................10 5.1.1 Installing the Driver ....................10 5.1.2 Installing the CANblue II Software Package..............10 Connectors........................10 5.2.1 Power Connector....................10 5.2.2 External Antenna ....................11 5.2.3 CAN Connector ....................11 Installing the Virtual COM Port ..................12...
Page 4
CAN Messages in ASCII format ..................50 11.5 CAN Messages in Binary Format ..................51 11.6 Error Messages ......................52 12 Technical Data........................ 53 13 Default Settings ......................53 14 Support/Return Hardware ................... 54 14.1 Support ........................54 CANblue II User Manual 4.01.0126.20000 EN 3.2...
Page 5
B Disposal and recycling ....................56 C Measurements ....................... 57 D Configuration Examples....................58 Example 1: Connecting a CAN Network With a Computer ..........58 Example 2: Configuring a CAN Bridge ................59 Example 3: Configuring a Bridge Chain .................61 CANblue II User Manual 4.01.0126.20000 EN 3.2...
Edited and revised in new design. September 2018 Removed instructions for Windows XP, added bus off information, structural changes in configuration chapters, added target audience and intended use October 2018 Added commands for Slave MAC address list CANblue II User Manual 4.01.0126.20000 EN 3.2...
Caution This instruction must be followed to avoid a risk of personal injury. WARNING This instruction must be followed to avoid a risk of death or serious injury. CANblue II User Manual 4.01.0126.20000 EN 3.2...
Make sure that all medical devices used in proximity to this device meet appropriate susceptibility specifications for this type of RF energy. The CANblue II contains a small radio transmitter and receiver. During communication with other Bluetooth products the CANblue II receives and transmits electromagnetic fields (microwaves) in the frequency range 2.4 to 2.5 GHz.
• device configuration • signal conditions Intended Use The CANblue II is used to connect computer systems (like PC, notebook, tablet or smartphone) to CAN networks via Bluetooth wireless technology. ® Scope of Delivery Included in the scope of delivery: •...
Bluetooth connection. The messages that are received via a Bluetooth connection are transmitted to the CAN network and other existing Bluetooth connections. The CANblue II provides an additional server. This connection can be used to configure the CANblue II. Various operation modes are supported.
Installing the Software 5.1.1 Installing the Driver For the operation of the CANblue II as VCI PC interface for Windows the VCI driver is needed. ► Install the VCI driver (see Installation Guide VCI Driver). 5.1.2 Installing the CANblue II Software Package ►...
► Screw the external antenna on connector (1). ► Use exclusively antennas that are approved by HMS Industrial Networks (by reason of radio certification). ► For further information about different antennas see www.ixxat.com. 5.2.3 CAN Connector Pin Allocation of D-Sub 9 Connector Pin no.
CANblue II devices are named IXXAT CANblue II ([MAC address]). Fig. 3 Add a device ► Check the MAC address of the CANblue II that is printed on the back of the device. ► Select the device to connect and click button Next. Fig. 4...
Page 15
Some Bluetooth drivers do not ask for a pairing code. In this case pairing is possible without code. Determine the correct COM port: Fig. 6 Devices and printers ► In window Devices and Printers right-click on the newly added CANblue II and in the context menu select Properties. CANblue II User Manual 4.01.0126.20000 EN 3.2...
Page 16
If the checkboxes are not activated the driver may not be correctly installed. To download the driver, make sure that an internet connection is established. ► Click button Apply. ➨ The COM port of Serial port (SPP) ‘Config’ can be used to connect to the CANblue II CANblue II User Manual 4.01.0126.20000 EN 3.2...
15 (62) Configuration as PC Interface with VCI Driver The CANblue II can be configured as a PC interface with the VCI driver for Windows. HMS recommends to reset the device to factory settings for optimal performance. Parallel usage with bridge mode is possible with reduced receive and transmit performance.
16 (62) Configuration as Generic PC Interface or as Bridge The CANblue II can be configured as Generic PC interface or as Bridge both with two different configuration tools. Configuration Tools To configure the CANblue II a terminal program or the CANblueCon Configuration Tool can be used.
Page 19
#help Shows a help screen. #label <LABEL_NAME> Defines a label. #pause Waits until any key is pressed. #print <TEXT> Prints <TEXT> on the display. #exit Closes the CANblueCon. CANblue II User Manual 4.01.0126.20000 EN 3.2...
Local command and local output: >#print CANblue Generic # CANblue Generic Configuring an Interface The installed virtual Config COM port is used to configure the CANblue II to exchange data with a CAN network connected to the CANblue II. CAN bus 1 CAN connector...
Page 21
Configuration as Generic PC Interface or as Bridge 19 (62) ► To transmit CAN messages to the CANblue II or into the connected CAN network, use ASCII or binary format (see Generic Mode Network and Device Communication, p. 28). ➨...
Configuring a Bridge Several Bluetooth devices can be connected as Master and Slave. Use only CANblue II devices with the same firmware version for a bridge. If CANblue II devices with new firmware version (V2.01.07 and higher) and CANblue II devices with an older firmware version are used in a Bridge contact IXXAT support for information about the compatibility.
Slave Slave Config Config Config Fig. 9 Bridge configuration Each additional CAN bus increases the rate of CAN messages on the Bluetooth connections and reduces the maximum possible data rate of all connections. CANblue II User Manual 4.01.0126.20000 EN 3.2...
If the device is in autostart mode and a handshake is carried out on the Config connection, the device switches to the binary format. ► To switch from ASCII format to binary format or to disable the reception of CAN messages, use command with Config connection. C SEND_CAN_FRAMES CANblue II User Manual 4.01.0126.20000 EN 3.2...
– With timeout 0 the data is transmitted immediately. Protocol overhead is increased. The size of a packet depends on the other node in the connection. CANblue II devices use data packets of up to 669 bytes between themselves. 7.4.5...
► Use character strings with maximally 16 digits. 7.4.7 Visibility It is possible to adjust if the CANblue II is visible and how long it stays visible after connecting to another device. ► To specify the visibility, use command D VISIBILITY TIMEOUT.
The loss of a Bluetooth connection is detected after 3 seconds. The Master immediately attempts to establish a new connection. If the Bluetooth connection to the CANblue II is lost, the CAN controller is automatically stopped and the messages in the Tx queue and in the Rx queue are lost.
Config connection established during high traffic on the connected CAN network • Connection attempt of CANblue II Loss of device responses to commands transmitted on the Config connection High data traffic between Bluetooth and Config connection, if a command is transmitted via the Config connection, lines of the device response can be lost.
Page 29
Windows, the COM port stays occupied. Windows before disconnecting the device from power. CANblue II can not be accessed after the computer was in sleep mode. If the computer turns to sleep mode, the Bluetooth If the computer was in sleep mode, and the connection connection may not be closed completely.
To configure and transmit CAN messages via Bluetooth wireless technology an ASCII protocol is defined. To permit a better data rate a binary format is also available for the transmission of the messages. To transmit messages between themselves CANblue II devices use the binary format.
CAN messages since the last connection was established (TX counter is a WORD value and starts from zero when 65535+1, possible to implement TX handshake, if difference between local TX counter and CANblue II TX counter is calculated) C CAN_INFO...
Page 32
Function succeeded I OK: CONFIG SHOW Error Description E 63 Error while saving config Error occurred during saving of the configuration. Configuration is lost. No valid configuration to load. E 61 No valid config CANblue II User Manual 4.01.0126.20000 EN 3.2...
Page 33
C SEND_CAN_FRAMES <mode> Parameter Parameter Description mode Message format for transmitting via Bluetooth wireless technology, possible entries: ASCII, BINARY, OFF Example C SEND_CAN_FRAMES ASCII Possible Return Values Return Value Description Function succeeded I OK: SEND_CAN_FRAMES CANblue II User Manual 4.01.0126.20000 EN 3.2...
No valid baud rate detected within the specified timeout. E 23 Baudrate not detected Maximum response time is 10 times of timeout value. E 4 Unsupported parameter Bus coupling LOW is not supported. Use bus coupling HIGH. CANblue II User Manual 4.01.0126.20000 EN 3.2...
Initializes the CAN controller with custom baud rate. Parameters bt0 and bt1 correspond to the bus timing register of Phillips SJA 1000 CAN controller with a clock frequency of 16 MHz. Bit 7 of parameter bt1 is ignored, because the CANblue II CAN controller does not support different sample rates.
Page 36
C FILTER_CLEAR <id-typ> Parameter Parameter Description id-typ Message type of filter entry (Standard or Extended), possible entries: STD/EXT Example C FILTER_CLEAR EXT Possible Return Values Return Value Description Function succeeded I OK: FILTER_CLEAR CANblue II User Manual 4.01.0126.20000 EN 3.2...
Page 37
C FILTER_DISABLE <id-typ> Parameter Parameter Description id-typ Message type of filter entry (Standard or Extended), possible entries: STD/EXT Example C FILTER_DISABLE EXT Possible Return Values Return Value Description Function succeeded I OK: FILTER_DISABLE CANblue II User Manual 4.01.0126.20000 EN 3.2...
Stopping the CAN Controller C CAN_STOP Stops the CAN controller. C CAN_STOP Possible Return Values Return Value Description Function succeeded I OK: CAN_STOP E 33 Error stop CAN Internal error while initializing the CAN controller. CANblue II User Manual 4.01.0126.20000 EN 3.2...
Generic Mode Network and Device Communication 37 (62) 11.2.6 Reset the CAN Controller C CAN_RESET Resets the CAN controller. C CAN_RESET Possible Return Values Return Value Description I OK: CAN_RESET Function succeeded CANblue II User Manual 4.01.0126.20000 EN 3.2...
I ASCII Extended Protocol v1.2 I OK: PROTOCOL D IDENTIFY Gets the hardware version number and the name of the CANblue II. The device name contains the Bluetooth MAC address. All LEDs of the CANblue II are flashing. D IDENTIFY...
Page 41
μs, connection quality in %, receive signal strength dBm, CC18 indication in dB (-127 dB to + 128 dB), transmission power in dBm (-18 dBm to +14 dBm), Bluetooth packet types in use Function succeeded I OK: INFO CANblue II User Manual 4.01.0126.20000 EN 3.2...
11.3.2 MAC Commands for Connecting Devices D MAC_ADD Adds a MAC address to the connection list of a CANblue II. The Master device tries to establish a connection to the Bluetooth device with the added MAC address. D MAC_ADD <adr>...
Page 43
41 (62) D MAC_CLEAR Removes all MAC addresses from the connection list of a CANblue II. An active connection or attempt to establish a connection is closed, when the command is called. This can cause a delayed response up to 5 seconds.
MAC address, value: 6 Byte hexadecimal If ADDR2 is also defined, this address is the start address of the range. ADDR2 Optional, end address of the MAC address range, value: 6 Byte hexadecimal Example D MAC_SLAVE_ADD 001122334455 CANblue II User Manual 4.01.0126.20000 EN 3.2...
Page 45
MAC address to be removed from list, value: 6 Byte hexadecimal If ADDR2 is also defined, this address is the start address of the range. ADDR2 Optional, end address of the MAC address range, value: 6 Byte hexadecimal Example D MAC_SLAVE_REMOVE 001122334455 CANblue II User Manual 4.01.0126.20000 EN 3.2...
Page 46
Removes all MAC addresses from the Slave MAC address list. After clearing the list, a Master device does not automatically search for other Bluetooth devices. D MAC_SLAVE_CLEAR Possible Return Values Return Value Description Function succeeded I OK: MAC_SLAVE_CLEAR CANblue II User Manual 4.01.0126.20000 EN 3.2...
I TX-Buff. timeout: 0 Bluetooth passkey I Passkey: 7388 I Visibility: 0 Bluetooth visibility I MAC-Master List: List with Master MAC IDs I MAC-Slave List: List with Slave MAC IDs I OK: CONFIG SHOW Function succeeded CANblue II User Manual 4.01.0126.20000 EN 3.2...
Page 48
Possible values: 0–60000 decimal Example D VISIBILITY 60 Possible Return Values Return Value Description Function succeeded I OK: VISIBILITY Timeout value is out of range. E 2 Wrong parameter CANblue II User Manual 4.01.0126.20000 EN 3.2...
Page 49
D BUFF_TIMEOUT Sets the timeout for the transmitting buffer resp. the time between two consecutive Tx Bluetooth packets of the CANblue II. The timeout is applied to all Bluetooth connections of the device (for further information see Setting the Transmitting Time, p.
Page 50
D DEVICE_NAME_SET TEST sets the device name TEST(0012F331DA4D). Possible Return Values Return Value Description I OK: DEVICE_NAME_SET Function succeeded Remark The factory reset does not reset the name. The name can be read with command IDENTIFY. CANblue II User Manual 4.01.0126.20000 EN 3.2...
The configuration is reset to the factory default settings. Stored configurations are deleted. D SETTINGS_DEFAULT Possible Return Values Return Value Description I OK: SETTINGS_DEFAULT Function succeeded Observe, that preconfigured devices are reset to the preconfigured default settings. CANblue II User Manual 4.01.0126.20000 EN 3.2...
Overrun of the transmitting queue, for example the CAN E 85 Tx SW queue OVERRUN controller is in error warning or bus off state or data could not be transmitted fast enough due to slow baud rate. CANblue II User Manual 4.01.0126.20000 EN 3.2...
E 85 Tx SW queue OVERRUN Overrun of the transmitting queue, for example CAN controller is in error warning or bus off state or data could not be transmitted fast enough due to slow baud rate. CANblue II User Manual 4.01.0126.20000 EN 3.2...
CAN transmission rate 100% bus load at 1 MBit Maximal distance between two devices in bridge mode 200 m/650 ft Default Settings Pairing Code 7388 MAC address Printed on the back of the device CANblue II User Manual 4.01.0126.20000 EN 3.2...
• updates 14.1 Support ► For problems or support with the product request support at www.ixxat.com/support. ► If required use support phone contacts on www.ixxat.com. 14.2 Return Hardware ► Fill in the form for warranty claims and repair on www.ixxat.com.
55 (62) Regulatory Compliance The IXXAT CANblue II with external antenna port is for OEM integrations only. The end-user product will be professionally installed in such a manner that only the authorized antennas are used. A list of authorized antennas is available from www.ixxat.com.
Japan Radio Equipment Compliance (TELEC) CANblue II uses the cB-0946 module which complies with the Japanese Technical Regulation Conformity Certification of Specified Radio Equipment (ordinance of MPT N°. 37, 1981), Article 2, Paragraph 1, Item 19, “2.4 GHz band wide band low power data communication system”.
Configuration Examples Example 1: Connecting a CAN Network With a Computer The example shows how an installed virtual COM port can be used to configure the CANblue II to exchange data with a CAN network connected to the CANblue II.
3C 4D 5E 6F 70 to the CAN bus, use command M SD7 7FF 1A 2B 3C 4D 5E 6F 70. Example 2: Configuring a CAN Bridge The example shows how a CANblue II (configured as in example 1) is connected to a second CANblue II.
Page 62
► To achieve the highest possible data rate between the devices, disconnect the Config connection to the computer. Since the connection is stored on both devices, devices reconnect automatically after turning off and on and resume to forward CAN messages. CANblue II User Manual 4.01.0126.20000 EN 3.2...
Configuring a bridge chain is possible because every Slave can serve as Master for another Slave. To connect a third CAN bus by using an additional CANblue II to the CAN buses that are configured in example 1 and 2, two options are possible: •...
Need help?
Do you have a question about the CANblue II and is the answer not in the manual?
Questions and answers