background image

Operating Manual | Bedienungsanleitung

English

Deutsch

 / 

CANBus

Summary of Contents for SOMATXR

Page 1: ...Operating Manual Bedienungsanleitung English Deutsch CANBus...

Page 2: ...2 0 HBM public 03 2017 E Hottinger Baldwin Messtechnik GmbH Subject to modifications All product descriptions are for general information only They are not to be understood as a guarantee of quality o...

Page 3: ...Operating Manual Bedienungsanleitung English Deutsch CANBus Receive Transmit...

Page 4: ...rs 23 6 1 1 Bit rates 23 6 1 2 CANBus line termination 23 6 1 3 Error handling 24 6 2 Error events 25 6 2 1 Detecting transmit and receive path errors 25 6 2 2 LED and error status behavior 25 6 2 3 P...

Page 5: ...ength of the CAN message 43 6 5 7 Example of the different signal sources within a single CAN message 44 6 5 8 Transmission type 46 6 5 8 1 Control 47 6 5 8 2 Timer 47 6 5 8 3 SourceChange 47 6 5 8 4...

Page 6: ...QuantumX SomatXR and CCP XCP on CAN 57 7 1 Introduction to CCP and XCP 57 7 2 MX471B and CAN XCP on CAN 58 7 3 Initialization per XML 60 7 4 Starting and stopping with the CANECU control item 60 7 5 G...

Page 7: ...cordance with the information detailed in this document It is also essential to comply with the legal and safety re quirements for the application concerned during use The same applies to the use of a...

Page 8: ...Operating Manuals and in particular the technical safety instructions The scope of supply and performance of the modules only covers a small area of measurement technology In addition equipment planne...

Page 9: ...integration alone status or control signals cannot initiate any actions that may pose a danger to persons or the environment Product liability In the following cases the protection provided for the d...

Page 10: ...pliance S Defense indicates how the danger can be avoided bypassed Danger classes as per ANSI Warning sign signal word Meaning WARNING This marking warns of a potentially dangerous situ ation in which...

Page 11: ...a way that malfunctions in individual nodes can be detected and shut down Safety precautions must be taken both in terms of hardware and software so that a line break or other interruptions to signal...

Page 12: ...be installed and used by qualified personnel strictly in accordance with the specifications and the safety rules and regulations This includes people who meet at least one of the three following requ...

Page 13: ...fety instructions CANBus A4461 2 0 HBM public 11 It is also essential to comply with the legal and safety requirements for the application concerned during use The same applies to the use of accessori...

Page 14: ...to prevent damage Symbol Significance Note This marking draws your attention to a situation in which failure to comply with safety requirements can lead to damage to property CAUTION This marking warn...

Page 15: ...gnificance Symbol Bitrate 500 Bold text in italics indicates inputs and input fields in the user interfaces Emphasize See Italics are used to emphasize and highlight text and identify references to se...

Page 16: ...a comprehensive online help with index and easy search options which is available after the installation of a software package e g MX Assistant cat man EASY Information about module and channel confi...

Page 17: ...les in case of significant differences When using the CX23 R data recorder there are some restrictions related to the CANbus options see CX23 R manual The catman EASY or MX Assistant software packages...

Page 18: ...s the priority of the message Message identifier signal additional information Device connected to the bus node Each node on the MX471B can be parameterized either as a receiver or as transmitter gate...

Page 19: ...7 The configuration of a node is retained after switching the modules off and on For decoding signals at a rate greater than 2000 s please set up signal inputs 1 to 8 on the MX471B The signal buffers...

Page 20: ...nals MX471B MX840B measurement signals within the module only The MX Assistant software can generate a DBC file from the list of all the messages that have been sent Receiving CCP or XCP over CAN sign...

Page 21: ...3 13 CAN GND Grey Green Grey Black White Blue Black MX471B R MX840B R M12 5 pin Notice Ensure correct termination with termination resistors is made as shown in Fig 5 1 The MX840B does not have any t...

Page 22: ...Bus termination resistors The adapter cable 1 KAB418 is used to connect the D SUB 15HD device sockets of the QuantumX MX840B to standard D SUB plugs with a standardized CiA assign ment of the MX840B...

Page 23: ...low System is not ready boot procedure running Flashing yellow Download active system is not ready Red Error faulty synchronization CAN LEDs BUS Green flickering Bus is error free and activity on CAN...

Page 24: ...essages This can be done directly on the node or in a reproducible way by previ ously generated messages in the sensor database Indi vidual messages can be linked to the node by dragging from the sens...

