
CM0504 User Guide
42
11. Software
The•CM0504•software•is•responsible•for•providing•general•mechanisms•to•control•the•outputs•(including•
detecting•fault•conditions),•monitor•the•inputs,•and•transmit/receive•J1939/CAN•messages.••The•software•
on•another•level•uses•these•mechanisms•to•implement•some•sort•of•application•program.••The•default•
application•for•this•product•is•to•perform•as•a•
slave controller
,•which•receives•CAN•messages•from•a•
master•controller•telling•it•how•to•drive•the•outputs,•and•transmits•CAN•messages•reporting•the•state•of•
inputs•and•fault•status•of•outputs.
This•document•is•not•intended•to•explain•the•CM0504•internal•code•in•detail,•but•rather•to•document•
how•to•configure•and•use•the•CM0504•with•its•PC•configuration•tool.
11.1.
CM0504 diagnostic tool
There•are•a•few•general•things•to•point•out•about•the•tool:
•
•
the•GUI•is•basic•—•the•main•menu•pops•up•when•you•right-click•on•the•tool•window
•
•
the•tool•follows•the•convention•that•
blue labels/widgets
•(in•this•document•and•in•the•GUI)•denote•
configurable•properties•—•“undefined”•is•a•valid•configuration•value•for•some•configurable•
properties.••Undefined•values•are•shown•as•blank/empty•boxes.••You•can•right-click•on•associated•
widgets•to•pop•up•a•menu•allowing•you•to•change•a•property’s•value•to•undefined.••By•definition,•
operational•values•cannot•be•undefined.
•
green labels/widgets
•(in•this•document)•denote•one-time•configurable•properties•that•generally•
were•configured•at•the•factory
•
gray labels/widgets
•denote•properties•that•cannot•be•changed•by•the•user
•
•
GUI•appearance/behaviour•may•change•depending•on•user•selections,•and•in•some•cases•depending•
on•the•values•of•some•properties.••For•example,•some•widgets•are•hidden•or•disabled•when•
operational•values•are•not•selected.••For•channels•that•are•ganged•(or•part•of•an•H-bridge),•only•
widgets•associated•with•the•gang•“leader”•(or•master•“leg”•of•the•H-bridge)•are•enabled.
•
•
the•diagnostic•protocol•used•between•the•tool•and•the•CM0504•is•robust,•however,•it•is•possible•to•
confuse•the•tool•so•that•it•won’t•talk•to•the•CM0504.••This•is•especially•true•if•you•reconfigure•the•
CM0504’s•J1939•identity,•or•if•you•unplug•one•CM0504•and•plug•in•another
•
•
there•may•be•multiple•modules•on•the•CAN•bus,•some•which•are•not•CM0504’s•—•generally,•the•tool•
interacts•with•only•one•CM0504•at•a•time•(typically•the•first•one•it•happens•to•see,•but•the•user•can•
choose•another)
•
•
for•various•reasons,•a•CM0504•may•be•plugged•in•to•the•bus•but•holding•itself•silent,•so•the•tool•
is•unaware•of•its•presence.••Similarly,•the•module•may•be•talking•on•the•bus•but•the•tool•does•not•
recognize•it•as•a•CM0504•(because•it•has•been•incorrectly•configured).••The•user•may•need•to•take•
some•action•to•“wakeup”•or•“unlock”•the•CM0504,•or•force•the•tool•to•recognize•it•as•a•CM0504.
•
•
the•tool•attempts•to•be•backwards•compatible•with•older•versions•of•CM0504,•but•there•may•be•
scenarios•where•an•older•CM0504•didn’t•support•a•feature,•which•is•not•handled•well•by•the•tool
•
•
the•CM0504•supports•selectable•CAN•bit•rates•(100K,•250K,•500K•&•1M),•but•PC•tool•currently•only•
supports•250K
Содержание CM0504
Страница 1: ...CM0504 User Guide Controller Module Effective April 2019 Supersedes UG CM0504 1038000 201808 007...
Страница 10: ...CM0504 User Guide 3 Symbol Meaning Pull up resistor Battery Fuse Resistor Ground Chassis ground...
Страница 16: ...CM0504 User Guide 9 J4 Connector Pinout Pin I O Name Function 1 VBATT Positive battery terminal HS output power...
Страница 52: ...CM0504 User Guide 45 Figure 11 3 Install S W button Figure 11 4 Software file dialog box...