Customer Communication Module (CCM) for Diesel Engines Caterpillar


Programming Examples for M5X Protocol

Usage:

3406C 1LS
The following examples reference EMCP II applications. However, the format will be similar for other applications.

The user must login to the CCM before any M5X programming can be started. Refer to Operation and Maintenance Manual, SEBU6874, "Communication Protocol for Customized Systems" for more specific information.

Create a Broadcast List

In the following example a broadcast list will be created. The list will also be activated. The list will contain PID $00 $40 (engine rpm) and PID $00 $54 (engine oil pressure). The information will be requested in 2 second intervals from the EMCP II GSC. The list will then be deactivated.

  1. Create a Broadcast List - IID 13: 500013150258040020004000540000000000 0000000000000086

    IID 13 - Used to create a broadcast list. A total of eight lists is allowed by the CCM. This example assumes list number 2.

    Table 1
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $00     User's PC is the sending module    
    3     $13     IID 13    
    4     $15     Number of bytes    
    5     $02     List number    
    6     $58     GSC number 1    
    7     $04     Response will be sent every 2 seconds (increments of 0.5 seconds)    
    8     $00     These bits are unused (always = 0)    
    9     $20     Programming Options: no separator, message terminated by carriage return, in ASCII form.    
    10, 11     $00 $40     1st PID - Generator Set Engine RPM    
    12, 13     $00 $54     2nd PID - Engine Oil Pressure (kPa)    
    14, 15     $00 $00     Filter for unused PID    
    16, 17     $00 $00     Filter for unused PID    
    18, 19     $00 $00     Filter for unused PID    
    20, 21     $00 $00     Filter for unused PID    
    22, 23     $00 $00     Filter for unused PID    
    24, 25     $00 $00     Filter for unused PID    
    26     $86     Checksum    

  1. IID 15 is the response from the CCM that confirms that the list has been successfully created: 500115010099

    IID 15 - The CCM's reply to IID 11, IID 12, or IID 13.

    Table 2
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $15     IID 15    
    4     $01     Number of bytes    
    5     $00     IID data is OK    
    6     $99     Checksum    

  1. Activate the Broadcast List - IID 11: 50001101029C

    IID 11 - Used to activate a broadcast list.

    Table 3
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $00     User's PC is the sending module    
    3     $11     IID 11    
    4     $01     Number of bytes    
    5     $02     List number    
    6     $9C     Checksum    

  1. IID 15 is the response from the CCM confirming that the list has been activated: 500115010099

    IID 15 - The CCM's reply to IID 11, IID 12, or IID 13.

    Table 4
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $15     IID 15    
    4     $01     Number of bytes    
    5     $00     IID data is OK    
    6     $99     Checksum    

  1. IID 10 is the broadcast response from the CCM: 5001100602580BB800C8B4

    IID 10 - The data will now start flowing from the GSC to the CCM and then to the user's PC at the rate of once every two seconds. The entire broadcast list will not be returned if any of the following conditions are met:

    • The GSC number is not available.

    • The GSC does not support the PID.

    • The PID contains more than 2 bytes of data.

    Table 5
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $10     IID 10    
    4     $06     Number of bytes    
    5     $02     List number    
    6     $58     GSC number 1    
    7, 8     $0BB8     1500 rpm    
    9, 10     $00C8     100 kPa    
    11     $B4     Checksum    

  1. IID 12 will deactivate the list: 50001201029

    IID 12 - Used to deactive a list.

    Table 6
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $12     IID 12    
    4     $06     Number of bytes    
    5     $02     List Number    
    6     $9B     Checksum    

  1. IID 15 is the response from the CCM confirming that the list has been successfully deactivated: 500115010099

    IID 15 - The CCM's reply to IID 11, IID 12, or IID 13.

    Table 7
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $15     IID 15    
    4     $01     Number of bytes    
    5     $00     IID data is OK    
    6     $99     Checksum    

Reading Faults from EMCP II GSC

The following example shows how to read faults from the EMCP II GSC.

  1. Use IID 24 to send PID $0082 to the GSC: 5000240400580082AE

    IID 24- Single parameter Read Request

    Table 8
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $24     IID 24    
    4     $04     Number of bytes    
    5     $00     IID data is OK    
    6     $58     GSC number 1    
    7, 8     $00 $82     PID $0082 GSC Fault Log Codes, Status, And Number of occurrences    
    9     $AE     Checksum    

  1. IID 25 is the response from the CCM: 5001250758008200BEC30424

    IID 25 - Single Parameter Read Response

    Table 9
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $25     IID 25    
    4     $07     Number of bytes    
    5     $58     GSC number 1    
    6, 7     $00 $82     PID $0082 GSC Fault Log Codes, Status, And Number of occurrences    
    8, 9     $00 $BE     CID 190 (engine speed sensor fault)    
    10     $C3     Count included, inactive fault, logged fault, standard FMI (3)    
    11     $04     Occurrence count of 4    
    12     $24     Checksum    

  1. IID 00 is used to request additional information on a fault 500000070058008300BEC34D

    IID 00 - Special parameter Command

    Table 10
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $00     IID 00    
    4     $07     Number of bytes    
    5     $00     Reply in ASCII format    
    6     $58     GSC number 1    
    7, 8     $00 $83     PID $0083 GSC Fault Log Request For Additional Data    
    9, 10, 11     $00 $BE $C3     More information requested on CID 190 FMI 3    
    12     $4D     Checksum    

  1. IID 25 will contain the reply as PID $0084 5001250B58008400BEC303000C001102

    IID 25 - Single Parameter Read Response

    Table 11
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $25     IID 25    
    4     $0B     Number of bytes    
    5     $58     GSC number 1    
    6, 7     $00 $84     PID $0084 GSC Fault Log Response For Additional Data    
    8, 9     $00 $BE     CID 190    
    10     $C3     More information on FMI 3    
    11     $03     Three occurrences of this fault    
    12, 13     $00 $0C     First occurrence at 12 hours    
    14, 15     $00 $11     Last occurrence at 17 hours    
    16     $02     Checksum    