Page 25: ...time quanta Once the parameterization has been forwarded it is verified in the module and a setting is made that is as close as possible to the required parameters The parameterization can now be rea...

Page 26: ...ayed method is selected the error is automatically deleted from the error status after the set delay time and the state of the LED changes to normal once the cause of the error has been eliminated Acc...

Page 27: ...glows yellow whenever a BUS warning occurs and red in all other error situations A timeout and loss of signal are indicated by a yellow LED provided monitoring has been activated This is because the...

Page 28: ...set parameterization or re starting the module A BUS reset can be triggered by all MX471B and MX840B variants but not by MX840 and MX840A Errors on the CAN bus are then counted in the CAN controller f...

Page 29: ...his error is entered into the error status 6 2 3 4 CAN decoder Timeout The parameter MaxRepetitionTime is used to define a timeout Whenever a CAN message has been decoded the time to the earlier recei...

Page 30: ...ation by LED A distinction is made between the general kind of error message see Chapter 5 2 1 such as an incorrect bit rate setting and errors that are dependent on the receive or transmit parameteri...

Page 31: ...ed CAN controller in BUS ERROR state or loss of data in the receiver because of buffer overflow Transmit data are lost because no CAN recipient is accepting the CAN messages or because of other CAN BU...

Page 32: ...ing orange Firmware is being updated Only switch off the module once prompted to do so by the update program constant red CAN controller in BUS ERROR state or loss of data in the receiver because of b...

Page 33: ...y seem confusing at first but it allows integer values to constantly be han dled as such so that the processing of the digital I O data is not corrupted and the floating point calculations are as accu...

Page 34: ...rrupted even when scaling is used the scaling calculation is divided into two processes The data types for raw factor and offset are calculated differently 6 4 4 Floating point scaling Provided at lea...

Page 35: ...ing described here Signal format Data format Raw data Raw data are con verted to the calculation format Data format used for factor and offset REAL321 REAL32 REAL64 REAL64 REAL64 UINT32 INT32 UINT64 I...

Page 36: ...n the intermediate value REAL64 is converted to the 64 bit data format of the signal format the decimal places are truncated REAL32 single precision floating point size 32 bit gem IEEE 754 REAL64 doub...

Page 37: ...gnal The signal makes available the following data CAN Id with Bit 31 determining the Frame format Bit 31 0 Base Format Bit 0010 CAN Identifier Bit 31 1 Extended Format Bit 0028 CAN Identifier DLC Num...

Page 38: ...e aim is to avoid rounding errors that are critical if the integer values rep resent boolean states The raw_value raw data are also taken from the CAN bus in the raw data format RawValueFormat first b...

Page 39: ...Data format used for factor and offset REAL32 REAL32 REAL64 REAL64 REAL64 UINT32 INT32 UINT64 INT64 REAL64 REAL32 REAL64 REAL64 REAL64 UINT32 INT32 UINT64 INT64 INT32 REAL32 REAL32 INT32 REAL64 INT64...

Page 40: ...4 UINT64 REAL32 single precision floating point size 32 bit gem IEEE 754 REAL64 double precision floating point size 64 bit as per IEEE 754 Conversion of the example in the module highlighted in color...

Page 41: ...each CAN message The number of signal sources is determined on the basis of compatibility with the previous CanTransmit implementation and is limited by the internal system resources The user paramete...

Page 42: ...and the number of bits in the CAN message are defined for each source see Section 5 4 The CAN message in which the data defined in this way will be sent is specified with the parameters Identifier and...

Page 43: ...s a floating point value the data format DataFormat must be chosen accordingly The number of bits to be transmitted is defined in SignalLength as 32 float or 64 double Type conversion is also possible...

Page 44: ...entered in the CAN message The user can select this value with the XML parameters for ValueOnError Internal The selection of the error value is determined by the module If DataFormat defines a floatin...

Page 45: ...e header of the CAN message is defined in the CanMessage subtree The parameters Identifier and ExtendedFrame in the subtree Source establish the CanMessage into which this signal source is to be mappe...

Page 46: ...he other hand it is situated between additional sources the data length of the CAN message does not change the relevant bits of this source are filled in with 0 6 5 7 Example of the different signal s...

Page 47: ...ath_Index2 Signal1 Type MeasVal DataFormat Signed Integer32 Factor 100 0 verschiebt den Messwert der Signal quelle um 2 gedachte Nachkommastellen Offset 0 0 StartBit 33 SignalLength 18 BitSequence INT...

