CAN Communication Protocol CANopen Message Types Emergency Messages Heartbeat Message TPDOs (Transmit Process Data Objects) SDOs (Service Data Objects) Configuring the baroCAN via CAN Enable/Disable Humidity Sensor Enable/Disable Pressure Sensor Change Node Id TPDO Broadcast Rate TPDO Enable/Disable TPDO Mapping...
All parameters are available for CAN transmission in all known units. The sensors can be user-calibrated. baroCAN is useful for engine inlet air, engine intake manifold air, and cabin air monitoring. baroCAN Kit Contents...
Specifications and Limitations Inputs: Relative Humidity (RH) and Temperature Sensor Pressure Sensor Ranges: 0 to 100% Temperature -40 to 125°C Pressure 70 to 140 kPa Absolute Dew Point 0 to 125°C 0 to 20.946% Vapor Pressure 0 to 234 kPa Absolute Humidity Ratio 0 to 100% Accuracies:...
General Notes Please note the following in regards to this manual: 1. All numbers are decimal unless preceded by the “0x” suffix which denotes a hexadecimal value (e.g. 0x0F = 15). 2. 1 byte contains 8 bits. 3. One “unsigned character” contains 1 byte (unsigned 8) and has a range of 0x00 – 0xFF (0 –...
Ohms. Using the Configuration Tool There are two ways to configure and retrieve data from the baroCAN module: via ECM’s Configuration Tool or via CAN messages sent by another program. This section describes how to use the ECM Configuration Tool. For details on manually sending CAN messages, see the section on CAN Communication Protocol.
3. Produce a .dbc file to be used by your data acquisition program. View Module Data A typical view of the Configuration Tool for a baroCAN module appears as shown below in Figure 1. On the bottom of the window, data from the module (TPDOs) is displayed. Each TPDO has two parameters.
Page 11
Figure 1: Configuration Tool window for baroCAN...
%O2 in air based on humidity & pressure Table 1: TPDO Parameter List Configure Module Configuration tasks are selectable in the “Task” field below the “Module” field. Below is an image of the available configuration tasks for the baroCAN. Each task is explained on the next page.
Page 13
CAN IDs after the module is power cycled, then set to [Off]. Default is [On]. Toggle Sensors On/Off: Each of the two sensors used with baroCAN can be independently deactivated (ignored). When deactivated, the module will stop reporting error codes related to that sensor.
Broadcast Rate Limitation “Broadcast Rate (ms)” must be set to be greater than the “Total number of TPDOs for all devices x 0.3125” Example: There are 8 devices on the CAN bus. NID 0x01 has 3 TPDOs enabled, NID 0x02 has 1 TPDOs enabled NID 0x03 has 4 TPDOs enabled, NID 0x04 has 2 TPDOs enabled NID 0x05 has 4 TPDOs enabled, NID 0x06 has 4 TPDOs enabled NID 0x07 has 4 TPDOs enabled, NID 0x08 has 4 TPDOs enabled...
0x700 + NI 0x7E4, 0x7E5 There is a master-slave relationship for all devices on the CAN bus. All ECM modules are slaves. A slave broadcasts data for the master to receive, and also listens for commands from the master. There can be no more than one master on the bus at any time. A master may or may not be assigned a NID.
SDO messages are used to read or write to elements in a table of configuration parameters called the Object Dictionary (OD) stored in the slave device, i.e. ECM modules. They consist of two types, received and transmitted. Received SDOs are messages sent from a master to slave device to command a read or write of parameters.
0~3 = four available data bytes formatted as little-endian of configurations to write to or configurations read from the slave. Configuring the baroCAN via CAN Enable/Disable Humidity Sensor To enable or disable the humidity sensor, use the following OS commands. Note that temperature readings will also be effected since temperature data is retrieved from the same sensor.
After the NID has been successfully changed, the device enters pre-operational mode and does not broadcast data. The device can be returned to broadcast mode 1 of 3 ways: 1. Power-cycle the device by flipping the switch off and on again. 2.
Example: There are 8 devices on the CAN bus. NID 0x01 has 3 TPDOs enabled NID 0x02 has 1 TPDOs enabled NID 0x03 has 4 TPDOs enabled NID 0x04 has 2 TPDOs enabled NID 0x05 has 4 TPDOs enabled NID 0x06 has 4 TPDOs enabled NID 0x07 has 4 TPDOs enabled NID 0x08 has 4 TPDOs enabled Minimum Broadcast Rate (ms) = (3 + 1 + 4 + 2 + 4 + 4 + 4 + 4) x 0.3125 = 8.125ms.
The OD Index of the TPDO Mapping configurations for each TPDO are listed below. TPDO Config OD TPDO1 0x1A00 TPDO2 0x1A01 TPDO3 0x1A02 TPDO4 0x1A03 TPDO mapping is a 4 step process: 1. Write a 0 to subindex 0x00 of the above listed TPDO Mapping configurations location. CANid Byte 0 Byte 1...
Appendices Appendix A: Error Codes CO ERROR CODE DESCRIPTION OF ERRORS 0x0000 - 00FF No error or error reset 0x1000 - 10FF Generic 0x2000 - 20FF Current 0x2100 - 21FF Current - Device inputs 0x2200 - 22FF Current - Inside the module 0x3000 - 30FF Voltage 0x3100 - 31FF...
Page 23
ECM ERROR CODE LED ACTION DESCRIPTION OF ERRORS 0x0000 Grn On All OK, (green led constantly on) 0x0001 Flash Grn 10Hz Sensor warm-up period 0x0002 Grn/Both/Red 2s Power on reset/ Init hardware 0x0013 Red On Sensors turned off (red led constantly on)
Appendix B: OS Commands CANopen allows for an addition set of operational commands for the device defined by the manufacturer. These are called OS commands. OS commands are sent as an SDO write message to OD location 0x1023, 0x01. To activate an OS command, send the following message: CANid Byte 0 Byte 1...
Page 25
Below is a list of OS commands for the module, along with the OS replies for each, if any. Command Value Description Reply SensorOnP 0x46 Turn on pressure sensor. None SensorOffP 0x47 Turn off pressure sensor. None OWDisableP 0x48 Ignore 1wire memory calibration None values for pressure sensor.
Appendix C: Module EIB Mode and Stand-alone Mode CAN data from modules can either be taken directly from the modules themselves or from the CAN port of display heads connected to the modules. When CAN data is taken directly from one or more modules, each module must in Stand-alone mode.
Page 27
3. Slide the PCB out. Install a jumper on JP4. 4. Make sure both O-rings are on the threaded connector. 5. Slide the PCB into the enclosure until the two tangs “click”. 6. Put the nut on and tighten ONLY ½ turn from where it is seated. If this nut is tightened too much, the connector will crack and the enclosure will not be sealed.
Page 28
8. Start the Configuration Tool (software). Click on the “Module” tab. Select the CAN adapter being used. Then start the communication. 9. Click on the “Set to Stand-Alone Mode”. Wait for “Done” Message. Stop communication and exit program. The module is in Stand-alone mode. To convert a module from Stand-alone Mode to EIB Mode: 1.
CAN networks containing any ECM module (NOxCAN(g), LambdaCAN, appsCAN, baroCAN, etc). dashCAN comes with a two meter cable and a “T” (P/N 09-05). Simply attach dashCAN to the CAN bus and any two parameters being transmitted from modules can be displayed.
Page 30
Setup Option Level 1 Function Select module s/n. Default is NONE. RATE Set parameter averaging rate. Range 0.001 to 1.000 Default is 1.000 (no averaging) dISP Select parameter. Note: Parameters available are those programmed using Configuration Software. CONF LEdS display intensity.
Page 31
dISP (Display) Setup Option In dISP setup, the parameters to be displayed are selected. Only parameters selected to be transmitted by the Configuration Software can be displayed. Here is an example of setting the parameter to be displayed on the upper display: 1.
1. Press SYS until “LOCK” is displayed. Then press ENT. 2. “50” will be displayed. Press ↑ until “60” is displayed. Then press ENT. dashCAN is now unLOCKed. If an unauthorized person learns that 60 is the key number, contact ECM.
Warranty and Disclaimers Warranty The products described in this manual, with the exception of the RH and pressure sensors, are warranted to be free from defects in material and workmanship for a period of 365 days from the date of shipment to the buyer. Within the 365 day warranty period, we shall at our option repair such items or reimburse the customer the original price of such items which are returned to us with shipping charges prepaid and which are determined by us to be defective.
Page 36
Los Altos, CA 94023-0040 • USA • (408) 734-3433 • Fax: (408) 734-3432 • www.ecm-co.com...
Need help?
Do you have a question about the baroCAN and is the answer not in the manual?
Questions and answers