Page 1
ENGINE CONTROL AND MONITORING CAN Module Instruction Manual REV 1.00 2/5/2015...
Page 2
All Rights Reserved. No part of this manual may be photocopied or reproduced in any form without prior written consent from ECM: ENGINE CONTROL AND MONITORING. Information and specifications subject to change without notice. Printed in the United States of...
Enable Transmit Process Data Object (TPDO) Disable Transmit Process Data Object (TPDO) Transmit Process Data Object Mapping (TPDO MAPPING) Appendix A: Error Codes and Error Register Appendix B: ECM CANopen OS Commands Appendix C: Heartbeat Appendix D: Process Data Objects Appendix E:...
Introduction and General Notes Introduction kit is a ceramic sensor-based NH , measurement system that communicates and is configured via the CANopen protocol. Its primary application is for the analysis of combustion systems and their after-treatment. General Notes 1. All numbers are decimal unless preceded by the “0x” suffix which denotes a hexadecimal value: e.g.
CAN bus at this baud rate is 100m. Each end of the CAN bus must have a terminating resistor of 121 Ohms. Application Notes 1. Configuration software (ECM Configuration Tool) for the module is located on the CD. This software allows the setup, configuration, monitoring, and recording of data using supported CAN adapters.
Page 9
TPDO2 0x280 + NID TPDO3 0x380 + NID TPDO4 0x480 + NID SDO Tx 0x580 + NID SDO Rx 0x600 + NID Heartbeat 0x700 + NID 0x7E4, 0x7E5 Note this list applies to EACH ECM module on the CAN bus.
Configuration of the NH CAN module is performed by writing to the Object Dictionary (OD) and by issuing ECM CANopen OS Commands (OS Command). Both of these actions are implemented using a Service Data Object Expedited Write (SDO Write). The format is as...
Reading from the NH CAN Module (SDO Read) During configuration it may be necessary to read certain locations in the Object Dictionary (OD). The format for a Service Data Object Read (SDO Read) is as follows: byte 0 byte 1 byte 2 byte 3 byte 4...
Identifying the NH CAN Module Each NH CAN module can be uniquely identified by reading the following four parameters in the OD: Vendor ID (0x000001C6) located at OD address 0x1018, subindex 0x01 (4 byte integer/unsigned 32) Product Code (NH CAN = 0x00000012) located at OD address 0x1018 subindex 0x02 (4 byte integer/unsigned 32) iii) Revision Number located at OD address 0x1018, subindex 0x03...
Commands to the NH CAN Module There are several commands that can be used with the NH CAN module. The commands are executed by performing an SDO Write to OD address 0x1023, subindex 0x01. A list of the commands can be found in Appendix B. ZEROing and SPANing All calibration information, including sensor constants and the user-performed span, is stored in a memory chip located in the connector of the NH...
0x01 0x0E If the ECM Error Code is from 0x10 to 0x3F inclusive, there is a problem with the module and/or the sensor memory. Therefore the SPAN will be ignored. A successful SPAN can be determined by reading locations 0x5000 and 0x5001 in the OD by performing an SDO Read. If the SPAN was successful those locations will read as 99999.0.
0x12 0x50 0x08 0x00 0x01 Returning the Pre-Broadcast Averaging to Factory Default The averaging values can be reset to factory default (375) by issuing the ECM OS Command 0x15 (see Appendix B). CANid byte 0 byte 1 byte 2 byte 3...
Page 18
identified using Product Code, Revision Number and Serial Number, (these can be found on a white label placed on the top of the plastic enclosure). MULTIPLE MODULES ON BUS SINGLE MODULE ON BUS CAN id byte 0 byte 1 byte 2 byte 3 byte 4 CAN id...
CURRENT NID = 0x10 (16) PRODUCT CODE = 0x03 (3) REVISION NUMBER = 0x03 (3) SERIAL NUMBER = 0x192 (402) NEW NID = 0x1A (26) MESSAGE SENT MODULE REPLY CAN id byte 0 byte 1 byte 2 byte 3 byte 4 CAN id byte 0 byte 1...
CAN bus and how many TPDOs have been enabled for each module. If the broadcast rate is too fast the ECM Configuration Tool will not be able to identify or configure any of the modules. The formula for calculating the minimum broadcast rate is as follows: Minimum Broadcast Rate (ms) >...
CANid byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 0x620 0x23 0x03 0x18 0x01 0xA0 0x04 0x00 0x40 Disable Transmit Process Data Object (TPDO) The following OD addresses are required to disable each TPDO. TPDO EnableOD Transmit...
Page 22
TPDO ConfigOD EnableOD Transmit Address Address CANid TPDO1 0x1A00 0x1800 0x180 + NID TPDO2 0x1A01 0x1801 0x280 + NID TPDO3 0x1A02 0x1802 0x380 + NID TPDO4 0x1A03 0x1803 0x480 + NID Write a 0 to the TPDO Configuration OD Address, subindex 0x00 by performing a SDO Write as follows: CANid byte 0...
Appendix A: Error Codes and Error Register CAN id byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 0x80+NID Error Error Error Code lo Code hi Register Error lo Error hi ERROR CODE DESCRIPTION OF ERRORS 0x0000 - 00FF No error or error reset...
Page 24
Serial overrun 0x00B7 Can overrun Lss 0x00B8 Can overrun Sdo 0x00B9 Can overrun Rx 0x00BA Can overrun ECT5 0x00FF Both ON Module powering down within 500ms Sensor Warm-up count down in seconds (active during ECM ECM AUX Error Code 0x0001)
Appendix B: ECM CANopen OS Commands A user-specific CANopen OS Command to the NH CAN module is sent using an SDO expedited write message in the following form. These commands apply only to the NH CAN module and are listed on the following page:...
Page 26
Command Value Description Reply SensorOn 0x07 Turn on sensor power None SensorOff 0x08 Turn off sensor power None OWDisable 0x0A Ignore 1wire memory (OWDisabled) and use None EE memory values, unit subsequently performs defForceOW/EERead OWEnable 0x0B Use 1wire memory values (OWEnabled), None unit subsequently performs defForceOW/EERead...
Page 27
ResetTPDOs 0x1F Set all TPDOs as delivered from factory. None FastSensorStart 0x20 Use sensor start parameters in 1wire None memory SlowSensorStart 0x21 Sensor start draws <1A max None FactoryReset 0xDF Set all EE values to standard None configuration ExpertModeEnable 0xE0 This command places the unit in expert None mode (password required) 0xE1 Enable heater PID control...
Appendix C: Heartbeat A Heartbeat message is transmitted every 0.5 seconds by the NH CAN module. During normal operation the module is in operational mode (NMT state = 0x05). CAN id byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7...
PDO Data Cell2 raw (bits) 0x200E single float PDO Data Error bit flags ERFL 0x200F single float PDO Data ECM CANOpen Error Code ERCD 0x2010 single float PDO Data Praw (bits) PR10 0x2016 single float PDO Data Pressure (mmHg)
Appendix E: Module EIB mode and Stand-alone Mode The NH CAN module can be used in conjunction with a display head (EIB mode) or on its own (Stand-alone mode). When delivered to be used with a display head, the module is setup in EIB mode.
Page 31
2. Install and start the Configuration Tool (software). Click on the “Module” tab. Select the CAN adapter being used. Then start the communication. 3. Click on the “Set to EIB Mode”. Wait for “Done” Message. Stop communication and exit program.
Page 32
4. Release the two tangs at each side of the module. 6. Slide the PCB out. Remove the jumper from JP4. You can hang it on one pin of JP4 when “off”. Jumper 7. Slide the PCB into the enclosure until the two tangs “click”. 8.
Appendix F: Warranty and Disclaimers WARRANTY The products described in this manual, with the exception of the lambda 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 34
ENGINE CONTROL AND MONITORING Los Altos, CA 94023-0040 • USA • (408) 734-3433 • Fax: (408) 734-3432 www.ecm-co.com...
Page 35
ENGINE CONTROL 586 Weddell Drive, Suite 2 ECM M M M Sunnyvale, CA 94089-2134 AND MONITORING Phone: (408) 734-3433 FAX: (408) 734-3432 Email: sales@ecm-co.com Web: www.ecm-co.com EC DECLARATION OF CONFORMITY We declare under our sole responsibility that the products: AFM1540 Lambda module...