Page 48: ...CANbus this CAN message has a data length of 7 bytes With the CAN Receive functionality CAN decoder CanInChannel in the MX840B or of another CAN channel of an MX471B this CAN message can be directly d...

Page 49: ...control see Section 5 8 1 The data in the CAN message correspond to the instantaneous value and are not synchronized to the data source In the MX471B we implement timer resolution by count ing the iso...

Page 50: ...addition the transmission of a CAN message can also be triggered by a control item see Section 5 8 1 6 5 9 Constraints for MX840B The MX840B is able to send measured values obtained within the module...

Page 51: ...l1 The parameters from ValueOnError are supported For timer controlled transmission a measured value can only be sent every 10 ms or less often Please note that up to and including firmware version 4...

Page 52: ...ceived by the CAN bus Byte 0 from the CAN controller Bit 0 1 2 3 4 5 6 7 Byte 1 0 1 2 3 4 5 6 7 6 6 1 1 INTEL Standard format For signals in INTEL Standard format the stated Start bit is the position...

Page 53: ...2 51 50 49 48 6 63 62 61 60 59 58 57 56 7 6 6 1 2 MOTOROLA Forward MSB format For signals in the internal CANdb MOTOROLA Forward MSB format the stated Startbit is the position of the most significant...

Page 54: ...2 1 0 0 Data index 15 14 13 Start bit msb 12 11 10 9 8 1 23 22 21 20 19 18 lsb 17 16 2 31 30 29 28 27 26 25 24 3 39 38 37 36 35 34 33 32 4 47 46 45 44 43 42 41 40 5 55 54 53 52 51 50 49 48 6 63 62 61...

Page 55: ...ward LSB format example start bit 18 length 12 Bit no within the data byte 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 0 Data index 15 14 13 msb 12 11 10 9 8 1 23 22 21 20 19 18 Start bit lsb 17 16 2 31 30 29 28...

Page 56: ...o be sent Internal CANdb MOTOROLA Backward format example data length 8 start bit 42 length 12 Bit no within the data byte 7 6 5 4 3 2 1 0 63 62 61 60 59 58 57 56 0 Data index 55 54 53 msb 52 51 50 49...

Page 57: ...b 12 11 10 9 8 1 7 6 5 4 3 2 Start bit lsb 1 0 2 6 6 2 3 INTEL Sequential format Internal CANdb INTEL Sequential format example start bit 14 length 12 Bit no within the data byte 0 1 2 3 4 5 6 7 0 1 2...

Page 58: ...uential format example start bit 10 length 12 Bit no within the data byte 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 Data index 8 9 10 msb 11 12 13 14 15 1 16 17 18 19 20 21 Start bit lsb 22 23 2 24 25 26 27 2...

Page 59: ...information of the ECU The physical connection between the measurement tool and the ECU is still the same bus but the measurement and calibration protocol is activated by separate tools like data reco...

Page 60: ...rom ECUs In this mode the MX471B works as logger Once communica tion to the ECU is established the ECU sends data in a cyclic period CX22B W Recorder MX840B Universal MX471B CAN ECU Fig 7 1 Example co...

Page 61: ...CANape version 10 0 or higher installed might also work with previous versions but not tested S MX471B with latest firmware available S Data Recorder CX22B W or PC with latest MX Assistant tool avail...

Page 62: ...herwise processing does not begin until a control item is written After the module is restarted the data items that were previously entered in the XML tags are automatically activated The MXAssistant...

Page 63: ...man PC software maps control in a correspon ding dialog based on the control item 7 5 General Workflow Start CANape from Vector Informatik and read in the a2l file Now create a measurement configurati...

Page 64: ...e ECU S Create a measurement configuration with all the signals that you want to record with MX471B Take care that measurement mode is cyclic Polling mode is not yet suported Step 2 Configure Seed Key...

Page 65: ...QuantumX SomatXR and CCP XCP on CAN CANBus A4461 2 0 HBM public 63...

Page 66: ...HBM public CANBus S Switch to Expert settings tab Modify INIT_RETRIES 100 and INIT_RETRY_DELAY 2000 recom mended values MX471B will try to start communication with ECU 100 times and every 2000ms This...

Page 67: ...XR and CCP XCP on CAN CANBus A4461 2 0 HBM public 65 Step 2b Only for XCP on CAN Adjust Protocol Settings in Device configuration not necessary for CCP S Set parameter DAQ_CALCU LATE_FIRST_PIDS_WHEN_O...

