Parker CM0504 User Manual
Parker CM0504 User Manual

Parker CM0504 User Manual

Controller module
Table of Contents

Advertisement

Quick Links

Effective:
April 2019
Supersedes: UG-CM0504-1038000-201808-007
CM0504 User Guide
Controller Module

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CM0504 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Parker CM0504

  • Page 1 Effective: April 2019 Supersedes: UG-CM0504-1038000-201808-007 CM0504 User Guide Controller Module...
  • Page 2 Parker Hannifin Canada Electronic Controls Division 1305 Clarence Avenue Winnipeg, MB R3T 1T4 Canada office +1 204 452 6776 Fax +1 204 478 1749 http://www.parker.com/ecd Copyright 2019 © Parker Hannifin Corporation. All rights reserved. No part of this work may be reproduced, published, or distributed in any form or by any means (electronically, mechanically, photocopying, recording, or otherwise), or stored in a database retrieval system, without the prior written permission of Parker Hannifin Corporation in each instance. Warning! FAILURE OR IMPROPER SELECTION OR IMPROPER USE OF THE PRODUCTS AND/OR SYSTEMS DESCRIBED HEREIN OR RELATED ITEMS CAN CAUSE DEATH, PERSONAL INJURY AND PROPERTY DAMAGE. • • This•document•and•other•information•from•Parker•Hannifin•Corporation,•its•subsidiaries•and• authorized•distributors•provide•product•and/or•system•options•for•further•investigation•by•users• having•technical•expertise. • • The•user,•through•its•own•analysis•and•testing,•is•solely•responsible•for•making•the•final•selection• of•the•system•and•components•and•assuring•that•all•performance,•endurance,•maintenance,• safety•and•warning•requirements•of•the•application•are•met.•The•user•must•analyze•all•aspects• of•the•application,•follow•applicable•industry•standards,•and•follow•the•information•concerning• the•product•in•the•current•product•catalog•and•in•any•other•materials•provided•from•Parker•or•its• subsidiaries•or•authorized•distributors. • • To•the•extent•that•Parker•or•its•subsidiaries•or•authorized•distributors•provide•component•or• system•options•based•upon•data•or•specifications•provided•by•the•user,•the•user•is•responsible•for• determining•that•such•data•and•specifications•are•suitable•and•sufficient•for•all•applications•and• reasonably•foreseeable•uses•of•the•components•or•systems. • •...
  • Page 3: Table Of Contents

    Safety•symbols•............................. VII General•safety•regulations•........................VII Welding•after•installation• ........................VIII Construction•regulations•........................VIII Safety•during•installation•........................VIII Safety•during•start-up• ......................... VIII Safety•during•maintenance•and•fault•diagnosis• ................VIII Understanding the CM0504 .................... 1 1.1.• Diagram•conventions• .......................2 CM0504 Quick start ......................4 2.1.• Gather•Required•Materials•......................4 2.2.• •Install•the•Required•Software•Tools• ..................4 2.2.1.•...
  • Page 4 7.1.1.• J1939•CAN•Capabilities•......................26 7.1.2.• J1939•CAN•Installation•Connections•..................26 Installation ........................28 8.1.• Mechanical•Requirements• .....................28 8.2.• Dimensions• ..........................28 8.3.• Selecting•a•Mounting•Location• ....................29 8.4.• Mounting•the•CM0504•to•a•Vehicle• ..................29 8.5.• Designing•and•Connecting•the•Vehicle•Harness• ..............30 Environmental Protection .................... 31 9.1.• General• ............................31 9.2.• Environment•...........................31 9.3.• Markings/Approvals• .......................31 Application Examples....................
  • Page 5: Publication History

    Publication History The•following•table•provides•an•overview•of•the•changes•made•to•this•document•over•the•course•of•its• publication•history. Release Date Description of Change Rev. 001 First release of this document Rev. 002 Pin-outs updated and input characteristics added from HW desc. 1038F11.00A, 6/24/2016 Rev. 003 Input and output section capabilities updated, other minor edits per engineering feedback, 1/31/2017 Rev. 004 Associated input names to correct pins and minor edits throughout per engineering feedback from 7/6/2017 Rev. 005 Edit wire size in connector section. Clarify input types. Rev. 006 Edits per feedback from HY-JG, 2/12/2018. Software section and Diagnostic (config) Tool screen captures added. Rev. 007 Edit Environmental specs. Fix table size in software section. Rev. 008 Add Quick Start chapter. Edits to H-Bridge section. • CM0504 User Guide...
  • Page 6: Safety

    The•term•“manufacturer”•refers•to•Parker•Hannifin•Corporation. Safety symbols The•following•symbols•are•used•in•this•document•to•indicate•potentially•hazardous•situations: Danger! Risk of death or injury. Warning! Risk of damage to equipment or degradation of signal When•you•see•these•symbols,•follow•the•instructions•carefully•and•proceed•with•caution. General safety regulations Work•on•the•hydraulics•control•electronics•may•only•be•carried•out•by•trained•personnel•who•are•well- acquainted•with•the•control•system,•the•machine,•and•its•safety•regulations. •Follow•the•manufacturer’s•regulations•when•mounting,•modifying,•repairing,•and• maintaining•equipment.•The•manufacturer•assumes•no•responsibility•for•any•accidents• caused•by•incorrectly•mounted•or•incorrectly•maintained•equipment.•The•manufacturer• assumes•no•responsibility•for•the•system•being•incorrectly•applied,•or•the•system•being• programmed•in•a•manner•that•jeopardizes•safety. • •Do•not•use•the•product•if•electronic•modules,•cabling,•or•connectors• are•damaged•or•if•the•control•system•shows•error•functions. ••Electronic•control•systems•in•an•inappropriate•installation•and•in•combination•with• strong•electromagnetic•interference•fields•can,•in•extreme•cases,•cause•an•unintentional• change•of•speed•of•the•output•function. CM0504 User Guide...
  • Page 7: Welding After Installation

    Safety during start-up Danger! Risk of death or injury. Do•not•start•the•machine’s•engine•before•the•control• system•is•mounted•and•its•electrical•functions•have•been•verified.• • Do•not•start•the•machine•if•anyone•is•near•the•machine. Safety during maintenance and fault diagnosis Before•performing•any•work•on•the•hydraulics•control•electronics,•ensure•that • • The•machine•cannot•start•moving. • • Functions•are•positioned•safely. • • The•machine•is•turned•off. • • The•hydraulic•system•is•relieved•from•any•pressure. • • Supply•voltage•to•the•control•electronics•is•disconnected. • CM0504 User Guide...
  • Page 8: Understanding The Cm0504

    1. Understanding the CM0504 The•Controller•Module•(CM)•0504•is•a•general•purpose•input•/•output•controller•that•includes•a•single• CAN•interface,•5•inputs•and•4•outputs•with•error•checking.•The•main•function•of•the•module•is•to• provide•a•means•of•controlling•high•current•loads•through•messages•on•the•CAN•bus.•The•outputs•can•be• configured•as•either•high-side•or•low-side•drivers.•The•module•outputs•can•be•configured•to•support•up• to•two•full•H-bridge•motor•drives•to•control•directional•motors.•• • The•CM0504•is•only•available•as•a•CAN•slave•module•and•does•not•support•standalone•operation.• However,•it•does•support•limited•configurability,•to•specify•things•like•input•configurations,•and•update• rates•for•the•messages•presented•on•the•CAN•bus.•The•configuration•tool•is•available•from•our•website,• www.parker.com/ecd•under•‘Support’ . • Figure 1.1. CM0504 controller module • The•CM0504•is•designed•to•communicate•through•a•J1939-based•Controller•Area•Network•(CAN)•and•can• be•used•in•any•CAN•2.0B•application. The•CM0504•has•many•features,•as•follows: • • The•CM0504•can•monitor•up•to•5•inputs: • • 1•active-high•with•wake•up•input•(can•be•used•as•power•control). • • 4•programmable•inputs•(can•be•used•as•analog,•digital,•resistive,•or•frequency). • • The•CM0504•has•4•outputs: • • up•to•25•A•load,•module•total•100•A•(can•be•configured•as•high-side•or•• low-side). • •...
  • Page 9: Diagram Conventions

    1.1. Diagram conventions The•following•symbols•are•used•in•the•schematic•diagrams•in•this•document: Symbol Meaning General input General output Frequency input Analog input Frequency sensor Pulse sensor Resistive sensor General sensor Application switch Load Pull-down resistor CM0504 User Guide...
  • Page 10 Symbol Meaning Pull-up resistor Battery Fuse Resistor Ground Chassis ground CM0504 User Guide...
  • Page 11: Cm0504 Quick Start

    2. CM0504 Quick start This•section•provides•step-by-step•instructions•on•how•to•connect•the•CM0504,•install•the•required• software•tools,•and•configure•the•CM0504•software.•The•following•is•a•high-level•overview•of•the•steps• involved•with•this•section: 1.• Gather•the•required•materials. 2.• Install•the•required•software•tools•provided•by•Parker. 3.• Connect•the•CM0504•and•power•it•up. 4.• Configure•CM0504•for•its•application.•(optional) 5.• Include•the•CM0504•slave•messaging•into•your•master•module(s). 2.1. Gather Required Materials The•following•materials•are•required•for•the•procedures•in•this•section: • • CM0504 • • personal•computer•(PC) • • harness• • • Data•Link•Adapter•(DLA)•kit•(comes•with•cables•needed•for•connecting•the•DLA•to•your•PC•and•to• the•rest•of•the•system) • • power•supply•compatible•with•the•CM0504•and•loads • •...
  • Page 12: Install The Cm0504 Diagnostic Tool

    To•install: 1.• Download•the•software. 2.• Save•the•EXE•file•in•a•known•location•on•your•PC. 3.• Simply•double•click•the•EXE•to•run•(i.e•there•is•no•installer). 2.3. Connect the CM0504 to a System The•following•shows•how•to•connect•the•CM0504•to•a•power•supply: Figure 2.1. CM0504 power connection Warning! Size fuses for both the Logic Power and High Current Power appropriately. Improper fusing can result in a fire. Note: By•default•the•CM0504•will•wake-up•whenever•power•is•applied•to•pin•J1-12•but•it•may•also•be•...
  • Page 13: Configure Cm0504 For Its Application

    2.4. Configure CM0504 for its application The•CM0504•comes•with•the•J1939•slave•application•preinstalled•and•a•default•configuration•that•may• meet•the•needs•of•your•application.•However,•in•case•the•configuration•needs•to•be•changed,•Parker• provides•the•CM0504•Diagnostic•tool.•The•tool•may•be•used•to•configure•the•following•features•of•the• CM0504: • • Input•type•(e.g.•digital,•analog,•frequency) • • Output•type•(e.g.•high•side,•low•side,•or•H-Bridge) • • Wakeup•options•(e.g.•always•on,•wake•on•input,•or•wake•on•CAN) • • J1939•slave•messages•used•(e.g.•PGN,•SA,•DA,•and•broadcast•rate) For•details,•see•sections: • • 10.2•--•default•configuration • • 10.1•–•detailed•instructions•for•the•CM0504•Diagnostic•tool 2.5. Include CM0504 slave messaging in your master module The•CM0504•is•a•slave•module•which•requires•a•master•on•the•J1939•network•to•process•the•value•of•its• inputs•and•tell•it•the•desired•state•of•its•outputs.•The•J1939•messages•used•by•the•CM0504•for•this•purpose• are•described•in•section•10.2.•This•document•assumes•the•development•environment•used•for•the•master• module•provide•the•facilities•to•construct•these•4•J1939•messages•as•required. CM0504 User Guide...
  • Page 14: Connectors

    3. Connectors The•CM0504•has•1•Deutsch•DTM•12•position•connection: • • J1:•DTM04-12PA This•connector•is•used•to•connect•to•the•inputs,•and•communication•channels•used•by•the•CM0504.•The• required•connector•is: Figure 3.1. DTM06-12SA connector The•CM0504•has•1•Deutsch•DTP•4•position•connection. • • J3:•DTP04-4P This•connector•is•used•to•connect•to•the•outputs•used•by•the•CM0504.•The•required•connector•is: • Figure 3.2. J3 connector •The•CM0504•also•has•2•Deutsch•DTHD•1•position•connections•for•power•and•ground: • • J2:•DTHD04-1-4P • • J4:•DTHD04-1-4P The•required•connector•is: •• Figure 3.3. J2 & J4 connector The•maximum•wire•gage•for•the•J2•and•J4•connectors•is•6•AWG•with•GXL•insulation. CM0504 User Guide...
  • Page 15: Pinouts

    INPUT1 Active high digital wake up input ADDR_L/GND Address low, IDtag / (sensor ground) ADDR_H/SENSOR Address high, IDtag / (+5 V supply) INPUT2 General purpose input Type 1 INPUT3 General purpose input Type 1 INPUT4 General purpose input Type 2 CAN_H CAN high +VBATT Logic power (positive battery terminal) J2 Connector Pinout I/O Name Function Negative battery terminal (LS output ground) J3 Connector Pinout I/O Name Function OUTPUT2_25A High-side or low-side output, 25 A OUTPUT4_25A High-side or low-side output, 25 A OUTPUT3_25A High-side or low-side output, 25 A OUTPUT1_25A High-side or low-side output, 25 A CM0504 User Guide...
  • Page 16 J4 Connector Pinout I/O Name Function +VBATT Positive battery terminal (HS output power) • CM0504 User Guide...
  • Page 17: Inputs

    4.1. Analog input Type 2 There•are•4•analog•Type•2•inputs•(INPUT2, INPUT3, INPUT4, INPUT5).• The•primary•function•of•the•Analog•input•Type•2•is•to•interface•0-5V•sensors•in•an•application.•• 4.1.1. Analog input Type 2, circuit characteristics The•following•table•provides•specifications•for•the•analog•input: Analog input Type 2 characteristics Item Unit Input voltage range (non-operational) Full scale input voltage Pull-up resistance open Input resistance w.r.t. ground (pull-up/pull- kΩ down inactive) Resolution 0.81 mV/bit Offset error Gain error Non-linearity error Filtering hardware cutoff frequency 39.3 CM0504 User Guide...
  • Page 18: Analog Inputs Connections

    Use•the•shortest•possible•wires•when•connecting•analog•inputs•to•sensors. The•following•shows•how•to•connect•an•analog•input•to•reduce•system•noise: Sensor Power Internal to product Sensor Analog Input Sensor Ground • Figure 4.1. Analog input for system noise reduction Ground level shift To•reduce•ground•level•shift: 1.• Dedicate•one•of•the•2•system•ground•inputs•(GND)•to•sensors•that•have•dedicated•ground•wires,•and• connect•all•sensor•grounds•to•this•system•ground•input. 2.• Splice•the•other•system•ground•inputs•together•in•the•vehicle•harness•(close•to•the•connector)•to• provide•a•better•ground•for•the•noisier•low-side•outputs•and•digital•circuits. 3.• Position•the•sensor’s•ground•connection•near•the•system•ground•connections•to•ensure•that•the• signal•remains•within•the•digital•activation•range•of•the•input. Note 1: The•system•ground•inputs•are•rated•for•low-current•signals,•which•ensures•the•sensor’s•ground•is• very•close•in•voltage•potential•to•the•system•ground. Note 2: Sensors•that•don’t•have•a•dedicated•ground•wire•are•typically•grounded•to•the•vehicle•chassis• through•the•sensor’s•body. • CM0504 User Guide...
  • Page 19: Power Control Digital Input

    4.2. Power control digital input The•CM0504•has•1•active-high•power•control•digital•input•that•is•used•for•waking•up•(turning•on)•the• product•(INPUT1). This•type•of•input•has•a•pull-down•resistor•option•only.•When•the•input•is•active•it•turns•on•the•power• supply•pass•transistor•to•power•up•the•unit.•The•input•is•sensed•directly•by•the•microprocessor. 4.2.1. Power control input, circuit characteristics The•following•table•provides•specifications•for•the•CM0504•power•control•digital•input: Power control digital input characteristics Item UNIT Input voltage range Over-voltage Pull-down resistance 21.2 kΩ Capacitance at pin 1000 Input Power Up Threshold • Note: The•power•control•digital•input•voltage•must•be•greater•than•4.3•V•before•it•is•considered•an•active• high•input. The•power•control•digital•input•wakes•up•the•CM0504•when•switched•high•to•a•voltage•of•4.3•V•or•greater.• The•CM0504•will•shut•off•when•an•open•circuit•condition•occurs•on•the•power•control•digital•input,• unless•it•is•configured•to•‘Wake•on•CAN’ . CM0504 User Guide...
  • Page 20: Power Control Digital Input Connections

    • • When•battery•power•(VBATT)•is•connected,•and•the•power•control•digital•input•is•inactive,•the• CM0504•will•go•into•sleep•mode. • • The•CM0504•has•‘Wake•on•CAN’•capability.•Even•when•it•is•not•configured•for•wake•on•CAN,•the•bus• must•be•completely•silent•in•order•for•the•CM0504•to•stay•in•low•power•sleep•mode.•Until•the•correct• wakeup•conditions•are•sensed,•the•CM0504•will•appear•“off”•(outputs•off•and•no•CAN•tx)•but•there•is• no•way•to•keep•its•power•supply•off•if•there•is•CAN•activity•on•the•bus.• If•your•CM0504•must•always•be•powered,•the•power•control•digital•input•does•not•need•to•be•used.•The• CM0504•can•be•configured•to•always•be•powered•using•the•CM0504•Configuration•Tool•software. The•following•diagram•shows•a•typical•power•control•digital•input•connection: • Internal to product Application Switch Power Control Input Power Control Pull-Down Resistor Battery Figure 4.3. Power control digital input installation connections 4.3. INPUT2 and INPUT3, alternate functions The•alternate•functions•for•inputs•INPUT2•-•INPUT3•is•as•digital•(active-low)•inputs•and•as•frequency• (type•1•&•type•2)•inputs. CM0504 User Guide...
  • Page 21: Input2 And Input3, Frequency Or Digital Active-Low Characteristics

    Resolution Positive threshold Negative threshold 5.72 Filtering low pass cutoff frequency 3656 4.3.2. Active-Low Digital Input Connections An•active-low•digital•input•is•typically•connected•to•a•switch•that•is•either•open•or•closed. • • When•the•switch•is•open,•the•pull-up•resistor•will•ensure•no•signal•exists•on•the•input•pin,•which•will• be•interpreted•by•the•CM0504•as•inactive. • • When•the•switch•is•closed,•the•input•is•connected•to•ground,•which•will•be•interpreted•by•the• CM0504•as•active. The•active-low•input•must•be•connected•to•ground•to•ensure•there•is•a•ground•connection•when•the•state• of•the•input•changes. The•following•shows•a•typical•active•low•digital•input•connection: • Internal to product Application Switch Active High Digital Input Battery Figure 4.4. Active low digital input connections CM0504 User Guide...
  • Page 22: Input4 And Input5, Alternate Functions

    Input voltage range Input frequency range 6500 Pull-up resistance 2.21 open kΩ Input resistance w.r.t. ground (pull-up/ 77.3 kΩ pull-down inactive) Resolution Positive threshold 5.18 Negative threshold 6.24 Filtering low pass cutoff frequency 8517 4.4.3. Active-High Digital Input Connections A•digital•input•is•typically•connected•to•a•switch•that•is•either•open•or•closed. • • When•an•active-high•switch•is•open,•the•pull-down•resistor•ensures•that•no•voltage•exists•on•the• input•signal,•which•will•be•interpreted•by•the•CM0504•as•inactive. • • When•the•switch•is•closed,•the•input•is•connected•to•battery•voltage,•which•will•be•interpreted•by•the• CM0504•as•active. For•an•input•that•is•active-high • • It•must•be•connected•to•battery•power•so•that•there•is•a•battery•connection•when•the•state•of•the• input•changes. CM0504 User Guide...
  • Page 23: Addressing

    • • The•power•provided•to•the•digital•switch•connected•to•the•input•must•be•provided•through•a•fuse•in• the•wire•harness. A•typical•active-high•digital•input•connection•is•shown•below: Internal to product Application switch Active Low Digital Input Figure 4.5. Active high digital input 4.5. Addressing The•CM0504•supports•addressing•of•the•module•using•resistor•tags.• This•input•circuit•has•been•optimized•to•support•standard•Parker•(IDtag)•addressing•resistors•(0.5%• resistors•to•be•used•for•module•addressing). The•CM0504•measures•the•resistance•of•an•IDtag•resistor•connected•between•ADDR_H•and•ADDR_L• pins.•There•can•be•up•to•8•CM0504•modules•in•a•system•when•address•tags•are•used. • Marked with address acc. to table Deutsch DTM CM0504 User Guide...
  • Page 24: Addressing Installation Connections

    Address Ordering part number* Resistance (ohms) 5030160 5030161 5030162 5030163 1.5k 5030164 2.23k 5030165 3.36k 5030166 5.3k 5030167 9.53k * - addressing resistors are sold in bags of 10 4.5.1. Addressing installation connections The•IDtag•defining•the•address•for•the•module•is•inserted•into•the•CM0504•connector•positions•ADDR_H• and•ADDR_L. The•following•shows•a•typical•module•ID•connection: • Internal to product +5Vdc ADDR_H IDtag ADDR_L Figure 4.6. Typical IDtag installation CM0504 User Guide...
  • Page 25: Outputs

    The•following•table•provides•specifications•for•the•high-side•outputs: High-Side Output Specifications Item UNIT Maximum output current Output Resistance - w.r.t. ground: Output off 100.9 kΩ Output Resistance - w.r.t. VBATT: Output on mΩ Leakage current, strobe off - output off 0.12 0.24 Turn on delay (Off to On state) 4.48 µs Turn off delay (On to Off state) 8.39 µs Output pin capacitance PWM frequency (see note 1) Duty cycle resolution, up to max frequency Note 1: Output•PWM•frequency•can•go•up•to•2000Hz.•Parker•application•engineering•would•need•to• review•each•application•request•for•an•output•PWM•frequency•above•the•default•500•Hz.• 5.1.2. High-Side Output Diagnostics and Fault Detection The•CM0504’s•high-side•outputs•have•the•ability•to•report•many•different•fault•conditions,•and•are• protected•against•short-circuit•and•over-current,•open•load,•and•short-to-battery•faults. CM0504 User Guide...
  • Page 26: Low-Side Outputs

    OUTPUT1_LS•to•OUTPUT4_LS • The•low-side•outputs•share•pins•with•the•high-side•outputs•and•are•configured•with•the•software•tool. 5.2.1. Low-side output capabilities The•low-side•outputs•in•the•module•provide•a•switched•GROUND•(open•drain)•digital•output•from•the• CM0504•for•loads.••The•outputs•do•not•support•PWM.•• The•following•table•provides•specifications•for•the•CM0504’s•low-side•outputs: Low-Side Output Characteristics Item UNIT Output voltage range (operational/non- operational) Output current Output ON state resistance (w.r.t. GND) mΩ Output OFF state leakage current Turn ON time to ON state 1.39 µS Turn OFF time to OFF state 5.78 µS Output pin capacitance 5.2.2. Low-Side Output Diagnostics and Fault Detection The•CM0504’s•low-side•outputs•have•the•ability•to•report•many•different•fault•conditions,•and•are• protected•against•short-circuit•and•over-current,•open•load,•and•short-to-ground•faults. CM0504 User Guide...
  • Page 27: High-Side/Low-Side Output Configuration

    The•following•diagram•shows•the•possible•configuration•for•high-side/low-side•outputs: Internal to product Low-Side Driver Application Load Ground Battery voltage Application Load High-Side Driver Figure 5.1. High-side/Low-side output configuration 5.3.1. High-Side/Low-Side output connections 5.3.1.1. High-Side Output Connections You•must•be•aware•of•the•following•when•connecting•high-side•outputs: • • High-side•outputs•are•connected•to•the•VBATT•pins,•which•can•be•connected•to•a•+12•V•or•+24•V• battery.•The•VBATT•powers•4x•25•A•outputs.•Maximum•load•on•the•VBATT•is•100•A. • • High-side•outputs•can•provide•switched•battery•power•to•a•variety•of•load•types•in•a•vehicle.• If•large•inductive•loads•are•used,•and•the•high-side•output•is•providing•a•continuous•PWM•signal,•then• the•PWM•peak•current•must•not•be•greater•than•the•specified•continuous•current•for•the•output•(in• continuous•mode,•the•average•current•flow•through•the•diode•at•50%•duty•cycle•is•approximately•equal•to• ½•the•peak•current). CM0504 User Guide...
  • Page 28 • • The•grounds•for•the•loads•should•be•connected•physically•close•to•the•CM0504•power•grounds. The•following•shows•a•typical•high-side•output•connection: • Internal to product High-Side Output Application Load Figure 5.2. High-side output installation connections 5.3.1.2. Low-Side Output Connections You•must•be•aware•of•the•following•when•connecting•low-side•outputs: • • Low-side•outputs•are•connected•to•the•ground•pins,•which•are•connected•to•battery•negative• terminal.•Maximum•load•on•each•output•is•25•A.•Maximum•load•on•the•ground•is•100•A • • Low-side•outputs•can•provide•switched•ground•path•to•a•variety•of•load•types•in•a•vehicle. The•following•shows•a•typical•low-side•output•connection: • Internal to product Application Load Low-Side Battery Output Figure 5.3. Typical low-side output connection CM0504 User Guide...
  • Page 29 • Size•your•fuses•and•wires•accordingly•when•altering•the•output•configuration.•• • Improper•fusing•and•wiring•can•result•in•a•fire.• • Note: Fusing•of•the•Bus•Bar(s)•is•not•shown•in•the•examples•below.• The•following•figures•show•a•typical•setup•for•an•H-Bridge.•These•show•how•the•H-Bridge•is•used•to• reverse•current•flow•direction. MODULE Busbar (VBAT) Output X (HS) active Output X (LS) inactive Current flow LOAD direction Busbar (VBAT) Output Y (HS) inactive Output Y (LS) active Figure 5.4. H-bridge forward direction CM0504 User Guide...
  • Page 30 MODULE Busbar (VBAT) Output X (HS) inactive Output X (LS) active Current flow LOAD direction Busbar (VBAT) Output Y (HS) active Output Y (LS) inactive Figure 5.5. H-bridge reverse direction To•activate•the•H-Bridge•as•shown•above,•use•the•CM0504•Configuration•Tool•software•to•set•up•the•out• puts•for•current•flow•to•be•controlled•in•the•forward•and•reverse•directions.• CM0504 User Guide...
  • Page 31: Power

    Logic and Output Power Specifications Item Unit Input voltage range Over voltage Current draw in on state (excluding outputs) Current draw in sleep mode (see note 1) Inline fuse required on power circuit pin Number of VBATT pins Number of ground pins Note 1: Current•draw•in•sleep•mode•depends•on•the•output•configuration.•Sleep•mode•current•draw•will• be•lesser•value•when•the•outputs•are•configured•as•HS•output. 6.1.2. Logic and output power connections When•connecting•the•CM0504•logic•and•output•power,•note•that: • • Logic•and•output•power•connections•are•made•using•the•VBATT•and•GND•pins.• • • When•there•are•multiple•output•power•pins,•the•number•of•wires•needed•to•connect•the•CM0504• power•depends•on•the•amount•of•current•required•by•the•application.• • • It•is•recommended•that•you•use•the•largest•AWG•wire•allowed•by•your•connector•for•the•VBATT• and•GND•pins,•to•meet•the•amount•of•expected•output•current;•however,•this•is•not•always•true• and•depends•on•your•application. CM0504 User Guide...
  • Page 32 • • The•CM0504•is•protected•against•reverse-battery•connections•by•an•internal•high-current•conduction• path•that•goes•from•ground•to•power.• • • Select•fuse•sizes•by•multiplying•the•maximum•continuous•current•during•normal•operation•by• 1.333•(75%•de-rating•factor).•Do•not•use•slow•blow•fuses•for•this•application. • • All•power•connections•to•the•CM0504•should•be•fused•to•protect•the•vehicle•harness.• CM0504 User Guide...
  • Page 33: Communication

    J1939 CAN Capabilities The•CAN•communicates•information•at•a•rate•of•250•kbps.•CM0504•input•and•output•information•is• transmitted•through•the•CAN•at•a•broadcast•rate•of•40•Hz.•Lack•of•regular•CAN•communication•is•an• indication•that•there•is•either•a•problem•with•a•module•in•the•network,•or•a•problem•with•the•CAN•bus. The•following•table•provides•specifications•for•the•CAN: Item Unit Onboard terminator option Wake on CAN option Baud rate kbps J1939 compliant 7.1.2. J1939 CAN Installation Connections The•CAN•connection•for•the•CM0504•should•conform•to•the•J1939•standard.•The•J1939•standard•is•a• robust•automotive•specification•that•is•a•good•CAN•installation•guideline•even•when•the•J1939•CAN• protocol•is•not•being•used. For•a•list•of•J1939•connection•considerations,•refer•to•the•SAE•J1939•specifications•available•through•the• Society•for•Automotive•Engineers.•SAE•J1939-11•covers•the•physical•aspects•of•the•CAN•bus•including• cable•type,•connector•type,•and•cable•lengths. Note: The•standard•variant•of•the•CM0504•does•not•have•a•CAN•termination•resistor,•which•is•based•on• the•assumption•that•the•CAN•bus•is•terminated•in•the•harness. The•following•lists•the•elements•that•are•required•for•a•J1939•CAN•connection: • • CAN•Cable:•A•shielded•twisted-pair•cable•should•be•used•when•connecting•multiple•modules•to• the•CAN•bus.•The•cable•for•the•J1939•CAN•bus•has•three•wires:•CAN•High,•CAN•Low,•and•CAN• Shield•(which•connect•to•the•corresponding•CAN_HIGH,•CAN_LOW,•and•CAN_SHIELD•pins•on•the• connector).•When•a•module•does•not•have•a•CAN_SHIELD•pin,•the•CAN•Shield•should•be•connected• to•an•available•ground•terminal•attached•to•the•negative•battery.•The•CAN•cable•must•have•an• impedance•of•120•Ω. CM0504 User Guide...
  • Page 34 • • CAN•Stubs:•The•CAN•stubs•cannot•be•longer•than•1•meter,•and•each•stub•should•vary•in•length•to• eliminate•bus•reflections•and•ensure•proper•idle•state•voltage•levels. • • Max•Number•of•Modules•in•a•System:•The•CAN•bus•can•handle•a•maximum•of•30•modules•in•a• system•at•one•time. The•following•shows•a•typical•CAN•connection•using•the•SAE•J1939•standard: • CAN Network Backbone (less than 40 meters long) T connectors 120 ohm 120 ohm Terminator Terminator Variable length Node Node Node CAN stub (<1m) Node Node Figure 7.1. J1939 CAN connection CM0504 User Guide...
  • Page 35: Installation

    8. Installation Because•every•system•is•different,•it•is•not•feasible•to•provide•detailed•installation•instructions•that•will•be• suitable•for•every•assembly.•This•chapter•therefore•provides•only•high-level•guidelines•on•installing•the• CM0504. The•vehicle•manufacturer•is•responsible•for•creating•procedures•for•mounting•the•CM0504•in• a•vehicle•during•production•assembly. 8.1. Mechanical Requirements Review•the•following•mechanical•requirements•before•selecting•a•mounting•location•for•the•CM0504: • • The•CM0504•should•be•mounted•vertically•so•moisture•will•drain•away•from•it.• • • The•wire•harness•should•have•drip•loops•incorporated•into•the•design•to•divert•water•away•from•the• CM0504. • • The•harness•should•be•shielded•from•harsh•impact. • • The•harness•should•connect•easily•to•the•connector•and•have•adequate•bend•radius. • • The•labels•should•be•easy•to•read. • • The•CM0504•should•be•in•a•location•that•is•easily•accessible•for•service. 8.2. Dimensions The•following•shows•the•dimensions•of•the•CM0504•in•millimeters: 2X 6.5 Figure 8.1. CM0504 dimensions CM0504 User Guide...
  • Page 36: Selecting A Mounting Location

    8.3. Selecting a Mounting Location The•CM0504•can•be•installed•in•the•vehicle’s•cab,•engine•compartment,•or•on•the•chassis.•If•used•for•a• marine•application,•ensure•it•is•protected•from•excessive•salt•spray. Before•mounting•the•CM0504,•ensure•you•review•the•following•environmental•and•mechanical• requirements. Do•not•install•the•CM0504•close•to•any•significant•heat•sources,•such•as•a•turbo,•exhaust• • manifold,•etc.•Also•avoid•installing•the•CM0504•near•any•drive-train•component,•such•• • as•a•transmission•or•engine•block. The•CM0504•should•be•mounted•with•the•connectors•facing•down,•so•that•moisture•drains•away•from•it,• as•shown•in•the•following: Figure 8.2. CM0504 mounting orientation 8.4. Mounting the CM0504 to a Vehicle It•is•up•to•the•original•equipment•manufacturer•(OEM)•to•ensure•the•product•is•securely•mounted•to•the• vehicle. The•following•guidelines•are•related•to•physically•attaching•the•CM0504•to•a•vehicle: • • Secure•the•CM0504•with•bolts•in•all•bolt•holes•using•Hex•Head•1/4”-20•or•equivalent•metric•size•(6• mm)•bolts. • • The•bolts•should•be•tightened•according•to•the•fastener•manufacturer’s•tightening•torque• specifications CM0504 User Guide...
  • Page 37: Designing And Connecting The Vehicle Harness

    8.5. Designing and Connecting the Vehicle Harness The•vehicle•manufacturer•is•responsible•for•designing•a•vehicle•harness•that•mates•with•the•CM0504• connector(s). The•vehicle•harness•design•depends•on•the•following: • • How•the•CM0504’s•inputs,•outputs,•communication,•and•power•pins•are•configured. • • Other•components•on•the•vehicle•and•their•physical•locations. • • The•routing•of•the•harness.• Details•on•recommended•wire•diameters•for•use•with•the•product•connector•are•covered•in•the• connector•manufacturer’s•datasheet.••Wire•diameters•used•should•be•sufficient•for•the•expect•module• current. Once•the•vehicle•harness•is•designed,•it•can•be•connected•to•the•CM0504•simply•by•clicking•the•mating• connectors•into•the•connector•ports•on•the•CM0504.•• CM0504 User Guide...
  • Page 38: Environmental Protection

    If•any•additional•information•is•required,•please•contact•your•Parker•Vansco•representative•for•more• details. 9.1. General Operating•Temperature•–40°C•to•+85°C Storage•Temperature•–40°C•to•+85°C 9.2. Environment Humidity (soak) ANSI/ASAE EP455 DEC 1990 (R2008) section 5.13.2 Humidity (cyclic) ANSI/ASAE EP455 DEC 1990 (R2008) section 5.13.1 Dust/Water Ingress IP67 and IP69K Protection Salt Spray MIL-STD-202G Method 101E condition B Shock ANSI/ASAE EP455 Dec 1990 (R2008) Section 5.14.1 Random Vibration BS EN7691:1994 section 6.6.1 severity level 3 ESD ISO 10605:2008(E) section 8.3 and 9.3 EMC Susceptibility ISO 13766 2006 section 5.8.2 EMC Emissions ANSI/ASAE EP455 DEC1990 (R2008) section 5.16.3.1 9.3. Markings/Approvals CE• • 2014/30/EU,•EMC•directive E-mark• ECE•Regulation•10:•2014•Addendum•9,•Rev.•5,• • • Approval•number•E8•10R-05•9628• CM0504 User Guide...
  • Page 39: Application Examples

    • • Using•one•analog•input•as•two•digital•inputs • • Connecting•sensors 10.1. Implementing Safety Interlocks Safety•is•paramount•when•creating•controls•for•a•vehicle.• One•safety•feature•that•can•be•implemented•with•the•CM0504•is•to•ensure•the•vehicle•doesn’t•move•when• it•is•not•being•used,•and•no•one•is•sitting•in•the•operator’s•seat. To•prevent•the•vehicle•from•moving•when•no•one•is•sitting•in•the•operator•seat: 1.• Place•a•seat•switch•interlock•on•the•operator•seat•and•connect•the•switch•to•a•• digital•input.• 2.• Write•application•code•for•the•digital•input•so•that•it•shuts•down•critical•vehicle•• functions•when•the•switch•is•open•(when•no•one•is•sitting•in•the•seat).• Note: The•example•above•may•cause•unwanted•shutdowns•if•the•operator•moves•around•while• controlling•the•vehicle.•To•prevent•this,•use•software•filtering•that•will•prevent•the•vehicle•from•shutting• down•unless•the•switch•is•open•for•more•than•a•defined•period•of•time.• The•following•diagram•shows•a•typical•seat•switch•interlock•connection: • Internal to product Battery Voltage Driver Present Switch Digital Input Figure 10.1. Seat switch interlock connection CM0504 User Guide...
  • Page 40: Controlling Indicator Lights

    Right Turn Signal Switch Left Turn Signal Switch VBAT 3.3k Hazard Signal Switch Front Front Right Signal Light Front Left Signal Light Figure 10.2. Indicator light connections 10.3. Controlling a Proportional Valve The•CM0504•can•be•used•to•control•a•proportional•hydraulic•valve•through•a•high-side•output•with•PWM• capability,•and•a•low-side•output•with•current•sense. Note:•The•CM0504•has•Proportional-Integral-Differential•(PID)•capabilities•that•make•it•possible•to• control•devices•like•proportional•valves•through•software.•Refer•to•the•appropriate•software•manual,•or• contact•your•Parker•Vansco•Account•Representative•for•more•details•about•software.•This•section•only• provides•hardware•connection•information. When•making•the•connection,•it•is•highly•recommended•to•use•the•high-side•and•low-side•outputs•in• pairs•to•avoid•potential•problems. CM0504 User Guide...
  • Page 41: Controlling Motor Speed

    Internal to product High-Side Output (PWM) Valve Coil Low-Side Output with current sense • Figure 10.3. Connection for controlling a proportional valve 10.4. Controlling Motor Speed The•CM0504•can•be•used•to•control•the•DC•motor•speed•of•motors•that•provide•a•tachometer•output. Note: The•CM0504•has•Proportional•Integral•Differential•(PID)•capabilities•that•make•it•possible•to• control•devices•like•proportional•valves•through•software.•Refer•to•the•appropriate•software•manual,•or• contact•your•Parker•Vansco•Account•Representative•for•more•details•about•software.•This•section•only• provides•hardware•connection•information. To•do•this,•you•would•use•a•high-side•output•with•PWM•capabilities•to•control•the•speed•of•the•motor,• and•a•DC-coupled•frequency•input•to•monitor•the•output•from•the•motor.• The•application•code•should•be•written•so•that•the•PWM•duty•cycle•for•the•high-side•output•is•adjusted•to• achieve•a•target•speed•(frequency)•for•the•motor. • • If•the•frequency•feedback•is•lower•than•target,•the•PWM•duty•cycle•should•increase•to•boost•the• average•current•through•the•motor•to•speed•it•up. • • If•the•frequency•feedback•is•higher•than•target,•the•PWM•duty•cycle•should•decrease•to•reduce• average•current•through•the•motor•to•slow•it•down. CM0504 User Guide...
  • Page 42: Connecting Various Sensors

    • • Open•collector•sensors • • Variable•resistance•sensors • • Variable•reluctance•sensors • • Switch•sensors • • Voltage•sensors • • CMOS•sensors • • Potentiometer•(ratiometric)•sensors Note 1:•To•optimize•the•reading•accuracy•for•sensors,•dedicate•one•of•the•main•ground•pins•(called•GND)• as•a•low-current•ground•return•for•all•sensors•on•the•vehicle. Note 2: When•connecting•sensors•to•the•CM0504,•use•the•sensor’s•specification•to•ensure•that•the• CM0504•is•configured•correctly•for•the•sensor. 10.5.1. Open Collector Open•collector•sensors•are•compatible•with•each•type•of•input•on•the•CM0504. Open•collector•sensors•are•typically•used•in•applications•that•require•digital•or•frequency•measurements.• They•work•by•pulling•voltage•down•to•ground•or•up•to•power•when•activated,•and•are•basically•a•switch• that•turns•on•and•off.• Note: Open•collector•sensors•need•a•pull-up•or•pull-down•resistor•to•bias•the•state•of•the•sensor•when•the• sensor•is•not•activated.•Pull-up•and•pull-down•resistors•are•internal•to•the•CM0504. CM0504 User Guide...
  • Page 43: Variable Resistance

    The•following•shows•a•typical•NPN•open•collector•sensor•connection: • Internal to product Digital or frequency Input Open collector Figure 10.5. Open collector sensor connection The•following•shows•a•typical•PNP•open•collector•(also•called•open•emitter)•sensor•connection: • Internal to product Open collector Digital or frequency Input Figure 10.6. Open collector active high connection 10.5.2. Variable Resistance Variable•resistance•sensors•change•impedance•to•represent•it’s•measured•value,•and•are•compatible•with• analog•inputs. Variable•resistance•sensors•are•typically•used•in•thermal•and•pressure•applications.•They•work•by• changing•the•voltage•reading•on•the•sensor•according•to•changes•in•pressure•or•temperature•in•the• application. The•CM0504•cannot•measure•resistance•directly.• CM0504 User Guide...
  • Page 44: Variable Reluctance

    • • Include•a•precision•pull-up•resistor•between•the•sensor•and•the•sensor•power•output•(called• SENSOR_SUPPLY). • • Ensure•the•value•of•the•precision•resistor•allows•the•maximum•possible•resolution•for•the•sensor’s• input. • • Dimension•the•precision•resistor•to•get•the•maximum•voltage•range•from•the•sensor. Note:•Variable•resistance•sensor•accuracy•may•suffer•at•the•extremes•of•the•sensor’s•range.•A•tolerance• analysis•should•be•performed•to•ensure•measurement•accuracy•is•acceptable•for•your•application. The•following•shows•a•typical•variable•resistance•sensor•connection: Internal to product Sensor Power Precision Resistor Analog Input Variable Resistance Sensor Figure 10.7. Variable resistance sensor connection 10.5.3. Variable Reluctance Variable•reluctance•sensors•are•typically•used•in•frequency•measurement•applications,•and•are• compatible•with•AC-coupled•frequency•inputs. • Variable•reluctance•sensors•do•not•require•power•(the•power•is•induced),•and•they•create•frequency•by• out-putting•a•sine•wave•type•signal.•They•work•by•using•an•increase•or•decrease•in•a•magnetic•field•to• detect•the•proximity•of•a•part•or•device. CM0504 User Guide...
  • Page 45: Switch

    The•following•shows•a•typical•variable•reluctance•connection: Internal to product Variable Reluctance AC Coupled Frequency Input Sensor Figure 10.8. Variable reluctance sensor connection 10.5.4. Switch A•switch•is•a•type•of•sensor•that•uses•mechanical•contacts•in•one•of•two•states:•open•or•closed.•Sensor• switches•are•used•to•turn•sensors•on•and•off,•and•can•be•wired•directly•to•digital•inputs. Active-low•sensor•switches•are•common.•To•use•active-low•switches,•the•internal•pull-up•resistor•on•the• input•that•the•sensor•is•wired•to•must•be•enabled. ••Use•of•active-low•switches•is•not•recommended.•A•broken•wire•on•this•type•of•switch,•if•it• makes•contact•with•the•chassis,•will•activate•the•function.• Active-high•sensor•switches•are•another•common•type•which•are•generally•safer.•To•use•active-high• switches,•the•internal•pull-down•resistor•for•the•input•that•the•sensor•is•wired•to•must•be•enabled. The•following•shows•a•typical•sensor•switch•connection: Internal to product Battery voltage Switch Digital Input • Figure 10.9. Switch sensor connection CM0504 User Guide...
  • Page 46: Voltage

    10.5.5. Voltage Voltage•type•sensors•work•by•driving•an•analog•voltage•signal•to•report•the•sensor’s•measured•value. Voltage•sensors•are•compatible•with•analog•inputs,•and•are•typically•used•in•applications•that•require• variable•voltage•measurements. Note:•Ensure•you•configure•the•analog•input•voltage•(gain•and•attenuation•factors)•so•the•input’s•voltage• is•close•to,•but•higher•than,•the•maximum•output•voltage•of•the•sensor. The•following•shows•a•typical•voltage•sensor•connection: Internal to product Voltage Sensor Analog Input • Figure 10.10. Figure 27: Voltage sensor connection 10.5.6. CMOS A•sensor•with•a•CMOS-type•output•drives•a•high•and•low•signal,•and•is•typically•used•in•digital•and• frequency•applications,•and•therefore,•CMOS•sensors•can•be•wired•directly•to•digital•and•frequency• inputs. CM0504 User Guide...
  • Page 47: Potentiometer (Ratiometric)

    Internal to product CMOS Digital or Frequency Input • Figure 10.11. CMOS sensor connection 10.5.7. Potentiometer (Ratiometric) Potentiometers•and•other•ratiometric•type•sensors•can•be•wired•directly•to•analog•inputs. Potentiometers•are•resistive•devices•that•use•a•wiper•arm•to•create•a•voltage•divider.•Changes•to•resistive• measurements•happen•as•the•wiper•arm•moves•along•a•resistive•element. When•connecting•potentiometer•sensors,•it•is•important•to•do•the•following:• • • Connect•one•end•of•the•sensor•to•the•SENSOR_SUPPLY•pin,•and•the•other•end•to•a•GND•pin•on•the• CM0504. • • Connect•the•sensor•signal•to•an•analog•input. The•following•shows•a•typical•potentiometer•sensor•connection: Internal to product Sensor Voltage Potentiometer Analog Input Sensor Ground • Figure 10.12. Potentiometer (ratiometric) sensor connection CM0504 User Guide...
  • Page 48: Using One Analog Input As Two Digital Inputs

    10.6. Using one Analog Input as Two Digital Inputs The•CM0504•allows•you•to•use•one•analog•input•as•two•digital•inputs,•which•is•useful•in•reducing•harness• lead•or•if•you•are•running•out•of•digital•inputs•in•your•system. To•do•this,•you•would•connect•the•analog•input•to•a•single•pole,•double•throw•(SPDT)•switch. Note: You•will•need•to•write•your•application•logic•to•act•according•to•the•voltage•value•readings• provided•by•the•analog•input.•Refer•to•the•appropriate•help•file,•or•contact•your•Parker•Vansco•Account•• Representative•for•more•information. When•making•the•connection,•ensure•there•is•a•voltage•difference•between•the•two•pins•on•the•SPDT• switch.•This•can•be•done•by• • • enabling•the•internal•pull-up•resistor•on•the•analog•input•(done•through•software) • • adding•a•resistor•to•one•of•the•pins•on•the•SPDT•switch. The•following•shows•how•to•connect•an•analog•input•to•a•SPDT•switch: Internal to product VBAT 3.3 kohm Analog Input 3.3 kohm Figure 10.13. Connecting an analog input to an SPDT switch CM0504 User Guide...
  • Page 49: Software

    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.
  • Page 50: Using The Tool

    Note:•As•of•the•date•of•this•publication,•hardware•input•numbers•and•software•input•numbers• are•different.•Keep•this•in•mind•as•you•use•the•software•tool.• • Hardware•INPUT1•=•software•INPUT5,•hardware•INPUT2-INPUT5•=•software•INPUT1- INPUT4. 11.1.1. Using the tool In•user•mode,•the•tool•is•a•single/main•window•containing•the•following•elements: • • a•drop-down•list•box•(in•the•upper•left•corner•of•the•window)•showing•the•SA•(Source•Address)•of•the• currently•connected•CM0504•—•if•you•drop•down•the•list,•you•can•see•what•other•CM0504’s•are•(or• were)•on•the•bus,•and•select•another•one•to•talk•with. • Figure 11.1. Source address claim CM0504 User Guide...
  • Page 51 • • radio•buttons•to•select•between•Operational•Values•and•Config•Settings,•i.e.•regarding•what•kind•of• values•are•displayed•on•the•main•window,•or•which•are•shown•in•the•input/output•properties•dialog• boxes.••When•the•config•settings•option•is•selected,•properties•that•are•not•configurable•are•shown•as• blank•values. • Figure 11.2. Op values and config settings • • the•Install S/W•button•—•the•user•will•be•prompted•to•select•a•.pkg•file•that•contains•the•S/W•he• wishes•to•install.••If•there•are•multiple•CM0504’s•on•the•bus,•the•user•can•select•which•ones•to•get• the•install.••(Currently,•the•tool•installs•all•components•from•the•pkg•—•the•planned•behaviour•was• to•not•reinstall•the•same•version•of•a•component,•and•to•ask•the•user•whether•an•older•version•of•a• component•should•be•installed•over•the•existing•newer•version.).••A•dialog•box•pops•up•showing•the• progress•as•each•component•is•installed. • CM0504 User Guide...
  • Page 52 Figure 11.3. Install S/W button Figure 11.4. Software file dialog box • CM0504 User Guide...
  • Page 53 • Sync Option•radio•buttons•show/control•the•syncOption•property,•i.e.•which•output•channels•are• ganged•together•—•if•undefined,•no•button•is•selected.•Note•-•this•property•can•only•be•changed•from• the•main•window•(all•other•properties,•except•PWMduty,•can•only•be•changed•via•a•dialog•box). • • OUT1..OUT4•checkboxes•are•simply•a•convenience•to•allow•the•user•to•easily•turn•outputs•on/off,•i.e.• toggle•PWMduty•between•0•and•the•last•user-entered•value•—•they•are•visible•only•for•operational• values.•• • Output Type•shows•the•driveConfiguration•property Frequency•shows•the•PWMfreq•property • • • Duty•Cycle•shows•the•PWMduty•and•corresponding•PWMrange•properties•—•when•the•output•is•off,• the•corresponding•OUTi•checkbox•is•unchecked,•and•the•duty•cycle•shown•is•the•last•one•entered•by• the•user • • Status•shows•various•conditions•derived•from•the•OUTstatus•and•OUTfaultSet•properties•—• additional•description•t.b.d. • • CFBK•shows•the•CFBK•property•—•note•that•all•feedback•values•(AFBK•and•DFBK,•too)•correspond• to•samples•taken•at•the•midpoint•of•a•PWM•pulse•a•average•current•is•NOT•reported • • CFBK•(raw)•shows•the•CFBKinternal•property•(i.e.•voltage•level•at•ADC•chip) • • AFBK•shows•the•AFBK•property • • DFBK•shows•the•DFBK•property CM0504 User Guide...
  • Page 54 Properties•buttons•—•when•pressed,•call•up•the•Config OUTi dialog•box•allowing•you•to•enter•values• • for•changeable•output•properties•for•one•channel•(see•below) Figure 11.6. Output properties dialog box • • • the•Inputs•group•shows•the•current/configured•value•of•input•properties•(for•each•channel)•—•what• is•shown•for•values•varies•depending•on•Input•Type: Figure 11.7. Inputs group CM0504 User Guide...
  • Page 55 Input Type•shows•the•inputType•property•of•the•CM0504’s•four•general•purpose•inputs•(type•of•input• • is•fixed•for•the•other•input•channels),•and•determines•what•form•of•input•value(s)•are•shown•below.•• Note•that•columns•labeled•IN1•to•IN4•correspond•to•the•CM0504’s•four•general•purpose•inputs,•IN5• corresponds•to•what•is•considered•its•5th•input•which•is•also•a•H/W•wakeup•signal,•IN6•corresponds• to•the•input•used•with•a•keyed•resistor•as•the•module’s•harness•address,•and•the•last•2•columns• correspond•to•external•and•internal•power•supply•voltages.••Only•the•four•general•purpose•inputs•are• configurable,•with•input•type•RIN•supported•in•H/W•for•channels•IN3•&•IN4•only. • • depending•on•input•type,•Value•shows•properties•DIN,•AIN,••FINfreq,••FINduty,••FINcount,•or•RIN• • • what•Raw•Value•shows•depends•on•input•type•—•for•AIN,•it•shows•AINinternal;•for•RIN•it•shows• AINraw;•for•all•else•it•shows•nothing,•except•for•IN5•(fixed•as•DIN)•it•shows•FINcount • • Raw•Ref•shows•the•RINref•property • • column•IN6•has•an•additional•unlabeled•value•—•it•shows•the•ADDR•property Change•buttons•—•when•pressed,•call•up•the•Config•INi dialog•box•allowing•you•to•enter•values•for• • changeable•input•properties•for•one•channel•(see•below) Figure 11.8. Input properties dialog box • • when•you•right-click•on•the•main•window•(other•than•on•the•Sync Option•radio•buttons),•a•menu• pops•up•which•contains•the•following•items: Figure 11.9. Right click selection window • CM0504 User Guide...
  • Page 56 • Kernel status…•—•calls•up•a•dialog•box•that•shows•identification,•version•and•build/install•date• properties•of•all•S/W•components•installed•(i.e.•kernel•must•be•installed,•but•user•application• and•CDB•may•be•missing).••It•also•shows•the•values•of•properties:•identityFrozen,•CANstatus,• RESETstatus,•EEPROMstatus,•panicSet•and•userPanicSet. • Figure 11.10. Kernel status • Module identity…•—•calls•up•the•Module•Identity•dialog•box•(see•below)•that•shows•all•read-only• (one-time•settable)•properties•that•collectively•define•the•CM0504’s•physical•identity.••It•also•allows• you•to•configure•the•CM0504’s•J1939•NAME•and•SA•(base•and•OEM). • Figure 11.11. Module identity CM0504 User Guide...
  • Page 57 • Module settings… —•calls•up•the•Module•Settings•dialog•box•(see•below)•that•allows•you•to•view/ change•kernel•properties. Figure 11.12. Module settings • Application settings…•—•calls•up•a•dialog•box•that•allows•you•to•view/change•user•application• parameters•(or•UDP’s),•if•any. • Figure 11.13. Application settings • Load settings from pkg…•—•normally•pkg•files•contain•a•component•that•consists•of•a•table•of•factory• default•values•for•some•or•all•configurable•properties,•including•UDP’s.••When•this•menu•command• is•invoked,•the•PC•tool•prompts•for•a•pkg•file,•and•applies•the•settings•it•finds•in•this•table. • Save settings to pkg…•—•creates•a•pkg•with•a•single•component•that•contains•a•table•of•setting•values• for•some•or•all•configurable•properties,•including•UDP’s.••Has•options•for•operational•vs•config,•for• omitting•properties•with•undefined•values,•and•for•selecting•categories•of•properties•to•include•(i.e.• kernel,•module,•application,•input•&•output). CM0504 User Guide...
  • Page 58 • • LED•—•has•a•sub-menu•of•colors:••Off,•Blue,•Green,•Cyan,•Red,•Magenta,•Yellow,•and•White.••When• you•select•one•of•these,•the•PC•tool•sets•the•LED•output•property•to•that•value. Figure 11.14. LED sub-menu • Simulate Master… —•puts•the•PC•tool•into•a•special•mode•where•is•plays•the•role•of•a•very•primitive• “master”•controller•to•a•CM0504•that•is•running•the•slave•controller•application.••While•in•this• mode,•the•PC•tool•displays•a•dialog•box•that•shows•the•PWM•frequency•and•duty•cycle•the•master•is• requesting•for•each•channel•(the•user•can•change•these)•and•the•input•state•and•output•fault•status• being•reported•by•the•slave.•It•also•shows•the•CAN•messages•being•sent•and•received. Figure 11.15. Simulate master mode CM0504 User Guide...
  • Page 59 •Reset µP•—•this•causes•the•PC•tool•to•send•a•special•diagnostic•protocol•command•telling•the•CM0504•to• reset•itself. Figure 11.16. Reset uP • • This is a different CM0504•—•sometimes•the•PC•tool•gets•confused•and•seems•to•stop•talking•to•the• CM0504,•especially•after•its•J1939•SA•is•changed.••This•tells•the•PC•tool•to•start•over•and•try•to•make• “first•contact”•with•a•CM0504.• • Figure 11.17. Tell PC tool to make first contact with a CM0504 • CM0504 User Guide...
  • Page 60 • Restart CM0504 in passive mode•—•this•causes•the•PC•tool•to•send•a•special•diagnostic•protocol• command•telling•the•CM0504•user•application•to•go•into•passive•mode.••In•passive•mode,•the•user• application•essentially•stops•running,•other•than•allowing•you•to•get/set•its•UDP’s.••You•might•want• to•do•this•if•you•are•trying•to•use•the•PC•tool•to•manually•control•I/O’s,•and•the•user•application•is• fighting•you,•or•if•the•user•application•is•hammering•the•bus•with•a•high•CAN•message•rate•(i.e.•due• to•an•incorrect•configuration),•and•you•are•having•trouble•trying•to•reconfigure•it. Figure 11.18. Put CM0504 in passive mode CM0504 User Guide...
  • Page 61 • Temporarily unlock comatose CM0504•—•there•are•various•situations•where•the•CM0504•deliberately• holds•itself•off•the•CAN•bus.••One•of•the•ways•this•can•occur•is•if•the•CM0504•is•a•“asleep”•waiting• to•Rx•a•certain•PGN•to•“wake•up” ,•and•you•don’t•know•what•the•value•of•its•keepAlivePGN•property• is.••This•menu•item•causes•the•PC•tool•to•send•a•special•CAN•message•that•tells•the•CM0504•to•stop• holding•off•and•announce•itself.• Figure 11.19. Unlock CM0504 that is not communicating • The•following•tables•give•more•details•about•the•Output,•Input,•and•Module•dialog•boxes•referenced• above. CM0504 User Guide...
  • Page 62 H-bridge HbridgeChangeDir this is shown only if the channel is configured change dir as an H-bridge and it is the master leg for the options H-bridge. There are 3 widgets corresponding to this property’s 3 subfields: ms delay, skip delay if already stopped, and levels during delay Current Limit currentLimit this property pertains to all output channels, but it can only be changed via OUT1 Shutdown ocFilterLimit after . . . consecutive trips • The•Config INi•dialog•box•contains•the•following•widgets•associated•with•underlying•output•properties: Widget Property Notes Input Type inputType options permitted are channel-specific Pullup pullup CM0504 User Guide...
  • Page 63 OEM NAME & SA instead, and whether you wish to enter specific SA’s for each possible ADDR value, or to simply add ADDR to the base SA J1939 NAME baseNAME additional widgets show the J1939 NAME broken out into individual fields — you can only set the NAME through these widgets, but the final NAME is also shown as 8 hex bytes OEM NAME OEM_NAME similar to above J1939 SA baseSA used when not qualified by ADDR, baseSA1_8 or when ADDR = 0 corresponding to ADDR 1..7 and F OEM SA OEM_SA when OEM J1939 NAME & SA is selected, use this instead of baseSA, but continue to use baseSA1_8 when qualified by ADDR • CM0504 User Guide...
  • Page 64: Default J1939 Messages

    User Panic SPN userPanicSPNoffset numeric value is added to 0x7E000 to produce proprietary SPN # Kernel Panic SPN kernelPanicSPNoffset VEP1 Tx period VEP1txPeriod Keep-alive SA keepAliveSA shown in hex. Currently not used. the following appear only if CM0504 H/W supports sleep mode Sleep/Wake sleepOption sub-items shown depend on option selected Bus idle timeout busIdleTimeout similar to above Keep-alive PGN keepAlivePGN Keep-alive timeout keepAliveTimeout 11.2.
  • Page 65: J1939 Address And Identity

    Vehicle System Instance Industry Group Arbitrary Address Capable 11.2.3. Master module J1939 address The•CM0504•uses•destination•specific•(PDU1•format)•J1939•messages.•This•means•that•for•messages• received•by•the•CM0504•both•the•destination•address•must•match•it’s•own•address•and•the•source• address•must•be•the•master•module’s•address.•Also,•messages•that•are•transmitted•by•the•CM0504•are• sent•to•the•master•module’s•address.•This•master•module•address•is•33•(0x21). 11.2.4. Input status message Direction: Transmitted by the CM0504 Transmission repetition rate: 100 ms Data length: 8 bytes Data page: 0 Priority: 6 P arameter Group Number (PGN) 2048 (0x800) Bytes 1 to 2: Input 1 analog value [LSB first, 1 mV/bit, offset = 0] Bytes 3 to 4: Input 2 analog value [LSB first, 1 mV/bit, offset = 0] Bytes 5 to 6: Input 3 analog value [LSB first, 1 mV/bit, offset = 0] Bytes 7 to 8: Input 4 analog value [LSB first, 1 mV/bit, offset = 0] CM0504 User Guide...
  • Page 66: Output Duty Cycle Control Message

    Output 3 frequency command [50 Hz/bit, offset =0] Byte 4: Output 4 frequency command [50 Hz/bit, offset =0] Bytes 5 to 8: not used 11.2.7. Output status message Direction: Transmitted by the CM0504 Transmission repetition rate: 1000 ms Data length: 8 bytes Data page: 0 Priority: 6 Parameter Group Number (PGN) 4 0192 (0x9D00) Byte 1: Output 1 state (see table) Byte 2: Output 2 state (see table) Byte 3: Output 3 state (see table) Byte 4: Output 4 state (see table) Byte 5: Output 1 current [0.2 A/bit, offset = -25 A] Byte 6: Output 2 current [0.2 A/bit, offset = -25 A] Byte 7: Output 3 current [0.2 A/bit, offset = -25 A] Byte 8: Output 4 current [0.2 A/bit, offset = -25 A] CM0504 User Guide...
  • Page 67 Output•state•encoding•table: Value Meaning OFF (no faults detected) ON (no faults detected) shorted to opposite polarity (e.g. high side output shorted to ground) Current is greater than configured limit (27.5 A) Open load detected Shorted to driven polarity (e.g. high side output shorted to battery) No output supply voltage Maybe short (short circuit condition has been detected but the output on time is too short to tell for sure) Output supply voltage is higher than configured limit Output supply voltage is lower than configured limit • CM0504 User Guide...
  • Page 68 © 2019 Parker Hannifin Corporation. All rights reserved. MSG33-5019-IB/US UG-CM0504-201904-008 Parker Hannifin Canada Electronic Controls Division 1305 Clarence Avenue Winnipeg, MB, R3T 1T4 Canada phone 204 452 6776 fax 204 478 1749 www.parker.com/ecd Your Local Authorized Parker Distributor...

Table of Contents