background image

Appendix A

Example Walk-through

13

Suggested General Settings

Figure III

General Settings

Press the Settings button to open the Settings dialogue. The important settings for

this walk-through are:

Test Duration; 10 seconds

Test Continuously: On, interval 0.

Start Testing Automatically: On

Stop Testing When Clean: Off

Simulate Test: On

V

Suggested Communication Settings

Press the ``Communications...’’ button to open the Communications dialogue.

V

This will cause fictitious test results to be generated in order to test communications and demonstrate

the unit. Do not forget to turn this off before deploying in a real application!

Summary of Contents for ICM

Page 1: ...ICM CANBUS Inline Contamination Monitor CAN BusGuide 200 072 EN www mpfiltri co uk ...

Page 2: ...Document Revision 0 6 ...

Page 3: ...ndards CAN 2 0A 11 bit identifiers and CAN2 0B 29 bit identifiers J1939 and CanOpen are higher level protocols built on these basic standards J1939 uses CAN2 0A and CanOpen uses CAN2 0B The ICM does not implement either of these protocols Instead it defines a few CAN bus messages to communicate data However the message identifiers have been chosen so as to allow operation with both J1939 and CanOpen G...

Page 4: ...rk 2 Connect the ICM to your CAN bus network and provide a 24VDC power sup ply See Figure 1 The ICM automatically emits the test result message after each set test interval Configure your CAN bus controller to listen for the messages configured above 2 For example configure a CAN bus message ID and baud rate ...

Page 5: ...hould be used for the CAN bus signals for cable lengths over a few meters The cables supplied with the ICM are twisted pair CAN bus requires the network to be terminated at each end This must be done externally to the ICM The CAN bus signals CANL and CANH are referred to the system 0V supply These should stay within the common mode range allowed by the ISO 11898 4 CAN bus standard relative to the ...

Page 6: ...needed if both CAN bus controller and ICM are connected to a vehicle chassis or otherwise Earthed There are other wires available for switched alarm and start signals optional These are documented separately in the ICM user guide ...

Page 7: ...the test parameters and result format Then the customer application only has to read the results The CAN bus parameters are configured from the Communication Settings dia logue accessed from the ICM Settings dialogue see the main ICM user guide for more details Figure 1 Communication Settings dialogue The ICM can use either CAN 2 0A basic format with 11 bit identifiers or CAN 2 0B extended frame for...

Page 8: ...t using J1939 can simply listen for messages with the identifier shown in the dialogue e g 0x18FFB53F 3 3 CAN 2 0A and CanOpen The 11 bit format is designed to be compatible with the CanOpen standard It can also be used with any system that allows raw CAN bus 2 0A identifiers to be received In order to use 11 bit identifiers CAN 2 0A set a value below 0x7ff for the Base Address For a CanOpen network u...

Page 9: ...ler will have configured the ICM to automatically start continu ous testing At the end of each set test interval e g 2 minutes the ICM will emit a CAN Result Codes message using the set CAN identifier e g 0x18FFB53F using hexadecimal notation So a typical CAN message might be Byte Identifier 1 2 3 4 5 6 7 8 0x18FFB53F 12 8 2 Details of the CAN bus messages supported are in Appendix B 4 This is by far...

Page 10: ...10 CAN bus Operations ...

Page 11: ...ed in this example is the PCAN USB available from Peak Sys tem Technik GmbH or a distributor We also need to make up a special cable to connect this to the ICM Figure I PCAN USB CAN bus to USB Adaptor Equipment Required ICM with CAN bus capability PCAN USB USB CAN Adaptor ICM USBi interface for initial ICM setup PC with USB ports running Windows Special made up CAN bus cable detailed below 12 or 2...

Page 12: ...iguration Initially we connect using the ICM USBi interface so that the ICM can be com fortably configured using LPA View Detailed information is provided in the user guides but the general procedure is Install LPA View Plug in the ICM USBi The Hardware Found wizard will appear If you have an Internet connection you can let Windows Update install the driver otherwise point the wizard to the drivers...

Page 13: ...ion 10 seconds Test Continuously On interval 0 Start Testing Automatically On Stop Testing When Clean Off Simulate Test OnV Suggested Communication Settings Press the Communications button to open the Communications dialogue V This will cause fictitious test results to be generated in order to test communications and demonstrate the unit Do not forget to turn this off before deploying in a real appli...