Page 68: ...QuantumX SomatXR and CCP XCP on CAN 66 A4461 2 0 HBM public CANBus S Set Consistency mode to ODT and Identification field type to Absolute...

Page 69: ...eated in your CANape project direc tory Step 4 Configure MX471B using dbc file and MX Assistant S Open MX Assistant and connect to your MX471B S Select Channel 1 of the MX471B and open CAN Bus setting...

Page 70: ...tXR and CCP XCP on CAN 68 A4461 2 0 HBM public CANBus If the check box next to Active is set processing starts immediately If the check box is not selected processing does not begin until a control it...

Page 71: ...f a Gateway Mode The MX471B can also be used as a gateway transferring XCP on CAN or CCP signals to CAN In this mode XCP or CCP Messages are received on one port of the MX471B and are sent out as stan...

Page 72: ...CAN 70 A4461 2 0 HBM public CANBus 4 Adjust CAN IDs in that way that every signal has its own unique ID In this example 385 386 387 388 An automatic assignment of consecutive IDs can be done via CAN...

Page 73: ...ion for Standardisation of Automation and Measuring Systems CCP CAN Calibration Protocol Standardized by ASAM DBC Data Base CAN File format for CAN communication ECU Electronic Control Unit Seed Key M...

Page 74: ...QuantumX SomatXR and CCP XCP on CAN 72 A4461 2 0 HBM public CANBus...

Page 75: ...Operating Manual Bedienungsanleitung English Deutsch CANBus Empfangen Senden...

Page 76: ...Parameter 24 6 1 1 Bitraten 24 6 1 2 Terminierung des CANBus 24 6 1 3 Fehlerbehandlung 25 6 2 Fehlerereignisse 26 6 2 1 Erfassen von Fehlern des Sende und Empfangsweges 26 6 2 2 Verhalten der LED und...

Page 77: ...ll 44 6 5 6 Parameter der CAN Nachricht 45 6 5 6 1 Datenl nge der CAN Nachricht 45 6 5 7 Beispiel f r verschiedene Signalquellen innerhalb einer einzigen CAN Nachricht 46 6 5 8 Transmission Type 49 6...

Page 78: ...s 7 QuantumX SomatXR und CCP XCP on CAN 60 7 1 Einf hrung in CCP und XCP 60 7 2 MX471B und CAN XCP on CAN 61 7 3 Initialisierung per XML 63 7 4 Start und Stopp per Control CANECU 64 7 5 Allgemeiner Ar...

Page 79: ...ngaben betrieben werden Bei der Verwendung sind zus tzlich die f r den jeweiligen Anwendungsfall erforder lichen Rechts und Sicherheitsvorschriften zu beachten Sinngem gilt dies auch bei Verwendung vo...

Page 80: ...die sicherheitstechnischen Hin weise gelesen und verstanden haben Der Leistungs und Lieferumfang der Module deckt nur einen Teilbereich der Messtechnik ab Sicherheitstechni sche Belange der Messtechn...

Page 81: ...it geachtet werden Stellen Sie sicher dass die reine Einbindung Status oder Steuersignale keine Aktio nen vornehmen die zu einer Gefahren f r Mensch oder Umwelt f hren Produkthaftung In den folgenden...

Page 82: ...ermeidet um geht Gefahrenklassen nach ANSI Warnzeichen Signalwort Bedeutung WARNUNG Diese Kennzeichnung weist auf eine m gliche gef hrliche Situation hin die wenn die Sicherheits bestimmungen nicht be...

Page 83: ...inzelner Teilnehmer erkannt und abgestellt werden k nnen Es m ssen hard und softwareseitig Sicherheitsvorkeh rungen getroffen werden damit ein Leitungsbruch oder andere Unterbrechungen der Signal bert...

Page 84: ...t sind und ber die ihrer T tigkeit entspre chende Qualifikationen verf gen Dieses Modul ist nur von qualifiziertem Personal ausschlie lich entsprechend der technischen Daten in Zusammenhang mit den Si...

Page 85: ...die Berechtigung Stromkreise und Ger te gem den Normen der Sicherheitstechnik in Betrieb zu nehmen zu erden und zu kennzeichnen Bei der Verwendung sind zus tzlich die f r den jeweiligen Anwendungsfal...

