Home
GWY-300 (CAN Gateway) - Renu Electronics Pvt. Ltd.
Contents
1. Doc No UMAN GWY 300 B 0106 REVISION 2 22 GWY 300 B FEATURES 4 1 Gateway Modes Gateway has two modes of operation Master Master and Master Slave Before explaining these modes further Master and Slave concept should be explained Master Master is a Device device driver which initiates communication Slave Slave is Device Device driver which processes Master s query takes necessary action and responds to the query if necessary 4 1 1 Master Master Configuration In this mode both Gateway ports are master in nature and devices connected on these ports are slave Gateway ports initiate communication when the proper Gateway Device communication cable is attached Data is transferred in blocks This transfer can either be a continuous process or as per requirement A control word Section 4 3 present in device on either side enabled from Gateway Setup Software can control the block execution When control word is disabled then block transfer is a continuous process A block of data is fetched from one device and transferred to the other device The amount of data to be transferred Number of words depends on Block definition in Block Definition Area in Configuration Software One block is executed at a time A cycle consists of execution of blocks from 1 to n Execution of blocks is performed as follows Block 1 75074 Y Block 2 Y Block 3 Y Block 4 Block n When Control word is en
2. Byte 1 Brake Lining Remaining front axle left wheel Data Length 1 byte Resolution 0 4 per bit gain 0 offset Data Range 096 to 10096 2 Brake Lining Remaining front axle right wheel Data Length 1 byte Resolution 0 4 per bit gain 0 offset Data Range 0 to 100 Doc No UMAN GWY 300 B 0106 REVISION 2 57 APPENDIX 3 Brake Lining Remaining rear axle 1 left wheel Data Length 1 byte Resolution 0 4 per bit gain 0 offset Data Range 0 to 100 4 Brake Lining Remaining rear axle 1 right wheel Data Length 1 byte Resolution 0 4 per bit gain 0 offset Data Range 096 to 10096 5 Brake Lining Remaining rear axle 2 left wheel Data Length 1 byte Resolution 0 4 per bit gain 0 offset Data Range 0 to 100 6 Brake Lining Remaining rear axle 2 right wheel Data Length 1 byte Resolution 0 4 per bit gain 0 offset Data Range 0 to 100 7 Brake Lining Remaining rear axle 3 left wheel Data Length 1 byte Resolution 0 4 per bit gain 0 offset Data Range 0 to 100 8 Brake Lining Remaining rear axle 8 right wheel Data Length 1 byte Resolution 0 4 per bit gain 0 offset Data Range 0 to 100 15 WHEEL APPLICATION PRESSURE HIGH RANGE INFORMATION EBC3 e Doc No UMAN GWY 300 B 0106 REVISION 2 Transmission repetition rate 100 ms Data length i 8 bytes Data page 0 PDU format 254 PDU specific 173 Default priority 6 Parameter group number 65 197 OOFEAD B
3. Note In case of CAN only the single PGN is mapped with the corresponding register i e PGN length of corre sponding PGN may be 4 words or less can be mapped with corresponding register If Words field entry is greater than PGN Length may be 4 words then the remaining words are not mapped with any PGN For CAN open slave project please refer section 6 2 Now let us take the example of Master Slave mode COMM slave Configure Gateway ports as PLC1 Protocol Modbus Gateway as Slave PLC2 Protocol CAN J1939 71 rC AG Doc No UMAN GWY 300 B 0106 T REVISION 2 26 GWY 300 B FEATURES master slave mode prj Gateway GWY 300 CAN Gateway Iaf x File Edit View Communication Hardware Test Help Desk No paler Ds Source PLC Source ID Source Address Destination PLC Destination Address Modbus Gatewa 1 400001 CAN J1939 71 1 PO 000F 003 Modbus Gatewa 1 400005 171 CAN 1939 71 1 P1 000F000 171 IDB FOR COM1 Node Address Starting Address Words Bits Skip For Cycle Skip on Comm Fail Fail Value IDB FOR COM2 Et Device ID ET Length Souse GWY ID fal ale PO 000F003 Input P1 000F000 Output Doc No UMAN GWY 300 B 0106 s REVISION2 T GWY 300 B FEATURES Block 1 maps 4 words of Modbus starting from 400001 to CAN J1939 71 starting from 0 000 003 Block 2 maps 1 word of Modbus starting from 400005 to CAN J1939 71 starting from 1 000 000 In above example
4. Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 2 3 Gas supply pressure 2 8 Not defined 65 AUXILIARY WATER PUMP PRESSURE Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 2 8 Not defined 66 WATER IN FUEL INDICATOR Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 2 8 Not defined rea Es REVISION 2 Blower bypass valve position Auxiliary pump pressure Water in fuel indicator 500 ms 8 bytes 0 254 253 6 65 277 OOFEFD Data Length byte Resolution 0 4 bit gain 0 offset Data Range 0 to 100 96 Data Length 2 bytes Resolution 0 5 kPa bit gain 0 kPa offset Data Range 0 to 32 127 5 kPa 0 to 4 659 7 psi 1s 8 bytes 0 254 254 6 65 278 OOFEFE Data Length 1 byte Resolution 16 kPa bit gain 0 kPa offset Data Range 0 to 4000 kPa 0 to 580 psi 10s 8 bytes 0 254 255 6 65 279 OOFEFF Bit 8 3 Not defined 2 1 Water in fuel indicator Doc No UMAN GWY 300 B 0106 85 APPENDIX 67 PROPRIETARY B PGN Transmission repetition rate Per user requirements Data length 0 to 1785 bytes multipacket supported Data Page 0 PDU Format 255 PDU Specific Group Extension manufacturer assigned Default priority 6
5. 11 BIT IDENTIFIER RTR IDE fo ptc 0 8 Bytes 16 BITCRC SOF ARBITRATION CONTROL DATA CRC 1Bit 12 or 32 Bit 6 Bit 0 8 16 Bit 2Bit 7Bit 3 Bit Bytes B Extended format CAN Message CAN 2 0B renu e Doc No UMAN GWY 300 B 0106 REVISION 2 16 GETTING STARTED SAE J1939 Overview J1939 is the automotive CAN standard developed by the Truck amp Bus Control and Communications Network Subcommit tee of the Society of Automotive Engineers SAE SAE maintains family of standards which govern the design and use of devices that transmit electronic signals and control information among vehicle components Planned for use in light medium and heavy duty trucks it is also now being used in conventional passenger vehicles J1939 was designed for the CAN 2 0 CAN Part B specification It is the application layer that uses the larger 29 bit identifier t uses a peer to peer protocol where most messages are broadcasted versus directed to individual nodes In J1939 each CAN Node is referred to as an Electronic Control Unit ECU Every ECU has node address SAEJ1939 has following features 1 29 bit Identifier 2 250Kbps Baud rate 3 8 Priority Classes 4 Predefined message types 5 Destination specific communication and Broadcasting The applications and or network layer provide a string of information that is asimulated into a protocol data unit PDU The protocol data unit provides a framework for oraganising the information
6. 200 degrees offset 200 degrees DESCENT to 302 degrees ASCENT 2 bytes 0 125 m bit gain 2500 m offset 2500 to 5531 875 8202 1 to 15 896 193 ft request 8 bytes 0 254 233 6 65 257 OOFEEY Data Length Resolution Data Range Data Length Resolution Data Range request 8 bytes 0 254 234 6 65 258 00 Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range Doc No UMAN GWY 300 B 0106 4 bytes 0 5 L per bit gain O L offset 0 to 2 105 540 607 5L 4 bytes 0 5 L per bit gain 0 L offset 0 to 2 105 540 607 5L 1 byte Bit mapped N A 2 bytes 0 5 kg bit gain 0 kg offset 0 to 32 127 5 kg 0 to 70 829 Ib 2 bytes 2 0 kg bit gain 0 kg offset 0 to 128 510 kg 0 to 283 316 Ib 74 APPENDIX 6 7 Cargo weight 8 Not defined 48 CRUISE CONTROL VEHICLE SPEED SETUP Data Length Resolution Data Range Transmission repetition rate on request Data length 8 bytes Data page 0 PDU format 254 PDU specific 237 Default priority 6 Parameter group number 65 261 OOFEED Byte 1 Maximum vehicle speed limit Data Length Resolution Data Range 2 Cruise control high set limit speed Data Length Resolution Data Range 3 Cruise control low set limit speed Data Length Resolution Data Range 4 8 Not defined 49 ENGINE TEMPERATURE Transmission repetition rate 1s Data length 8 bytes
7. 0 kg offset Data Range 0 kg to 2 105 540 607 5 kg 18 ECU HISTORY Transmission repetition rate Onrequest Data length 8 bytes Data page 0 PDU format 254 PDU specific 177 Default priority 7 Parameter group number 65 201 OOFEB1 Byte 1 4 Total ECU distance Data Length 4 bytes Resolution 0 125 km per bit 0 km offset Data Range 0 km to 526 385 151 9 km 0 mi to 327 080 569 4 mi 5 8 Total ECU run time Data Length 4 bytes Resolution 0 05 h bit O h offset Data Range 0 to 210 554 060 75 h 19 FUEL INFORMATION GASEOUS Transmission repetition rate On request Data length 8 bytes Data page 0 PDU format 254 PDU specific 178 Default priority 7 Parameter group number 65 202 OOFEB2 Byte 1 4 Total engine PTO fuel used Data Length 4 bytes Resolution 0 5 kg per bit gain 0 kg offset Data Range 0 kg to 2 105 540 607 5 kg rC AG Doc No UMAN GWY 300 B 0106 REVISION 2 Es 60 APPENDIX 5 6 Trip average fuel rate Data Length 2 bytes Resolution 0 05 kg h per bit gain 0 kg h offset Data Range 0 kg h to 3212 75 kg h 7 8 Not defined 20 FUEL INFORMATION Transmission repetition rate On request Data length 8 bytes Data page 0 PDU format 254 PDU specific 179 Default priority 7 Parameter group number 65 203 OOFEB3 Byte 1 4 Total engine PTO fuel used Data Length 4 bytes Resolution 0 5 L per bit gain 0 L offset Data Range 0 L to 2 105 540 607 5 L 5 6 Trip average fuel rate Data Length 2 bytes Resolution 0 0
8. 7 Coolant pressure Data Length Resolution Data Range 8 Coolant level Data Length Resolution Data Range rC AG Doc No UMAN GWY 300 B 0106 REVISION 2 Es 2 bytes 0 03125 C bit gain 273 C offset 273 to 1735 0 C 459 4 to 3155 0 F 2 bytes 0 03125 C bit gain 273 C offset 273 to 1735 0 C 459 4 to 3155 0 F byte 1 C bit gain 40 C offset 40 to 210 C 40 to 410 F 1 byte 4 kPa bit gain 0 kPa offset 0 to 1000 kPa 0 to 145 psi byte 0 4 bit gain 0 96 offset 0 to 100 96 byte 4 kPa bit gain 0 kPa offset 0 to 1000 kPa 0 to 145 psi 2 bytes 7 8125 x 10 3 kPa bit gain 1 128 kPa bit 250 kPa offset 250 to 251 99 kPa 36 259 to 36 548 Ibf in2 byte 2 kPa bit gain 0 kPa offset 0 to 500 kPa 0 to 72 5 psi byte 0 4 bit gain O 96 offset 0 to 100 96 76 APPENDIX 51 POWER TAKEOFF INFORMATION Transmission repetition rate 100 ms Data length 8 bytes Data page 0 PDU format 254 PDU specific 240 Default priority 6 Parameter group number 65 264 00FEFO Byte 1 Power takeoff oil temperature Data Length 1 byte Resolution 1 C bit gain 40 C offset Data Range 40 to 210 40 to 410 F 2 3 Power takeoff speed Data Length 2 bytes Resolution 0 125 rpm bit gain 0 rpm offset Data Range 0 to 8031 875 rpm 4 5 Power takeoff set speed Data Length 2 bytes Resolution 0 125 rpm bit gain 0
9. Connect IBM cable and CAN cable 5 Power up the unit If current driver present for PLC1 port is Master e g Modbus Gateway as Master First it is checked that whether device is connected on port1 If device is connected it continues normal operation If device is not connected it checks for IBM download mode for 10sec This sequence continues until either is satisfied If current driver present for PLC1 port is Slave e g Modbus Gateway as Slave If Port1 of Gateway is Slave all the configurations should be downloaded only at power on for 10sec 6 Download Firmware driver for the PLCs amp project After downloading firmware driver or project software will ask to restart the unit If user click on NO then gateway will remain in Download mode If user click on YES then gateway unit is ready for application rca Doc No UMAN GWY 300 B 0106 REVISION 2 37 TYPICAL PROJECTS 6 2 Applications An on vehicle gateway used to interface a J1939 network to an onboard industrial automation based control system supporting the Modbus protocol Toshiba To create a new project mapping in Gateway can be done in following way Concept for mapping is same as GWY 00 Refer GWY 00 User Manual Single PGN defined in GWY 300 corresponds to 8 byte 4 word data Only single PGN having defined PGN length Mostly 4 words is mapped at a time If the PGN is of receving type then while selecting the PGN select 0 s
10. e REVISION 2 8 bytes 0 254 194 7 65 218 00 2 Bit 8 3 Not defined 2 1 Transmission output retarder request 8 bytes 0 254 195 7 65 219 00 Bit 8 5 Not defined 4 3 Low range sense 2 1 High range sense 8 7 Not defined 6 5 Forward switch 43 Neutral switch 2 1 Reverse switch Doc No UMAN GWY 300 B 0106 66 APPENDIX 3 8 Not defined 31 ELECTRONIC TRANSMISSION CONTROLLER 4 ETC4 Transmission repetition rate request Data length 8 bytes Data page 0 PDU format 254 PDU specific 197 Default priority 7 Parameter group number Byte 1 2 Transmission synchronizer brake value 3 8 Not defined 32 ELECTRONIC TRANSMISSION CONTROLLER 3 ETC3 Transmission synchronizer clutch value 65 221 0 5 Transmission repetition rate onrequest Data length 8 bytes Data page 0 PDU format 254 PDU specific 199 Default priority 7 Parameter group number 65 223 OOFEC7 Byte 1 Shift finger gear position 2 Shift finger rail position 3 Shift finger status 1 Bit 8 7 6 5 43 2 1 4 Shift finger status 2 Bit 8 7 6 5 43 2 1 rea Doc UMAN GWY 300 B 0106 REVISION 2 Es Data Length 1 byte Resolution 0 4 bit gain 0 offset Data Range 0 to 100 Data Length 1 byte Resolution 0 496 bit gain 096 offset Data Range 0 to 100 Data Length 1 byte Resolution 0 4 bit gain 0 offset Data Range 0 to 100 Data Length
11. 0 to 500 kPa 0 to 72 5 psi 1 byte 0 05 kPa bit gain 0 kPa offset 0 to 12 5 kPa 0 to 41 8 psi 2 bytes 0 03125 C bit gain 273 C offset 273 to 1735 0 C 459 4 to 3155 0 1 byte 0 5 kPa bit gain 0 kPa offset 0 to 125 kPa 0 to 18 1 psi 1 byte 1 0 A bit gain 125 A offset 125 to 125 A 1 byte 1 0 A bit gain 0 A offset 0 to 250 A 2 bytes 0 05 V bit gain 0 V offset 0 to 3212 75 V 2 bytes 0 05 V bit gain 0 V offset 0 to 3212 75 V 2 bytes 0 05 V bit gain 0 V offset 0 to 3212 75 V 81 APPENDIX 59 TRANSMISSION FLUIDS Transmission repetition rate 1s Data length 8 bytes Data page 0 PDU format 254 PDU specific 248 Default priority 6 Parameter group number 65 272 00FEF8 Byte 1 Clutch pressure Data Length 1 byte Resolution 16 kPa bit gain 0 kPa offset Data Range 0 to 4000 kPa 0 to 580 psi 2 Transmission oil level Data Length 1 byte Resolution 0 4 bit gain 0 96 offset Data Range 0 to 100 3 Transmission filter differential pressure Data Length 1 byte Resolution 2 kPa bit gain 0 kPa offset Data Range 0 to 500 kPa 0 to 72 5 psi 4 Transmission oil pressure Data Length 1 byte Resolution 16 kPa bit gain 0 kPa offset Data Range 0 to 4000 kPa 0 to 580 psi 5 6 Transmission oil temperature Data Length 2 bytes Resolution 0 03125 C bit gain 273 C offset Data Range 273 to 1735 0 459 4 to 3155 0 F 7 8 Not defined 6
12. 5 8 Not defined 62 RETARDER FLUIDS Transmission repetition rate 1s Data length 8 bytes Data page 0 PDU format 254 PDU specific 251 Default priority 6 Parameter group number 65 275 OOFEFB 83 APPENDIX Byte 1 Hydraulic retarder pressure Data Length 1 byte Resolution 16 kPa bit gain 0 kPa offset Data Range 0 to 4000 kPa 0 to 580 psi 2 Hydraulic retarder oil temperature Data Length byte e Doc No UMAN GWY 300 B 0106 REVISION 2 Resolution 1 O bit gain 40 C offset Data Range 40 to 210 C 40 to 410 F 3 8 Not defined 63 DASH DISPLAY Transmission repetition rate 1s Data length 8 bytes Data page 0 PDU format 254 PDU specific 252 Default priority 6 Parameter group number 65 276 OOFEFC Byte 1 Washer fluid level Data Length byte Resolution 0 4 bit gain 0 offset Data Range 0 to 100 96 2 Fuel level Data Length byte Resolution 0 4 bit gain 0 offset Data Range 0 to 100 96 3 Fuel filter differential pressure Data Length 1 byte Resolution 2 kPa bit gain 0 kPa offset Data Range 0 to 500 kPa 0 to 72 5 psi 4 Engine oil filter differential pressure Data Length 1 byte Resolution 0 5 kPa bit gain 0 kPa offset Data Range 0 to 125 kPa 0 to 18 1 psi 5 6 Cargo ambient temperature Data Length 2 bytes Resolution 0 03125 C bit gain 273 C offset Data Range 273 to 1735 0 C 459 4 to 3155 0 F 7 8 Not defined rC A GQ 84 APPENDIX 64 ALTERNATE FUEL 1
13. 6 5 Engine test mode switch 4 3 Idle decrement switch 2 1 Idle increment switch 53 FUEL ECONOMY Transmission repetition rate 100 ms Data length 8 bytes Data page 0 PDU format 254 PDU specific 242 Default priority 6 Parameter group number 65 266 OOFEF2 Byte 1 2 Fuel rate Data Length 2 bytes Resolution 0 05 L h per bit gain 0 L h offset 13 9 x 10 6 L s per bit Data Range 0 to 3212 75 L h 3 4 Instantaneous fuel economy Data Length 2 bytes Resolution 1 512 km L per bit gain 0 km L offset Data Range 0 to 125 5 km L 5 6 Average fuel economy Data Length 2 bytes Resolution 1 512 km L per bit gain 0 km L offset Data Range 0 to 4125 5 km L 7 8 Not defined e Doc No UMAN GWY 300 B 0106 REVISION 2 78 APPENDIX 54 VEHICLE POSITION Transmission repetition rate 5s Data length 8 bytes Data page 0 PDU format 254 PDU specific 243 Default priority 6 Parameter group number 65 267 Byte 1 4 Latitude Data Length 4 bytes Resolution 10 7 degree bit gain 210 degree offset Data Range 210 degrees SOUTH to 211 108 122 degrees NORTH 5 8 Longitude Data Length 4 bytes Resolution 10 7 degree bit gain 210 degree offset Data Range 210 degrees WEST to 211 108 121 degrees EAST 55 TIRE CONDITION Transmission repetition rate 10s Data length 8 bytes Data page 0 PDU format 254 PDU specific 244 Default priority 6 Parameter group number 65 268 00 Byt
14. Data page 0 PDU format 254 PDU specific 238 Default priority 6 Parameter group number 65 262 OOFEEE Byte 1 Engine coolant temperature Data Length Resolution Data Range 2 Fuel temperature Data Length Resolution Data Range rea Es Doc No UMAN GWY 300 B 0106 REVISION 2 2 bytes 2 0 kg bit gain 0 kg offset 0 to 128 510 kg 0 to 283 316 Ib byte 1 km h bit gain 0 km h offset 0 to 250 km h 0 km h to 155 mph byte 1 km h bit gain 0 km h offset 0 to 250 km h 0 km h to 155 mph byte 1 km h bit gain 0 km h offset 0 to 250 km h 0 km h to 155 mph byte 1 C bit gain 40 C offset 40 to 210 40 to 410 F 1 byte 1 C bit gain 40 C offset 40 to 210 C 40 to 410 F 75 APPENDIX 3 4 Engine oil temperature Data Length Resolution Data Range 8 Not defined 5 6 Turbo oil temperature Data Length Resolution Data Range 7 Engine intercooler temperature Data Length Resolution Data Range 50 ENGINE FLUID LEVEL PRESSURE Transmission repetition rate 0 5s Data length 8 bytes Data page 0 PDU format i 254 PDU specific 239 Default priority 6 Parameter group number 65 263 OOFEEF Byte 1 Fuel delivery pressure Data Length Resolution Data Range 2 Not defined 3 Engine oil level Data Length Resolution Data Range 4 Engine oil pressure Data Length Resolution Data Range 5 6 Crankcase pressure Data Length Resolution Data Range
15. Parameter Group Number 65280 to 65535 OOFF00 to OOFFFF Byte 1 8 Manufacturer defined usage Doc No UMAN GWY 300 B 0106 REVISION 2 86 e APPENDIX C Details of Rotochopper Application This is the customized application There are two option available in the COM2 Protocol list 1 CAN J1939 71 2 CAN J1939 71For Rotochopper First option CAN J1939 71 is the generic CAN J1939 71 Protocol That means all the PGNs defined in the Appendix A are available and can be mapped to any register The mapping is explained in Chapter 6 For e g If user wants to map a PGN of 8 bytes to registers then mapping is first two bytes of PGN mapped wilh first register next two bytes are mapped with second register and so on In the second option according to the Customer s specifications only few PGNs are defined and mapping is done accordingly This is for single node application The list of PGNs and their mapping for this application is as follows CAN Parameter Mapping to Modbus Registers and Toshiba PLC Registers CAN Group Number Parameter Description Modbus Register Toshiba Register 00F003 Status_EEC2 40001 D0000 EEC2 Accelarator Pedal AP Position 40002 D0001 Percentload at current speed 40003 D0002 Remote accelerator 40004 D0003 Not Defined 00F004 Status_EEC1 40005 D0004 EEC1 Driver s demand Engine percent Torque 40006 D0005 Actual Engine percent Torque 40007 D0006 Engine Speed 40008 D0
16. RS485 and other is CAN communication port COM2 Pinout of these ports are as shown below PLC1 COM1 Signal Ground RX RS422 RS485 RX RS422 RS485 DRS a RXD RS232C CMOS TXD CMOS TAD RS2820 5VDC 6 TX RS422 RS485 DO NOT USE DB9 Female not use no 6 of PLC1 Hefer our website www renuelectronics com for your specific Cable requirements Doc No UMAN GWY 300 B 0106 T REVISION 2 T HARDWARE Pin Description Pin Name Signal Level Description 1 RS422 RS485 Differential Transmit also referred as TXA 2 TXD RS232 Transmit 3 RS232 CMOS Receive 4 RX RS422 RS485 Differential Receive also referred as RXA 5 GND Signal Ground common to all signals 6 5VDC DO NOT USE 7 TXD CMOS Transmit 8 TX RS422 5485 Differential Transmit also referred as TXB 9 RX RS422 RS485 Differential Receive also referred as RXB User can convert RS485 4 wire Signal Ground system to a 2 Wire Signal Ground system by shorting following signals in the communication cable TX A RX B RX SG Note If user has attached shield to Earth on Device end leave the shield open on Gateway end If user has connected shield to Signal Ground on Device end connect shield to Signal Ground on Gateway end A and B are polarity insensitive Twisted pair cable
17. Resolution 0 5 kW bit 0 kW offset 0 67 hp bit 0 hp offset Range 0 to 32 127 5 kW 0 to 43 083 7 hp 3 4 Rated engine speed Data Length 1 byte Resolution 0 125 rpm bit 0 offset Range 0 to 8031 875 rpm 5 8 Not defined 26 WHEEL SPEED INFORMATION Transmission repetition rate 100 ms Data length 8 bytes Data page 0 PDU format 254 PDU specific 191 Default priority 6 Parameter group number 65 215 O0FEBF rC AG 63 APPENDIX Byte e 1 2 Front axle speed Relative speed front axle left wheel Relative speed front axle right wheel Relative speed rear axle 1 left wheel Relative speed rear axle 1 right wheel Relative speed rear axle 2 left wheel Relative speed rear axle 2 right wheel Doc No UMAN GWY 300 B 0106 REVISION 2 Data Length Resolution 2 bytes 11 256 km h bit gain 0 km h offset 1 412 mph bit gain 0 mph offset upper byte resolution 1 0 km h bit 0 62 mph bit Data Range Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range 0 to 251 km h 0 to 156 mph byte 1 16 km h bit gain 7 8125 km h offset 1 26 mph bit gain 4 844 mph offset 7 8125 km h to 7 8125 km h 4 844 mph to 4 844 mph byte 1 16 km h bit gain 7 8125 km h offset 1 26 mph bit gain 4 844 mph offset 7
18. are forward gears zero is neutral Parameter Specific Indicator FB16 is park 253 Actual gear ratio Data Length 2 bytes Resolution 0 001 bit O offset Data Range 0 to 64 255 4 Current gear Data Length 1 byte Resolution 1 gear value bit 125 offset Data Range 125 to 125 negative values are reverse gears positive values are forward gears zero is neutral Parameter Specific Indicator FB16 is park e Doc No UMAN GWY 300 B 0106 REVISION 2 56 APPENDIX 5 6 Transmission requested range Data Length 2 bytes Resolution ASCII Data Range 0 to 250 each byte 7 8 Transmission current range Data Length 2 bytes Resolution ASCII Data Range 0 to 250 each byte 13 ELECTRONIC AXLE CONTROLLER 1 EAC1 Transmission repetition rate 500 ms Data length 8 bytes Data page 0 PDU format 240 PDU specific i 6 Default priority 6 Parameter group number 61 446 00F006 Byte 1 Location Data Length 1 byte Resolution Bit mapped Data Range N A 2 Differential lock status 1 Bit 8 7 Rear axle 2 6 5 Rear axle 1 4 3 Front axle 2 2 1 Front axle 1 3 Differential lock status 2 Bit 8 7 Not defined 6 5 Central rear 43 Central front 2 1 Central 4 8 Not defined 14 WHEEL BRAKE LINING REMAINING INFORMATION EBC4 Transmission repetition rate On request Data length 8 bytes Data page 0 PDU format 254 PDU specific 172 Default priority 7 Parameter group number 65 196 OOFEAC
19. bits 1 bit 1 bit 8 bits Data transfered on the CAN bus is defined as Parameter Groups PGs PG s define where the data is located in the CAN Data frame priority and transmission repetation rate PG s are identified with Parameter Group Numbers PGN s Parameters are grouped according to some similar characteristics into Parameter Groups and are expressed by its Parameter Group Number PGN This is the number used in J1939 to access the data about a particular parameter or a set of parameters 3 2 Introduction To GWY 300 B GWY 300 B CAN Gateway allows serial device such as PLCs Inverters and controllers to exchange data on CAN Bus In the same way it allows devices like ECU Which support CAN J1939 71 to make their data available to devices like PLCs so that some control actions can be taken GWY 300 B CAN Gateway supports SAEJ1939 71 Application Layer GWY 300 B has two serial ports one is compatible to RS232 RS422 RS485 CMOS levels which can be connected to device like PLCs Inverters and controllers and the other is CAN port The CAN connection is a two wire high speed network These two ports are isolated from each other GWY 300 B communicates with the ECU Electronic Control Unit using SAE J1939 71 protocol This allows gateway to access various engine parameters from CAN port Gateway provides these parameters to third party serial devices like PLCs Controllers The PLC can then make decisions based on the parameter values
20. database IDB The number of bytes allocated to each PGN is mentioned in PGN Length column of IDB COM1 COM2 An Berl Gateway CAN J1939 driver Firmware System Common Memory Area 3K Internal Database 3KBytes of Internal Memory Memory The total PGNs defined in actual project are automatically updated in the internal tag database with the corresponding information of the defined PGN In background if the received PGN having source address matches with the defined PGN in internal tag database having same EXT Device ID then this data is kept in internal memory of CAN driver Driver Note For receiving any PGN on the CAN while creating the project the corresponding PGN User wants to receive should have 0 suffix For example P0 000F000 For transmitting any PGN on the CAN while creating the project the corresponding PGN User wants to trans mit should have 1 suffix For example P1 000F000 How other serial drivers work Example1 Toshiba PLC or Modbus Master Since drivers like Toshiba PLC Modbus allow multiple register reading in one block in this case concept of Internal Database is used Note Concept of Internal database IDB is explained on next page rC AG e Doc No UMAN GWY 300 B 0106 REVISION 2 32 NOTE ON COMMUNICATION DRIVERS Let us have a glance at Internal database Please refer the following example idb prj Gateway GWY 300 CAN Gateway x File Edit View Communicati
21. necessary information for trouble free installation and operation of your new Gateway product However if you need assistance please call Renu Electronics Pvt Ltd at 91 20 27292840 or visit our web site at www renuelectronics com MANUAL REVISION If you contact us in refference to this manual please include the following document number Name CAN Gateway GWY 300 B User s Manual Part Number URML204 Document UMAN GWY 300 B 0106 Revision Revision 2 Revision 0 19 01 2006 Seven Segment Display is replaced with LED and hence corrsponding changes are done Revision 1 08 02 2007 Chapter 6 Diagnostic section is added Appendix PGN information updated Troubleshooting section is also added Revision 2 12 12 2011 System Requirement for Gateway setup software revised Warranty Certificate For New product This product is warranted against defects in materials and workmanship for a period of 12 months from the date of shipment to Buyer For Rectified Products Any product that will be replaced will have Warranty for 6 months or upto Original Product Warranty period whichever is greater The warranty is limited to repair or replacement of the defective unit at the option of the manufacturer This warranty is void if the product has been altered misused dismantled or otherwise abused ALL OTHER WARRANTIES EXPRESSED OR IMPLIED ARE EXCLUDED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND F
22. the data and load it into the internal database memory But in case of write operation each master driver will check the data available in the internal memory with the new data to be written If the data in the internal memory is same as the new data then Gateway software will skip the write command Incase of different data master driver will initiate the write command Doc No UMAN GWY 300 B 0106 REVISION 2 35 TYPICAL PROJECTS TYPICAL PROJECTS AND APPLICATIONS In this chapter Project Setup Applications Support for Diagnostics renu Doc UMAN GWY 300 B 0106 REVISION 2 36 TYPICAL PROJECTS 6 1 Project Setup This Chapter explains how a simple Gateway project can be created and tested To develop a Gateway system select appropriate Gateway model depending on the system requirements A new project can be created as follows User should follow the given to configure and use GWY 300 B unit 1 Install Gateway Setup Software 2 Select GWY 300 B from product list 3 Create a project using gateway software Set Baud rate through PLC settings For J1939 baud rate is 250Kbps Source address for CAN port can be set through the PLC2 settings advanced settings For CAN driver user selects the PGN as receiving PGN then enter source ID or destination ID For CAN Only as the Source ID of the transmitting device Refer Application note for mapping the registers 4
23. 0 AXLE INFORMATION Transmission repetition rate 1 Data length 8 bytes Data page 0 PDU format 254 PDU specific 249 Default priority 6 Parameter group number 65 273 OOFEF9 Byte 1 Steering axle temperature Data Length 1 byte Resolution 1 O bit gain 40 C offset Data Range 40 to 210 40 to 410 F 2 Drive axle location Data Length 1 byte Resolution Bit mapped Data Range N A e Doc No UMAN GWY 300 B 0106 REVISION 2 82 rea APPENDIX 61 BRAKES Es Doc No UMAN GWY 300 B 0106 REVISION 2 3 Drive axle lift air pressure Data Length 1 byte Resolution 4 kPa bit gain 0 kPa offset Data Range 0 to 1000 kPa 0 to 145 psi 4 Drive axle temperature Data Length byte Resolution 1 O bit gain 40 C offset Data Range 40 10 210 C 40 to 410 F 5 8 Not defined Transmission repetition rate 1s Data length 8 bytes Data page 0 PDU format 254 PDU specific 250 Default priority 6 Parameter group number 65 274 OOFEFA Byte 1 Brake application pressure Data Length 1 byte Resolution 4 kPa bit gain 0 kPa offset Data Range 0 to 1000 kPa 0 to 145 psi 2 Brake primary pressure Data Length byte Resolution 4 kPa bit gain 0 kPa offset Data Range 0 to 1000 kPa 0 to 145 psi 3 Brake secondary pressure Data Length byte Resolution 4 kPa bit gain 0 kPa offset Data Range 0 to 1000 kPa 0 to 145 psi 4 Brake status Bit 8 3 Not defined 2 1 Parking brake actuator
24. 007 Not Defined OOFEBD Estimated Percent Fan Speed 40009 00008 FAN Drive State_Fan_Drive 40010 D0009 Not Defined 00 Injection control pressure 4011 D0010 Engine Fluid Injector metering rail pressure 4012 D0011 Level Pressure Not Defined 00 0 Trip Distance 4013 Hi Word D0012 Hi Word Vehicle Distance 4014 Low Word D0013 Low Word Total Vehicle distance 4015 Hi Word D0014 Hi Word 4016 Low Word D0015 Low Word 00 5 Total Engine houres 4017 Hi Word D001 5 Hi Word Engine Hours 4018 Low Word D0016 Low Word Revolutions Total Engine Revolutions 4019 Hi Word D0017 Hi Word 4020 Low Word D0019 Low Word rC AQ REVISION 2 Es Doc No UMAN GWY 300 B 0106 87 APPENDIX CAN Group Number Parameter Description Modbus Register Toshiba Register 00 9 Trip Fuel 4021 Hi Word D0020 Hi Word Fuel Consumption 4022 Low Word 00021 Low Word Total Fuel Used 4023 Hi Word D0022 Hi Word 4024 Low Word D0023 Low Word OOFEEE Engine Coolant Temperature 40025 00024 Engine Temperature Fuel Temperature 40026 00025 Engine Oil Temparature 40027 D0026 Turbo Oil Tempearture 40028 D0027 Engine Intercooler Temperature 40029 00028 Not Defined OOFEEF Fuel Delivery Pressure 40030 00029 Engine Fluid Level Not Definned Pressure Engine Oil Level 40031 00030 Engine Oil Pressure 40032 D0031 Crankcase Pressure 40033 D0032 Coolant Pressure 40034 00033 Coolant Level 40035
25. 1 byte Resolution 0 4 bit gain 096 offset Data Range 0 to 100 Not defined Center rail indicator Engagement indicator Neutral indicator Gear actuator 2 Rail actuator 2 Gear actuator 1 Rail actuator 1 67 APPENDIX 5 Transmission actuator 1 6 Transmission actuator 2 7 8 Not defined 33 ALTERNATOR SPEED Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 2 Alternator speed 3 8 Not defined Bit 8 7 Splitter indirect actuator 6 5 Splitter direct actuator 4 3 Range low actuator 2 1 Range high actuator Bit 8 7 Inertia brake actuator 6 5 Defuel actuator 4 3 Lockup clutch actuator 2 1 Clutch actuator 1s 8 bytes 0 254 213 6 65 237 OOFEDS Data Length 2 bytes Resolution 0 5 rpm gain 0 rpm offset Data Range 0 to 32 127 5 34 AUXILIARY DISCRETE INPUT OUTPUT STATUS Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 O_Status1 Bit 2 O_Status2 Bit 3 O_Status3 Bit rC AG Es REVISION 2 manufacturer defined not faster than 100 ms 8 bytes 0 254 217 6 65 241 OOFED9 8 7 channel 1 6 5 channel 2 4 3 channel 3 2 1 channel 4 8 7 I O channel 5 6 5 channel 6 4 3 channel 7 2 1 channel 8 8 7 channel 9 6 5 I O channel 10 4 3 channel 11 2 1 channel 12
26. 2 Brake pedal position Data Length 1 byte Resolution 0 1 bit gain 096 offset Data Range 0 100 3 Status_EBC2 Bit 8 7 Not defined 6 5 ASR hill holder switch 4 3 ASR offroad switch 2 1 ABS offroad switch 4 Measured Aux 1 Bit 8 7 Remote accelerator enable switch 6 5 Auxiliary engine shutdown switch 43 Engine derate switch 2 1 Accelerator interlock switch 5 Engine retarder selection 6 8 Not defined reng Doc No UMAN GWY 300 B 0106 REVISION 2 54 APPENDIX Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 Status_ETC1 2 3 Output shaft speed 4 Percent clutch slip 5 Command ETC1 6 7 Input shaft speed 8 Not defined 9 ELECTRONIC TRANSMISSION CONTROLLER 1 ETC1 10 ms 8 bytes 0 240 2 3 61 442 00 002 Bit 8 7 6 5 4 3 2 1 Data Length Resolution Data Range Data Length Resolution Data Range Bit 85 4 3 2 1 Data Length Resolution Data Range 10 ELECTRONIC ENGINE CONTROLLER 2 EEC2 Not defined Shift in process Torque converter lockup engaged Driveline engaged 2 bytes 0 125 rpm bit gain 0 rpm offset Upper byte resolu tion 32 rpm bit to 8031 875rpm 1 byte 0 4 bit gain 096 offset 0 to 100 Not defined Progressive shift disable Momentary engine overspeed enable 2 byte 0 125rpm bit gain Orpm offset 0 to 8031 875rpm Transmission repetition rat
27. 5 L h per bit gain O L h offset Data Range 0 L h to 3212 75 L h 7 8 Not defined 21 TRIP TIME INFORMATION 1 Transmission repetition rate On request Data length 16 bytes Data page 0 PDU format 254 PDU specific 180 Default priority 7 Parameter group number 65 204 O0FEBA Byte 1 2 Trip time in VSL Data Length 4 bytes Resolution 0 05 h bit 0 h offset Data Range 0 to 210 554 060 75 h 3 4 Trip time in top gear Data Length 4 bytes Resolution 0 05 h bit 0 h offset Data Range 0to 210 554 060 75 h 5 6 Trip time in gear down Data Length 4 bytes Resolution 0 05 h bit 0 h offset Data Range 0 to 210 554 060 75 h 7 8 Trip time in derate by engine Data Length 4 bytes Resolution 0 05 h bit 0 h offset Data Range 0 to 210 554 060 75h rC AQ Es REVISION 2 Doc No UMAN GWY 300 B 0106 61 APPENDIX 22 TRIP SHUTDOWN INFORMATION Transmission repetition rate On request Data length 8 bytes Data page 0 PDU format 254 PDU specific 181 Default priority 7 Parameter group number i 65 205 OOFEBS Byte 1 2 Trip number of hot shutdowns Data Length 2 bytes Resolution 1 count per bit 0 counts offset Data Range 0 to 64 255 counts 3 4 Trip number of idle shutdowns Data Length 2 bytes Resolution 1 count per bit 0 counts offset Data Range 0 to 64 255 counts 5 6 Trip number of idle shutdown overrides Data Length 2 bytes Resolution 1 count per bit 0 counts offset Data Range 0 to 64 255 count
28. 65277 ALTERNATE FUEL 1 OxFEFE 65278 AUXILIARY WATER PUPM PRESSURE OxFEFF 65279 WATER IN FUEL INDICATOR OxFF00 65280 PROPRIETARY B PGN Doc No UMAN GWY 300 B 0106 50 APPENDIX The above PGNs are kept in the ascending order in internal memory as shown If the user selects FED5 PGN and No of Words is 12 then he gets the data of FED5 4 words FED9 4 words FEDB 4 words PGNs the respective registers Note GWY 300 receives messages in PDU2 format Broadcasted messages of one ECU only B Description of Parameter Group Number Note If the PGN is mapped with the corresponding register of PLC then the data length of PGN is considered If PGN has 8 bytes and itis mapped with register e g Toshiba s D0000 to D0004 then high byte of D0000 contains first byte of PGN low byte contains second byte low byte of 00004 contains eighth byte of PGN The sequence of bytes of PGN is defined as follows 1 TORQUE SPEED CONTROL 1 TSC1 Transmission repetition rate when active 10 ms to the engine 50 ms to the retarder Data length 8 bytes Data page 0 PDU format 0 PDU specific i Destination address Default priority 3 Parameter group number i 0 000000 Byte 1 Control Bits 2 3 Requested speed Speed limit 4 Requested torque Torque limit 5 8 Not defined Bit 8 7 Not defined 6 5 Override control mode priority 4 3 Requested speed control conditions 2 1 Override control modes Note Retarder may be disabled by comma
29. 8125 km h to 47 8125 km h 4 844 mph to 4 844 mph byte 1 16 km h bit gain 7 8125 km h offset 1 26 mph bit gain 4 844 mph offset 7 8125 km h to 7 8125 km h 4 844 mph to 4 844 mph byte 1 16 km h bit gain 7 8125 km h offset 1 26 mph bit gain 4 844 mph offset 7 8125 km h to 7 8125 km h 4 844 mph to 4 844 mph byte 1 16 km h bit gain 7 8125 km h offset 1 26 mph bit gain 4 844 mph offset 7 8125 km h to 47 8125 km h 4 844 mph to 4 844 mph byte 1 16 km h bit gain 7 8125 km h offset 1 26 mph bit gain 4 844 mph offset 7 8125 km h to 47 8125 km h 4 844 mph to 4 844 mph 64 APPENDIX 27 SERVIC Transmitted with the service component identification that has the shortest distance or nearest time until the next service inspection Es Doc No UMAN GWY 300 B 0106 REVISION 2 Transmission repetition rate On request Data length 8 bytes Data page 0 PDU format 254 PDU specific 192 Default priority 6 Parameter group number 65 216 OOFECO Byte 1 Service component identification Data Length 1 byte Resolution 1 Component ID bit Data Range 0 to 250 2 3 Service distance Data Length 2 bytes Resolution 5 km bit gain 160 635 km offset 3 1 mi bit gain 99 593 7 mi offset Data Range 160 635 160 640 km 99 593 7 to 99 596 8 mi 4 Service component identification Data Length 1 byte Resolution 1 Component ID bit Data Range 0 to 250 5 Service delay calendar t
30. D0034 OOFEF1 Measured_SW1 40036 D0035 Cruise Control Wheel based vehicle speed 40037 D0036 Vehicle speed Measured SW1 40038 D0037 Measured SW2 40039 00038 Cruise control set speed 40040 D0039 State CC 40041 D0040 Measured SW1 40042 00041 OOFEF2 Fuel Rate 40043 D0042 Fuel Economy Instantaneous fuel economy 40044 00043 Average fuel economy 40045 D0044 Not Defined OOFEF5 Barometric Pressure 40046 D0045 Ambient Conditions Cab Interior temperature 40047 D0046 Ambient air Temperature 40048 D0047 Air Inlet Temperature 40049 D0048 Road surface temperature 40050 D0049 OOFEF6 Particulate trap inlet pressure 40051 D0050 Inlet Exhaust Boost Pressure 40052 00051 Conditions Intake manifold temperature 40053 D0052 Air inlet pressure 40054 00053 Air filter differential pressure 40055 00054 Exhaust gas temperature 40056 00055 Coolant filter differential pressure 40057 D0056 Doc No UMAN GWY 300 B 0106 REVISION 2 88 APPENDIX CAN Group Number Parameter Description Modbus Register Toshiba Register OOFEF7 Net Battery Current 40058 D0057 Vehicle Electrical Alternator Current 40059 00058 Power Alternator Potential voltage 40060 D0059 Electrical Potential voltage 40061 D0060 Battery Potential voltage switched 40062 D0061 OOFEF8 Clutch pressure 40063 00062 Transmission Fluids Transmission oil level 40064 00063 Transmission filter differential pressure 40065 D0064 Transmissi
31. Doc No UMAN GWY 300 B 0106 68 APPENDIX 4 Status4 Bit 8 7 I O channel 13 6 5 I O channel 14 4 3 channel 15 2 1 I O channel 16 35 ENGINE FLUID LEVEL PRESSURE 2 5 6 Auxiliary I O channel 1 7 8 Auxiliary I O channel 2 Transmission repetition rate 0 5s Data length 8 bytes Data page 0 PDU format 254 PDU specific 219 Default priority 6 Parameter group number 65 243 OOFEDB Byte 1 2 Injection control pressure Data Length 2 bytes Resolution 1 256 MPa bit gain 0 MPa offset Data Range 0 to 251 MPa 0 to 36 404 psi 3 4 Injector metering rail pressure Data Length 2 bytes Resolution 1 256 MPa bit gain 0 MPa offset Data Range 0 to 251 MPa 0 to 36 404 psi 5 8 Not defined 36 IDLE OPERATION Transmission repetition rate request Data length 8 bytes Data page 0 PDU format 254 PDU specific 220 Default priority 6 Parameter group number 65 244 OOFEDC 6 Byte 1 4 Total idle fuel used Data Length 4 bytes Resolution 0 5 L per bit gain O L offset Data Range 0 to 2 105 540 607 5 L 5 8 Total idle hours Data Length 4 bytes Resolution 0 05 h bit gain 0 h offset Data Range 0 to 210 554 060 75 h rea Es REVISION 2 Doc No UMAN GWY 300 B 0106 69 APPENDIX 37 TURBOCHARGER Transmission repetition rate 1 sec Data length 8 bytes Data page 0 PDU format 254 PDU specific 221 Default priority 6 Parameter group number 65 245 OOFEDD Byte 1 Turbo oil pressure Data Length Resolution D
32. Following engine parameters are supported but not limited to 1 Engine Hours 2 Engine RPM 3 System Voltage 4 Oil pressure Gateway setup software allows different engine parameters to be mapped to any register on the other side PLC Device The complete configuration for a unit is termed as Project Project comprises of device names Register addresses condition for block execution etc Block may contain information like copy number of words from one device to other device and conditions for copy if any Gateway transfers data between two devices by execution of blocks After the Project is defined Drivers for required devices and Project should be downloaded Gateway can now communi cate with the CAN devices and serial devices e g PLC or SCADA Doc No UMAN GWY 300 B 0106 REVISION 2 19 GETTING STARTED 3 3 GWY 300 B Operation Configuration And Communication Gateway can communicate with serial and CAN devices using appropriate cables and configuration Microsoft Windows based configuration software Gateway Setup configures the Gateway unit Configuration means making the Gateway unit work as per system requirements Complete configuration for a Gateway using the Gateway Setup is termed as a Project A Project consists of Devices to be attached on two ports Communication settings for two ports to communicate with two devices Register addresses for data transfer Conditions for data transfer etc Gateway c
33. GWY 300 CAN Gateway USER S MANUAL COPYRIGHT NOTICE This manual is a publication of Renu Electronics Pvt Ltd and is provided for use by its customers only The contents of the manual are copyrighted by Renu Electronics reproduction in whole or in part for use other than in support of Renu Electronics equipment is prohibited without the specific written permission of Renu Electronics SERVICE If service is required then pack the unit in its original packaging container or if unavailable any suitable rigid container If a substitute container is used surround the unit with shock absorbing material damage in shipment is not covered by the warranty Include a letter with the unit describing the difficulty and Hardware Revision and Software Version Send to the following address Renu Electronics Pvt Ltd Survey No 2 6 Baner Road Pune 411045 All returns will be tested to verify customer claims of noncompliance with the product warranty Improper return packaging which makes verification impossible will void the warranty If noncompliance is verified and is not due to customer abuse or the other exceptions described with product warranty Renu Electronics will at its option repair or replace the Product returned to it freight prepaid which fail to comply with the foregoing warranty provided REPL is notified of such noncompliance within the one year warranty period ASSISTANCE This manual is designed to provide the
34. ITNESS FOR A PARTICULAR PURPOSE MAINTENANCE amp SERVICE There are no parts that can be serviced by the user Service should be performed on a unit substitution basis only Do not attempt to remove replace or service any printed circuit board components or any hardware software related with display product If problem within the display product occurs contact the factory for service information or repair NOTE Renu Electronics Pvt Ltd is dedicated to providing complete customer service and customer satisfaction If you have any comments or criticisms about how to improve the product features reliability Please make a note of the problem improvement and notify us We are always open to new ideas and improvements So please let us know your ideas and comments IMPORTANT Gateway Products are intended to be Protocol Converters Data Sharer devices that can also take control actions on request of device being connected It is assumed that user is well acquainted with the PLC Inverters Controllers being used Any Mechanical or Electrical Modification to this Unit will void all Warranties Contents INTRODUCTION 1 1 Purpose of this manual 1 2 Introduction to Gateway 1 3 GWY 300 B Specifications HARDWARE 2 1 Dimensional details And Mounting Instructions 2 2 Communication Port Details 2 3 LED Status GETTING STARTED 3 1 Introduction To CAN CAN Serial Bus Signal Characteristics Message Format SAE J1939 Overview Param
35. NTROLLER 1 ERC1 OxF001 61441 ELECTRONIC BRAKE CONTROLLER 1 EBC1 OxF002 61442 ELECTRONIC TRANSMISSIOIN CONTROLLER 1 ETC1 ELECTRONIC ENGINE CONTROLLER 2 EEC2 OxF004 61444 ELECTRONIC ENGINE CONTROLLER 1 EEC1 OxF005 61445 ELECTRONIC TRANSMISSIOIN CONTROLLER 2 ETC2 0 003 61443 0 006 61446 ELECTRONIC AXLE CONTROLLER 1 EAC1 OxFEAC 65196 WHEEL BRAKE LINING REMAINING INFORMATION EBC4 OxFEAD 65197 WHEEL APPLICATION PRESSURE HIGH RANGE INFORMATION EBC3 OxFEAE 651 98 SUPPLY PRESUURE OxFEAF 65199 FUEL CONSUMPTION GASEOUS OxFEB1 655201 ECU HISTORY OxFEB2 65202 FUEL INFORMATION GASEOUS e Doc No UMAN GWY 300 B 0106 REVISION 2 48 APPENDIX Parameter group Number Parameter Description OxFEB3 65203 FUEL INFORMATION OxFEB4 65204 TRIP TIME INFORMATION 1 OxFEB5 65205 TRIP SHUTDOWN INFORMATION OxFEB6 65206 TRIP VEHICLE SPPED CRUISE DISTANCE INFORMATION OxFEBD 65213 FAN DRIVE OxFEBE 65214 ELECTRONIC ENGINE CONTROLLER 4 EEC4 OxFEBF 65215 WHEEL SPEED INFORMATION OxFECO 65216 SERVICE OxFEC1 65217 HIGH RESOLUTION VEHICLE DISTANCE OxFEC2 65218 ELECTRONIC RETARDER CONTROLLER 2 ERC2 OxFEC3 65219 ELECTRONIC TRANSMISSION CONTROLLER 5 ETC5 OxFEC5 65221 ELECTRONIC TRANSMISSION CO
36. NTROLLER 4 ETC4 OxFEC7 65223 ELECTRONIC TRANSMISSION CONTROLLER 3 ETC3 OxFED5 65237 ALTERNATOR SPEED OxFED9 65241 AUXILIARY DISCRIPT INPUT OUTPUT STATUS OxFEDB 65243 ENGINE FLUID LEVEL PRESSURE 2 OxFEDC 65244 IDLE OPERATION OxFEDD 65245 TURBOCHARGER OxFEDE 65246 AIR START PRESSURE OxFEDF 65247 ELECTRONIC ENGINE CONTROLLER OxFEEO 65248 VEHICLE DISTANCE OxFEE4 65252 IDLE SHUTDOWN OxFEE5 65253 ENGINE HOURS REVOLUTIONS OxFEE6 65254 TIME DATE OxFEE7 65255 VEHICLE HOURS Doc UMAN GWY 300 B 0106 REVISION 2 49 APPENDIX e REVISION 2 Parameter group Number Parameter Description OxFEE8 65256 VEHICLE DIRECTION SPEED OxFEE9 65257 FUEL CONSUMPTION OxFEEA 65258 VEHICLE WEIGHT OxFEED 65261 CRUISE CONTROL VEHICLE SPEED SET OxFEEE 65262 ENGINE TEMPERATURE OxFEEF 65263 ENGINE FLUID LEVEL PRESSURE OxFEFO 65264 POWER TAKEOFF INFORMATION OxFEF1 65265 CRUISE CONTROL VEHICLE SPEED OxFEF2 65266 FUEL ECONOMY OxFEF3 65267 VEHICLE POSITION OxFEF4 65268 TIRE CONDITION OxFEF5 65269 AMBIENT CONDITIONS OxFEF6 65270 INLET EXHAUST CONDITIONS OxFEF7 65271 VEHICLE ELECTRICAL POWER OxFEF8 65272 TRANSMISSION FLUIDS OxFEF9 65273 AXLE INFORMATION OxFEFA 65274 BRAKES OxFEFB 65275 RETARDER FLUIDS OxFEFC 65276 DASH DISPLAY OxFEFD
37. PDU specific field Destination Address global or specific Default priority 6 Parameter group number i 59 904 00EAO0 Byte 1 2 3 Parameter Group Number being requested e Doc No UMAN GWY 300 B 0106 REVISION 2 52 APPENDIX 5 TRANSPORT PROTOCOL DATA TRANSFER TP DT Transmission repetition rate Per the Parameter Group to be transferred Data length 8 bytes Data page 0 PDU format 235 PDU specific field Destination Address Global DA 255 for TP CM BAM data transfers Global not allowed for RTS CTS data transfers Default priority 2 7 Parameter group number 60 160 00EBOO Data ranges for parameters used by this Group Function Sequence Number 1 to 255 1 byte Byte 1 Sequence Number 2 8 Packetized Data 7 bytes Note the last packet of a multipacket Parameter Group may require less than 8 data bytes The extra bytes should be filled with FF16 6 TRANSPORT PROTOCOL CONNECTION MANAGEMENT TP CM Transmission repetition rate Per the Parameter Group Number to be transferred Data length i 8 bytes Data page 0 PDU format 236 PDU specific field Destination Address Default priority 7 Parameter group number 60 416 00 0 Data ranges for parameters used by this Group Function Control byte 0 15 18 20 31 33 254 are Reserved for SAE Assignment Total Message Size number of bytes 9 to 1785 2 bytes zero to 8 and 1786 to 65535 not allowed Total Number o
38. Page DP This 1 bit field defines on which data page 0 or 1 the message is defined in the J1939 specification Page 0 contains the messages that are presently defined while Page 1 is for future expansion Protocol Data Unit PDU Format PF This 8 bit field determines the format of the message and is one of the fields that determines the Parameter Group Number of the message see the Parameter Group Number section If the value is between 0 and 239 the message is a PDU 1 Format message These messages are sent to specific addresses CAs If the value is between 240 and 255 the message is a PDU 2 Format message These messages are not sent to a specific address CA but are instead broadcast to the entire network PDU Specific PS This 8 bit field is either the Destination Address PDU 1 Format or the Group Extension PDU 2 Format Source Address SA This 8 bit field is the address of the CA that sent the message Data Length DL The number of data bytes in the message Data Up to 8 bytes of data Most messages are intended to be broadcast messages or PDU 2 Format where the message is not sent to a particular address The J1939 specification defines PDU Format and PDU Specific values for many messages by specifying the message Parameter Giroup Numbers see the Parameter Group Number section A J1939 node can send messages to other nodes or it can request messages from other nodes either globally or with a specifi
39. Wait to start lamp Bit 8 7 Engine protection shutdown timer state 6 5 Engine protection shutdown override 4 3 Engine shutdown approaching 2 1 Engine has shutdown by protection system Bit 8 7 Engine protection timer system configuration 6 1 Not defined on request 8 bytes 0 254 229 6 65 253 00 5 Data Length 4 bytes Resolution 0 05 h bit gain 0 h offset Data Range 0 to 210 554 060 75 h Data Length 4 bytes Resolution 1000 r bit gain 0 r offset Data Range 0 to 4 211 081 215 000 r request 8 bytes 0 254 230 6 65 254 OOFEE6 Data Length 1 byte Resolution 0 25 s bit gain 0 s offset Operating Range 0 to 59 75 s Data Length 1 byte Resolution 1 min bit gain 0 min offset Operating Range 0 to 59 min Data Length 1 byte Resolution 1 h bit gain 0 h offset Operating Range 0 to 23 h Data Length Resolution Operating Range 1 to 12 month 1 byte Doc No UMAN GWY 300 B 0106 1 month bit gain 0 month offset APPENDIX 5 Day 6 Year 7 8 Not defined Data Length Resolution 1 byte 0 25 day bit gain 0 day offset Operating Range 0 25 to 31 75 day Data Length Resolution 1 byte 1 year bit gain 1985 year offset Operating Range 1985 to 2235 year 4 bytes 0 05 h bit gain 0 h offset 0 to 210 554 060 75 h 4 bytes 0 05 h bit gain 0 h offset 0 to 210 554 060 75 h 2 bytes 1 128 degree bit gain 0 degree offset 0 to 502 degrees 2 bytes 1 256 km h bit ga
40. Y 300 is capable of supporting multi packet Diagnostic messages that is Active Diagnostic Codes DTCs in the form of SPN Suspect Parameter Number and FMI Failure Mode Identifier combinations This is achieved with the use of the PGN OxFECA This PGN is used to transmit the current occurrences of Fault codes The current CAN gateway GWY 300 supports the following 1 The Data Link Layer i e J1939 21 2 The Application Layer i e J1939 71 3 The Diagnostic messages J1939 73 Most of the PGNs are of 8 byte length and hence do not require the support of the transportation layer But there are some which have length more than 8 bytes i e 9 up to 1785 bytes Such PGNs require the support of the transporta tion layer and the J1939 21 comes in to picture It provides facilities like connection initiation holding and termination for one to one to connection and broadcast message facilities all for multi packet transmission To implement multi packet transmission two schemes are provided 1 The broadcast message scheme 2 The RTS CTS Ready To Send Clear To Send scheme How does this operate For the BAM message scheme the transmitter that wants to transmit a multi packet data sends a BAM Broadcast Announce Message declaring to all the other nodes Now all the nodes interested in that data details is obtained in the BAM message accept that data while other nodes reject it There is no connection initiation or Acknowledge
41. abled it decides which block has to be executed by writing a specific data in the control word Doc No UMAN GWY 300 B 0106 REVISION 2 3 GWY 300 B FEATURES Note on Gateway CAN driver CAN driver uses total 3KBytes of Internal Memory Memory is allocated to the each PGN according to the entry in the internal tag database IDB The number of bytes allocated to each PGN is mentioned in PGN Length column of IDB COMI 2 Driver _ Gateway CAN J1939 71 driver Firmware System Common Memory Area 3K Internal Database 3KBytes of Internal Memory Memory In background if the received PGN having source address matches with the defined PGN in internal tag database having same EXT Device ID then this data is kept in internal memory of CAN driver The data transfer between the serial driver and CAN is taken place through the common memory area If serial device wants to read CAN data then corresponding data is bring in the common memory area which is then read by the serial driver Note For receiving any PGN on the CAN while creating the project the corresponding PGN User wants to receive should have 0 suffix For transmitting any PGN on the CAN while creating the project the corresponding PGN User wants to trans mit should have 1 suffix Note CAN open slave operates in Master Slave mode only rC AG Doc No UMAN GWY 300 B 0106 T REVISION 2 24 GWY 300 B FEATURES Let us
42. an now communicate with the specified devices without any change in the Gateway hardware To communi cate with a device Gateway needs Communication Drivers for the devices and Gateway Device communication cables Each Device has a unique and predefined protocol for communication Gateway driver has this protocol to communicate with the desired device As two devices are connected on Gateway it requires two drivers for communication 3 4 Configuration of GWY 300 B IBM Download User MUST download Project PLC1 driver and PLC2 driver in Gateway before installing any system using Gateway Gateway can accept drivers and configuration data on port User needs a special IBM download cable for downloading configuration in Gateway All configurations can be downloaded only form Serial port Port 1 The other port is dedicated for CAN J1939 71 Port 2 If any change in the current working project is made user must download the changed project in Gateway Pin details of IBM download cable for GWY 300 B are as follows Male Gateway Female 3 5 1 For downloading Firmware drivers and project switch off the GWY 300 B unit 2 Power ON the unit again For Master Master mode OK LED is on at power on it checks if the PLC1 is attached If PLC1 is not attached then PLC1 Red LED glows and then it goes in IBM download mode for 10 sec In IBM download mode OK LED flashes Fo
43. aster Error indication bit can be enabled using Gateway configuration software Normally Error bit is disabled for a New project It can be enabled just by clicking on the check box in the setup software Error indication bit can be enabled in both or any one of the Devices connected to Gateway Error Indication bit is OFF to indicate error free communication In case of communication error on PLC2 Gateway sets error bit on PLC1 port and vice versa 4 5 Communication Parameters Communication Parameters of Gateway can be set from configuration Software This enables Gateway to readily communi cate with any device Communication parameters for PLC1 and PLC2 ports can be configured independently This feature allows changes in Baud rate Number of stop bits Parity etc at any time without downloading the driver for that particular device After the driver for a particular device is downloaded the communication parameters can be changed simply by selecting new communication parameters and downloading the same project rC AQ Doc No UMAN GWY 300 B 0106 T REVISION 2 30 NOTE ON COMMUNICATION DRIVERS NOTE ON COMMUNICATION DRIVERS Es Doc No UMAN GWY 300 B 0106 REVISION 2 31 NOTE ON COMMUNICATION DRIVERS 5 1 Note On Communication Drivers How Gateway CAN J1939 71 driver works CAN driver uses total 3KBytes of Internal Memory Memory is allocated to the each PGN according to the entry in the internal tag
44. ata Range 2 3 Turbo speed Data Length Resolution Data Range 4 8 Not defined 38 AIR START PRESSURE Transmission repetition rate request Data length 8 bytes Data page 0 PDU format 254 PDU specific 222 Default priority 6 Parameter group number 65 246 OOFEDE Byte 1 Air start pressure Data Length Resolution Data Range 2 8 Not defined 39 ELECTRONIC ENGINE CONTROLLER 3 EEC3 Transmission repetition rate 250 ms Data length 8 bytes Data page 0 PDU format 254 PDU specific 223 Default priority 6 Parameter group number 65 247 OOFEDF Byte 1 Nominal friction percent torque e REVISION 2 1 byte 4 kPa bit gain 0 kPa offset 0 to 1000 kPa 0 to 145 psi 2 bytes 4 rpm bit gain O rpm offset 0 to 257 020 rpm 1 byte 4 kPa bit gain 0 kPa offset 0 to 1000 kPa 0 to 145 psi Data Length 1 byte Resolution 196 bit gain 125 offset Data Range 125 to 125 Operating Range 0 to 125 Doc No UMAN GWY 300 B 0106 70 APPENDIX 2 3 Engine s desired operating speed Data Length 2 bytes Resolution 0 125 rpm bit gain 0 rpm offset upper byte resolution 32 rpm bit Data Range 0 to 8031 875 rpm 4 Engine s operating speed asymmetry Data Length 1 byte adjustment Resolution ratio Range 0 to 250 5 8 Not defined 40 VEHICLE DISTANCE Transmission repetition rate request Data length 8 bytes Data page 0 PDU format 254 PDU specific 224 Default priority 6 Parameter group num
45. be implemented in this gateway to completely support these protocols 1 Currently the gateway supports the BAM message scheme only for multi packet transmission The RTS CTS scheme will be implemented on request 2 Also the related timing constraint to hold or disconnect a connection is yet to be supported For example the 21 protocol states that data frame has to be received within 200ms after BAM message has been transmitted This time constraint is not implemented in the gateway 3 Our gateway currently supports maximum length of 500 bytes for multi packet frame transmission Diagnostic Message The GWY 300 supports the active diagnostics code via the PGN OxFECA This PGN is maybe of variable length and hence multipacketed too This PGN supports Active Diagnostics i e Faults that are currently present These faults are used to convey the fault cause and other related information as a combination of SPN FMI and OC SPN Suspect Parameter Number FMI Failure Mode Identifier OC Occurrence Count The first byte of the PGN OxFECA always indicates the states of the Status Lamps used for faults for Diagnostics From the 2nd byte onwards the Faults also termed DTC Diagnostic Trouble Codes as follows Byte 1 impe SPN FMI OC SPN FMI OC Lx for DTC 1 for DTC 2 Doc No UMAN GWY 300 B 0106 REVISION 2 43 TYPICAL PROJECTS Example PGN 61443 R Electronic Engine Controller 2 EEC2 Transmission Repetition 50
46. ber 65 248 00FEEO Byte 14 Trip distance Data Length 4 bytes Resolution 0 125 km bit gain 0 km offset Data Range 0 to 526 385 151 9 km 0 to 327 080 569 4 mi 5 8 Total vehicle distance Data Length 4 bytes Resolution 0 125 km bit gain 0 km offset Data Range 0 to 526 385 151 9 km 0 to 327 080 569 4 mi 411DLE SHUTDOWN Transmission repetition rate 1s Data length 8 bytes Data page 0 PDU format 254 PDU specific 228 Default priority 6 Parameter group number 65 252 OOFEE4 Byte 1 Idle shutdown_1 Bit 8 7 Idle shutdown timer state 6 5 Idle shutdown timer override 43 Driver alert mode 2 1 Engine has shutdown by system 2 Idle shutdown 2 Bit 8 7 Idle shutdown timer function 6 1 Not defined 3 Refrigerant press 1 Bit 8 7 Not defined 6 5 Refrigerant high pressure switch 43 Refrigerant low pressure switch 2 1 A C high pressure fan switch Doc No UMAN GWY 300 B 0106 REVISION 2 71 APPENDIX 4 Lamp_commands 5 Engine shutdown_1 6 Engine shutdown_2 7 8 Not defined 42 ENGINE HOURS REVOLUTIONS Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 4 Total engine hours 5 8 Total engine revolutions 43 TIME DATE Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 Seconds 2 Minutes 3 Hours 4 Month e REVISION 2 Bit 8 3 Not defined 2 1
47. c destination address If a node receives a request sent to it specifically it must process the message and send some sort of acknowledgement If a node receives a global request it must respond if it can If a node receives a broad cast message it must determine whether or not it is relevant J1939 uses three methods to communicate over the CAN bus Destination specific communications use the PDU1 Protocol Data Unit 1 formatto send and receive data The PDU1 format allows a message to be directed to specific ECU CAN Node The destination address is included inthe CAN PDU1 CAN frame Broadcast Communications use the PDU2 Process Data Unit 2 format to send a message to multiple nodes The PDU2 message format identifies a message number versus a node number In these applica tions receiving ECU s monitor the CAN bus for specific messages For example a display unit may ignore all other messages as it monitors the bus waiting for the PDUs containing Fuel Temperature and Fuel Pressure Proprietary Communications use both PDU1 and PDU2 formats to send data Parameter Group Number The J1939 specification defines allowable messages by their Parameter Group Number PGN The Parameter Group Number is a 3 byte value that uniquely defines the message purpose A PGN has the following format rC AG Doc No UMAN GWY 300 B 0106 T REVISION 2 18 GETTING STARTED o Reserved Data page bit PDU format Group Extension 6
48. d twisted pair cable Is multi master Maximum Signal frequency used is 1 Mbit sec Length is typically 40M at 1Mbit sec up to 1KM at lower speed Has high reliability with extensive error checking CAN is unusual in that the entities on the network called nodes are not given specific addresses When data are trans mitted by CAN no stations are addressed but instead the content of the message e g rpm or engine temperature is designated by an identifier that is unique throughout the network Identifier not only defines the content but also determines the messages priority CAN Serial Bus CAN is a serial bus system with multi master capabilities that is all CAN nodes are able to transmit data and several CAN nodes can request the bus simultaneously The serial bus system with real time capabilities is the subject of the ISO 11898 international standard and covers the lowest two layers of the ISO OSI reference model In CAN networks there is no addressing of subscribers or stations in the conventional sense but instead prioritized messages are transmitted A transmitter sends a message to all CAN nodes broadcasting Each node decides on the basis of the identifier received whether it should process the message or not The identifier also determines the priority that the message enjoys in competition for bus access Signal Characteristics CAN may be implemented over a number of physical media so long as the drivers are open collector and eac
49. ds 16 control words i e 255 control bits are available by which user can control 255 blocks Control bit corresponds O bit of control word 1 16 Control bit corresponds 0 bit of control word 2 255 Control bit corresponds 15 bit of control word 16 By default 0 to 255 control bits are mapped to 1 to 256 blocks User can change value of the control bit Control Word can be enabled or disabled in Gateway Configuration Normally Control Word is disabled for a New project It can be enabled just by clicking on check box in the setup software Control Word can be chosen from any of the Devices connected If the Control Word field is enabled for the control bit choosen in the project block accordingly the number of words in the control field should be taken For example if 36 Control bit is choosen to control the block then number of words in the Control Word field should be 3 Number of control bits 16 Number of control words If Number of control bits 16 0 Non zero so add 1 in the number of words in the control field then Number of control words Number of control words 1 UMAN GWY 300 B 0106 REVISION 2 29 GWY 300 B FEATURES Inthe above example number of control bits are 36 So 36 16 2 Number of words in control field 36 16 4 i e Non zero so add 1 in the number of words in the control field so number of words in control field are 2 1 3 So number of words in the contr
50. e Display resolution 800 X 600 VGA or better Display colors 16 bit color 7 2 Installation Instruction Use the following procedure to install the Microsoft Windows based Gateway setup software This installation shows the procedure to install the software from a CD Disk on drive E On machines with different drive configurations change the names as needed It is recommended that a backup disk of the Gateway setup software disk be created and stored ina safe place 1 Launch the Windows operating system 2 Insert the setup CD into CD drive 3 Point to the start button then click RUN 4 In the command line box enter E Disk1 setup exe Click OK This will launch the Gateway installer 5 Follow the instructions to complete setup le Desk Gateway Project Each Gateway must be configured before connecting it to the PLC Gateway configuration software allows the following 1 Create a new Gateway project Select protocols for both communication ports of gateway Create blocks for data to be shared Set Communication Parameters for both the ports Set Control Word Optional Set Error Indication Bit etc Optional 2 Downloading Download Project Download drivers Download new firmware if required only for upgrading 3 Upload Project The existing project in the gateway module can be viewed edited 4 Upload System Data This option enables viewing of version number status of firm
51. e 1 Location Data Length 1 byte Resolution Bit mapped Data Range N A 2 Tire pressure Data Length 1 byte Resolution 4 kPa bit gain 0 kPa offset Data Range 0 to 1000 kPa 0 to 145 psi 3 4 Tire temperature Data Length 1 byte Resolution 5 kPa per bit gain 0 kPa offset Data Range 0 kPa to 1250 kPa 0 to 181 psi 5 8 Not defined re nq Doc No UMAN GWY 300 B 0106 REVISION 2 79 APPENDIX 56 AMBIENT CONDITIONS Transmission repetition rate 1s Data length i 8 bytes Data page 0 PDU format 254 PDU specific 245 Default priority 6 Parameter group number 65 269 OOFEFS Byte 1 Barometric pressure Data Length byte Resolution 0 5 kPa bit gain 0 kPa offset Data Range 0 to 125 kPa 0 to 18 1 psi 2 3 Cab interior temperature Data Length 2 bytes Resolution 0 03125 C bit gain 273 C offset Data Range 273 to 1735 0 459 4 to 3155 0 F 45 Ambient air temperature Data Length 2 bytes Resolution 0 03125 C bit gain 273 C offset Data Range 273 to 1735 0 459 4 to 3155 0 F 6 Air inlet temperature Data Length byte Resolution 1 O bit gain 40 C offset Data Range 40 to 210 C 40 to 410 F 7 8 Road surface temperature Data Length 2 bytes Resolution 0 03125 C bit gain 273 C offset Data Range 273 to 1735 0 C 459 4 to 3155 0 F 57 INLET EXHAUST CONDITIONS Transmission repetition rate 0 5s Data length 8 bytes Data page 0 PDU format 254 PDU specific 246 Default p
52. e 50 ms Data length 8 bytes Data page 0 PDU format 240 PDU specific 3 Default priority 3 Parameter group number 61 443 007003 Byte 1 Status_EEC2 Bit 8 5 Not defined 4 3 AP kickdown switch 2 1 AP low idle switch 2 Accelerator pedal AP position Data Length 1 byte Resolution 0 4 bit gain 096 offset Data Range 0 100 3 Percent load at current speed DataLength 1 byte Resolution 1 bit gain 096 offset Data Range 0 125926 Doc No UMANNGWY 300 B 0106 REVISION 2 Es 55 APPENDIX Byte 4 Remote accelerator DataLength 1 byte Resolution 0 4 bit gain 096 offset Data Range 0 100 5 8 Not defined 11 ELECTRONIC ENGINE CONTROLLER 1 EEC1 Transmission repetition rate 5 Engine speed dependent Data length 8 bytes Data page 0 PDU format 240 PDU specific 4 Default priority 3 Parameter group number 61 444 007004 Byte 1 Status_EEC1 Bit 8 5 Not defined 4 1 Engine retarder torque mode 2 Driver s demand engine percent torque 3 Actual engine percent torque 4 5 Engine speed 6 8 Not defined 12 ELECTRONIC TRANSMISSION CONTROLLER 2 ETC2 Transmission repetition rate 100 ms Data length 8 bytes Data page 0 PDU format 240 PDU specific 5 Default priority 6 Parameter group number 61 445 007005 Byte 1 Selected gear Data Length 1 byte Resolution 1 gear value bit 125 offset Data Range 125 to 125 negative values are reverse gears positive values
53. eady present in internal database memory of Gateway driver every time before performing write operation data is compared with the internal memory data In this way unnecessary write operations can be avoided The PLC2 driver uses this data whenever needed according to gateway project The Internal database is associated only with Master drivers Every Master driver has its own internal database of 3KBytes Data fetched by the master driver from external slave device is loaded into its internal memory in continuous fashion irrespective of block execution of Gateway project Background communication Enable Disable default setting depends on PLC or Device protocol The speed of data transfer is improved because of Internal database since it reduces the number of block executions required by the Gateway software rC AG Doc No UMAN GWY 300 B 0106 REVISION 2 34 NOTE ON COMMUNICATION DRIVERS Background Read Operation Write Operation Write in Internal Memory Master Driver Slave Devi SAN 3KBytes J1939 71 Internal Driver Database Write in External serial device Above figure explains the operation of Master Master mode with background communication At power on each master driver will get all inputs from their internal database Setup and according to that information starts fetching and loading data into its internal database memory irrepective of excution of project blocks The master driver will read all
54. eter Group Number 3 2 Introduction To GWY 300 B 3 3 GWY 300 B Operation Configuration And Communication 3 4 Configuration of GWY 300 B IBM Download 3 4 1 When GWY 300 B can accept configuration GWY 300 B FEATURES 4 1 Gateway Modes 4 1 1 Master Master Configuration 4 1 2 Master Slave Configuration 4 2 Repeat Cycle 4 3 Control Word 4 4 Error Indication Bit 4 5 Communication Parameters NOTE ON COMMUNICATION DRIVERS 5 1 Note On Communication Drivers TYPICAL PROJECTS AND APPLICATIONS 6 1 Project Setup 6 2 Applications 6 3 Support for Diagnostics CONFIGURATION SOFTWARE 7 1 System Requirements 7 2 Installation Instruction APPENDIX A Parameter Group Number B Description of Parameter Group Number C Details of Rotochopper Application D Troubleshooting Ilo o o INTRODUCTION INTRODUCTION In this chapter Purpose of this manual Introduction To Gateway GWY 300 B Specifications e Doc No UMAN GWY 300 B 0106 REVISION 2 INTRODUCTION 1 1 Purpose of this manual Thank you for purchasing GWY 300 B Product from Renu Electronics Pvt Ltd The intention of this User Manual is to provide a guide for Safe installation Configuration and operation of GWY 300 B Functionality of all the Gateway models is same Read this User manual thoroughly before installing and operating GWY 300 B This document is based on information available at the time of its publication While effor
55. eumatic supply pressure 2 Parking and or trailer air pressure Data Length Resolution Data Range 3 Service brake air pressure circuit 1 Data Length Resolution Data Range 4 Service brake air pressure circuit 2 Data Length Resolution Data Range 5 Auxiliary equipment supply pressure Data Length Resolution Data Range 6 Air Suspension supply pressure Data Length Resolution Data Range 7 8 Not defined 1 byte 5 kPa per bit gain 0 kPa offset 0 kPa to 1250 kPa 0 to 181 psi 1 byte 5 kPa per bit gain 0 kPa offset 0 kPa to 1250 kPa 0 to 181 psi 1 byte 5 kPa per bit gain 0 kPa offset 0 kPa to 1250 kPa 0 to 181 psi 1 byte 8 kPa per bit gain 0 kPa offset 0 kPa to 2000 kPa 0 to 290 psi 1 byte 8 kPa per bit gain 0 kPa offset 0 kPa to 2000 kPa 0 to 290 psi 1 byte 8 kPa per bit gain 0 kPa offset 0 kPa to 2000 kPa 0 to 290 psi 1 byte 8 kPa per bit gain 0 kPa offset 0 kPa to 2000 kPa 0 to 290 psi 1 byte 8 kPa per bit gain 0 kPa offset 0 kPa to 2000 kPa 0 to 290 psi 59 APPENDIX 17 FUEL CONSUMPTION GASEOUS Transmission repetition rate On request Data length 8 bytes Data page 0 PDU format 254 PDU specific 175 Default priority 7 Parameter group number 65 199 OOFEAF 6 Byte 1 4 Trip fuel Data Length 4 bytes Resolution 0 5 kg per bit gain 0 kg offset Data Range 0 kg to 2 105 540 607 5 kg 5 8 Total fuel used Data Length 4 bytes Resolution 0 5 kg per bit gain
56. f Packets 2 to 255 1 byte zero not allowed Maximum Number of Packets 2 to 255 1byte zero through 1 are not allowed Number of Packets that can be sent to 255 Next Packet Number to be SEHE 1to 255 Sequence Number i 1 to 255 1 byte 1 byte zero not allowed 1 byte zero not allowed rC AQ Es Doc No UMAN GWY 300 B 0106 REVISION 2 53 APPENDIX 7 ELECTRONIC RETARDER CONTROLLER 1 ERC1 Transmission repetition rate 100 ms Data length 8 bytes Data page 0 format 240 PDU specific 0 Default priority 6 Parameter group number 61 440 00 000 Note This message can also be used by the engine exhaust brake The distinction of engine brake and retarder is done by the source address Byte 1 Status_ERC1 Bit 8 7 Retarder enable shift assist switch 6 5 Retarder enable brake assist switch 4 1 Engine retarder torque mode 2 Actual retarder percent torque 3 Intended retarder percent torque 4 Coolant load increase Bit 83 Not defined 2 1 Engine coolant load increase 5 8 Not defined 8 ELECTRONIC BRAKE CONTROLLER 1 EBC1 Used for brake control information Transmission repetition rate 100 ms Data length 8 bytes Data page 0 PDU format 240 PDU specific 1 Default priority 6 Parameter group number 61 441 00 001 Byte 1 Status_EBC1 Bit 8 7 Not defined 6 5 ABS active 43 ASR brake control active 2 1 ASR engine control active
57. f the downloaded project do not match As mentioned earlier if only two nodes are been used Point To Point Communication can be enabled else the right value of the station ID has to be determined and used in the project Note For receiving any PGN on the CAN while creating the project the corresponding PGN User wants to receive should have 0 suffix For example P0 000F000 For transmitting any PGN on the CAN while creating the project the corresponding PGN User wants to trans mit should have 1 suffix For example P1 000F000 Doc No UMAN GWY 300 B 0106 REVISION 2 90 APPENDIX If serial data is not displayed on CAN For receiving any PGN on the CAN while creating the project the corresponding PGN User wants to receive should have 0 suffix For example P0 000F000 For transmitting any PGN on the CAN while creating the project the corresponding PGN User wants to transmit should have 1 suffix For example P1 000F000 rC AQ e Doc No UMANNGWY 300 B 0106 REVISION 2 91
58. h node can hear itself and others while transmitting this is necessary for its message priority and error handling mechanisms The most common media is a twisted pair 5v differential signal which will allow operations in high noise environments When running Full CAN ISO 11898 2 at its higher speeds it is necessary to terminate the bus at both ends with 120 Ohms The resistors are used to prevent reflections CAN Device CAN Bus CAN Device rC AQ Doc No UMAN GWY 300 B 0106 REVISION 2 15 GETTING STARTED Message Format The CAN protocol uses a modified version of the Carrier Sense Multiple Access Collision Avoidance CSMA CA tech nique used on Ethernet Should two messages determine that they are both trying to send at the same time then instead of both backing off and re trying later as is done with Ethernet in the CAN scheme the transmitters detect which mes sage has the highest priority and only the lower priority message gets delayed This means that a high priority message is sure of getting through CAN protocol supports two message frame formats only essential difference is in the length of the identifiers ID In Standard format length of ID is 11 bits and in Extended format the length is 29 bits The message frame for transmitting frames comprises 7 main fields A Standard format CAN Message CAN 2 0A Arbitration Field Control Field Data Field CRC ACK Endof Int Bus idle Field
59. ime based Data Length 1 byte Resolution 1 week bit gain 125 weeks offset Data Range 125 to 125 weeks 6 Service component identification Data Length 1 byte Resolution 1 Component ID bit Data Range 0 to 250 7 8 Service delay operational time based Data Length 2 bytes Resolution 1 h bit gain 32 127 h offset Data Range 32 127 to 32 128 h reaw 65 APPENDIX 28 HIGH RESOLUTION VEHICLE DISTANCE Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 4 5 8 High resolution trip distance High resolution total vehicle distance 1s 8 bytes 0 254 193 6 65 217 OOFEC1 Data Length 4 bytes Resolution 5 m bit gain 0 m offset 16 4 ft bit gain 0 ft offset Data Range 0 to 21 055 406 km 0 to 13 054 351 8 mi Data Length 4 bytes Resolution 5 m bit gain 0 m offset 16 4 ft bit gain 0 ft offset Data Range 0 to 21 055 406 km 0 to 13 054 351 8 29 ELECTRONIC RETARDER CONTROLLER 2 ERC2 Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 Retarder status 2 8 Not defined 1 s when active or on change of state 30 ELECTRONIC TRANSMISSION CONTROLLER 5 ETC5 Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 Range switch 2 Direction switchBit
60. in 0 km h offset 1 412 mph bit gain 0 mph offset upper byte resolution 1 0 km h bit 0 62 mph bit 44 VEHICLE HOURS Transmission repetition rate on request Data length 8 bytes Data page 0 PDU format 254 PDU specific 231 Default priority 6 Parameter group number 65 255 00 Byte 14 Total vehicle hours Data Length Resolution Data Range 5 8 Total power takeoff hours Data Length Resolution Data Range 45 VEHICLE DIRECTION SPEED Transmission repetition rate request Data length i 8 bytes Data page 0 PDU format 254 PDU specific 232 Default priority 6 Parameter group number 65 256 00FEES Byte 1 2 Compass bearing Data Length Resolution Data Range 3 4 Navigation based vehicle speed Data Length Resolution Data Range rC A Q Doc No UMAN GWY 300 B 0106 REVISION 2 Es 0 to 251 km h 0 to 156 mph 13 APPENDIX 5 6 Pitch 7 8 Altitude 46 FUEL CONSUMPTION Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 4 Trip fuel 5 8 Total fuel used 47 VEHICLE WEIGHT Transmission repetition rate Data length Data page PDU format PDU specific Default priority Parameter group number Byte 1 Axle location 2 3 Axle weight 4 5 Trailer weight e REVISION 2 Data Length Resolution Data Range Data Length Resolution Data Range 2 bytes 1 128 degree bit gain
61. ls LED Status renu e Doc No UMANNGWY 300 B 0106 REVISION 2 HARDWARE 2 1 Dimensional details And Mounting Instructions GWY 300 B unit can be mounted on a back panel or on a DIN rail or can be left hanging It comes with a separate DIN rail plate when it is packed User will have to attach the DIN rail plate to the unit if it has to be mounted on a panel or DIN rail If it has to be left hanging make sure to screw the cables to the DB9 connectors on the Gateway unit DIN rail plate also has the provision to screw the unit to the back panel Following drawing shows how to attach the DIN rail plate to the unit 40 DIN rail clamp E E DIN GWY 300 rai clip rd Follow instructions given below 1 Attach the DIN rail plate to the unit using the clamps on the DIN rail plate 2 Pull out the clip of the plate 3 Put the unit on the DIN rail 4 Push the clip in to secure the unit on the DIN rail GWY 300 B unit is shipped with a separate DIN rail plate which has to be attached to the unit if needed User can use the unit with or without the DIN rail plate Following sketch shows mounting details of GWY 300 B with the DIN rail plate Doc No UMAN GWY 300 B 0106 REVISION 2 10 HARDWARE 50 6 mm gt 109 mm 4 29 in coin 14 2 2 Communication Port Details Gwy 300 B has two communication ports COM1 and COM2 COM1 port is compactible to RS232 RS422
62. ment For RTS CTS scheme the transmitter sends the RTS frame to the concerned node which has to respond with a CTS frame and thereby setup a connection and data transfer takes place from the transmitter to the receiver Several other frames may be send by the responder in between to keep the connection active In the end the responder sends an Acknowledge frame to indicate successful termination of the connection For all successful unsuccessful aborts holding a connection the responder is responsible and is in control of the line NOTE 0 0 and OxEBOO are PDU I format and hence can be destination specific 0 254 global FF PGN OxECOO is used for the transportation layer Its first byte is the control word that states whether this frame i e 0 0 is a RTS CTS ACK or ABORT message This is followed by transmission of PGN OxEBOO used for data transfer in transport layer that carries the sequence num ber and seven data bytes of the multi packet frame transmitter receiver transmitter receiver BAM msg RTS OxECxx data OxECxx OxEBxx CTS data OxEBxx OxEBxx data OxEBxx data data OxECxx ACK rea 4 Doc No UMAN GWY 300 B 0106 REVISION 2 42 TYPICAL PROJECTS Currently the fault codes for the active diagnostic codes and previously active diagnostic codes are been supported Hence we provide the support for J1939 73 But there are still some issues that are yet to
63. ms Data Length 8 Data Page 0 PDU Format 240 PDU Specific 3 PGN Supporting Information Default Priority 3 Parameter Group Number 61443 0xF003 Start Position 1 1 1 3 1 5 1 7 2 3 4 5 6 1 Length 2 bits 2 bits 2 bits 2 bits 1 byte 1 byte 1 byte 1 byte 2 bits Parameter Name Accelerator Pedal 1 Low Idle Switch Accelerator Pedal Kickdown Switch Road Speed Limit Status Accelerator Pedal 2 Low Idle Switch Accelerator Pedal Position 1 Engine Percent Load at Current Speed Remote Accelerator Pedal Position Accelerator Pedal Position 2 Vehicle Acceleration Rate Limit Status SPN 558 559 1437 2970 91 92 974 29 2979 Above are the SPN mentioned for several Parameters Now when this fault occurs the corresponding SPN along with the FMI is transmitted The FMI as the name indicates gives the reason mode for the Fault OC gives the number of times the Fault has occurred rca e Doc No UMAN GWY 300 B 0106 REVISION 2 44 CONFIGURATION SOFTWARE CONFIGURATION SOFTWARE In this chapter System Requirements Installation Instruction rC AQ a Doc No UMAN GWY 300 B 0106 REVISION 2 45 CONFIGURATION SOFTWARE 7 1 System Requirements System Requirement for Gateway setup software are Windows Version Microsoft Windows XP 2000 Windows 7 VISTA 32 64 bits Processor PENTIUM or higher Hard disk Space 5 MB or more Serial Mouse Required RAM 64 MB or mor
64. n 3KBytes Care should be taken while creating the project Doc No UMAN GWY 300 B 0106 REVISION 2 25 GWY 300 B FEATURES 4 1 2 Master Slave Configuration In this mode one of the Gateway ports is a master and other is the slave so the devices connected on these ports are slave and master respectively Blocks do not control data transfer in this mode Data transfer takes place only when Master Device connected on slave port of Gateway sends a request to read write data This mode requires mapping registers for data transfer Mapping means defining one or multiple registers in the Slave Device corresponding to one or multiple registers in the Master Device Mapping can be done using the Block definition area so in this mode any Block is used for mapping registers of the two devices In Block Definition area Words Field indicates number of registers to be mapped linearly from the starting addresses of the Source Device to the Destination Device Maximum number of registers that can be mapped is 255 but this does not mean that Master Device has to read write 255 registers in one command In one command Master can read write registers from one Block only so if multiple registers are to be read written using a single command Words also limits the maximum number of registers to be read written Number of registers to be read written in one command also depends on protocol of BOTH the devices Buffer capacity of Gateway
65. nding a torque limit of 096 For example this permits the brake switch to enable the retarder up to an amount selected by another device or the operator Note that the brake switch can be treated as an operator input mode 00015 or as a brake system input mode 10105 relative to the active torque mode rC AQ Es Doc No UMAN GWY 300 B 0106 REVISION 2 5 APPENDIX 2 RESET Transmission repetition rate When needed Data length x 8 bytes Data page 0 PDU format 222 PDU specific Destination address Default priority 7 Parameter group number 56 832 000 00 Byte 1 Trip reset 2 Service component to reset 3 8 Not defined Bit 8 5 Not defined 43 Trip group 2 Proprietary 2 1 Trip group 1 Note This message requires an Acknowledgement response See J1939 21 3 4 4 from the receiving node The use of individual proprietary protocols can still be used instead of the trip reset PGN to maintain security 3 CAB MESSAGE 1 CM1 Transmission repetition rate 1 Data length 8 bytes Data page 0 PDU format 224 PDU specific Destination address Default priority 6 Parameter group number 57 344 00E000 Byte 1 Requested percent fan speed 2 8 Not defined 4 REQUEST Transmission repetition rate Per user requirements generally recommended that requests occur no more than 2 or 3 times per second Data length i 3 bytes The CAN frame for this PG shall set the DLC to 3 Data page 0 PDU format 234
66. ol field should be choosen as 3 For any block any control bit can be choosen Control Word can only be used in Master Master mode since no continuous data transfer takes place in Master Slave mode data transfer only takes place on Master s request When the Control Word is disabled Block execution is totally controlled by Repeat Cycle settings When the Control Word is enabled Block execution is controlled using discrete bits of that word Bit 0 in control word controls execution of Block 1 Bit 1 in control word controls execution of Block 2 Bit 15 in control word controls execution of Block 16 When a bit is high 1 corresponding Block is executed depending on its Repeat Cycle When a bit is low 0 execution of corresponding Block is disabled 4 4 Error Indication Bit This feature enables detection of communication breaks during error free communication between Gateway and two devices Communication breaks can occur due to no cable connection wire faults device power failure at both ends of Gateway An Error bit can be designated in each external device connected to Gateway Using this bit fault at the PLC1 end can be reported to PLC2 Device and fault at PLC2 end can be reported to PLC1 Device When communication error occurs on PLC1 Gateway sets error bit in PLC2 device Error Indication Bit can only be used in Master Master mode In Master Slave mode any error can easily be detected by a communication time out on the M
67. on Hardware Test Help Beck Ho t WordsBts Sowse PLC Sowee ID Souce Adder Desinaton PLC Destnaton IP Destmaton Address Repeat Comment CAN J1333 71 1 0 000 000 Modbus Gatewa 1 400001 CAN J1939 71 1 PO 000F004 Modbus Gatewa 1 400005 Modbus Gatewa 1 400010 17 CAN 1939 71 1 1 000 i IDB FOR COMI Starting Address Hwords Bits_ Scaling Factor Skip For Cycle Skip on Comm Fail Fail Value IDB FOR COM2 Ext DeviceID PGN Number DataType words Bits_ PGN Length Priority Souce GwY D FailValue ass rais renu Doc No UMAN GWY 300 B 0106 REVISION 2 33 NOTE ON COMMUNICATION DRIVERS According to the project defined in Gateway software the Gateway software automatically generates its own IDB Gateway drivers use this IDB for optomized communication as explained below 1 Registers required for a project are grouped in a block of registers calculation based optimized block and entire block is read By Gateway in one cycle instead of reading individual registers 4 words from 400001 4 words from 400005 4 words from 400010 are grouped in one block Please refer the first block IDB FOR 1 These blocks are uploaded read in continuous fashion in the background by Gateway driver and data is stored in internal database memory So time required for read cycle is optimized 2 Write operations are on comparison basis Since all the registers data is alr
68. on oil pressure 40066 D0065 Transmission oil temperature 40067 D0066 Not Defined reaw Doc No UMAN GWY 300 B 0106 REVISION 2 89 Es APPENDIX D Troubleshooting If you do not know the ID of your ECU Point To Point Communication If ONLY TWO nodes will communicate with one another one our Gateway and the other say for e g an ECU Electronic Control Unit of an Engine whose station ID is unknown Enable the Point to Point Communication by making the following tab as one Now irrespective of the Station ID of the ECU communication will take place successfully PLC Advance Setting Internal Tag Data Present flies 1 Source ID 1 99 1 Point2Point Communication 0 1 0 5000 v Default 0 No a Make it 1 Yes to enable Point to v point Skip on Communication If CAN LED is not blinking The CAN led is for indicating that proper communication has been enabled on the CAN network If it does not blink after downloading the 2 probable reasons could be 1 Improper selection of Baud Rate in the PLC2 Settings in the Project file 2 Improper Termination this can be solved by using a 1200hm resistor at the CAN terminal on the GWY 300 CAN port Now the CAN Led blinking is an indication that the communication is right So if the LED blinks and yet data is not available indicates that the Station ID of the external device and the one entered in the Target ID column o
69. perature exceed presets First Find the PGNs parameter group numbers that have the engine RPM and oil temperature PGN for RPM is 61444 OOF004 see page no 20 7 Electronic Engine Controller PGN for Temp is 65262 OOFEEE see page 40 45 Engine Oil Temperature Note Both of these PGNs map data across 8 bytes 4 PLC data registers Second Use the Gateway setup software to create a program that maps RPM and Oil Temperature into the PLC data registers rC AQ Doc No UMAN GWY 300 B 0106 REVISION 2 39 TYPICAL PROJECTS test prj Gateway GWY 300 CAN Gateway x File Edit View Communication Hardware Test Book No ewo Sewe PLC Sauce ID Aders Destnaton PLE Desti Desinaion Repeat CAN J1939 71 iN m TOFTE 1 000000 1 Data Register 00 03 CAN M939 71 1 PO O00FEEE J Toshiba 1 600004 1 Data register D4 D5 IDB FOR COM1 Starting Address tWords Bits Skip For Cycle Skip Comm Fail Fail Value Tee a a cal ea IDB FOR COM2 Est Device PGN Number HWords Bits PGN Length Priority Source GwYJID__ Fail Value cau e Doc No UMAN GWY 300 B 0106 REVISION 2 40 TYPICAL PROJECTS F004 is selected from the given PGNs F000 F006 and FEEE is selected from given PGNs FEE4 FEEF Third Understand where RPM and Oil Temperature values are stored in the PLC data registers The data bytes of F004 are
70. r Master Slave Mode The unit will go into the IBM download mode for 10 sec at power ON For the first time download Firmware driver and project Only in IBM download mode firmware drivers and project can be downloaded At power on if OK LED does not glow indicating that the downloaded firmware drivers or project CRC are not correct or either of them is not present IMPORTANT NOTE AS GATEWAY HAS MULTIPLE SIGNALS ON ITS COMMUNICATION PORTS IBM CABLE FOR GATEWAY MUST HAVE ONLY THREE RS232 SIGNALS TXD RXD AND GND AS MENTIONED ABOVE 9 9 PIN CORE CABLE SHOULD NOT BE USED rC AQ B Doc No UMAN GWY 300 B 0106 T REVISION 2 20 GETTING STARTED 3 4 1 When GWY 300 B can accept configuration If current driver present for PLC1 port is Master e g Modbus Gateway as Master First it is checked that whether device is connected port1 If device is connected it continues normal operation If device is not connected it checks for IBM download mode for 10sec This sequence continues until either is satisfied If current driver present for PLC1 port is Slave e g Modbus Gateway as Slave If Port1 of Gateway is Slave all the configurations should be downloaded only at power on for 10sec R Doc No UMAN GWY 300 B 0106 t REVISION 2 21 GWY 300 B FEATURES GWY 300 B FEATURES In this chapter Gateway Modes Repeat Cycle Control Word Error Indication Bits Communication Parameters rea e
71. re than 3KBytes Care should be taken while creating the project rC AG Doc No UMAN GWY 300 B 0106 T REVISION 2 28 GWY 300 B FEATURES 4 2 Repeat Cycle User can control Block execution by using the Repeat Cycle field This number decides whether the Block will be executed in each cycle Larger the number lower the priority of the Block Range for Repeat Cycle setting is 1 99 Repeat Cycle 1 Highest priority Repeat Cycle 99 Lowest priority Repeat cycle is important when using Gateway in Master Master mode If Gateway is used in Master Slave mode Repeat Cycle field should be kept as 1 Repeat cycle defines the number of times a Block will be skipped while executing Blocks in a sequential manner Block will not be executed for Repeat Cycle 1 cycles So if Repeat Cycle for a Block is 1 it will be executed in each cycle whereas if Repeat Cycle is 2 then this Block will NOT be executed in alternate cycles For example suppose Blocks are defined with following Repeat Cycles Block 1 Repeat Cycle 1 Block 2 Repeat Cycle 2 Block 3 Repeat Cycle 3 Block 4 Repeat Cycle 4 After power up Cycles will be executed as follows Cycle 1 Block 1 Block 2 Block 3 Block 4 Cycle 2 Block 1 Cycle 3 Block 1 Block 2 Cycle 4 Block 1 Block 3 Cycle 5 Block 1 Block 2 Block 4 4 3 Control Word Another way of controlling Block execution is by use of the Control Wor
72. request from Modbus Master is executed as follows 1 Modbus Master connected on serial port COM1 sends command to Gateway for reading holding register 400001 2 Gateway searches defined Blocks and checks whether this register is mapped to any CAN PGN In example holding register 400001 is mapped to 0 000 003 in Block 1 Gateway accepts this command and sends the data corresponding to PGN P0 000F003 Since P0 000F003 is of receiving type of PGN user can not write data in this PGN In Block2 P1 000F000 is of transmitting type of PGN which is mapped with 40005 As only one word is mapped user can write data in 40005 4 words Length corresponding to 000 003 are sent on CAN but only first two bytes of this PGN can be changed using Modbus register 40005 since only one word is mapped If Master sends a command to read write a register not defined in any Block then Gateway sends exception response to master NOTES 1 As Gateway Setup Software is common for both the Gateway Modes titles in the Block Definition Area may not be appropriate when using Gateway in Master Slave mode e g Source ID Source PLC Destination PLC 2 In Master slave mode If somebody mapped read only registers at destination end to any registers at source end it s users responsibility that these registers are not going to be written by master 3 Internal tag database entry should be such that the total memory of CAN should not exceed mo
73. riority 6 Parameter group number 65 270 OOFEF6 Byte 1 Particulate trap inlet pressure Data Length byte Resolution 0 5 kPa bit gain 0 kPa offset Data Range 0 to 125 kPa 0 to 18 1 psi 2 Boost pressure Data Length byte Resolution 2 kPa bit gain 0 kPa offset Data Range 0 to 500 kPa 0 to 72 5 psi 3 Intake manifold temperature Data Length 1 byte Resolution 1 C bit gain 40 C offset Data Range 40 to 210 40 to 410 F rC AG Es REVISION 2 Doc No UMAN GWY 300 B 0106 80 4 6 7 Air inlet pressure Air filter differential pressure Exhaust gas temperature Coolant filter differential pressure 58 VEHICLE ELECTRICAL POWER Transmission repetition rate 1s Data length 8 bytes Data page 0 PDU format 254 PDU specific 247 Default priority 6 Parameter group number Byte 1 Net battery current 2 Alternator current 3 4 Alternator potential voltage 5 6 Electrical potential voltage 7 8 Battery potential voltage switched Doc No UMAN GWY 300 B 0106 REVISION 2 Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range 65 271 OOFEF7 Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range Data Length Resolution Data Range APPENDIX 1 byte 2 kPa bit gain 0 kPa offset
74. rpm offset Data Range 0 to 8031 875 rpm 6 Measured PTO 1 Bit 8 7 Not defined 6 5 Remote PTO variable speed control switch 4 3 Remote PTO preprogrammed speed control switch 2 1 PTO enable switch 7 Measured 2 Bit 8 7 PTO accelerate switch 6 5 PTO resume switch 4 3 PTO coast decelerate switch 2 1 PTO set switch 8 Not defined 52 CRUISE CONTROL VEHICLE SPEED Transmission repetition rate 100 ms Data length 8 bytes Data page 0 PDU format 254 PDU specific 241 Default priority 6 Parameter group number 65 265 OOFEF1 Byte 1 Measured_SW1 Bit 8 5 Not defined 43 Parking brake switch 2 1 Two speed axle switch 2 3 Wheel based vehicle speed Data Length 2 bytes Resolution 1 256 km h bit gain 0 km h offset 1 412 mph bit gain 0 mph offset Upper byte resolution 1 0 km h bit 0 62 mph bit Data Range 0 to 251 km h 0 to 156 mph rC AQ Es Doc No UMAN GWY 300 B 0106 REVISION 2 7 APPENDIX 4 Measured_CC_SW1 Bit 8 7 Clutch switch 6 5 Brake switch 4 3 Cruise control enable switch 2 1 Cruise control active 5 Measured_CC_SW2 Bit 8 7 Cruise control accelerate switch 6 5 Cruise control resume switch 43 Cruise control coast switch 2 1 Cruise control set switch 6 Cruise control set speed Data Length byte Resolution km h bit gain 0 km h offset Data Range 0 to 250 km h 0 km h to 155 mph 7 State CC Bit 8 6 Cruise control state 5 1 PTO state 8 Measured Idle SW1 Bit 8 7 Not defined
75. s 7 8 Trip number of sudden decelerations Data Length 2 bytes Resolution 1 count per bit 0 counts offset Data Range 0 to 64 255 counts 23 TRIP VEHICLE SPEED CRUISE DISTANCE INFORMATION Transmission repetition rate Onrequest Data length 8 bytes Data page 0 PDU format 254 PDU specific 82 Default priority 7 Parameter group number i 65 206 O0FEBO Byte 1 2 Trip maximum vehicle speed Data Length 2 bytes Resolution 1 256 kph per bit 0 kph offset Data Range 0 to 250 996 kph 3 6 Trip cruise distance Data Length 4 bytes Resolution 0 125 km per bit 0 km offset Data Range 0 km to 526 385 151 9 km 0 mi to 327 080 569 4 mi 7 8 Not defined e Doc No UMAN GWY 300 B 0106 REVISION 2 62 APPENDIX Es REVISION 2 Doc No UMAN GWY 300 B 0106 24 FAN DRIVE Transmission repetition rate 1s Data length 8 bytes Data page 0 PDU format 254 PDU specific 189 Default priority 6 Parameter group number 65 213 OOFEBD Byte 1 Estimated percent fan speed Data Length 1 byte Resolution 0 4 bit gain 0 offset Data Range 0 to 100 2 State Fan Drive Bit 8 5 Not defined 4 1 Fan drive state 3 8 Not defined 25 ELECTRONIC ENGINE CONTROLLER 4 EEC4 Transmission repetition rate Onrequest Data length 8 bytes Data page 0 PDU format 254 PDU specific 190 Default priority 7 Parameter group number 65 214 00 Byte 1 2 Rated engine power Data Length 1 byte
76. see the example of Master Master mode as shown in the picture below Configure Gateway ports as PLC1 Protocol Modbus Gateway as Master PLC2 Protocol CAN J1939 71 master master mode prj Gateway GWY 300 CAN Gateway Efx File Edit View Communication Hardware Test Help Block No tt words Bits Source PLC Source ID Source Address Destination PLC Destination Address 00004 Modbus Gatewa 1 400001 CAN J1939 71 1 P1 000F 003 00004 CAN J1333 71 1 000 000 _ gt Modbus Gatewa 1 400005 171 IDB FOR COM1 Node Ades Starting Address Em For t Cycle Skp on Comm Fail Fail Value IDB FOR COM2 ExtDeviceID PGN Number DataType Words Bits PGN Length Priority Souc GWwY D Fal vale 1 P1 000F003 Output 8 1 PO O00F000 Input D 8 c co Words defines number of registers to be read written between two devices Block 1 Gateway reads 4 words starting from 400001 from Modbus and write these 4 words data to internal memory of CAN Since this data is transmitted on CAN PGN with suffix 1 is selected PGN P1 000F003 Block 2 Gateway reads 4 words corresponding to PGN 0 000 000 from internal memory of CAN and writes it to holding register starting from 400005 As this example has only two blocks Gateway will execute Block 1 after executing Block 2 continuing this cycle forever Note 1 Internal tag database entry should be such that the total memory of CAN should not exceed more tha
77. should be used for Rs485 Network Upto 31 Devices can be multi dropped on RS485 port of Gateway Port Details for COM2 Cove SIGNAL Shield 03 CAN L rC AQ Doc No UMAN GWY 300 B 0106 t REVISION 2 12 HARDWARE 2 3 LED Status There are 3 LEDs for status indication Bicolour LEDs status OK Green or No Firmware Both side COM1 and COM2 communication OK Red PLC1 Green OFF No data received on PLC1 Port Configuration Ok Configuration Fault Flashing Receving data on PLC1 Port No error in PLC1 attach or while block execution Flashing PLC1 attach error or error while block execution Red OF No data received on CAN Port Flashing Receving data on CAN Port Flashing O OFF ON OFF ON OFF ON OFF ON OFF ON OFF N renu Doc No UMAN GWY 300 B 0106 REVISION 2 GETTING STARTED GETTING STARTED In this chapter Introduction To CAN J1939 Introduction To GWY 300 B GWY 300 B Operation rC AG Doc No UMAN GWY 300 B 0106 T REVISION 2 14 GETTING STARTED 3 1 Introduction To CAN The Controller Area Network CAN is a serial bus system was defined in the late 1980 by Bosch especially suited for networking intelligent devices as well as sensors and actuators within a system or sub system CAN consists of 3 layers Physical Layer Data link Layer and Application Layer It has the following characteristics Uses a single terminate
78. stored in DO D3 as shown High Byte Low Byte 0000 Byte1 of F004 Byte2 of F004 Status EEC1 Driver s demand engine percent torque D001 Byte3 of F004 Byte4 of F004 Actual engine percent torque Engine speed D002 Byte5 of F004 Byte6 of F004 Engine speed Not defined 0003 Byte7 of F004 Byte8 of F004 Not defined Not defined As per the description of F004 given in Appendix Byte 1 Status Bit 8 5 Not defined 4 1 Engine retarder torque mode 2 Driver s demand engine percent torque 3 Actual engine percent torque 4 5 Engine speed 6 8 Not defined In the same way FEEE data is also mapped to D4 D7 The values seen in the PLC registers are with Offset and Multiplying factor So the actual values are calculated as follows Value seen in the PLC register Data resolution factor Offset Data Resolution factor and Offset are given in the corresponding PGN description For Engine oil temperature Data Length 2 bytes Resolution 0 03125 C bit gain 273 C offset Data Range 273 to 1735 0 459 4 to 3155 0 F The value seen for PLC data register is X Then the actual value is Y in C X 0 03125 273 C The minimum and maximum values for Y are given in data range i e 273 min amp 1735 C In this way the PLC registers are mapped with the CAN PGNs Doc UMAN GWY 300 B 0106 REVISION 2 41 TYPICAL PROJECTS 6 3 Support for Diagnostics The GW
79. that is key to each CAN data frame that is send In J1939 Data type Range Repetation Rate etc together with the corresponding parameter group number determine the respective message identifier The SAE J1939 frame format is as shown Arbitration Field Control Data CRC ACK End of Int Bus Idle L Field Field 4 Field ans Jet S 1 r 11 bit IDENTIFIER 18bitIDENTIFIER T 1 DLC 0 8 Bytes 0 15 bits CRC F 1 2 8 3 6 J 0 8 bytes Priority Data Page Source Address Data Field P DP SA DF Reserved Data Content PDU Specific DC PS Two PDU formats are defined PDU1 format PS Destination address and PDU2 format PS Group Extension 1 PDU1 format allows for direction of CAN data frame to a specific destination address device 2 PDU2 format can only communicate CAN data frames that are not destination specific Doc No UMAN GWY 300 B 0106 REVISION 2 17 GETTING STARTED J1939 messages are sent using the CAN Extended Frame A J1939 message consists of the following components Priority This 3 bit field is used to define the priority during arbitration 000 is the highest priority and is usually associated with high speed control messages Low priority is used for noncritical configuration and information messages Data
80. transferred to the other Our users have used Gateway units in different applications across many industries The typical configuration includes the following X Protocol renu e Doc No UMAN GWY 300 B 0106 REVISION 2 INTRODUCTION 1 3 GWY 300 B Specifications 24V DC 10 100mA max 3 Bicolour LEDs for status indication 2 Communication port with RS232 5422 5485 CMOS CAN J1939 71 CANopen Slave Isolation between communication ports and Power supply through DC DC coupler is 1 KV Connects to PC for setup download or connects to PLC1 at runtime Connects to CAN BUS J1939 71 CANopen Slave Isolation between communication ports through opto isolation is 1KV rms for 1 min Power LED s Communication Ports COM1 COM2 PLC1 COM1 PLC2 COM2 Operating Temperature Storage Temperature Humidity Mounting Dimensions DIN rail Weight Certifications Immunity to ESD Immunity to Transients Immunity to Radiated RF Immunity to Conducted RF Emissions rea B Doc No UMAN GWY 300 B 0106 REVISION 2 0 to 60 C 20 to 80 C 10 to 90 Non condensing DIN rail or back panel mounting 105mm L X 40mm D X 51mm W 125 gm approx CE CSA with UL Level 3 as per IEC1000 4 2 Level 3 as per IEC1000 4 4 Level 3 as per IEC1000 4 3 Level 3 as per IEC1000 4 6 EN55011 CISPRA HARDWARE HARDWARE In this chapter Dimensional Details And Mounting Instructions Communication Port Detai
81. ts have been made to be accurate the information in this document may not cover all the details or variations in hardware or software Features described herein may not be present all hardwares Renu Electronics Pvt Ltd reserves the right to update information in this publication without prior notice 1 2 Introduction to Gateway Gateway is a Protocol Converter Data sharer for devices like PLCs inverters Adjustable Speed Drives and other Control lers Gateway has two serial ports that connect with two different devices These devices share data through Gateway Gateway communicates with a device to get the information required by the device connected on the other port The device that requires data is called Destination Device and the device that provides data is called Source Device Information could be value of a PLC register status of a PLC coil Command from Source Device to Destination Device to perform any action at the destination end Configuration Of Gateway PLC1 OK CAN HIGH SHIELD CAN a M 8 3 N ex 2 Rev A1 GWY 300 B CAN GATEWAY RENU ELECTRONICS PVT LTD Note Please refer IBM Download in section 3 4 rea Doc UMAN GWY 300 B 0106 REVISION 2 INTRODUCTION Normal Operation GWY 300 connects one field device serial link to another over CAN BUS User can define the blocks of registers to be fetched from one device and to be
82. uffix If the PGN is of transmitting type then while selecting the PGN select 1 suffix Mapping for Gateway 1 Master Slave mode Modbus slave CAN PLC SCADA acts as Modbus master amp GWY 300 B as modbus slave For eg 1 Modslave 40001 corresponds to PGN P0 000F001 and No of words field contains 4 words i e Modbus Master on other side can read data of PGN P0 000F001 which receive on CAN The destination ID Field Next to destination field in the project should contain the source ID of the device which transmits this PGN F001 Please refer to Master Slave configuration from Chapter 4 1 2 rC A Q Doc UMAN GWY 300 B 0106 REVISION 2 38 TYPICAL PROJECTS 2 Master Master Mode e g Toshiba CAN GWY 300 B acts as Toshiba Master For eg To read dataon CANBUS and writes the data into the Toshiba PLC Select CAN as a Source PLC amp Toshiba as destination PLC in gateway project Only single PGN having defined PGN length Mostly 4 words is mapped at a time Block execution is same as in GWY 00 Master Master mode Baud rate for com1 and com2 side can be set through the PLC Settings in the set up software NOTE Defined PGNs in Internal tag database are kept in internal memory in same order as in the Internal tag database table 3 Get Engine RPM and Engine Oil Temperature from Diesel Engine Store RPM and oil temperature in PLC data registers PLC should set an alarm bit on when RPM or oil tem
83. ware drivers used and boot block rea Doc No UMAN GWY 300 B 0106 REVISION 2 46 APPENDIX APPENDIX In this chapter Parameter Group Number Description of PGNs Details of Rotochopper Application Toubleshooting rC AQ e Doc No UMANNGWY 300 B 0106 REVISION 2 47 APPENDIX A Parameter Group Number The J1939 specification defines allowable messages by their Parameter Group Number PGN The Parameter Group Number is a 3 byte value that uniquely defines the message purpose A PGN has the following format 6 bits 1 bit 1 bit 8 bits Group Extension Data transfered on the CAN bus is defined as Parameter Groups PGs PG s define where the data is located in the CAN Data frame priority and transmission repetation rate PG s are identified with Parameter Group Numbers PGN s Param eters are grouped according to some similar characteristics into Parameter Groups and are expressed by its Parameter Group Number PGN This is the number used in J1939 to access the data about a particular parameter or a set of parameters Parameter group Number Parameter Description 0x0000 00000 TORQUE SPEED CONTROL 1 TSC1 0xDE00 56832 RESET 0xE000 57344 CAB MESSAGE 1 1 00 59904 REQUEST PGN 0xEB00 60160 TRANSPORT PROTOCOL DATA TRANSFER TP DT 0 00 60416 TRANSPORT PROTOCOL CONNECTION MANAGEMENT 0 000 61440 ELECTRONIC RETARDER CO
84. yte 1 Brake application pressure high range Data Length 1 byte front axle left wheel Resolution 5 kPa per bit gain 0 kPa offset Data Range 0 kPa to 1250 kPa 0 to 181 psi 2 Brake application pressure high range Data Length 1 byte front axle right wheel Resolution 5 kPa per bit gain 0 kPa offset Data Range 0 kPa to 1250 kPa 0 to 181 psi 3 Brake application pressure high range Data Length 1 byte rear axle 1 left wheel Resolution 5 kPa per bit gain 0 kPa offset Data Range 0 kPa to 1250 kPa 0 to 181 psi 4 Brake application pressure high range Data Length 1 byte rear axle 1 right wheel Resolution 5 kPa per bit gain 0 kPa offset Data Range 0 kPa to 1250 kPa 0 to 181 psi 5 Brake application pressure high range Data Length 1 byte rear axle 2 left wheel Resolution 5 kPa per bit gain 0 kPa offset Data Range 0 kPa to 1250 kPa 0 to 181 psi re nq 58 rea APPENDIX e Doc No UMANNGWY 300 B 0106 REVISION 2 6 Brake application pressure high range Data Length rear axle 2 right wheel Resolution Data Range 7 Brake application pressure high range Data Length rear axle 3 left wheel Resolution Data Range 8 Brake application pressure high range Data Length rear axle 3 right wheel Resolution Data Range 16 SUPPLY PRESSURE Transmission repetition rate 1s Data length 8 bytes Data page 0 PDU format 254 PDU specific 174 Default priority 6 Parameter group number 65 198 OOFEAE Byte 1 Pn
Download Pdf Manuals
Related Search
Related Contents
Especificaciones Service Manual for RTP-1000 Fisher-Price L5805 User's Manual Facit typewriter manual USER INSTRUCTIONS THE CLEAR™220 SERIES Training Manual 2.2 Page *1 … Fil de L`Agora … - Fox Automation Copyright © All rights reserved.
Failed to retrieve file