Monitoring Generator Phase

The following example shows how to select which generator phase the GSC monitors.

  1. Use IID 34 to write the parameters of PID $F0B0: 500034050048F0B0007F

    IID 34 - Single Parameter Write Request

    Table 12
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $00     User's PC is the sending module    
    3     $34     IID 34    
    4     $05     Number of bytes    
    5     $00     Reply in ASCII format    
    6     $58     GSC number 1    
    7, 8     $F0 $B0     PID $F0B0 Generator Phase Select    
    9     $00     Phase A-B Voltage, Phase A Current    
    10     $7F     Checksum    

  1. IID 35 is the response from the CCM: 5001350458F0B0007E

    IID 35 - Single Parameter Write Response

    Table 13
    Byte(s)     Byte Contents     Detailed Description    
    1     $50     Indicates M5X protocol    
    2     $01     CCM is the sending module    
    3     $35     IID 35    
    4     $04     Number of bytes    
    5     $58     GSC number 1    
    6, 7     $F0 $B0     PID $F0B0 Generator Phase Select    
    8     $00     Phase A-B Voltage, Phase A Current    
    9     $7E     Checksum    

Retrieving CCM Diagnostic Codes

The CCM allows the diagnostic codes to be read from the CCM and the Engine Controller. This is accomplished by using IID 24. Use IID 24 with PID 0082 to retrieve the codes for the CCM. The format for the message is given below.

5000240400610082cs

The CCM will respond with two data bytes.

Clearing CCM Diagnostic Codes

The diagnostic codes on the CCM can be cleared. The codes are cleared by using IID 34 with PID 000D. The codes on the CCM can be cleared at any time. By sending the following message to the CCM, all of the diagnostic codes will be cleared.

500034050061000DFFcs

The CCM will respond with IID 35, if the message is received properly.

Caterpillar Information System:

SR4 and SR4B Generators and Control Panels Generator Identification
C15 and C18 Petroleum Generator Sets Generator Isolating for Maintenance
3126B and 3126E On-highway Engines 0110-04 Coolant Temperature voltage low (27)
3126B and 3126E On-highway Engines 0110-03 Coolant Temperature voltage high (27)
3126B and 3126E On-highway Engines 0105-04 Intake Manifold Air Temperature voltage low (38)
SR4 and SR4B Generators and Control Panels Electrical System
SR500 Generators Generator Lead Connections
3126B and 3126E On-highway Engines 0105-03 Intake Manifold Air Temperature voltage high (38)
SR4 and SR4B Generators and Control Panels Engine Stopping
3126B and 3126E On-highway Engines 0108-04 Barometric Pressure voltage low (26)
Customer Communication Module (CCM) for Diesel Engines Parameter Identifiers for General Usage
3126B and 3126E On-highway Engines 0108-03 Barometric Pressure voltage high (26)
3126E Engine for Combat and Tactical Vehicles 0084-00 Vehicle Overspeed Warning (41)
SR4 and SR4B Generators and Control Panels Reference Numbers
3512 Industrial Engine Reference Numbers
3406E, C-10, C-12, C-15, C-16 and C-18 On-highway Engines 0100-01 Low Oil Pressure Warning (46)
3512 Industrial Engine Maintenance Interval Schedule
3406E, C-10, C-12, C-15, C-16 and C-18 On-highway Engines 0100-11 Very Low Oil Pressure (46)
3406E, C-10 and C-12 On-highway Engines 0105-00 High Intake Manifold Air Temperature Warning (64)
Customer Communication Module (CCM) for Diesel Engines Reference Material
Customer Communication Module (CCM) for Diesel Engines Password - Enable and Disable
3406E, C-10 and C-12 On-highway Engines 0105-11 Very High Intake Manifold Air Temperature (64)
3406E, C-10, C-12, C-15, C-16 and C-18 On-highway Engines 0110-00 High Coolant Temperature Warning (61)
Customer Communication Module (CCM) for Diesel Engines Initialization for Direct Connection
Back to top
The names Caterpillar, John Deere, JD, JCB, Hyundai or any other original equipment manufacturers are registered trademarks of the respective original equipment manufacturers. All names, descriptions, numbers and symbols are used for reference purposes only.
CH-Part.com is in no way associated with any of the manufacturers we have listed. All manufacturer's names and descriptions are for reference only.