Page 86: ...eise f r Ihre Sicherheit sind besonders ge kennzeichnet Beachten Sie diese Hinweise unbedingt um Sch den zu vermeiden Symbol Bedeutung Hinweis Diese Kennzeichnung weist auf eine Situation hin die wenn...

Page 87: ...Pfeile zwi schen Men punkten kennzeichnen die Reihenfolge in der Men s und Untermen s aufgerufen werden Bitrate 500 Fett kursive Schrift kennzeichnet Eingaben und Ein gabefelder in Programmoberfl chen...

Page 88: ...im PDF Format S einer umfangreichen Online Hilfe mit Index und kom fortabler Suchm glichkeit die nach Installation eines Softwarepaketes z B MX Assistent catman AP zur Verf gung steht Hier finden Sie...

Page 89: ...enannt Bei Verwendung des Datenrekorders CX23 R gibt es einige Einschr nkungen hinsichtlich der CAN Bus Optionen siehe CX23 R Anleitung Die Konfiguration eines CAN Ports kann ber die Software catman E...

Page 90: ...Motortemperatur Der Identifier steht auch f r die Priorit t der Nachricht Nachricht Identifier Signal Zusatzinformation Teilnehmer am Bus Knoten Jeder Knoten kann entweder als Empf nger oder als Send...

Page 91: ...Signale mit einer Rate gr er als 2000 s de kodieren richten Sie bitte die Signaleing nge 1 bis 8 auf dem MX471B ein Bei diesen Signaleing ngen wurden hierf r die Signalpuffer vergr ert 5 2 Anschluss C...

Page 92: ...QuantumX SomatXR und CAN 18 A4461 1 0 HBM public CANBus 7 8 CAN High CAN Low 1 5 6 10 11 15 MX471B Kanal 1 SubHD 15pol MX840B 7 2 1 5 6 SubD 9pol 9 6 6 CAN GND QuantumX...

Page 93: ...n Grau Schwarz Wei Blau Schwarz MX471B R MX840B R M12 5pol Hinweis Sorgen Sie f r eine korrekte Terminierung mit Abschluss widerst nden wie in Abb 5 1 dargestellt Das Quan tumX Modul MX840B enth lt k...

Page 94: ...Knoten n Abb 5 1 Busabschlusswiderst nde Zum Anschluss der D SUB 15HD Ger tebuchsen des QuantumX MX840B an handels bliche D SUB Stecker mit standardisierter CiA Belegung dient das Adapterkabel 1 Kab41...

Page 95: ...Kanal Abb 5 3 SomatXR Frontansicht MX471B R Modulbezogene Zustandsanzeigen Fehlermeldungen siehe auch Kapitel 6 3 System LED Gr n Fehlerfreier Betrieb Gelb System ist nicht bereit Bootvorgang l uft Ge...

Page 96: ...AN LEDs Kanal Gr n dauerhaft an Kanal ist betriebsbereit Gelb blinkend Firmware1 Download aktiv Gelb an Bootvorgang l uft Rot an Kanal ist fehlerhaft Ethernet LED nur QuantumX Gr n an Ethernet Linksta...

Page 97: ...t keine CAN Datenbasis zur Verf gung kann diese auch selbst erstellt werden Unterschiedliche Firmen bieten hierzu Editoren an Im Messbetrieb werden die empfangenen CAN Nachrich ten sofort zeitgestempe...

Page 98: ...Quanta Nachdem die Parametrierung abgesendet wurde wird diese im Modul gepr ft und eine Einstellung vorgenom men die den gew nschten Parametern m glichst nahe kommt Man kann nun die Parametrierung zur...

Page 99: ...Fehler nach der einstellbaren Verz gerungszeit automatisch aus dem Fehlerstatus gel scht und die LED wechselt in den Normalzustand nachdem die Fehler ursache beseitigt wurde Das Modul zeigt demnach mi...

Page 100: ...Warning auftritt rot in allen anderen Fehlerf llen Timeout und Loss of signal werden mit gelber LED signalisiert sofern die berwachung aktiviert wurde Dies erfolgt damit dass in der Parametrierung ein...

Page 101: ...rnen BUS Reset Parame trierung oder Neustart des Moduls gel scht Ein BUS Reset kann von allen Varianten MX471B und MX840B jedoch nicht von MX840 und MX840A ausgel st werden Fehler auf dem CAN Bus werd...

Page 102: ...l z B der Bus gest rt oder berlastet ist wird dieser Fehler in den Fehlerstatus eingetragen 6 2 3 4 CAN Dekoder Timeout ber den Parameter MaxRepetitionTime wird ein Timeout festgelegt Immer wenn eine...

