Home
User Manual for XL-J1939
Contents
1. July 30 2009 Page 8 of 23 ECN 985 0913 01 2 2 XL J1939 can request and monitor data from and transmit data to devices on the J1939 network There are two communication methods used for handling data e Receive In which Parameter Group Numbers PGNs are loaded into up to 15 receive tables and the module continuousiv gathers data for the configured PGNs e Transmit In which up to 15 transmit tables are configured to send a message every X number of milliseconds or on trigger The following sections cover each communication method in detail XL J1939 works on consumer and producer concept NOTE A PGN Parameter Group Number is a unique numeric identifier that is associated with a specific parameter name For this number a 16 bit value is used that is composed of the PDU format PF and PDU specific PS It is used to identify a message s function and associated data i e a PGN defines the parameter value that a device is requesting or the parameter value that a device is sending 2 1 Receive The Receiving method uses a scan table that contains a series of PGNs and associated information Data for the configured PGNs is continuously gathered and sent to the PLC There are two modes for gathering data from devices on the XL J1939 network e Monitor Mode e Request Mode Each PGN in the scan table must be configured to use one of the two modes for gathering data NOTE T
2. 7 1 3 Technical Specifications ssa 7 t4 a a a a 8 1 4 1 ALJ TIST un a a aa 8 CHAPTER 2 OPERATION a ad G an 9 2 1 FRECEIV 9 2 1 1 Monitor Modests anaiarena A TA pt Tat 9 2 1 2 Re uest Modena 9 10 2 2 1 Timed Transmit Mode 10 2 2 2 Aigger Transmit MOA 1 ia IE Ea 10 CHAPTER 3 CONFIGURATION ahead 11 3 1 Example Configuration and details of individual fields 222 15 3 2 Status Register rara 18 CHAPTER 4 TECHNICAL SUPPORT 32 21 1 15 A E A E 22 TABLE OF FIGUR E S i a aeaaea EEE 23 July 30 2009 Page 5 of 23 ECN 985 TABLE OF CONTENTS MANO913 01 NOTES Julv 30 2009 Page 6 of 23 ECN 985 0913 01 1 CHAPTER 1 INTRODUCTION 1 1 Overview The XL J1939 comes from the international Society of Automotive Engineers SAE and works on the physical layer with CAN high speed according to ISO11898 SAE J1939 defines five layers in the 7 layer OSI network model and this includes the CAN 2 0b specification The application focus is on the power trains and chassis of commercial vehicles It is used in heavy vehicl
3. 9 Page 19 of 23 ECN 985 CH 3 913 01 Bits Error Reason Indication Remedv XL J1939 Received BAM Current receive Check whether source Bad message is invalid or BAM message is node is sending correct Broadcast packet is missed skipped BAM messages Announc ement Message CAN Over Number of CAN XL J1939 Check the CAN bus load run error messages received communication is it should be around 80 per second is more not guaranteed Also check CAN cable than the limit of CAN wiring and terminating hardware and XL resistor J1939 OCS 10 CAN Bus One of the CAN No XL J1939 Check for proper OFF error controller error state Communication terminating resistor entered when it wiring Requires power detects more than 256 reset to start new XL CAN errors J1939 communication 11 CAN Bus One of CAN controller XL J1939 Check for proper Passive error state entered communication will terminating resistor error when it detects more work as normal wiring and whether CAN than 127 CAN errors connector is firmly but less than 256 connected to device Unplugging CAN network cable can cause this error 12 Unused 16 July 30 2009 Page 20 of 23 ECN 985 0913 01 4 4 TECHNICAL SUPPORT For manual updates and assistance contact Horner APG Technical Support Division at the following locations North America Tel 317 916 4274 Fax 317 639 4279 Web http www heapg c
4. FIGURATION NOTE To perform this configuration it is necessary to consult the engine manufacturer s user documentation to determine parameter numbers and the corresponding number of words for each parameter 1 Start Cscape From the Cscape Main Menu select Controller gt I O Configure Select the controller to be configured 1 0 Configuration CPU Slots XLE 11339 HEXE xx2 Empty Cancel Figure 3 1 Select the Module Slot If the XL J1939 OCS that is to be configured is available and connected to the active communication port Selectable through Tools gt Editor Options gt Communications Port the Auto Config button can be used Using this option will cause Cscape to read the OCS and display the module that is connected to the OCS 2 To configure the selected module go to Program gt Network Configuration the following window appears July 30 2009 Page 11 of 23 ECN 985 CH 3 0913 01 41939 CONFIGURATION 11939 Configuration Tool 1333 Configuration Start Register J1939 Start Scanning Register eet Location J1939 Receive Message Request Trigger Register J1939 Transmit Message Trigger Register J1939 Status Register J1939 Receive Message Indication Register Receive Table Count Register Transmit Table Count Register Cancel Figure 3 2 J1939 Configuration Tool Enter J1939 Configuration Start Register the other registers will be take
5. HORNER APG User Manual for XL J1939 MANO913 01 MANO913 01 PREFACE PREFACE This manual explains how to use XL J1939 Product Copvright C 2002 Horner APG LLC S9 S State Avenue Indianapolis Indiana 46201 AIl rights reserved No part of this publication mav be reproduced transmitted transcribed stored in a retrieval svstem or translated into anv language or computer language in anv form bv anv means electronic mechanical magnetic optical chemical manual or otherwise without the prior agreement and written permission of Horner APG Inc All software described in this document or media is also copyrighted material subject to the terms and conditions of the Horner Software License Agreement Information in this document is subject to change without notice and does not represent a commitment on the part of Horner APG XL J1939 Product is a trademark of Horner APG Julv 30 2009 Page 3 of 23 ECN 985 WARRANTV AND LIABILITV MANO913 01 LIMITED WARRANTV AND LIMITATION OF LIABILITV Horner APG LLC HE APG warrants to the original purchaser that the XL J1939 manufactured by HE APG is free from defects in material and workmanship under normal use and service The obligation of HE APG under this warrantv shall be limited to the repair or exchange of anv part or parts which mav prove defective under normal use and service within two 2 vears from the date of manufacture or eighteen 18 months from the date
6. If user configures R1000 as the 1939 Configuration Start Register the subsequent register assignment will be as shown in figure below J1939 CONFIGURATION J1939 Configuration Tool 11833 Configuration Start Register ZAI 000 ood J1939 Start Scanning Register 000 aser Location 41333 Receive Message Request 1001 Trigger Register J1333 Transmit Message Trigger 1002 Register J1939 Status Register 1 003 11333 Receive Message Indication 1004 Register Receive Table Count Register 005 Transmit Table Count Register 006 Cancel Figure 3 8 Example for R1000 Register configuration Register definition is detailed in the table Register Direction Description Table Index Address R1000 Input J1939 Protocol Start Stop registers R1000 1 start J1939 protocol R1000 0 stop J1939 protocol July 30 2009 Page 15 of 23 ECN 985 CH 3 MANO913 01 Register Address Direction Description Table Index R1001 Input J1939 Receive message trigger bits Used to send request message to receive required J1939 message Bits R1001 1 to R1001 15 are used One bit corresponding to one configured message in the table R1001 16 is used to clear Receive status register Note XL J1939 OCS will read and clear these bits on every scan R1002 Input J1939 Transmit message trigger bits Used to sen
7. Similarly to configure Transmit PGN Right click Transmit PGN and select New Transmit PGN as shown in Fig 3 6 Transmit PGN Count gives the number of Transmit PGN s added by the user J1939 CONFIGURATION 1939 Configuration Tool Receive PGN Transmit PGN Count 0 Receive Transm add New Transmit PGN Cancel Figure 3 6 Add New Transmit PGN Select Transmit PGN 1 and configure the same Refer Fig 3 7 For detailed description refer section 3 1 J1939 CONFIGURATION 1939 Configuration Tool Receive PGN Parameter Group Number Receive PGN 1 Transmit PGN Cycle Time ms Transmit PGN 1 Token Priority Name Source Address Number of Data Bytes Mapping Register Figure 3 7 Configuration of Transmit PGN July 30 2009 Page 14 of 23 ECN 985 0913 01 CH 3 5 After configuration download the configuration to the controller Note Token and Name fields are provided for the user for identification and describing individual PGN information this information is not used bv XL J1939 3 1 Example Configuration and details of individual fields The configuration is copied in series of OCS R registers so that user can alter any of the configured values during run time The starting locations are configured through the I O configuration in Cscape The total number of R registers used will vary depending on the configured tables
8. cations J1939 Network Specifications Maximum Units l Parameter Minimum 31939 Power Load 0 k J1939 Signal Baud Rate J1939 Signal DriverFanout_ 0 k Parameter Minimum Maximum Unts k 5Vdc LOGIC 110 215 2 fk 24Vdc RELAY 509 Vy 24Vdc ISOLATED 0 0 y Julv 30 2009 Page 7 of 23 ECN 985 CH 1 MANO913 01 One twisted pair for signal 18 gauges separatelv foil shielded One twisted pair for power 15 gauges separatelv foil shielded Overall foil braid shield with 18 gauge drain 8 Amps maximum power J1939 Thin Cable One twisted pair for signal 24 gauges separatelv foil shielded One twisted pair for power 22 gauges separatelv foil shielded Overall foil braid shield with 22 gauge drain 3 amps maximum power These specifications are subject to change without notice 1 4 Connectors 141 XL J1939 Connector The XL J1939 connector is located usually next to the Power connector for XL Series It consists of a 5 pin removable screw terminal with the following terminal descriptions Figure 1 1 Port Connector DeviceNet I O Connector Pinout Pin Signal Signal Description Direction 1 V CAN Ground 2 CN L CAN Data Low In Out 3 SHLD Shield Ground 4 CN H CAN Data High In Out 5 V No Connect NOTE For Pin5 V Shown as NC can be landed on this Pin for convenience but is not required
9. d trigger based J1939 messages Bits R1002 1 to R1002 15 are used One bit corresponding to one configured message in the table Note XL J1939 OCS will read and clear these bits on every scan R1003 Output J1939 Protocol Status Register R1003 1 J1939 protocol scanning Stopped R1003 2 J1939 protocol Configuration size is incorrect R1003 3 Invalid Rx message Configuration R1003 4 Invalid Tx message Configuration R1003 5 Transmit Message Fail R1003 6 Rx request message Timeout 20sec R1003 7 Received Message data size is less than configured size R1003 8 Invalid Broadcast Announcement Message R1003 9 CAN Bus Overrun Error R1003 10 CAN Bus OFF Error 1003 11 CAN Bus Passive Error R1003 12 to R1003 16 Reserved July 30 2009 Page 16 of 23 ECN 985 0913 01 CH 3 Register Direction Description Table Index Address R1004 Output J1939 Receive Status Register Bits R1004 1 to R1004 15 are used to indicate reception of configured J1939 messages Using R1001 16 bit this register can be cleared R1005 Input Receive Table count Min 1 Max 15 R1006 Input Transmit Table count Min 1 Max 15 R1007 Input Destination Address and Source Address 1 Receive Table Source Address Self Node Address Destination Address Address of node in the n
10. e Request Timeout XL J1939 Invalid Receive Message size Reason Receive or Transmit table count configured is greater than supported bv the XL J1939 OCS Priority value greater than 7 Configured receive data length is greater than 255 bytes Invalid R register index Priority value greater than 7 Configured transmit data length is greater than 8 bytes Invalid R register index Invalid Source address Improper terminating resistor value or no terminating resistor CAN cable might be damaged or not connected properly XL J1939 request message is sent to receive specified XL J1939 message and no reply is received within 20sec of timeout Received numbers of bytes are less than the configured number Indication No XL J1939 Communication No XL J1939 Communication No XL J1939 Communication No Message Transmission XL J1939 communication will as normal Receive message data will not be extracted Remedy Correct the table count value as supported by the XL J1939 OCS Check and correct configured receive table values Check and correct configured transmit table values Check physical connections and terminating resistor Check whether the configurations for request message are correct and whether node still exists in the network Check and correct receive message data length July 30 200
11. e responsibility of the user to clear this bit 2 2 Transmit The Transmit method uses a scan table that contains a series of PGNs and associated information Data for the configured PGNs is sent every X milliseconds or on trigger bit There are two modes for transmitting data from devices on the XL J1939 network e Timed transmit mode e Triggered transmit mode Each PGN in the scan table is configured to use one of the two modes for transmitting data NOTE The XL J1939 does not know which PGNs require Timed Transmit and which PGNs require Triggered Transmit it is the responsibility of the person configuring the module to enter the information Refer Section 3 1 2 2 1 Timed Transmit Mode Required cycle time period is configured with other protocol information The XL J1939 copies transmit data from configured R registers and sends every configured cycle time period 2 2 2 Trigger Transmit Mode In this mode of transmission Cycle time period is configured as 0 Zero ms On transition of Transmit trigger bit from 0 to 1 the XL J1939 copies transmit data from configured R registers and sends on to the network On successful transmission XL J1939 resets the trigger bit NOTE PGN which is configured for Timed Transmit can also be sent using Trigger Transmit mode in such case a given PGN will be sent on Trigger and on expiry of configured cycle time value July 30 2009 Page 10 of 23 ECN 985 0913 01 CH 3 CHAPTER 3 CON
12. es for on street and off road operations construction machines ships rail bound vehicles agricultural machinery and large generators All XL J1939 packets contain eight bytes of data and a standard header which contains an index called PGN Parameter Group Number which is embedded in the message s 29 bit identifier A PGN is unique numeric identifier that is associated with a specific parameter name A PGN identifies a message s function and associated data i e a PGN defines the parameter value a device is requesting or the parameter value that a device is sending The baud rate is fixed at 250Kbps The XL J1939 data communication takes place with the OCS s R Registers The XL J1939 can request monitor data from and transmit data to devices on the J1939 network There are 15 receive buffers and 15 transmit buffers that can be configured for handling data The configuration is accomplished by using the configuration tool built in Cscape which allows for on the fly configuration changes For detailed information refer Chapter 2 1 2 XL J1939 Features Receive Transmit up to 15 different J1939 messages Receive multi packet J1939 message of data size up to 255 bytes Monitor Timed Request and Triggered mode of receiving J1939 messages Receive message from specific node Transmit data size max up to 8 bytes Timed and Triggered mode of J1939 message transmission 1 3 Technical Specifications Table 1 1 XL J1939 Specifi
13. etwork from whom you intend to receive the message R1008 Input PGN PF PDU Format amp PS PDU Specific R1009 Input Priority 0 7 R1010 Input Number Of Bytes to be received Note XL J1939 can receive up to 255 bytes of data R1011 Input Scan Method Cycle Time Zero Monitor Mode Non Zero Time in ms Rx request message to be sent R1012 Input Starting R register Mapping Register location to store received data R1013 Input Destination Address Source Address 2 Receive Source Address Self Node Address table Destination Address Address of node in the network from whom you intend to receive the message R1014 Input PGN PF PDU Format amp PS PDU Specific R1015 Input Priority 0 7 R1016 Input Number Of Bytes R1017 Input Scan Method 0 Monitor Non Zero Time in ms Rx request message to be sent R1018 Input Starting R register to store data Input July 30 2009 Page 17 of 23 ECN 985 CH 3 913 01 Register Direction Description Table Index Address Input Destination Address Source Address n Receive Input PGN PF PDU Format amp PS PDU Specific table Max 15 Input Priority 0 7 Input Number Of Bytes Input Scan Method 0 Monitor Non Zero Time in ms Rx request message to be sent Input Starting R register to store data Input Source Address Self Node Address 1 Transmit Table Input PGN PF PDU Format amp PS PDU Specific Input Priori
14. he XL J1939 does not know which PGNs require monitoring and which PGNs require requesting it is the responsibility of the person configuring the module to enter the information Otherwise the data may not be updated Refer Section 3 1 2 1 1 Monitor Mode An engine control module ECM sends some PGN data onto the network at regular intervals The specific PGNs that are sent vary between ECMs If the ECM broadcasts a desired PGN s data on a regular basis then the mode for that PGN is configured for monitor The XL J1939 monitors the network for the PGNs that are configured as monitor mode in the scan table If it finds a match then the data is sent In this mode the source address is not used 2 1 2 Request Mode If the desired PGN is not sent on a regular basis then a request must be made from the XL J1939 to the device before the data is sent The mode for these PGNs is configured for request Request mode requires interaction between the XL J1939 and a device on the network The XL J1939 must send a request message to a device onto the network and receive a reply before that data can be sent In this mode the source address is required If response for requested PGN is not received within 20sec of timeout period then XL J1939 OCS will flag the error July 30 2009 Page 9 of 23 ECN 985 CH 2 0913 01 NOTE XL J1939 OCS will indicate received message by setting corresponding bit in Receive Message Status register It is th
15. n automaticallv as shown in Fig 3 3 For detailed description refer section 3 1 J1939 CONFIGURATION 41939 Configuration Tool J1939 Configuration Start Register Name J1939 Start Scanning Register ee Location J1939 Receive Message Request Trigger Register J1939 Transmit Message Trigger Register J1339 Status Register 11333 Receive Message Indication Register Receive Table Count Register Transmit Table Count Register Cancel 3 3 J1939 Configuration Tool Start Register Julv 30 2009 Page 12 of 23 ECN 985 0913 01 CH 3 3 To configure Receive PGN Right click on Receive PGN and select Add New Receive PGN as shown in Fig 3 4 Receive PGN Count gives the number of receive PGN s added by the user J1939 CONFIGURATION 1939 Configuration Tool Receive PGN Receive PGN Count 0 Transmit Cancel Figure 3 4 Add New Receive PGN Select Receive PGN 1 and configure the same Refer Fig 3 5 For detailed description refer section 3 1 J1939 CONFIGURATION 41939 Configuration Tool Receive PGN Parameter Group Number Receive PGN 1 Transmit PGN Cycle Time ms Token Priority Name Source Address Destination Address 0 Number of Data Bytes Mapping Register 1 R Location Figure 3 5 Configuration of Receive PGN Julv 30 2009 Page 13 of 23 ECN 985 CH 3 0913 01 4
16. of installation bv the original purchaser whichever occurs first such defect to be disclosed to the satisfaction of HE APG after examination bv HE APG of the allegediv defective part or parts THIS WARRANTV IS EXPRESSLY IN LIEU OF ALL OTHER WARRANTIES EXPRESSED OR IMPLIED INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR USE AND OF ALL OTHER OBLIGATIONS OR LIABILITIES AND HE APG NEITHER ASSUMES NOR AUTHORIZES ANY OTHER PERSON TO ASSUME FOR HE APG ANY OTHER LIABILITY IN CONNECTION WITH THE SALE OF THIS XL J1939 THIS WARRANTV SHALL NOT APPLY TO THIS XL J1939 OR ANY PART THEREOF WHICH HAS BEEN SUBJECT TO ACCIDENT NEGLIGENCE ALTERATION ABUSE OR MISUSE HE APG MAKES NO WARRANTV WHATSOEVER IN RESPECT TO ACCESSORIES OR PARTS NOT SUPPLIED BY HE APG THE TERM ORIGINAL PURCHASER AS USED IN THIS WARRANTY SHALL BE DEEMED TO MEAN THAT PERSON FOR WHOM THE XL J1939 IS ORIGINALLY INSTALLED THIS WARRANTY SHALL APPLY ONLY WITHIN THE BOUNDARIES OF THE CONTINENTAL UNITED STATES In no event whether as a result of breach of contract warranty tort including negligence or otherwise shall HE APG or its suppliers be liable of any special consequential incidental or penal damages including but not limited to loss of profit or revenues loss of use of the products or any associated equipment damage to associated equipment cost of capital cost of substitute products facilities services or replacement power down time costs or claims of original
17. om Email techsppt heapg com Europe Tel 353 21 4321 266 Fax 353 21 4321826 Web http www horner apg com Email tech support horner apg com July 30 2009 Page 21 of 23 ECN 985 INDEX INDEX CONFIGURATION 13 Example Configuration 17 Monitor Mode 11 Operation 11 Overview 9 PGN 9 Preface 3 Receive 11 Receive PGN 15 Register definition 17 913 01 Request Mode 11 Status Register Details 20 Technical Specifications 9 Technical Support 3 Timed Transmit Mode 12 Transmit 12 Transmit PGN 16 Trigger Transmit Mode 12 XL J1939 Connector 10 XL J1939 Features 9 Julv 30 2009 Page 22 of 23 ECN 985 MANO913 01 TABLE OF FIGURES TABLE OF FIGURES Figure 1 1 Port Gonnector anise cian ta nv en ee 8 Figure 3 1 Select the Module Slot nanna nanna nanna 11 Figure 3 2 J1939 Configuration TOOL nanna 12 Figure 3 3 J1939 Configuration Tool Start Register nn 12 Figure 3 4 Add New Receive 13 Figure 3 5 Configuration of Receive 13 Figure 3 6 Add New Transmit 14 Figure 3 7 Configuration of Transmit 14 Figure 3 8 Example for R1000 Register configuration nn 15 No part of this publication mav be
18. purchaser s customers for such damages To obtain warranty service return the product to your distributor with a description of the problem proof of purchase post paid insured and in a suitable package ABOUT PROGRAMMING EXAMPLES Any example programs and program segments in this manual or provided on accompanying diskettes are included solely for illustrative purposes Due to the many variables and requirements associated with any particular installation Horner APG cannot assume responsibility or liability for actual use based on the examples and diagrams It is the sole responsibility of the system designer utilizing the XL J1939 to appropriately design the end system to appropriately integrate the XL J1939 and to make safety provisions for the end equipment as is usual and customary in industrial applications as defined in any codes or standards which apply Note The programming examples shown in this manual are for illustrative purposes only Proper machine operation is the sole responsibility of the system integrator July 30 2009 Page 4 of 23 ECN 985 MANO913 01 TABLE OF CONTENTS Table of Contents PREFAGE ii kai e rn ee 3 LIMITED WARRANTY AND LIMITATION OF 1 1 11 11 11 4 CHAPTER 1 INTRODUCTION 7 131 ad nee ee ba da 7 Pee 04939 a l a lan
19. reproduced without the prior agreement and written permission of Horner APG Inc Information in this document is subject to change without notice Julv 30 2009 Page 23 of 23 ECN 985
20. ty 0 7 Input Number Of Bytes to be transmitted Note User can transmit of maximum 8 bytes of data only Input Time Interval in milliseconds In case of zero value message will be sent only on Trigger Input Starting R Mapping Register register to store data Input Input Source Address Self Node Address n Transmit Input PGN PF PDU Format amp PS PDU Specific table Max 15 Input Priority 0 7 Input Number Of Bytes Input Time Interval in milliseconds In case of zero value message will be sent only on Trigger Input Starting R register to store data Note XL J1939 OCS will read this configuration table on start of J1939 protocol Run time change in this configuration will not affect J1939 protocol scanning In order to apply new changed configuration user has to restart the J1939 protocol scanning using J1939 Start Stop register bit i e R1000 in the above example 3 2 Status Reg ister Details Reason 1 XL J1939 XL J1939 protocol is No XL J1939 Start XL J1939 protocol Protocol scanning Stopped not started using XL Communication using Start Stop register J1939 Start Stop Register July 30 2009 Page 18 of 23 ECN 985 MANO913 01 CH 3 Error XL J1939 Invalid Configurat ion size XL J1939 Invalid Receive Configurat ion XL J1939 Invalid Transmit Configurat ion XL J1939 Transmit Message failed XL J1939 Receiv
Download Pdf Manuals
Related Search
Related Contents
Technicolor - Thomson 29DU78NV User's Manual Manual Omega DE V1 Texas Instruments TAS5121 User's Manual Clarion Type II Radio Installation Manual Samsung 26" Wide LCD Monitor T260N Manual de Usuario Teagasc/IMQCS Recommendations for the installation and testing of HoMedics HJM-PED1 User's Manual Télécharger le manuel d`utilisation de la mini-souris sans fil Copyright © All rights reserved.
Failed to retrieve file