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...
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...
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...
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•...
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...
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...
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...
• • 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...
• • 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...
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...
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 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...
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...
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...
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...
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 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...
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.
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...
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...
Need help?
Do you have a question about the CM0504 and is the answer not in the manual?
Questions and answers