Page 103: ...leuchten dauerhaft rot 6 3 Zustandsanzeige per LED Unterschieden werden Fehlermeldungen allgemeiner Art siehe Kapitel 5 2 1 wie z B fehlerhafte Bitrateneinstel lung und Fehler die abh ngig von Empfan...

Page 104: ...rot CAN Controller im Zustand BUS ERROR oder Datenverlust im Empf nger aufgrund von Puffer berlauf Sendedaten ge hen verloren weil kein CAN Abnehmer die CAN Nachrichten abnimmt oder aufgrund anderer S...

Page 105: ...ge blinkend Firmware wird aktualisiert Modul erst nach Aufforderung durch das Update Programm ausschalten dauerhaft rot CAN Controller im Zustand BUS ERROR oder Datenverlust im Empf nger aufgrund von...

Page 106: ...ch Kombination beider Datentypen verh lt sich der CAN Dekoder unterschiedlich Das mag zun chst verwirrend sein bietet aber die M glichkeit dass Integer Werte durchg ngig als solche behandelt werden k...

Page 107: ...typen der Rechenvorschrift Seit Firmware Version 4 3 1 gelten die in der nach folgenden Tabelle beschriebenen Regeln f r die Umrech nung der Datentypen unter Ber cksichtigung der Skalier rechnung sign...

Page 108: ...die Anwendung von Flie kommazahlen prinzipbedingt Ist der Datentyp f r SignalFormat 64 bit Ganzzahl werden die Nachkommastellen des Flie kommawerts vor der abschliessenden Umwandlung von REAL64 nach...

Page 109: ...delt in Rechenformat Verwendetes Da tenformat f r factor und offset REAL321 REAL32 REAL64 REAL64 REAL64 UINT32 INT32 UINT64 INT64 REAL641 REAL32 REAL64 REAL64 REAL64 UINT32 INT32 UINT64 INT64 INT321 R...

Page 110: ...der Umrechnung vom Zwischenwert REAL64 in das 64 bit gro e Datenformat des Signalformats werden die Nachkommastellen abgeschnitten REAL32 single precision floating point size 32 bit gem IEEE 754 REAL...

Page 111: ...folgende Daten zur Verf gung CAN Id wobei Bit 31 das Frame Format bestimmt Bit 31 0 Base Format Bit 0010 CAN Identifier Bit 31 1 Extended Format Bit 0028 CAN Identifier DLC Anzahl der Daten Byte Wert...

Page 112: ...kritisch sind wenn die Integer Werte boolsche Zust nde darstellen Zun chst werden ebenfalls die Rohdaten raw_value im Rohdatenformat RawValueFormat vom CAN Bus genommen werden danach aber abh ngig vo...

Page 113: ...ndetes Da tenformat f r factor und offset REAL32 REAL32 REAL64 REAL64 REAL64 UINT32 INT32 UINT64 INT64 REAL64 REAL32 REAL64 REAL64 REAL64 UINT32 INT32 UINT64 INT64 INT32 REAL32 REAL32 INT32 REAL64 INT...

Page 114: ...IT64 UINT64 REAL32 single precision floating point size 32 bit gem IEEE 754 REAL64 double precision floating point size 64 bit gem IEEE 754 Umsetzung des farbig hervorgehobenen Beispiels im Modul C do...

Page 115: ...rhalb einer einzelnen CAN Nachricht gemappt werden k nnen Pro CAN Nachricht k nnen somit bis zu 64 Signalquellen versendet werden Die Anzahl der Signalquellen ist auf grund Kompatibilit t zur vorherig...

Page 116: ...Modul oder ist deren Angabe leer k nnen Daten die auf diesem oder einem anderen CAN Bus Anschluss innerhalb dieses Moduls empfangen werden als Sende Datenquelle dienen Das Modul verh lt sich damit als...

Page 117: ...ei auf die Skalierung verzichtet wird Die Werte in Factor und Offset werden ignoriert 6 5 4 Datentypen und Bit Positionen eines Messwertes Messwerte liegen im System blicherweise als REAL32 float vor...

Page 118: ...coder entsprechende Bedeutung weshalb auch hier keine anderen Bezeichnungen f r die Parameter gew hlt werden 6 5 5 Sendedaten im Fehlerfall Wenn die Signalquelle noch keinen Wert geliefert hat oder di...