Page 14: ...ings and Remote Device Settings dialogues Leave the Remote Control dialogue open Now check that the ICM is now set to automatically perform tests Unplug the ICM circular connector Plug it back in You should see the connection re established on the Remote Control dialogue within a few seconds A test should have been automatically started The tests should repeat every 10 seconds You should see a tes...

Page 15: ...ue is presented Figure V PCAN View Connect dialogue Select a baud rate to match that being used on the ICM for example 250k Select the Extended message filter so that 29 bit identifiers are used Press OK to go to the main PCAN View screen Simulated Tests Plug the ICM into its circular connector It should power up and start performing a test If everything is working after about 20 seconds you should ...

Page 16: ...Appendix A 16 Example Walk through Figure VI PCAN View Main Screen Figure VII Reception of a Test Result Codes Message ...

Page 17: ... cally to communicate the ICM status and the latest test results Peer to peer messages use the J1939 PDU1 format These are used to control the ICM These are generally optional customers may opt to leave the ICM automati cally testing and broadcasting results J1939 Parameters Node Address PDU1 0x3F J1939 Oil Sensor Command Configuration Message PGN 0xEF3F Broadcast Messages PGNs 0xFFB5 0xFFB9 Defaul...

Page 18: ...see 2 as the last digit of all the message IDs CanOpen interprets this as the device node number For CAN2 0B J1939 we have an example base address of 0x18FFB53F The equiv alent node number is 3F so you see this appear in all the message IDs For other node numbers change the set base address value as required CanOpen has node numbers from 0x01 to 0x7f J1939 has node numbers from 0x01 to 0xff Paramet...

Page 19: ...des use a few special values in order to represent codes that are not simple numbers The NAS1638 standard defines classes 00 and 000 these are classes cleaner than class 0 We represent these using signed integers of value 1 and 2 respec tively X VII NAS1638 AS4059E Table 1 and ISO11218 standards produce identical numerical codes so they are listed together here VIII The Basic class is the highest o...

Page 20: ... used to indicate the current state of the ICM or a fault code in the case of a problem being detected The codes are listed in Table III This allows a system to remotely monitor the ICM operation if desired allowing more specific diagnostics XI Completion A number between 0 and 100 indicating the progress of the test This will increase from 0 to 100 during the set test time It can be used to drive ...

Page 21: ...ask format Bit Function Comment 0 RESULT_VALID Current result is valid 1 RESULT_NEW A new result is available 2 RESULT_LOG Current result should be logged 3 TESTING Test in progress 4 COMPLETE Test is complete 5 ALM_HI_COUNT High particle count alarm 6 ALM_HI_H2O High water content alarm 7 ALM_HI_TEMP High Temperature alarm 8 ALM_LO_COUNT Low count alarm 9 ALM_LO_H2O Low water content alarm 10 ALM...

Page 22: ...t they can also be monitored directly by a PLC MMI program and used to drive indicators for example Bit 11 is used internally to detect that the ICM is being controlled by modbus from a PLC or by LPA View Finally bits 12 14 reflect the state of the ICM start signal input and alarm output relays Message Water Sensor Byte Bit Length Type Item 1 1 8 unsigned RH 2 1 8 signed Temperature degrees C ...

Page 23: ...pe Item 1 1 8 unsigned Command Byte 0x00 2 1 8 enum Command 0 1 2 3 6 1 32 unsigned Parameter Commands enum Function Parameter 1 Start Test None 9 Stop Test 13 0xd Start Test Fixed Test Number 14 Format ISO4406 Set ISO4406 result format 15 Format NAS1638 Set NAS1638 result format 16 Format AS4059_E2 Set AS4059E Table 2 result format 17 Format AS4059_E1 Set AS4059E Table 1 result format 18 Format I...

Page 24: ...Appendix B 24 Messages ...

Page 25: ... the right to alter specifications without prior notice Except as permitted by such licence no part of this publication may be reproduced stored in retrieval system or transmitted in any form or any means electronic mechanical recording or otherwise without prior written permission of MP Filtri UK ...

Page 26: ... mpfiltrishanghai com Website www mpfiltrichina com GERMANY MP FILTRI D GmbH Tel 49 6894 95652 0 Fax 49 6894 95652 20 Email service mpfiltri de Website www mpfiltri de FRANCE MP FILTRI FRANCE Tel 33 1 40 86 47 00 Fax 33 1 40 86 47 09 Email contact mpfiltrifrance com Website www mpfiltri com INDIA MP FILTRI INDIA Tel 91 9945599899 Email s mishra mpfiltri com Website www mpfiltri com RUSSIAN FEDERAT...

Reviews: