Home

WS Remote Solution DTS Logging Data User Guide

image

Contents

1. The meaning of the data bytes is detailed in the following sections Message Type 0 11 bit CAN Message Node 1 Each 11 bit CAN message consists of a Bitmask Message Header and up to 8 Data Bytes The user has the ability to remove irrelevant or undefined payload bytes from the original 11 bit CAN message using the Bitmask The Bitmask allows the message to retain the position of the bytes in the message when irrelevant bytes are removed from the message The 11 bit Message Header is the CAN ID of the 11 bit message The meaning of the 11 bit Message Value is user defined Message Type 1 29 bit CAN Message Node 1 Each 29 bit CAN message consists of a Bitmask Message Header and up to 1 785 Data Bytes The user has the ability to remove irrelevant or undefined payload bytes from the original 29 bit CAN message using the Bitmask The Bitmask allows the message to retain the position of the bytes in the message when irrelevant bytes are removed from the message If the Bitmask is 00 then the 29 Bit Message Values can be greater than or equal to 8 bytes but less than or equal to 1 785 The 29 bit Message Header is the CAN ID of the 29 bit message 29 bit Message Values that have a length longer than 8 are often created using J1939 multicast BAM message Please reference J1939 21 The meaning of the 29 bit Message Value is user defined BC00000348 en US Rev 0100 October 2015 Pankiti User Manual Danfoss Telematics Sol
2. Rev 0100 October 2015 35 p User Manual Danfoss Telematics Solution Logging Data Appendix Bitmask Examples 36 Empty or irrelevant bytes of CAN messages can be omitted by defining a proper bitmask A set bit marks a transmitted byte an unset bit a omitted bytes The bits are interpreted in order of their significance Bitmask MSB 8 7 6 5 4 3 2 1 LSB Message Bytes 01 02 03 04 05 06 07 08 A bitmask of 0x04 defines that only the 3rd byte of the can message is transferred When using bitmasks the can messages can t be longer than 8 bytes If all bit are either unset 0x00 or set OxFF the message is transferred completely and if the message type supports it can be longer than 8 bytes Example 1 The first example explains the order in which file section will occur The second example will demonstrate what the data byte will look like in the file format Section 1 File Header 3 File Header The file header will always start the file structure This contains Start Byte File Format Version Length Bytes Encryption Byte and the File Header Section 2 File Payload 3 Message Header The section describes the Message Type that is to follow the Timestamp Type that is to follow and the Message Length which is the length of the Message Values and Timestamp Values Message Payload This is unique to each Message Type The length of this section is defined by Message Length in the Message Header
3. Value 1 High Value 2 Low Other Not Present NoTimestamp Line 7 Checksum XOR Checksum and Stop Byte BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data BC00000348 en US Rev 0100 October 2015 39 Products we offer Danfoss Power Solutions is a global manufacturer and supplier of high quality hydraulic and electronic components We specialize in providing state of the art technology and solutions e Bent Axis Motors that excel in the harsh operating conditions of the mobile off highway market Building on Closed Circuit Axial Piston our extensive applications expertise we work closely with our customers to ensure Pumps and Motors exceptional performance for a broad range of off highway vehicles e Displays We help OEMs around the world speed up system development reduce costs and bring e Electrohydraulic Power vehicles to market faster Steering e Electrohydraulics Danfoss Your Strongest Partner in Mobile Hydraulics e Hydraulic Power Steering Go to www powersolutions danfoss com for further product information e Integrated Systems Wherever off highway vehicles are at work so is Danfoss We offer expert worldwide support for our customers ensuring the best possible solutions for outstanding performance And e Joysticks and Control i X with an extensive network of Global Service Partners we also provide comprehensive global Handles
4. 1 Logging ur Ad Remove _ Down Number ofjobs 1 Job parameter CoblD e Use a ine vale an 1 Ukg elit Ba v 123 hex Edit raw number 3 Bit Fosidion l Use a fix value x na oS Device Venables Positioning Active Satellites Bilength 8 Change Lise alnk to a variable ee Entr amen foco 8 mm Name valua Data type Bit positia Bit length 1 00000000 fix 0 Je e 00000000 ftx 15 Save the settings BC00000348 en US Rev 0100 October 2015 23 Pankiti User Manual Danfoss Telematics Solution Logging Data Configure Logged Data View As a Danfoss Telematics Solutions customer using the WS403 on your DTS portal account you have the possibility to show some of the logging data direct on the portal Data view If the selected machine shows on the right side of the machine overview a highlighted symbol La itis possible to see all or a collection of the latest logging data direct on the portal screen A mouse click on the symbol will show the configured selection of the logging data Status Reports Sennce Events Administration Extras English C3 cal Machines NMS PSD SM refresh O 1 1 Simple Table View ne 8 Val Name Signal Value Time NMS DTS BLG Pump current forward 0 mA 31 30 15 12 56 36 PM NMS PSD SM Purnp current reverse 0 m 01 30 15 12 56 36 PM NMS SAE MB Motor current rna 1 30 15 12 56 36 PM Rate limit ms 01 30 15 12 56 36 PM Engine
5. Once per fiie AND OR distance traveled Logging period ms amp fix ink 60000 Logging dstance meter Qr fix ink 30 Logging active GPS bogng GPS bagging alcwes you to put postion data into a logging fie cT The data set wil contain these values Latitude Longitude Aktude Heading Speed over ground Time and date The device wil get new gps data every 2 seconds So it doesn t make any sense to configure a baging period smaker than 2000 ms If you enable once per file the device wil take care that every legging fie vll contain at east one gps data set Logging distance means the distance between the last boged position and the current postion beeine F302 492 Make the following settings Variable fee Once per file Each logfile contains position data at least once Enabled Enables disables the position data logging AND OR AND Position data is logged if both conditions time and distance are met OR Position data is logged if one of the conditions time or distance is met Logging period Time period during which the position data should be logged Logging distance Distance between the last position logged and the current position linear distance Logging internal variables You can log various internal variables Internal variables can be both device variables and interface variables To log internal variables you need an object Action Function Operation in the
6. 532 Engine Speed old nonewoletle UG Hreshold value volatile S32 Engine Speed new volasie 532 Engine Speed old norsvolatle UTG threshold valve Opersa Infomation Lise a fi Value Use a Link to a Variable woHlotle 532 Engine Speed new Q Lenk t Inberiace Vansbles Link to Device Variables Change operand list entry F302 489 The buttons for entering the calculation operations have the following functions CE EE C Clear Deletes the entire calculation operation CE Clear Entry Only deletes the last symbol entered Add variables to the calculation operation Click on the button to open a window Assign fixed values interface variables or device variables to the variables After you have defined a variable the display on the button jumps to the next variable The selected variables are listed under List of operands including their values and types Basic calculation types addition subtraction multiplication division 18 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects L NEN aaa and logical AND link If all linked operands are true or not equal to zero the result is Operation 1 Otherwise the result is Operation O or logical OR link If one of the linked operands is true or not equal to zero the result is Operation 1 Otherwise the result is Operation O If both linked variables ar
7. In the list adjacent to Result click on volatile 532 Engine Speed Old BC00000348 en US Rev 0100 October 2015 19 Pankiti User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects 4 Using the buttons on the tab enter the calculation operations A lt gt B C D E F If you click on the placeholder e g A this opens the window Input Operand Information or open a new Operation To find out which variables you must assign to the placeholders see Job 2 variable on page 20 5 In the list click on the variable you want to assign to the placeholder in the example for A the variable volatile U8 Trigger 6 Click on the button with the placeholder e g A Input Operand Information or open a new Operation Hew Opearand Use a Link to a Venable Lee e fc V niue volate UB Tigger Link to interlace vanables Lirik to Duro Vaneblos E F302 491 7 Click on the New button when you have entered the calculation operations completely 8 Assign the following variables to the placeholders Job 2 variable Bm pp gt DJ vever Em pp 9 Save the configuration file and load the configuration to the device as described in Configuring the device for Data Logging on page 7 Saving CAN messages to microSD memory cards Logging GNSS positions 20 You can save the data to an inserted microSD memory card You can read off t
8. RPM 0 RPM 01 30 15 12 56 36 PM Fy Motor RPM 0 RPM 01 30 15 12 56 36 PM Vehicle speed 0 mh 01 30 15 12 56 36 PM Pressure forward bar 01 30 15 12 56 36 PM Pressure reverse bar 01 20 15 12 56 36 PM F302 496 Adapt the configuration to the web portal The display of the logging data needs a configuration via a xml script This script must be downloaded to portal via Administration Machine Configuration Status Reports ane Events Administration Extras Entities FEEL Rights Administrator Role Moda s Appearance WS 403 pin Dashboard Confiqurabon WADE Machine Configuration F302 497 Select the Add Machine Configuration option to open the file selection menu Machine Configuration Machine a Add Machine Configuration Configuration F302 498 The selected xml file will be tested of consistence after pressing the load button If any error is detected inside the xml file the system will reject the file with an error message pointing to the first error position 24 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Configure Logged Data View Elements of the xml file XML Header Message definition Machine Configuration Upload machine configuration Durchsuchen Keine Datei ausgew hlt Upload Cancel F302 499 After system accept the configuration it is possible to select a number of machines that are
9. Rate File Edit Target Device Took Options T 5 All gt EE A a l Node37 CANinkmoble 3 gt G98 3 7 Object Dictionary a D wsso DantossDeisuh CANopen NMT Startup 0 Lise interned Link a an Drace Variables j ud Dhrsce Mado Confiqueid LL Cenkguration F AM Mapping Additional Information Dursce Confiqureibon Version Sting d ae Available NMT Startup Modes uu Disable Remote Device Mode Change t L J ui Operaton ime total Save Changes 0 Enter Operational automatically Di Device Time Unix Formar 2 Enter Operational automatically and send F CAN Basic Setings HJpdate Inicamabon imm FG NMT Start to all Modes i 4 Default Stay Pre Operational after Power on gl CAMopen NMT Startup ia CAN 1 Device CANopen Node ID CAM 1 Device CAN Baud Aate j CAM 3 Deace CANopen Hode ID Lid CAN 2 Device CAN Baud Raio lad Object Dictionary CANopen Dessble Enable Receive Objects Information on Edi dj 500 Server Timeout Edit Type direct odit F302 474 CANopen NMT Startup Automatically sets the device to CANopen mode Operational CAN1 Device CANopen 1 127 default 37 The CANopen node address device ID number can be Node ID left at standard value CAN1 Device Baud Rate min 50 kbit s The bit rate at which the CAN bus operates max 1 Mbit s default 250 kBit s 8 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Creating object dict
10. able to use this configuration Please take care the also the dod file of the selected machines have the same logging configuration to support the needed logging data Don t forget to press the Save button to activate this script on the portal To support the structure of an xml file it much easier to use an editor that support these structures One option it to use the freeware https notepad plus plus org plus xml support http sourceforge net projects notepad plus add ons plugins To identify the xml configuration we need a UUID There are some creators for ID s available on the internet like https www uuidgenerator net The header has fixed and variable values All values are fixed like in the sample below except the uuid the customerVersion and the keyPrefix xml version 1 0 enceding UTF 8 xml stylesheet type text xs hrefe ProemionDataConfiguration xs 85 lt DataConfig uuide T67686df 694d7 484b 8648 5e34d801907759 customerVersionm D 1 2 keyPrefise NMS Telehandler demo xmlnasme i atac 1 7 xmins xsie iff wee Wo OF r nee xmins xie http www w3i org 2001 XIncglude xzi schemalLocatione i F on TE ni 7 onDataConfiguration xsd gt F302 500 For each xml file we need a unique identification ID uuid To implement a change it is needed to increment the customerVersion The keyPrefix shows a short description about this script but is not used internally This prefix must be present to fulf
11. i Me service for all of our components Software Please contact the Danfoss Power Solution representative nearest you e Open Circuit Axial Piston Pumps Orbital Motors e PLUS 1 GUIDE e Proportional Valves e Sensors e Steering e Transit Mixer Drives Comatrol www comatrol com Schwarzm ller Inverter www schwarzmueller Local address inverter com Turolla www turollaocg com Hydro Gear www hydro gear com Daikin Sauer Danfoss www daikin sauer danfoss com Danfoss Power Solutions Trading Danfoss Danfoss Danfoss Shanghai Co Ltd Power Solutions US Company Power Solutions GmbH amp Co OHG Power Solutions ApS Building 22 No 1000 Jin Hai Rd 2800 East 13th Street Krokamp 35 Nordborgvej 81 Jin Qiao Pudong New District Ames IA 50010 USA D 24539 Neum nster Germany DK 6430 Nordborg Denmark Shanghai China 201206 Phone 1 515 239 6000 Phone 49 4321 8710 Phone 45 7488 2222 Phone 86 21 3418 5200 Danfoss can accept no responsibility for possible errors in catalogues brochures and other printed material Danfoss reserves the right to alter its products without notice This also applies to products already on order provided that such alterations can be made without changes being necessary in specifications already agreed All trademarks in this material are property of the respective companies Danfoss and the Danfoss logotype are trademarks of Danfoss A S All rights reserved BC00000348 en US Rev 0100
12. object dictionary group Operation Manager With the object Action Function Operation up to 8 internal variables can be logged in one process as a virtual CAN message 1 Create an Operation Manager object dictionary group if it does not already exist See Creating object dictionary groups and objects on page 6 2 Create an object Action Function Operation in the Operation Manager object dictionary group BC00000348 en US Rev 0100 October 2015 21 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects 3 Click on the Basic tab File Edit Target Device Tools Options fall b ET KP a Node 37 CANink mobile 33 gt G 9 8 7 0 Object Dictionary Basic Jobs 3 W5403 LoggingExemple Final Basic Parameter Condition and Description d Drace Varables 7 This Operation is valid Humber et Jobs This operation vill be checked ever 1000 JA interlace Variables G Custom CAN Communication 4 gl GPS Link bo Companson Valug ud GPS lunctionelity an peration Manager ing Action Funcson Operation 1 Data Type Data Star Bavsthin Data Type Humber of Bas canteirang Data Thes aparaton will bar oamigd out il Comparison Valug Tagger Condition Desanpson of this Operation Application Specials F302 493 4 Select a time period in ms during which you want logging to take place 5 Enable Always active if you want logging
13. to take place irrespective of conditions Alternatively you can define conditions for logging 6 Click on the Save button 7 Click on the Jobs tab 8 Click on the Add button adjacent to the Overview field Th File Edit Target Device Tools Option TG ANP D RP Node 37 CANiink mobile _ 3 PO Q I Obpect Detonar Basic Jobs I WS403_LoggingExample Final Overvatw 3 Drace Venables f Imertoce Variables F Custom CAN Commusscation gt Create new job 4 gl ors lag GPS tunctionniny Please select the job type P Operaton Manager ho Function V Acton Function Operation 1 Humber oljobs 0 Send Custom Message Function Increment Function Job parameter Decrement Function Cal User Specfic Function Caculte Parameter Value Function 9 Select Logging in the Create new job window 10 Click on the OK button The job is added to the Overview list 11 Enter the ID for the virtual CAN message in the Cob ID field The ID must not be used by other CAN messages 22 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects 12 Select the variable type and the variable in the field ADD NEW ROW 13 Click on the Add button next to the field Add new row The selected variable is added to the list 14 Add more variables to the list as required Basic Jobs Cweriew
14. used starts with bit 24 message from byte 4 Number of bits containing data The data used has 16 bits 2 bytes 3 Click on the New button to create the mapping entry The mapping entry is adopted in the table The data is copied into the internal variable on receipt of the CAN message Jobs Change to the Jobs tab Every time a CAN message is received jobs are performed after mapping and before logging In the Jobs tab configure the calculation operations you need for your job For the example configuration you need two jobs of type Calculate Parameter Value Function With this function you perform calculation operations and overwrite interface variables with calculated values Job 1 With the first job Job 1 you check whether the current engine speed is above or below the threshold value If one of these cases applies set the variable volatile U8 trigger to 1 which triggers logging of the message 1 Click on the Jobs tab 2 In the list under Current function of selected job click on Calculate Parameter Value Function The jobs already defined are listed in the adjacent field Communicatio Status Mapping Jobs Logging Overiew Job number ot Up Current function of selected job Down No Function Send Custom Message Function Jot Increment Function Decrement Function Call User Specific Function Start SDO Client Order Function Set Parameter Value Function Calculate Par
15. 11 bit message Data Byte Value 2 1 a 0x00 0xFF Second byte of up to 8 Data Bytes in the original 11 bit message Data Byte Value n 1 i 0x00 0xFF Last byte of up to 8 Data Bytes in the original 11 bit message Message Type 3 29 bit CAN Message with source Version 14 Type Length Byte Value Range Comment bytes Order Message Value 1 1 0x01 0xFF Some of our logging hardware has more than Source Bus one CAN interface This value represents the physical CAN bus from which the message originated Bit mask 1 0x00 0xFF 8 bits each bit representing respectively which of the 8 data bytes 1 n of the original 29 bit message are included If bitmask 00 the message length can be equal to 0x8 and up to 0x6F9 Message Header 4 Big 0x0000 0000 0x7FFF 29 bit CAN message ID Endian FFFF CAN Data Length 1 n 0x00 0xFF CAN DLC necessary to work with bitmask Code introduced with V 15 Data Byte Value 1 1 o 0x00 0xFF First byte of up to 8 Data Bytes in the original 29 bit message Data Byte Value 2 1 0x00 0xFF Second byte of up to 8 Data Bytes in the original 29 bit message Data Byte Value n 1 0x00 0xFF Last byte of up to 8 Data Bytes in the original 29 bit message BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Appendix Message tail Message Type 16 GPS Location Data J1939 format Type Length Byte Value Range Comment bytes O
16. 403 Danfos an Device Yar Zz Interface Vi 4 New Object Dictionary Group Array Interface Parameters Object Dictionary Download ad New Object Dictionary Entry Variable Initialization Cut Ctrl X Custom CAN Communication D Copy Ctrl C SDO Client Communication i Paste Ctrl V Operation Manager 3 Delete Ctrl Del GPS Move tree entry position up Ctrl F5 Move tree entry position down Ctrl F6 Rename Edit description F302 469 4 Right click on the object dictionary group Custom CAN Communication 5 n the context menu click on New Object Dictionary Group Recieve CAN Messages PDOs This creates the object dictionary group Receive CAN Messages PDOs er gd WS Configurata File Edit Target Device Tools Options a H BOT KP B M Node 37 CANlink mobile 3 P6 amp Obpect Dictionary D ws401 DantossDetauh an Device Variables F Interlace Variables aH Custom CAN Communication Object Dictionary Download n New Object Dictionary Group Transmit CAM Messages PDOs ad Mew Object Dictionary Entry Receive CAM Messages PDOs gt F302 470 6 Right click on the object dictionary group Recieve CAN Messages PDOs 6 BC00000348 en US Rev 0100 October 2015 Pankiti User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects 7 In the context menu click on New Object Dictionary Entry gt Recieve Message PDO WS Contguraod u Fite Edit Targe
17. MAKING MODERN LIVING POSSIBLE Park User Manual Danfoss Telematics Solutions Logging Data powersolutions danfoss com User Manual Danfoss Telematics Solution Logging Data Revision history Table of revisions October 2015 Danfoss layout 0100 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Contents About this Manual gj ERE NERE EE 5 Creating object dictionary groups and objects Configure Logged Data View Appendix KE EE EEE EE NAT E ENE 7 Modifying the logging configuratiOn ssssesssesessrsersessensrsensensnsensssrnesssnernerernessensrssnsenssssnssssnessssernessenessesersessensnsensensnsensseen 7 Configuring the device for Data Logging ssmsesssssssssessssersessrsersessesessenssssnessssersessrnessenesssnsensssesssssnessesersessenessenssssssenssern 7 Logging CAN messages and sending them to DTS portal sssssssesssersenesersenessenessrnsnessrnenesseressenesensenessenssessenesseseneses 8 RECEIVING INE S193 9 SSS Ae t t 9 ENN 9 Receive Message Communication Parameters srssrsrsesssensnensrerersrsrsrsrsenenenenenenenesesessssssenssenenenenenenenesesenesesessenenenenen 10 Haa 201918 p1o EC aee EE ENE NE EE 11 Logging of all data bytes every 60 SECON S msrsersrssarsrssnsassssrvsssrnessesersersenessenenssnsenssssnessensssssernessenessensesessenssssnsenssssnssern 11
18. October 2015 www danfoss com O Danfoss A S 2015
19. Rao ro MEN ooo 11 Log specific bytes under certain conditions or every 10 minutes eese netten tete ntnntntnnes 13 ere TAA PEE 13 KN NNN 14 MN 15 Acuve NNN 15 BEE SEE EE ENE ETE 16 JOO aa ABA AA AA AA AA AA AA AA AA AA 17 es AA AA AA AA 17 AA eee eee 19 Saving CAN messages to microSD memory CardS sessrsessassserssnsssrssnessensssrssnsssensnessensssrnenessenenessenessenenesnenesseneressenessensnesee 20 Bela gre EIN DEN AA EE S 20 Logging Ha tel dat LAVE TET 9 EE EE er aourabtensenenvsnaiontanvees 21 DE EE EN AA AA 24 Adapt the configuration to the web portal sesrsessseesssersessrsersesersessenersessenssssnessenessssernessenessenensensenssssnesssnessssernessenessene 24 Elements of thie omnl Eee 25 MIN 25 MEN 25 Eile ar leo Cant 9 AA NE 26 TN 26 MN vr 26 VENN 27 Sali iore kol Sil LAAN 28 ij Ko ENM UOI EEE AA 29 GNU etek 32 FIG AA AA EE de NEN E 32 FAA YU AU M P 32 Message Payload DETINITIONS socis ooi eere GG KANA RR Cot bear ci rU en en cor eS ERE R e KAN 33 Timestamp Value DefibitiOIs ucanvisiie veras ivi pas ve Cha vei printed tee ordo taber eo o UE e YER ab o viai T 35 Moce T A E E EEE OE AAEN AEO A OAE OE OO aut nna 35 SEA EE EE NN OT 36 E Cie NAA N E EEE EE EE 36 mer O AA 36 SENIL EE V
20. Text gt lt messaqge xsi1 typeme HMessageReferance value label section 1 gt lt Texr gt lt header gt ceBlls xcell ccontentoecValueView valueDefinitionRefe yaluse radio lever 1 c content c cell xceello ccontentosValueView valueDefinitionRefe9 value slider aetpolnt 1l x contentoc cell celloccontent cValueView valueDefinitionRe s value slider actual l c content e cell e cells z ecolumn E E E 4 a HR OL BO 4 HON E E d d 4 BOE E 4 4 d B E E RO 4 x BEGGUG BEGAGGHE BEGGAH S EGGA4ARERERLEGGE s column cheaderoclextocmessage xsi typese HessageReference valuee label section 7 c Text c headez lt cella gt lt cell gt lt ccontent gt lt ValueView valueDefinitionRef valuse radic lever 7 gt lt content gt lt cell gt tcell gt lt content gt lt ValueView valueDefinitionRef value slider getpsint 7 gt lt cenrent gt t cell gt zcellsccontenrt eValueView valueDefinirtionRefe values slider actual 7 gt lt cantent gt lt cell gt z cells lt r column xcolumn cheader gt tlext gt tmessage xs3i typese HMessageReference value label section E gt lt Text gt lt header gt zomlls zeslle ccontenrs Valus iaw valueDefinirtionRefe valna radio lever B8 gt lt content gt lt c 1l gt zcellscconrent ValueView valueDefinitionRefe value slider a3e6tpolnt B gt lt contents lt cells c CE1157 column columns ViewDefinition gt F202 509 BC00000348 en US R
21. ameter Value Function F302 487 3 In the list adjacent to Result click on volatile U8 trigger 4 Using the buttons on the tab enter the calculation operations A B C or D gt E F If you click on the placeholder e g A this opens the window Input Operand Information or open a new Operation To find out which variables you must assign to the placeholders see Table Variables for Job1 BC00000348 en US Rev 0100 October 2015 17 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects and Information or open a new T Operation He Upinand a Lite a Link to a Yanable Lae a toc Value volatile 532 Engine Speed new Gi Link to Interface Viariablas Link io Denice Venables murum F302 488 5 In the list click on the variable you want to assign to the placeholder in the example for A the variable volatile S32 Engine Speed New 6 Click on the button with the placeholder e g A 7 Click on the New button when you have entered the calculation operations completely Communicatio Salus Mapping Jabs Logging verve Job number Current Function of selected pob Calculate Parameter Value Function Job parameter Mathematics and logic Result volasie US Trigger Lirik to Imarlace Vanables Link to Device Variables A B C ar D lt E F E E not lt CE X xor lt gt lt List of Operands volatile
22. anlIde 0x123 canIdLengthe 11 mask Ox7FF protocolStyles GENERIC lt Values gt IncValue startPose 0 length 8 endiannesse LITTLE signede false continueOnLastPosrione false lt valueDefinition refe value u8 gt lt IntValue gt cIntValue startPoses 0 lengthe e endiannesse LITTLE signede false continueOnLastPostione falss valueDefinition refe valne temp gt IntValue gt lt IntValue startPos 0 lengthe B endiannesse LITTLE signed falae continueOnLastPostione false lt velueDefinition sef valne press Int Value gt lt FloatValue startPos B length 32 endianness LITTLE signed true continuelnLastPostion false gt valueDefinition refme value r32 lt FloatValue gt s Values gt lt CanMessage gt lt BinaryStreamDefinition gt z ParsingDefinition F302 507 This parsing information needs to synchronize the needed data for this portal display with the configuration of the remote logging data transmit device Actual only the CAN data are available for the BinaryStreamDefinition The message will be defined via the CAN ID with the corresponding ID Type and Mask The actual version support only the GENERIC protocol is supported CAN Message examples Short identifier 11 bit Long identifier 21 bit canld Ox123 0x18FF5003 mask Ox7FF OXIFFFFFFF For every used value of a CAN message a value section must be defined Possible values can be e IntValue e FloatVal
23. d Integer Size 16 bit volatile Type signed Integer Size 16 bit volatile Type unsigned Integer Size 32 bit valatile Type signed Integer Size 32 bit volatile Type signed Float Size 32 bit QE Cancel F302 481 3 Click on the variable you require 4 Click on the OK button The selected variable is created 5 Repeat the process for each variable sa WS Configurator File Edit Target Device Tools Options Werk BITRE AG Node 37 CANIink mobile b090 J n Object Dictionany Lee intemal Link I WS403 LoggingExample volatile UB Trigger I Device Variables Show Link an Inter ace Variables led DBC UB Value Additional Information DEC FLOAT3e Value y vj volatile Type unsigned Integer Size bit CJ DEC 11939 SPN247 EngineHours LJ DBC J1339 SPN190 EngineSpeed Save Changes wy volatile L Trigger E volatile 532 Engine Speed new volatile 532 Engine Speed old 2 nonvolatile WIG threshold value F302 482 6 Rename the variables in a useful way You need the following variables for the value checks BC00000348 en US Rev 0100 October 2015 13 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects Devinn o rm sm fa Logging Enter the following settings in the PGN 61444 object dictionary in the Custom CAN Communication object dictionary group Con
24. ditions 1 Click on the Logging tab 2 In the Logging tab click on the Conditions tab SM TE AG File Edit Target Device Tools Options TR PI 3 Node 37 CANlink mobile 3 P G98 3 r Object Dictionary Cormmunicato satus Mapping Jobs Loggmng a JJ w840 LoggingExample Final Logging fl Device Venables V Logging enabled Spl Interface Variables A DEC 08 Value dj DEG FLOAT32 Value aa DEC iota Wes Encnatipur logging p nod expired AND Condon Nur t A ra nl agit urs D OR iz DEC 41333 5FN1 90 EngineSpesd kad volatile L Trigger Legging panod ud volotle S32 Engine Speed new lag volate 532 Engine Speed old Gd nanevolatig LITE thaeshold value P Remote Safety Variables a Pe Custom CAN Communication Condition S Transmit CAN Messages F DOs Alt true a 3i Record CAN Messages PDOs ka DEC Custom 11 bit ID Data star biiwithin data type 0 Conditions P ytoad Specals Log message on Q Ute ie value Ue a kak Comparison vakre Interface Variables wolenio L Tagger Datatype UB a DEG PON 55253 Humber ol b t containing data B ng DBCPGN 61444 Adiva if companion valug e use a fi value TET a link 00000000 use internal link Decimal Hox Show Link Fraat Trigger condition Levelinggened This operahon vill be cammed out each tme the Oberon trae Application Specials F302 483 3 Make the following settings Description Log message on The data is logged when timeo
25. e SEN P301 879 A To get this information from a logged CAM message it needs to be a setup like follow CanMessage canld 0x18FE6800 canldLength 29 maskz Ox1FFFFFFF protocolStyleZ GENERIC Values IntValue startPos 0 length 8 endianness LITTLE signed false continueOnLastPost on false gt valueDefinition ref value hydraulic temp gt lt IntValue gt lt IntValue startPos 14 length 2 endianness LITTLE signed false continueOnLastPost on false gt lt valueDefinition ref gt lt IntValue gt lt IntValue startPos 12 length 2 endianness LITTLE signed false continueOnLastPost on false gt lt valueDefinition ref en lt IntValue gt lt IntValue startPos 16 length 8 endianness LITTLE signed false continueOnLastPost on false gt lt valueDefinition refs value hydraulic oil level gt lt IntValue gt lt Values gt lt CanMessage gt P301 880 A Each ViewDefinition is displayed as one tab on the portal Actual there are the following types are available e SimpleTableViewDefinition e CustomTableViewDefinition e DataHistoryTableViewDefinition ErrorTableViewDefinition The title is displayed in the tab header BC00000348 en US Rev 0100 October 2015 29 User Manual Danfoss Telematics Solution Logging Data Configure Logged Data View 30 lt ViewDefinitions gt lt ViewDefinition key view simple table xsi type Sim
26. e full number values integers the link is made by bits Comparison signs equal to smaller than greater than not equal to smaller or equal to and larger or equal to The result is 1 when the comparison is true The result is 0 when the comparison is not true The calculation formulas are evaluated from left to right Mathematical priority rules are not observed Define the priority calculations in the formula using brackets 8 Assign the following variables to the placeholders Job 1 variable po 92 wells Engine speeda O p 92 veailess2knginespeednem Job 2 With the second job Job 2 you replace the value of the variable volatile S32 Engine Speed Old with the value of the variable volatile S32 Engine Speed New as soon as the variable volatile U8 Trigger has the value 1 This updates the speed from which the deviation should be detected 1 Click on the Jobs tab 2 In the list under Current function of selected job click on Calculate Parameter Value Function The jobs already defined are listed in the adjacent field Communicato Saus Mapping Jobs Logging Dare Jab number ot EP Current function of selected job Mo Function Ha Function Send Custom Message Function Jot Increment Function Decrement Function Call User Specific Function Start SDO Client Order Function set Parameter Value Function Down Calculate Parameter Value Function F302 490 3
27. es Order Message Value 1 Bit 1 a 0x00 0xFF 8 bits each bit representing respectively mask which of the 8 Data Bytes 1 n of the original 29 bit message are included If Bitmask 00 the message length can be equal to 0x8 and up to Ox6F9 Message Header 4 Big 0x0000 0000 11 bit CAN message ID Endian Ox7FFF FFFF Data Byte Value 1 1 i 0x00 0xFF First byte of up to 8 Data Bytes in the original 29 bit message Data Byte Value 2 1 0x00 0xFF Second byte of up to 8 Data Bytes in the original 29 bit message Data Byte Value n 1 0x00 0xFF Last byte of up to 8 Data Bytes in the original 29 bit message Message Type 2 11 bit CAN Message with source Version 14 BC00000348 en US Rev 0100 October 2015 33 User Manual Danfoss Telematics Solution Logging Data Appendix 34 Type Length Byte Value Range Comment bytes Order Message Value 1 1 T 0x01 0xFF Some of our logging hardware has more than Source Bus one CAN interface This value represents the physical CAN bus from which the message originated Bit mask 1 m 0x00 0xFF 8 bits each bit representing respectively which of the 8 data bytes 1 n of the original 11 bit message are included Message Header 0x000 0x7FF 11 bit CAN message ID Endian CAN Data Length 1 0x00 0xFF CAN DLC necessary to work with bitmask Code introduced with V 15 Data Byte Value 1 1 0x00 0xFF First byte of up to 8 Data Bytes in the original
28. ev 0100 October 2015 31 User Manual Danfoss Telematics Solution Logging Data Appendix CLF file 32 File header Type Length Byte Value Range Comment bytes Order Start byte T 0x55 STX Start of TeXt Marks the beginning of a datagram File format version Big 0x0000 0xFFFF Version indicating the file format s version Endian Current Version 13 2 2 Encryption Byte 00 00 data is not encrypted 1 1 0x00 0x20 Header String Length n A value of 00 indicates there are no Header String values to follow Note valid header length is within 0 32 bytes was 0 255 in version 12 Header String Value 1 1 ka 0x00 0xFF First character or data byte of Header String ASCII for the file Typically a Vehicle Identification Number VIN n File payload Length of header Length Byte Big 0x0000 0xFFFF Length of data to follow everything after Endian Encryption Byte including all messages and up to but not including the Checksum XOR Checksum ADD and Stop Bytes Typical message definition Type Length Byte Value Range Comment bytes Order 64 127 RS 232 Data 128 192 Customer Specific Reserved P 00 No timestamp for this message Or UNIX message timestamp Timestamp type 01 Big 0x0000 0xFFFF The sum of bytes to follow for this message Endian including Message Values 1 n and Timestamp Values 1 7 T 0x00 0xFF Message s payload bytes 1 n Format determined by Me
29. f the number of seconds that have passed since January 1st 1970 Section 3 Message Tail 11 Checksum XOR The XOR of all bytes from the encryption byte to all bytes up to but no including the Checksum XOR byte Checksum ADD The SUM off all bytes from the encryption byte to all bytes up to but not including the Checksum ADD byte Stop Byte Marks the end of the binary file ETX Example 2 Let us have a look at the following example Line 1 55 00 OC 00 37 00 05 56 49 4E 20 31 Line 2 00 00 00 05 OC 02 3A FF AA Line 3 41 01 00 0B 01 02 03 04 05 06 07 47 79 F3 00 Line 4 08 00 00 04 00 19 00 05 Line 5 21 01 00 08 OA 62 00 64 47 79 F3 01 Line 6 22 00 00 01 4A Line 7 4A 44 AA BC00000348 en US Rev 0100 October 2015 37 User Manual Danfoss Telematics Solution Logging Data Appendix 38 The above binary file contains the following information e Line 1 File Header Version 12 Header VIN 1 Length 55 Data is not encrypted Line 2 11 bit CAN Message CAN Message ID 570 Message Values 00 00 00 00 FF AA 00 00 No Timestamp Line 3 RS232 String RS232 Values 01 02 03 04 05 06 07 Timestamp January 1st 2008 08 00 00 Line 4 Statistics String On Off Counter 25 GSM Registration Counter 5 No Timestamp Line 5 Analog Input Value 1 2658 Value 2 100 Timestamp January 1st 2008 08 00 01 Line 6 Digital Output
30. he data saved on the microSD memory card using the USB interface The data cls is saved in the LOG directory For this a microSD memory card must be inserted Set the variable Device Variable gt Logging gt Enable SD Card Logging to 1 to enable data logging to the microSD memory card Do not delete data from the Logging directory This could cause problems with sending to DTS server However you can delete the entire Logging directory with all the data If the variable Device Variable gt Logging gt Enable SD Card Logging is set to 0 or no microSD memory card is inserted the data is saved to the internal nonvolatile memory The internal nonvolatile memory has a capacity of 32 MB and can save a maximum of 5000 files When the memory is full each new file saved is overwritten over the oldest file The GNSS position data contains information on longitude and latitude altitude direction and speed over ground as well as time and date Data is only logged when valid position data is received GNSS LED lights up constantly BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects ar AA pEr 84 Node 37 CANlink mobile Object Dictionany Logging a 3 A403 LoggingEwampla Final GPS logging 3 Draco Venables F lnberlaee Venables an Custom CAN Communication ji GPS Log postion on m GPS functionality logging perod expred
31. he web portal must defined in this section This included the name of the used tab of the views the signal name and the unit name Also in this message definition it is possible to define in all supported languages The message is identified by the key value Iransformers Iransformer key transformer 0 125 0 lt formula xsi typese LinearFormula scale 0 125c scale lt offset gt 0 lt o0offset gt lt formula gt lt Transformer gt Ir Imer c Iransformers F302 504 The transformer section will define calculation to change transferred binary information in physical units The transformer includes a key value to identify the transformer The formula identifies the type of the calculation Actual only the LinearFormula is available as formula The scale value will be multiplied with the raw data value and additional the offset will be added to create a physical value from the CAN bus raw data Include tag loads description of pre defined units xi include href http xml proemion com ProemionDataConfiguration predefinedUnits xml parse xml xpointer element 1 These units can be converted automatically according to the user s Preferences settings in the Portal Metric US The following predefined units are available when using the include VELOCITY predefined unit velocity METERS PER SECOND predefined unit velocity FOOT PER SECOND lt FLOW RATE gt predefined unit flow LITER PER HOUR predef
32. ics Solution Logging Data Creating object dictionary groups and objects Log specific bytes under certain conditions or every 10 minutes Example 2 More complex logging based on the following conditions The example is based on the settings in the chapter Receiving the J1939 message on page 9 Log bytes 2 to 5 and 8 of the receive message if the engine speed byte 4 5 has changed by 500 rpm or every 10 minutes Variables You need various variables for checking values if you want to log data only under certain conditions To set the corresponding variables you need the object dictionary group Interface Variables 1 Create the object dictionary group Interface Variables if it does not already exist See Creating object dictionary groups and objects on page 6 2 Create 4 interface variables in the object dictionary group Interface Variables For each variable the window List of Interface Variables opens List of Interface Variables non volatile Type unsigned Integer Size B bit non volatile Type signed Integer Size B bit non volalile Type unsigned Integer Size 16 bit non volatile Type signed Integer Size 16 bit non volalile Type unsigned Integer Size 32 bit non volatile Type signed Integer Size 32 bit non volatile Type signed Float Size 32 bit Type unsigned Integer Size 8 bit valatile Type signed Integer Size B bit volatile Type unsigne
33. ill the rules of the scheme Parsing definition NMS PSD Group First version 767696df 69d7 484b 8648 5e3d8c190779 0 1 2 pg F302 501 Name xsi types MessageDefinition lt Label lang en value Parsing definition NMS PSD Group gt Label lang de value Parsing Definition NMS PSD Gruppe gt lt Name gt Description xsi type MessageDefinition gt Label lang en values First version gt Label lang de value Erste Version gt lt Deseription gt F302 502 The next parts of the header are some message definition to generate a message on the portal to make an identification of the script easier Both messages will be descripted in all available languages to take BC00000348 en US Rev 0100 October 2015 25 Pankiti User Manual Danfoss Telematics Solution Logging Data Configure Logged Data View Global dictionary Transformer Units 26 care that the correct language will displayed regarding the user preference of the user profile If only one language is defined this label will be used independent of the user preference lt GlobalDictionary gt Message key label view simple gt Label lang en value Simple Table View gt Label lang de value Standard Ubersicht gt lt Message gt lt GlobalDictionary gt F207 503 Inside the global directory all used message are defined this section will be used at the definition of the show value All needed information on t
34. ined unit flow GALLON LIQUID US PER HOUR FORCE gt predefined unit force NEWTON predefined unit force POUND FORCE BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Configure Logged Data View Eu a ll gt mme Te Custom units can be defined inside the section Units Units Unit key unit rpm gt symbol xsi type MessageReference value label unit rpm gt description xsi type MessageReference value label unit rpm gt lt storeType xsi type NumericValuestoreType gt lt Unit gt Units F302 505 Symbol identifies the symbol or numeric value of the unit Description is actual not used but must be present to fulfill the rules of the scheme Available store types e NumericValueStoreType e TextValueStoreType BooleanValueStoreType Value definitions ValueDefinitions ValueDefinition key value u8 description xsi types MessageReference values label value u8 gt lt unit gt unit bitfield lt unit gt lt ValueDefinition gt F302 506 This entry combines a value label and a value unit to the defined value This value is in any cases a floating point value BC00000348 en US Rev 0100 October 2015 27 User Manual Danfoss Telematics Solution Logging Data Configure Logged Data View Parsing definition 28 zParsingDefinition BinaryStreamDefinition srce CAN CcCanMessage c
35. ion tab and make the following settings feuds EE Full CAN Message Object St Assigns the receive message to a controller channel ID Length 129 bit ID ID length of the CAN message to be received Sagar SAMPLE Set 100 Receive message max every 100 ms not every 10ms as transmitted 10 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects Cob ID aag Fixed identifier of the receive message 31939 PGN 61444 Fix This mask determines that bits 8 24 of the identifier OOFFFFOO fixed in Cob ID must not vary in the identifier of the receive message In the J1939 protocol this is the PGN area The first bits of the identifier define the priority and the last bits of the identifier define the source address That is why these bits of the identifier in the J1939 protocol can be different and are not evaluated on reception in this example Timeout and Conditions 1 Click on the Timeout and conditions tab in the Communication tab Communicator Status Mapping Jobs Logging Racer e Massage Communication Parameter Valid on CAN interface x Number ol Jobs Timeout and conditions Standard channel Timeout control Abwengs acing F302 478 2 Make the ETTE settings Description Always active ee CAN message is received irrespective events or conditions Logging of all data bytes e
36. ionary groups and objects CAN2 Device CANopen 1 127 default 37 The CANopen node address device ID number can be Node ID left at standard value CAN2 Device Baud Rate min 50 kbit s The bit rate at which the CAN bus operates max I Mbit s default 250 kBit s For the logfiles you must configure further variables These variables belong to the object dictionary group Device Variables gt Logging Logging File Upload Period Logging File Header Text Logging Send File Command File Edit Target Device Tools Options 5E d ET R1 PA Node 37 CANIink mobile 3 P OQSB B Ghedi Decbonary D 3503 DentossDeteut Logging File Upload Period 15 a Device Vanables Ld Dice Made Configure me Configuration FAM Mapping Additional Information id Dice Configuration Version Sting d d Period in minutes When this time is elapsed the logged file is i Disable Remote Device Mode Change ha closed and transmitted to the Gi Operation time total Save Changes server id Chip Tam Uno Forma i E CAN Basic Setings Update Indoematian kom CFG Set this value to O to deactivate period atic Settings J EEPROM CAN Filer Setings Startup The files will only be sent to the server if the connection to the IP Remote Interface Setings server is established Otherwise Ip Power Management they are stored in the non volatile memory of the device E Positioning E Geofence a an Logang Information on E dit ad Loggi
37. is a 24 bit hexadecimal value with a byte for red green and blue part e RRGGBB e FF0000 gt color red 00FF00 gt color green e 0000FF gt color blue e 000000 gt color black e FFFFFF gt color white In the custom view table it is possible to create a table of values in rows and columns A headline and a row description are also possible The unit is a constituent part of the value and shown direct behind the value in the same window If a unit is not needed a empty Unit is to define for the value definition BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Configure Logged Data View zViewDefinition key view costem table 21 trypes CostonTableviesDefinition gt title xsi type HessageReference value e label view custom xcolumns xecolumn sheader gt iText gt lt message xsi typee MessageRefarence value label unit None gt lt Text gt lt header gt lt cells gt cell sccontent gt lt cText gt lt message xsiitypem MaessageReference value label valoe radio Lever gt lt Text lt content gt lt cell gt lt cell gt ccontente lt Textp lt message xsiltypee Maeassageheference value label value slider actual gt lt Text gt lt contents lt cell gt xcello contenrt cTexctoonessage xsilitypee MessageReference values label value slider 3etpolnt c Textoc content oc amp ll S cells x ecolumn Zcolumn Zheader gt lt
38. ng Send File Command Edit Type ded eda ud Logging Enable SD Card Logging ad Logging File Header Ted ag Logging File Upload Period Value Type Value Base decimal F302 475 variable en Logging File Upload Period in which the logfile is completed and sent to the DTS Portal 0 data is sent Period when the size of the logfile reaches 1 kB Logging File Header Information text in the head of each logfile Can contain for instance version Text information max 32 characters Logging Send File Assign any value to the variable during operation in order to close and send the Command existing logfile The logfile is sent to the DTS Portal when its size reaches 1 kB irrespective of the time set Receiving the J1939 message Using the example of the receipt of the J1939 message with PGN 61444 Electronic Engine Controller 1 we will explain the general procedure for configuring CAN messages received The procedure can also be applied to other CAN messages from other CAN protocols Creating a PGN 61444 You require an object Receive Message PDO in the object dictionary group Custom CAN Communication gt Receive CAN Messages PDOs 1 Create the object dictionary group Custom CAN Communication gt Receive CAN Messages PDOs if it does not already exist See Creating object dictionary groups and objects on page 6 2 Create the object Recieve Message PDO in the object dictionary group Receive CAN Messages PDO
39. ortant information on the intended use and operation of the portal described below The device is delivered with a basic configuration Customize the configuration to your purposes by defining the CAN messages to be logged and by using the WS Configurator tool to update the device configuration via CAN bus or remotely BC00000348 en US Rev 0100 October 2015 p User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects Configure the device with WS Configurator You can find the basic instructions for this in WS 403 Remote Solution Installation Guide L1419125 You can create rename or remove object dictionary groups or objects in the tree structure Below is an explanation of how to create object dictionary groups and objects In the example the object RECEIVE MESSAGE PDO is created In order to create the object Receive Message PDO you need the object dictionary group CUSTOM CAN COMMUNICATION and then the object dictionary group Receive CAN Messages PDOs 1 Open the WSxxx DanfossDefault DOD configuration file 2 Right click on the top entry in the tree structure to open the context menu 3 In the context menu click on New Object Dictionary Group Custom CAN Communication This creates the object dictionary group Custom CAN Communication File Edit Target Device Tools Options 50b El d OT KP Node 37 CANlink mobile 3 Object Dictionary 49 ws
40. pleTableViewDefinition gt eitle xai types MessageReference value label view simple gt lt ValueView valueDefinitionRef value u8 displayUnite false lt ValueView valueDefinitionRef value gpn 190 formare amp 6 0f gt lt ValueView valueDefinitionRefe value press gt lt ValueView valueDefinirionRefe value u8 displayUnit false gt lt conditional gt lt case gt condition xsi rype ComparatorCondition operator Equals gt lt value gt 0 lt value gt lt condition gt 4action xsiitype replaceValne gt lt Text gt cmessage xsi typee MessageReference value label cond 0 gt lt Text gt lt action gt action xaiitype setTextFormat gt lt format color FFOO0O backgroundColor O00FFFE gt lt action gt case gt cease condition xsi rype ComparatorCondition operator Equals gt lt value gt i lt value gt lt condition gt 4action xaiitype replaceValne gt lt Text gt cmessage xsi type MessageReference value label gond 1 gt lt Text gt lt action gt 4action xaiitype setTextPormat gt lt format color S00FFO0 bold true gt lt action gt c case5 case gt condition xsi rype ComparatorConditien operator Equals gt lt value gt 2 lt value gt lt condition gt 4action xai type replaceValne gt lt Text gt cmessage xai type HessageReferance value label cond 2 gt lt Text gt lt action gt action xaiitype setTextPormat gt lt format coler 0000FF italic true gt lt ac
41. rder GPS Latitude 4 Little 0x00000000 Scalar 10 7 deg bit Endian OXFAFEE27A Offset 210 deg Range 210 deg SOUTH a to 211 108122 deg NORTH OxFFFFFFFF Invalid Data GPS Longitude 4 i 0x00000000 Scalar 10 7 deg bit i OxFAFEE27A Offset 210 deg Range 210 deg WEST to 211 108122 deg EAST b OxFFFFFFFF Invalid Data a Reference from J1939 71 SPN 584 b Reference from J1939 71 SPN 585 Message Type 17 GPS Movement Data Type Length Byte Value Range Comment bytes Order Heading 4 Little 0x00000000 Signed 32 bit Int Endian OxFFFFFFFF Scaling 1e 5 Degrees Ground Speed 2 D 4 Little 0x00000000 cm second Endian OxFFFFFFFF Timestamp Value Definitions Timestamp Type 00 No Timestamp Type Length Byte Value Range Comment bits Order Timestamp Type 07 UNIX Timestamp seconds Type Length Byte Value Range Comment bits Order UNIX timestamp Big 0x00000000 Timestamp for each message 32 bit positive Endian OxFFFFFFFF or negative number of seconds since midnight on January 1 1970 Type Length Byte Value Range Comment bits Order Checksum XOR 0x00 0xFF XOR checksum over encryption byte offset 5 and all subsequent bytes Checksum ADD 0x00 0xFF ADD checksum over encryption byte offset 5 and all subsequent bytes including XOR checksum bytes All bytes will be summed up and the carry over will be discarded Stop Byte ETX End of Text Marks the end of the file BC00000348 en US
42. s BC00000348 en US Rev 0100 October 2015 9 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects 3 Rename the object In this example in PGN 61444 PGN 61444 Electronic Engine Controller 1 Transmission Repetition engine speed dependent Data Length o Default Priority 3 Parameter Group Number 61444 Start Position Length Parameter Name 1 1 bits Engine Torque Mode 1 byte Driver s Demand Engine Percent Torque 1 byte Actual Engine Percent Torque 2 bytes Engine Speed 1 byte Source Address of Controlling Device of Engine 4 bits Engine Starter Mode 1 byte Engine Demand Percent Torque co J Cn amp G3 h3 F302 476 1 du He Edit Target Device Took Opiom 7 qd ETRA BA Node 37 CANink mobile 3 bGOO T Diea Dickcnany Comme Oma ag xe eggen I WET Longest mete Baer VET a ke V Vid ce CAN eterni 3 riiag denm Nesiparel Joe 3 Tria CAN Crema Tasa CAN V se FL 3 rd ai ii Trewdut end conditions Standard chance 2 Pir CAM lige POS 9 FAN maana phd Barka LAN miro Skyll F302 477 Receive Message Communication Parameters 1 Click on the Communication tab and make the following settings bot ke evo CAN CAN Protocol The receive CAN message is a single message Layer 2 Valid on CAN de a Activates the configuration sets the reception channel if several are available 2 Click on the Standard Channel tab in the Communicat
43. ssage Type and defined in Section 2 File Payload 3 Message Value 1 Message Length Message Value 2 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Appendix Type Length Byte Value Range Comment pe Order 11 10x00 0xFF Message Value n SS 0x00 0xFF Last byte NN Message Payload Timestamp Value 1 1 a 0x00 0xFF Timestamp Payload bytes 1 z if Timestamp Type is nonzero Format determined by Timestamp Type as defined in Section 3 Message Tail 11 Timestamp Value z 0x00 0xFF Last byte of Timestamp payload Repeat the above sequence for all subsequent messages in file See Section 2 File Payload 3 above Message Payload Definitions Message Type 0 11 bit CAN Message Type Length Byte Value Range Comment bytes Order Message Value 1 Bit 1 0x00 0xFF 8 bits each bit representing respectively mask which of the 8 Data Bytes 1 n of the original 11 bit message are included Message Header 0x000 0x7FF 11 bit CAN message ID Endian Data Byte Value 1 1 i 0x00 0xFF First byte of up to 8 Data Bytes in the original 11 bit message Data Byte Value 2 1 i 0x00 0xFF Second byte of up to 8 Data Bytes in the original 11 bit message Data Byte Value n 1 i 0x00 0xFF Last byte of up to 8 Data Bytes in the original 11 bit message Message Type 1 29 bit CAN Message Type Length Byte Value Range Comment byt
44. st define basic variables in order to correctly link up the device with an existing CAN network Configuring the device for Data Logging BC00000348 en US Rev 0100 October 2015 7 Pankiti User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects 1 In the object dictionary group Device Variables click on the variable Device Application Master Mode File Edit Target Device Tools Options 50 ved 0 D RPG Node 37 CANINk mobile Object Dictionary 4 ws 403 DentossDeteut Device Application Master Mode an Device Variables wg Device Application Master Mode ud Configuration RAM Mapping Additional Information 4 Device Configuration Version Sting 3 Configured Device Mode lad Disable Remote Device Mode Chant d EE lad Operation time total Save Changes Value description C9 Device Time Unix Format 0 Data Log ging File Tran sfer Mode a CAN Basic Settings Update Information trom CFG 2 Real Time Connection mode default value F302 473 2 Enter the value 0 to enable Data Logging File Transfer Mode Logging CAN messages and sending them to DTS portal You must configure at least the following variables to enable CAN communication the variables belong to the object dictionary group Device Variables CAN Basic Settings e CANopen NMT Startup e CANI Device CANopen Node ID e CANI Device Baud Rate e CAN2 Device CANopen Node ID CAN Device Baud
45. t Device Tools Options OS A EECA A A M Node 37 CANlink mobile Object Dictionary 4 wsa03 DantossDeiauh 3 Dete Vansbles H Interface Vanables b Custom CAN Communcason aH Racerve CAN Messages Pies Object Dictionary Download gi Mew Object Dictionary Group New Object Dictionary Entry Receive Message PDO F302 471 This opens the window Number of new Objects and their Version Humber af new Objects Available Versions F302 472 8 Under Number of new Objects enter the number of objects received messages you want to create In this example 1 9 Click on the OK button The object Receive Message PDO is created Rename entry Rename an entry in the tree structure 1 Click on the corresponding entry to select it 2 Click on the entry again to rename it Modifying the logging configuration In logging mode the device logs CAN messages GNSS data and internal variables All logged data is saved to an internal nonvolatile memory and sent to the DTS portal Alternatively you can also save the data to an inserted microSD memory card You can read off the data saved on the microSD memory card using the USB interface The internal nonvolatile memory has a capacity of 32 MB and can save a maximum of 5000 files When the memory is full each new file saved is overwritten over the oldest file Here you will find an explanation of how to configure the device using some concrete examples You mu
46. the device and perform calculations Active Conditions 1 Click on the Mapping tab BC00000348 en US Rev 0100 October 2015 15 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects 2 Click on the Active condition tab in the Mapping tab Humber dd mapping anng dried Ponari inden Internal Subiada inina Hama pct Type Humber of Bit Comparaon Value Hn Acte cond son Data link Furplacement on eror Aam aciei Source F302 485 3 Make the following settings Description selection _ Result S Always active Mapping always takes place without conditions Data Link 1 Click on the Data link tab in the Mapping tab Communseaba Pasar Mappe Humber dd mapping enini 1 ioma Parsreter Index Inaral Subinddiniamal Hare Humber ol Baa Compangon Walse Actes condison Dato lnk Fuplaceman on eror Farmer Intertace Venables voltio S32 Engne Spend mye Data type 53 Dela start bit wilhin acana message 24 Data start bit within devsce parameter Humber of bis conteming dass 16 F202 486 16 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects 2 Make the following settings FE EE EE Parameter volatile 32 Engine Speed new The data is written to the volatile S32 Engine Speed new variable Data start bit within receive 24 bits The data
47. tion gt oase gt default 4action xai typee replaceValue gt lt Text gt lt message xsi type MessageReferenca valuem label conj bigger s Text acrion action xai type satTaxtFormat gt lt formar color 000000 underline true gt lt acticn gt lt default gt conditional gt lt ValueView gt lt ViewDefiniciony lt ViewDefinitions gt F302 508 The ValueView reverence to defined Value Definitions Additional information in this row are related to show a unit or not and to format a value in C type configuration only f float are allowed Also a conditional analysis of a value is possible Simple and custom table are tables to show a bunch of actual data The error and history view are useful for event data like error flags This kind of message can be shown with status flag value and time of appear Inside a Value View the name of the value and the appearance of this entry will be defined Additional to the numeric value view a conditional option can show text and hints based on a numerical value A condition has one default section and one or more case sections As selection for the cases the following options are available e LessThan Equals e GreatherThan Inside a valid case section the following actions can be done replaceValue e setTextFormat With the text format option several of standard options can be used bold e italic underline e color e backgroundColor The color definition
48. u 36 Secuonz ING Pay ale EEE ENE ERE ed 36 Message Type 0 11 bit CAN Message Node 1 rnsnrssnessenssrsenensrnenessenessrnenessrnenessenesssnenenssnessenssessenesssssnessenssessenessenene 36 Message Type 1 29 bit CAN Message Node 1 rnassrssnessrsessrsenessrnenessenessrnenessenenssnensssenessnsenesessessssenssensenessenessesenessenene 36 Message Type 2 11 bit CAN Message Node 2 rnsserssnessensssrssnessrnenessenessrnenessrnenesseresssnesessenessenssessenessesenessenssessenessenene 37 Message Type 3 29 bit CAN Message Node 2 rnesersenessrsevsrsenessrnensssenensenesessenenssensssenesnsenesesnenssseneseesenessenessesenessenene 37 Message Type 16 GPS Location Data J1939 Format mmsmesesessenerenesrnenerenersrnenevesessenenesessenenenesessenesesesseneneresssnenen 37 Message Type 17 GPS Movement Data J1939 Format mmesensesesesesersrneneseanesenenenessenenesesseneneresessenenenesessenenesessenen 37 Timestamp Type 00 No Time SANN rv 37 Timestamp lype O UNIX Time SAN PN Varsel 37 Section c r MEN 37 BC00000348 en US Rev 0100 October 2015 3 User Manual Danfoss Telematics Solution Logging Data Contents POE NANANA NAB EN EEE EEE BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data About this Manual General This document is part of the Danfoss Telematics Solutions portal and provides imp
49. ue e SimpleCharValue e SeparatedCharValue To separate the value from a CAN stream 8byte 64 bits for each value can be defined a start bit and a length of the value For values bigger than one byte the correct byte order must be selected options are e endianness LITTLE gt LSB first e endianness BIG gt MSB first For the presentation of the values the system must know if the value shall be showen as signed or unsigned The selction here is signed true signed false The entry continueOnLastPosition needs to be always false The ValueDefinition is reverencing to the previously defined value The Transformer is referencing a calculation for the collected value The Transformer is optional and only needed if the raw data will not represent the actual numeric value Extracting bits and multiple of bits from a virtual CAN message To rebuild status information based on bits and multiple bits below 8 the system needs a mirrored notation of the bit position in the frame shifted by the length of the information See Count in standard order orange and mirrored order yellow on page 29 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Configure Logged Data View View definition Count in standard order orange and mirrored order yellow P301 878 A Example J1939 Vehicle Fluids PGN 65128 OxOOFE68 Position Length Parameter nam
50. ut is reached OR the condition is met Logging period Fix value Duration of the logging interval in milliseconds 600000 Condition Always true not set The data is logged irrespective of the result of the check Comparison value volatile U8 Logging depends on the volatile U8 Trigger variable Trigger Number of bits containing data All 8 bits of the variable are compared with the comparison value 14 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects EN EE feb Active if comparison value lt gt 0 Data is only logged if the variable volatile U8 Trigger is not equal to 0 Trigger condition This Logging is enabled as long as the variable volatile U8 operation Trigger is not equal to 0 will be carried out each time the condition is true Payload 1 In the Logging tab click on the Payload tab Communicatio Status Mapping Logging Logging v Logging enabled Conditions Feyload Specials Log received CAN message Bytes to log Log virtual CAN message Virual message CoblD Name value Bitposition Bitlength F302 484 2 Make the following settings CXA Aa Log received CAN message Log the data of the receive CAN message Bytes to log 2 5 and 8 Log selected data bytes Mapping During mapping data is copied from the CAN message to variables You can then process the copied data in
51. ution Logging Data Appendix Message Type 2 11 bit CAN Message Node 2 Exactly the same as type O but the message originates from the second CAN node of the micro controller This is a physically separate CAN bus Message Type 3 29 bit CAN Message Node 2 Exactly the same as type 1 but the message originates from the second CAN node of the micro controller This is a physically separate CAN bus Message Type 16 GPS Location Data 31939 Format The GPS Data message is a fixed length of 8 bytes The first 4 bytes are GPS Latitude coordinate and the second 4 bytes are the GPS Longitude coordinate The binary value is an unsigned 32 bit To decode the meaning of this binary value convert to decimal apply the scalar of 107 and the offset of 210 decimal This method of conversion is valid for both GPS Latitude and Longitude If the Value is FFFFFFFF then the GPS data is invalid Message Type 17 GPS Movement Data 1939 Format This message contains the heading and speed data of the device The heading is encoded as a four byte signed integer The scaling is 1e 5 degrees The speed is a four byte unsigned integer representing centimeters per second Timestamp Type 00 No Time Stamp No Time Stamp has a length of zero Thus there is no timestamp in this message Timestamp Type 01 UNIX Time Stamp The UNIX Time Stamp has a length of 4 bytes The 32 bit signed binary number can be converted This is a count o
52. very 60 seconds Example 1 Simple cyclical logging without checking additional conditions The example is based on the settings in the chapter Receiving the J1939 message on page 9 Logging Conditions 1 Click on the Logging tab BC00000348 en US Rev 0100 October 2015 11 User Manual Danfoss Telematics Solution Logging Data Creating object dictionary groups and objects TR m Node 37 CAN mobile cei gni fa stus Maala Laang aba Pemi PALA Ca F302 479 3 Make the following settings Bad en Jeet Logging enabled Logging enabled Log message on AND The data is only logged when timeout is reached AND the condition is met Logging period Use a fix Duration of the logging interval in milliseconds value 60000 Condition Always true Set Logging takes place without prior checking of conditions Payload 1 Inthe Logging tab click on the Payload tab Commureceto Sisus Magpa Legge at Logg raj erd Cond amp ona Payload Specials Gapa ko log a WI wIH M NINI NI fa 3 j fog 4 4 5 bb 7 B A F302 480 2 Make the following settings Ec NENNEN ON CNN Log received CAN message Log the data of the receive CAN message Bytes to log Log all data bytes 3 Save the configuration file and load the configuration to the device as described in Configuring the device for Data Logging on page 7 12 BC00000348 en US Rev 0100 October 2015 User Manual Danfoss Telemat

Download Pdf Manuals

image

Related Search

Related Contents

Samsung PL80 Manuel de l'utilisateur  RK3639K - Menards  解説書  ビリオン レーシングPSタンク 本体取扱説明書  TENSOGEL HIDROALCOHÓLICO  RED DSMC Operation Guide    Les bibliothèques en prisons : les réseaux de relations  WC50D - Oomipood  

Copyright © All rights reserved.
Failed to retrieve file