Page 119: ...uelle bestimmt Gesendet werden die Bits des Fehlerwerts beginnend mit Bit 0 des Fehlerwerts 6 5 6 Parameter der CAN Nachricht Wie werden die CAN Nachrichten gesendet Im Sub Tree Source werden die Inha...

Page 120: ...ue wieder aktiviert wird sind alle zuvor bestimmten Parameter dieser Quelle wieder aktiv Wenn die inaktive Quelle am Ende einer CAN Nachricht gemappt ist wird sich die Anzahl der Datenbyte der CAN Nac...

Page 121: ...onnector1 Signal2 Type MeasVal DataFormat REAL32 Factor 1 0 Offset 0 0 BitSequence INTEL StartBit 0 SignalLength wird automatisch auf 32 gesetzt aufgrund DataFormat REAL32 Source 2 Input ModuleReferen...

Page 122: ...Dekoder Source 3 0 0 0 nicht genutzt Messwert aus Mathe Einheit Source 2 als 18 bit In teger Wert 0 nicht genutzt Messwert vom Analogeingang Source 1 als Float Wert REAL32 Da auf dem CANbus immer nur...

Page 123: ...ontrol mit Angabe des Connectors und des Index der CAN Nachricht abgesetzt wurde Ein Control kann z B per Men oder Schaltfl che des MX Assistenten abge setzt werden 6 5 8 2 Timer Der Anwender definier...

Page 124: ...einer Quelle die gesamte CAN Nachricht gesendet Der Versand einer CAN Nachricht kann zus tzlich per Control siehe Kap 5 8 1 ausgel st werden 6 5 8 4 IsoEvent Dies entspricht dem Verhalten wie es im MX...

Page 125: ...t dabei weiterhin dass nur maximal 10 verschiedene CAN Nachrichten versendet werden k nnen und dass jede CAN Nachricht nur 1 Source Quelle haben kann die einem analogen Messwert innerhalb des Moduls e...

Page 126: ...osekunden angegeben werden wobei die Aufl sung 1000 s betr gt 6 6 Z hlweisen der Datenbit gem Vector DBC Format 6 6 1 Z hlweisen in QuantumX SomatXR Parametrierung genutzt Die Daten f r die Messwerte...

Page 127: ...rts angegeben und dann ab dem Startbit nach links mit aufsteigender Bit Wertigkeit gez hlt wie im Bei spiel unten gezeigt F r den Datenempfang im CAN Dekoder gilt Ist der Datentyp vorzeichenbehaftet w...

Page 128: ...n MOTOROLA Forward MSB Format wird als Startbit die Position des Most Significant Bit msb des Messwerts angegeben und mit nach rechts absteigender Bit Wertigkeit gez hlt wie im Beispiel unten gezeigt...

Page 129: ...2 21 20 19 18 lsb 17 16 2 31 30 29 28 27 26 25 24 3 39 38 37 36 35 34 33 32 4 47 46 45 44 43 42 41 40 5 55 54 53 52 51 50 49 48 6 63 62 61 60 59 58 57 56 7 6 6 2 Weitere Z hlweisen nicht in QuantumX S...

Page 130: ...2 1 0 7 6 5 4 3 2 1 0 0 Daten In dex 15 14 13 msb 12 11 10 9 8 1 23 22 21 20 19 18 Startbit lsb 17 16 2 31 30 29 28 27 26 25 24 3 39 38 37 36 35 34 33 32 4 47 46 45 44 43 42 41 40 5 55 54 53 52 51 50...

Page 131: ...50 49 48 1 47 46 45 44 43 42 Startbit lsb 41 40 2 39 38 37 36 35 34 33 32 3 31 30 29 28 27 26 25 24 4 23 22 21 20 19 18 17 16 5 15 14 13 12 11 10 9 8 6 7 6 5 4 3 2 1 0 7 Die gleiche Nutzinformation g...

Page 132: ...Sequential Format Startbit 14 L nge 12 Bit Nr innerhalb des Daten Byte 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 Daten In dex 8 9 10 11 12 13 14 Startbit lsb 15 1 16 17 18 19 msb 20 21 22 23 2 24 25 26 27 28...

Page 133: ...LA Sequential Format Startbit 10 L nge 12 Bit Nr innerhalb des Daten Byte 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 Daten In dex 8 9 10 msb 11 12 13 14 15 1 16 17 18 19 20 21 Startbit lsb 22 23 2 24 25 26 27...

Page 134: ...ger ten ECU 2 ECU sind beispielsweise von internen Signalisierungs oder Sensorinformationen des Steuerger ts Die Hardware Verbindung zwischen Messger t und Steuerger t verl uft weiterhin ber den gleic...

Page 135: ...erbare CAN Schnittstellen die f r den Betrieb mit CCP oder XCP on CAN und damit f r das Lesen der Signalwerte von Steuerger ten parametriert werden k nnen In diesem Modus arbeitet MX471B als Logger Na...

Page 136: ...Schl sselaustausch verfahren Seed Key gesperrt ist muss die zuge h rige skb Datei verf gbar sein S CANape Version 10 0 oder h her ist installiert Betrieb mit fr heren Versionen eventuell m glich wurde...

Page 137: ...ECU In das Tag DBC muss der Inhalt einer Vector DBC Datei als String geschrieben werden sofern eine seed and key binary Datei verwendet werden soll deren Inhalt als String ins Tag SKB Mit dem Schreibe...

Page 138: ...lich Wenn das Tag Active auf 0 gesetzt wurde startet die Verarbeitung erst mit dem Schreiben des Controls CANECU Voraussetzung ist dass die die Pro tokoll Verarbeitung durch Setzen der Parameter DBC u...

Page 139: ...rn zutreffend Laden Sie die Dateien danach in das Ger t Die CCP oder XCP on CAN Kommunikation zwischen dem Steuerger t und MX471B wird daraufhin sofort gestartet Dieser Dienst kann auch ber ein in cat...

Page 140: ...sselaustausch Option Seed Key und Anpassen der Init Einstellungen mit CANape S Wenn das Steuerger t die Sch sselaustausch Option Seed Key nicht unterst tzt m ssen Sie sie in den Protocol Settings Pro...

Page 141: ...QuantumX SomatXR und CCP XCP on CAN CANBus A4461 1 0 HBM public 67...

Page 142: ...tings Erweiterte Einstellungen ndern Sie die Einstellungen in INIT_RETRIES 100 und INIT_RETRY_DELAY 2000 empfohlene Werte MX471 B versucht dann 100 Mal die Kommunikation mit dem Steuerger t aufzubauen...

Page 143: ...n CAN CANBus A4461 1 0 HBM public 69 Schritt 2b Nur f r XCP on CAN Anpassen der Protokolleinstellungen in der Ger tekonfiguration f r CCP nicht notwendig S Setzen Sie den Parameter DAQ_CALCULATE_FIRST...

Page 144: ...uantumX SomatXR und CCP XCP on CAN 70 A4461 1 0 HBM public CANBus S Setzen Sie Consistency mode Konsistenzmodus auf ODT und Identification field type Typ des Identifizierungsfelds auf Absolute Absolut...

Page 145: ...altfl che Create file Datei erstellen S Die dbc Datei wird in Ihrem CANape Projektver zeichnis erstellt Schritt 4 Konfigurieren von MX471B mit der dbc Datei und MX Assistent S ffnen Sie den MX Assiste...

Page 146: ...uschverfahren Seed Key gesperrt ist m ssen Sie die skb Datei ausw hlen S Wenn das Steuerger t nicht gesperrt ist lassen Sie das Feld leer S Klicken Sie auf die Schaltfl che OK Wird das H kchen bei Act...

Page 147: ...kann auch als Gateway genutzt werden das XCP on CAN oder CCP Signale an das CAN bertr gt In diesem Modus werden die XCP oder CCP Nachrichten an einer Schnittstelle des MX471B emp fangen und an einer a...

Page 148: ...h Sources Quellen auf einen CAN Output CAN Ausgang 8 Passen Sie die CAN IDs so an dass jedes Signal seine eigene eindeutige ID hat in diesem Beispiel 385 386 387 388 Eine automatische Zuweisung fortla...

Page 149: ...QuantumX SomatXR und CCP XCP on CAN CANBus A4461 1 0 HBM public 75...

Page 150: ...s und Messsystemen CCP CAN Calibration Protocol CAN Kalibrierungsproto koll Wurde von der ASAM standardisiert DBC Data Base CAN Datenbasis CAN das Dateiformat f r die CAN Kommunikation ECU Electronic...

Page 151: ...QuantumX SomatXR und CCP XCP on CAN CANBus A4461 1 0 HBM public 77...

Page 152: ...www hbm com HBM Test and Measurement Tel 49 6151 803 0 Fax 49 6151 803 9100 info hbm com measure and predict with confidence A4461 2 0 7 2002 4461 HBM public...

Reviews: