gwy-300 (can gateway) user manual.pdf · 2011. 8. 3. · b description of parameter group number 76...

122
GWY-300 (CAN Gateway) USER’S MANUAL

Upload: others

Post on 07-Sep-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300

(CAN Gateway)

USER’S MANUAL

Page 2: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

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 insupport 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 coveredby 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 returnpackaging, which makes verification impossible, will void the warranty. If noncompliance is verified and is not due tocustomer abuse or the other exceptions described with product warranty, Renu Electronics will, at its option, repair orreplace the Product returned to it, freight prepaid, which fail to comply with the foregoing warranty, provided REPL isnotified of such noncompliance within the one-year warranty period.

ASSISTANCE

This manual is designed to provide the necessary information for trouble-free installation and operation of your newGateway product. However, if you need assistance, please call Renu Electronics Pvt. Ltd. at 91-20-27292840 or visitour web site at www.renuelectronics.com

MANUAL REVISION

If you contact us in refference to this manual, please include the following document numberName : CAN Gateway (GWY-300-B) User’s ManualPart Number : URML204Document : UMAN\GWY-300-B\0106Revision : Revision 2

Revision Number Date Description

Preliminary 29/11/2005

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 04/04/2007 CANopen slave driver related information is added.

Page 3: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

Warranty Certificate

For New product: This product is warranted against defects in materials and workmanship for a period of 12 monthsfrom the date of shipment to Buyer.

For Rectified Products: Any product that will be replaced will have Warranty for 6 months or upto Original ProductWarranty period whichever is greater.

The warranty is limited to repair or replacement of the defective unit at the option of the manufacturer. This warranty isvoid if the product has been altered, misused, dismantled, or otherwise abused.

ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, ARE EXCLUDED, INCLUDING BUT NOT LIMITED TO THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

MAINTENANCE & SERVICE : There are no parts that can be serviced by the user. Service should be performed on aunit substitution basis only. Do not attempt to remove, replace or service any printed circuit board, components or anyhardware/software related with display product. If problem within the display product occurs, contact the factory forservice information or repair.

NOTE : Renu Electronics Pvt. Ltd. is dedicated to providing complete customer service and customer satisfaction. If youhave any comments or criticisms about how to improve the product features/reliability, Please make a note of theproblem/improvement and notify us. We are always open to new ideas and improvements. So please let us know yourideas and comments.

IMPORTANTGateway 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 thatuser is well acquainted with the PLC / Inverters / Controllers being used.

Any Mechanical or Electrical Modification to this Unit willvoid all Warranties.

Page 4: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

REFERENCES:

/1/ : DS 301 V4.02 Application Layer and Communication Profile for CANopen

/2/ : DS 306 V1.3 Electronic Data Sheet Specification for CANopen

/3/ : J1939 / 21 J1939 Data Link Layer

/4/ : J1939 / 71 J1939 Application Layer

/5/ : J1939 / 73 J1939 support for Diagnostics

Page 5: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

i

ContentsINTRODUCTION 1

1.1 Purpose of this manual 21.2 Introduction to Gateway 21.3 GWY-300-B Specifications 4

HARDWARE 52.1 Dimensional details And Mounting Instructions 62.2 Communication Port Details 72.3 Wiring Diagrams 92.4 LED Status 10

GETTING STARTED 113.1 Introduction to CAN 123.2 SAE J1939 Overview 143.3 CANopen Protocol Overview 163.4 A brief Overview of the services 203.4.1 NMT Services 203.4.2 SDO Objects 223.4.3 Abort codes supported 243.4.4 PDO (Process Data Objects) 243.4.5 Error control services 253.4.6 Manufacturer Specific Area 263.5 Introduction to GWY-300-B 283.6 GWY-300-B Configuration, Communication and related terms 293.7 Configuration of GWY-300-B (IBM Download) 293.7.1 When GWY-300-B can accept configuration? 30

GWY-300-B FEATURES 314.1 Gateway Modes 324.1.1 Master-Master Configuration 324.1.2 Master-Slave Configuration 354.2 Repeat Cycle 384.3 Control Word 384.4 Error Indication Bit 394.5 Communication Parameters 394.6 Default Communication registers 404.7 Recipes 41

NOTE ON COMMUNICATION DRIVERS 425.1 Note On Communication Drivers (J1939) 435.2 Note On Communication Drivers (CANopen Slave Driver) 47

TYPICAL PROJECTS AND APPLICATIONS 486.1 J1939: Creating a new project 496.1.1 Project Setup (J1939) 496.1.2 Applications (J1939) 506.1.3 Support for Diagnostics (J1939) 546.2 CANopen Slave: Creating a new project 586.2.1 Project setup (CANopen Slave) 586.2.2 Project Example: 626.2.3 CANopen Master Configuration: 646.2.3 CANopen Slave Gateway Applications: 68

Page 6: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

ii

CONFIGURATION SOFTWARE 707.1 System Requirements 717.2 Installation Instruction 71

APPENDIX 72A Parameter Group Number 73B Description of Parameter Group Number 76C Details of Rotochopper Application 112D Troubleshooting 115

Page 7: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

INTRODUCTIONINTRODUCTION

1

Doc No: UMAN\GWY-300-B\0106REVISION 1

INTRODUCTION

In this chapter. . . .

♦ Purpose of this manual

♦ Introduction To Gateway

♦ GWY-300-B Specifications

Page 8: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

INTRODUCTIONINTRODUCTION

2

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 operatingGWY-300-B,This document is based on information available at the time of its publication. While efforts have been made to be accurate,the information in this document may not cover all the details or variations in hardware or software. Features describedherein may not be present in all hardwares. Renu Electronics Pvt. Ltd. reserves the right to update information in thispublication 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 devicethat requires data is called Destination Device and the device that provides data is called Source Device. Information couldbe,- 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

Note: Please refer ‘IBM Download’ in section 3.4.

CU

SL

IST

ED

58D

N

R

RE

NU

EL

EC

TR

ON

ICS

PV

T.LT

D.

S.N

o.2

/6,B

aner

Road,

Pune

-411045.

IND

IA.C

AN

PL

C1

(RS

23

2/R

S4

85

/CM

OS

)

PL

C1

OK

}24

VD

C;

+/-

10%

DC

DC

EA

RT

H

GW

Y-3

00

-B(C

AN

GA

TE

WA

Y)

H/W

Rev.A

1

CANHIGH

SHIELD

CANLOW

Page 9: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

INTRODUCTIONINTRODUCTION

3

Doc No: UMAN\GWY-300-B\0106REVISION 1

Normal Operation:

GWY-300 connects one field device (serial link) to another over CAN BUS. User can define the blocks of registers to befetched from one device and to be transferred to the other. Our users have used Gateway units in different applicationsacross many industries. The typical configuration includes the following:

HMI-GWY_300-J1939

Drive-GWY-300-CANopen master PLC

X ProtocolCAN H

CAN L

CAN Protocol

EngineControl

Unit

Node 1 Node n

PLC

�PLC

CU

SL

IST

ED

58

DN

R

RE

NU

EL

EC

TR

ON

ICS

PV

T.LT

D.

S.N

o.2

/6,B

aner

Road,

Pune

-411045.

IND

IA.C

AN

PL

C1

(RS

23

2/R

S4

85

/CM

OS

)

PL

C1

OK

}24

VD

C;

+/-

10%

DC

DC

EA

RT

H

GW

Y-3

00

-B(C

AN

GA

TE

WA

Y)

H/W

Rev.A

1

CANHIGH

SHIELD

CANLOW

HMI

CAN H

CAN L

CAN Protocol

EngineControl

Unit

Node 1 Node n

PLC

CU

SL

IST

ED

58

DN

R

RE

NU

EL

EC

TR

ON

ICS

PV

T.LT

D.

S.N

o.2

/6,B

aner

Road,

Pune

-411045.

IND

IA.C

AN

PL

C1

(RS

23

2/R

S4

85

/CM

OS

)

PL

C1

OK

}24

VD

C;

+/-

10%

DC

DC

EA

RT

H

GW

Y-3

00

-B(C

AN

GA

TE

WA

Y)

H/W

Rev.A

1

CANHIGH

SHIELD

CANLOW

Page 10: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

INTRODUCTIONINTRODUCTION

4

Doc No: UMAN\GWY-300-B\0106REVISION 1

1.3 GWY-300-B Specifications

Power : +24V DC + 10%, 100mA maxLED’s : 3 Bicolour LEDs for status indication.Communication Ports : 2 Communication port with

PLC1 / COM1 : RS232 / RS422 / RS485 / CMOSPLC2 / COM2 : CAN Bus (J1939 and CANOpen Slave-DS301)

(Isolation between communication ports and Power supply, through DC-DC coupler is 1 KV)PLC1 / COM1 : Connects to PC for setup download or connects to PLC1 at runtime.PLC2 / COM2 : Connects to CAN BUS [J1939 and CANOpen Slave-DS301].

(Isolation between communication ports, through opto-isolation is 1KV rms for 1 min)Operating Temperature : 0o to 60oCStorage Temperature : -20o to 80oCHumidity : 10% to 90% (Non condensing)Mounting : DIN rail or back panel mountingDimensions (DIN rail) : 105mm(L) X 40mm(D) X 51mm(W)Weight : 125 gm approx.Certifications : CE with ULImmunity to ESD : Level 3 as per IEC1000-4-2Immunity to Transients : Level 3 as per IEC1000-4-4Immunity to Radiated RF : Level 3 as per IEC1000-4-3Immunity to Conducted RF : Level 3 as per IEC1000-4-6Emissions : EN55011 CISPR A

HMI-GWY-300-CANopen master PLC

Page 11: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

HARDWAREHARDWARE

5

Doc No: UMAN\GWY-300-B\0106REVISION 1

HARDWARE

In this chapter. . . .

♦ Dimensional Details And Mounting Instructions

♦ Communication Port Details

♦ LED Status

Page 12: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

HARDWAREHARDWARE

6

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 railplate 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. Ifit has to be left hanging, make sure to screw the cables to the DB9 connectors on the Gateway unit. DIN rail plate also hasthe provision to screw the unit to the back panel. Following drawing shows how to attach the DIN rail plate to the unit:

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 theunit with or without the DIN rail plate. Following sketch shows mounting details of GWY-300-B with the DIN rail plate.

DIN railclamp

DIN railclip

GWY-300

Slot forclamp

40

Page 13: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

HARDWAREHARDWARE

7

Doc No: UMAN\GWY-300-B\0106REVISION 1

2.2 Communication Port Details

Gwy-300-B has two communication ports COM1 and COM2. COM1 port is compactible to RS232/ RS422/ RS485 andother is CAN communication port (COM2). Pinout of these ports are as shown below:

TX- (RS422/RS485)

DB9 Female

1

59

6+5VDC*(DO NOT USE)

Signal GroundRX+ (RS422/RS485)RXD (RS232C/CMOS)TXD (RS232C)TX+ (RS422/RS485)

TXD (CMOS)

RX- (RS422/RS485)

6

89

7 2

45

3

1

PLC1 / COM1

*Do not use pin no. 6 of PLC1 / COM1.**Refer our website (www.renuelectronics.com) for your specific Cable requirements

Page 14: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

HARDWAREHARDWARE

8

Doc No: UMAN\GWY-300-B\0106REVISION 1

Pin Name Signal Level Description1. TX+ RS422 / RS485 Differential Transmit +, also referred as TXA2. TXD RS232 Transmit3. RXD RS232 / CMOS Receive4. RX+ RS422 / RS485 Differential Receive +, also referred as RXA5. GND - Signal Ground common to all signals.6. +5VDC - DO NOT USE7. TXD CMOS Transmit8. TX- RS422 / RS485 Differential Transmit -, also referred as TXB9. RX- RS422 / RS485 Differential Receive -, also referred as RXB

Pin Description

User can convert RS485 4 wire + Signal Ground system to a 2 Wire + Signal Ground system by shorting followingsignals in the communication cable:

TX+TX- ARX+ BRX-SG SG

Note: If user has attached shield to Earth on Device end, leave the shield open on Gateway end. If user hasconnected shield to Signal Ground on Device end, connect shield to Signal Ground on Gateway end.

A and B are polarity insensitive. Twisted pair cable should be used for Rs485 Network.

Upto 31 Devices can be multi-dropped on RS485 port of Gateway.

Port Details for COM2

PIN SIGNAL

01 CAN_L

02 Shield

03 CAN_H

COM2

Pin 1

Page 15: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

HARDWAREHARDWARE

9

Doc No: UMAN\GWY-300-B\0106REVISION 1

2.3 Wiring Diagrams

User must ensure correct wiring for problem-free operation of Gateway. Each device being connected to Gateway has aunique communication port. Pin outs of communication ports of gateway are given below. Port details of the other devicescan be found in the respective device manuals.

Gateway has RS232, RS422, RS485 and CMOS compatible communication ports, so user can directly connect anydevice with these communication signals.

This section gives wiring diagrams for connecting Gateway using various singnal levels.

1. Network of RS422 / RS485 4 wire + signal ground system

2. Network of RS485 2 wire + signal ground system

Note: User should add Termination resistor (RT=180 Ohm

) in Receive lines of first and last node.

CU

SL

IST

ED

58

DN

R

RE

NU

EL

EC

TR

ON

ICS

PV

T.LT

D.

S.N

o.2

/6,B

aner

Road,

Pune

-411045.

IND

IA. C

AN

PL

C1

(RS

23

2/R

S4

85

/CM

OS

)

PL

C1

OK

}24

VD

C;

+/-

10

%D

C

DC

EA

RT

H

GW

Y-3

00

-B(C

AN

GA

TE

WA

Y)

H/W

Rev.A

1

CANHIGH

SHIELD

CANLOW

RX+

RX-

TX+

TX-

GND

RX+

RX-

TX+

TX-

GND

RX+

RX-

TX+

TX-

GND

RX+

RX-

TX+

TX-

GND

RX+

RX-

TX+

TX-

GND

Power:+24VDC + 10%

DEVICE 0

DEVICE 1

DEVICE 2

RT

RT

A (+ve)

B (-ve)

GND

RX+

RX-

TX+

TX-

GND

Power:+24VDC + 10%

A (+ve)

B (-ve)

GND

A (+ve)

B (-ve)

GND

A (+ve)

B (-ve)

GND

DEVICE 0

DEVICE 1

DEVICE 2

CU

SL

IST

ED

58

DN

R

RE

NU

EL

EC

TR

ON

ICS

PV

T.LT

D.

S.N

o.2

/6,B

aner

Road,

Pune

-411045.

IND

IA. C

AN

PL

C1

(RS

23

2/R

S4

85

/CM

OS

)

PL

C1

OK

}24

VD

C;

+/-

10%

DC

DC

EA

RT

H

GW

Y-3

00

-B(C

AN

GA

TE

WA

Y)

H/W

Rev.A

1

CANHIGH

SHIELD

CANLOW

Page 16: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

HARDWAREHARDWARE

10

Doc No: UMAN\GWY-300-B\0106REVISION 1

2.4 LED Status

There are 3 LEDs for status indication.

Bicolour LEDs status:

LED

OK Green OFF No Firmware

Flashing IBM Download

ON Both side (COM1 and COM2) communication OK

Red OFF Configuration Ok

ON Configuration Fault

PLC1 Green OFF No data received on PLC1 Port

Flashing Receving data on PLC1 Port

ON -

Red OFF No error in PLC1 attach or while block execution

Flashing PLC1 attach error or error while block execution

ON -

CAN Green OFF No data received on CAN Port

Flashing Receving data on CAN Port

ON -

Red OFF -

Flashing -

ON -

Page 17: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

11

Doc No: UMAN\GWY-300-B\0106REVISION 1

GETTING STARTED

In this chapter. . . .

♦ Introduction to CAN

♦ SAE J1939 Overview

♦ CANopen Slave Overview

♦ Introduction to GWY-300-B

♦ GWY-300-B Operations

Page 18: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

12

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 fornetworking ‘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 terminated 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 transmit-ted by CAN, no stations are addressed, but instead the content of the message (e.g. rpm or engine temperature) is desig-nated by an identifier that is unique throughout the network. Identifier not only defines the content but also determines themessages’ 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 severalCAN nodes can request the bus simultaneously. The serial bus system with real-time capabilities is the subject of the ISO11898 international standard and covers the lowest two layers of the ISO/OSI reference model. In CAN networks there is noaddressing 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 receivedwhether it should process the message or not. The identifier also determines the priority that the message enjoys incompetition for bus access.

Signal Characteristics

CAN may be implemented over a number of physical media so long as the drivers are open-collector and each node canhear itself and others while transmitting (this is necessary for its message priority and error handling mechanisms). Themost 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 120Ohms. The resistors are used to prevent reflections.

Page 19: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

13

Doc No: UMAN\GWY-300-B\0106REVISION 1

Message Format

The CAN protocol uses a modified version of the Carrier Sense Multiple Access/Collision Avoidance (CSMA/CA) techniqueused on Ethernet. Should two messages determine that they are both trying to send at the same time then instead of bothbacking off and re-trying later as is done with Ethernet, in the CAN scheme, the transmitters detect which message hasthe highest priority and only the lower priority message gets delayed. This means that a high priority message is sure ofgetting 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 transmittingframes comprises 7 main fields.

A. Standard format CAN Message(CAN 2.0A)

B Extended format CAN Message(CAN 2.0B)

SOF ARBITRATION CONTROL DATA CRC ACK EOF INT

1Bit 12 or 32 Bit 6 Bit 0-8 16 Bit 2 Bit 7 Bit 3Bit

Bytes

Arbitration Field Control Field Data Field CRC ACK End of Int Bus Idle Field Field Frame

SOF 11 BIT IDENTIFIER RTR IDE ro DLC 0-8 Bytes 16 BIT CRC

Page 20: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

14

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.2 SAE J1939 Overview

J1939 is the automotive CAN standard developed by the Truck & Bus Control and Communications NetworkSubcommittee of the Society of Automotive Engineers (SAE). SAE maintains family of standards which govern the designand use of devices that transmit electronic signals and control information among vehicle components. Planned for use inlight, 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 bitidentifier.It 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 Identifier2. 250Kbps Baud rate3. 8 Priority Classes4. Predefined message types5. 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). Theprotocol data unit provides a framework for oraganising the information 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 therespective message identifier.The SAE J1939 frame format is as shown.

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.

Arbitration Field Control Data CRC ACK End of Int Bus Idle Field Field Field F Frame

3 1 1 6

Priority (P)

Reserved (R)

Data Page (DP)

Data Content (DC)

2 8 8

PDU Specific (PS)

Source Address (SA)

0-8 bytes

Data Field (DF)

11 bit IDENTIFIER 18 bit IDENTIFIER DLC 0-8 Bytes 0-15 bits CRCSOF

SRR

IDE

RTR

r0

r1

J1939

Page 21: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

15

Doc No: UMAN\GWY-300-B\0106REVISION 1

J1939 messages are sent using the CAN Extended Frame. A J1939 message consists of the following components:

Priority (P)– This 3-bit field is used to define the priority during arbitration. ‘000’ is the highest priority and is usuallyassociated with high-speed control messages. Low priority is used for noncritical configuration and information messages.

Data 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 fieldsthat determines the Parameter Group Number of the message (see the “Parameter Group Number” section). If thevalue 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 aspecific 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 2Format).

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 particularaddress. The J1939 specification defines PDU Format and PDU Specific values for many messages by specifying themessage Parameter Group 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 aspecific destination address. If a node receives a request sent to it specifically, it must process the message and sendsome 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) format to send and receivedata. The PDU1 format allows a message to be directed to specific ECU (CAN Node). The destinationaddress is included in the CAN PDU1 CAN frame.

• Broadcast Communications use the PDU2 (Process Data Unit 2) format to send a message to multiplenodes. The PDU2 message format identifies a message number versus a node number. In these applications receiving ECU’s monitor the CAN bus for specific messages. For example a display unit may ignoreall other messages as it monitors the bus waiting for the PDUs containing Fuel Temperature and FuelPressure.

• 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 GroupNumber is a 3-byte value that uniquely defines the message purpose. A PGN has the following format.

Page 22: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

16

Doc No: UMAN\GWY-300-B\0106REVISION 1

0 Reserved Data page bit PDU format Group Extension

6 bits 1 bit 1 bit 8 bits 8 bits

Data transfered on the CAN bus is defined as Parameter Groups (PGs). PG’s define where the data is located in the CANData 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 itsParameter Group Number (PGN). This is the number used in J1939 to access the data about a particular parameter or aset of parameters.

3.3 CANopen Protocol Overview

The CANopen protocol is the application layer of CAN, based on the Master-Slave system, relies on different objectmechanisms for data and services exchange. Several Objects are defined to provide the functionality and operation ofservices to the entire system. It relies on the CAN Identifier distribution explained below for this purpose. A CANopennetwork can have up to 127 nodes operating at a maximum of 1Mbps (with distance limitation).

CANopen has a varied application range from Industrial automation to automotive, marine, medical and other applications.Below is given the OSI model for the CAN open slave implementation.

OSI Model for CANopen

OSI Layer 7

Application Layer

Device Profile

Communication Profile DS 301

OSI Layer 2

Data Link LayerCAN 2.0A

CANController

OSI Layer 1

Physical LayerISO 11898

CANTransreceiver

Note: The implemented CANopen Slave supports the communication profile (DS301) only. It does not support any of theDEVICE profiles. This can be done on request. For more details contact factory.

CANopen Slave being an application level driver depends on the proper distribution of the Identifier field of the CAN frame.In order to reduce configuration effort for simple networks a mandatory default identifier allocation scheme is defined. Thedefault profile ID-allocation scheme (Table 3.3a and Table 3.3b) consists of a functional part, which determines the objectpriority and a Node-ID-part, which allows to distinguish between devices of the same functionality. The pre-definedconnection set supports one emergency object, one SDO, at maximum 4 Receive- PDOs (RPDO) and 4 Transmit-PDOs(TPDO) and the NMT objects. The objects SYNC, TIME STAMP, EMERGENCY and PDOs may be deleted and re-created with new identifiers by means of dynamic distribution.

Page 23: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

17

Doc No: UMAN\GWY-300-B\0106REVISION 1

Below given tables show the supported objects and their allocated COB-IDs.

SOF ARBITRATION CONTROL DATA CRC ACK EOF INT

1Bit 11 Bit Identifier 6 Bit 0-8 16 Bit 2 Bit 7 Bit 3 Bit Bytes

Function Code Node-ID

Bit-No.:COB-Identifier

10 0

Broadcast Objects of the Pre-defined Connection Set

Table 3.3a

object function code binary Resulting COB-ID Communication Parameters at Index

NMT 0000 0 -

SYNC 0001 128 (80h) 1005h, 1006h, 1007h

TIME STAMP 0010 256 (100h) 1012h, 1013h

Page 24: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

18

Doc No: UMAN\GWY-300-B\0106REVISION 1

Peer-to-Peer Objects of the Pre-defined Connection Set

Table 3.3b

object function code (binary) Resulting COB-IDs Communication Parameters at Index

EMERGENCY 0001 129 (81h) – 255 (FFh) 1014h, 1015h

PDO1 (tx) 0011 385 (181h) – 511 (1FFh) 1800h

PDO1 (rx) 0100 513 (201h) – 639 (27Fh) 1400h

PDO2 (tx) 0101 641 (281h) – 767 (2FFh) 1801h

PDO2 (rx) 0110 769 (301h) – 895 (37Fh) 1401h

PDO3 (tx) 0111 897 (381h) – 1023 (3FFh) 1802h

PDO3 (rx) 1000 1025 (401h) – 1151 (47Fh) 1402h

PDO4 (tx) 1001 1153 (481h) – 1279 (4FFh) 1803h

PDO4 (rx) 1010 1281 (501h) – 1407 (57Fh) 1403h

SDO (tx) 1011 1409 (581h) – 1535 (5FFh) 1200h

SDO (rx) 1100 1537 (601h) – 1663 (67Fh) 1200h

NMT Error Control 1110 1793 (701h) – 1919 (77Fh) 1016h, 1017h

Above given table has to be seen from the devices point of view.The pre-defined connection set always applies to the standard CAN frame with 11-bit Identifier, even if extended CAN framesare present in the network.

Restricted COB-IdsAny COB-ID listed in Table 3.3c is of restricted use. Such an restricted COB-ID have not to be used as COB-ID by anyconfigurable communication object, neither for SYNC, TIME-STAMP, EMCY, PDO, and SDO.

Table for Restricted COB-IDs

Table 3.3c

COB-ID used by object

0 (000h) NMT 1 (001h) reserved

257 (101h) – 384 (180h) reserved

1409 (581h) – 1535 (5FFh) default SDO (tx)

1537 (601h) – 1663 (67Fh) default SDO (rx)

1760 (6E0h) reserved

1793 (701h) – 1919 (77Fh) NMT Error Control

2020 (780h) – 2047 (7FFh) reserved

Page 25: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

19

Doc No: UMAN\GWY-300-B\0106REVISION 1

Object Dictionary:The Object Dictionary describes the complete functionality of a device by way of communication objects and is theinterface between the communication interface and the application program. All communication objects of a device(application data and configuration parameters) are described in its Object Dictionary in a standardized way. Theseobjects are accessible by a 16-bit index and in the case of arrays and records there is an additionally 8-bit sub-index.The object Dictionary is implemented as per /2/. Table 3.3d indicates the General Objects in the ObjectDictionary of the CANopen slave

Table 3.3d:

Index Range Object

0x0000 Unused

0x0001 to 0x001F Static Data Types

0x0020 to 0x003F Complex data types

0x0040 to 0x005F Unused

0x0060 to 0x007F Device Profile specific Static data types

0x0080 to 0x009F Device Profile specific Complex data types

0x00A0 to 0x0FFF Reserved for further use

0x1000 to 0x1FFF Communication Profile area

0x2000 to 0x5FFF Manufacturer specific area

0x6000 to 0x9FFF Standardized Device Profile specific area

0xA000 to 0xFFFF Reserved for further use

Page 26: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

20

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.4 A brief Overview of the services

3.4.1 NMT Services

The master uses the NMT object to put the slave in any one of the NMT states (refer Fig 1). The state of the slavedetermines the operating condition of the slave.

The slave follows the NMT state cycle as per /1/.The master can put the slave in any of the following states:

Figure 1:

Power on or hardware reset

Initialisation

(1)

Pre-Operational

(2)

Operational

Stopped

(11)

(10)

(9)(8)

(6)

(5)

(7)

(4)

(3)(12)

(13)

(14)

Table 3.4a:

Transition Description

(1) At Power on, the initialisation state is entered autonomously

(2) Once initialisation is finished, the Pre-Operational state is automatically entered

(3), (6) Start_Remote_Node

(4), (7) Enter_Pre-Operational_State

(5), (8) Stop_Remote_Node

(9), (10), (11) Reset_Node

(12), (13), (14) Reset_Cmmunication

Page 27: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

21

Doc No: UMAN\GWY-300-B\0106REVISION 1

Depending on the communication state of the drive, the following services are available:

Table 3.4b:

Initialising Pre-Operational Operational Stopped

PDO X

SDO X X

Synchronisation (SYNC) X X

Emergency X X

Boot-Up X X

Network Management X X X

X: Available objects

NMT Object: (COB-ID 0x000):

Table 3.4c:

COB-ID (0X80) CS NODE-ID Byte 0 Byte 1

Data Field

The Byte 0 of the Data field is used as the command specifier. Any value as in the table 3.4d shall put the slave in thecorresponding NMT state.

Command Specifier (CS) Meaning:Table 3.4d:

01 Start_Remote_Node

02 Stop_Remote_Node

80 Enter_Pre-operational_State

81 Reset_Node

82 Reset_Communication

So if you want to put the node in pre-operational state the master will transmit (NODE-ID now is 1)

Table 3.4e:

0x80 0x80 0x01

Cob-Id Command specifier Node-ID

If node ID value in the NMT object is zero (0) implies; it is a broad-cast NMT object i.e. master can use one object tocontrol all the slaves.

Page 28: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

22

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.4.2 SDO Objects

The SDO service is generally used to Read/ Write Configuration data from / to the Object Dictionary of the CANopenslave. The SDO involves High Overhead as the first four bytes of the frame indicate the Request code, Requested Indexand Sub index (1+2+1 = 4 bytes). Hence the SDO is not used for data transfer and preferably used for configuration. The configuration data could involve the standard objects like the Heart beat parameters e.g. Index 0x1017 i.e. Producerheart beat time (in case of configuring slave for heart-beat error scheme) or say the Node-Guarding objects i.e. Index0x100C for “Guard time” or Index 0x100D for “life time factor” (in case of configuring slave for Node-Guarding errorscheme).

Receive SDO (COB-ID is 0x600+Node-ID) Client Drive. Send by the master to get some service for the slave.Transmit SDO (COB-ID is 0x580+Node-ID) Drive àClient. The slave node responds with the corresponding data.

The standard SDO Request / Response Frame

Request Frame:

Cob-id Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7

0X600 + Request Object ObjectNODE_ID code INDEX sub-id REQUEST DATA

LSB MSB Bits 0-7 Bits 15-8 Bits 23-16 Bits 31-24

Response Frame:

Cob-id Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7

0X580 + Request Object ObjectNODE_ID code INDEX sub-id REQUEST DATA

LSB MSB Bits 0-7 Bits 15-8 Bits 23-16 Bits 31-24

Page 29: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

23

Doc No: UMAN\GWY-300-B\0106REVISION 1

The SDO can have one of the following request codes to perform certain service.

Table 3.4f:

Request Command Byte 4 Byte 5 Byte 6 Byte 7Code description

23 4 Byte write Bits 7-0 Bits 15-8 Bits 23-16 Bits 31-24

2B 2 Byte write Bits 7-0 Bits 15-8 00 00

2F 1 Byte write Bits 7-0 00 00 00

40 Read data 00 00 00 00

80 Abort 00 00 00 00

The response to a particular shall have the following response code followed by the corresponding data.

Table 3.4g:

Request Command Byte 4 Byte 5 Byte 6 Byte 7Code description

43 4 Byte write Bits 7-0 Bits 15-8 Bits 23-16 Bits 31-24Successful

4B 2 Byte Read Bits 7-0 Bits 15-8 00 00Successful

4F 1 Byte read Bits 7-0 00 00 00Successful

60 Read data 00 00 00 00Successful

80 Abort Bits 7-0 Bits 15-8 Bits 23-16 Bits 31-24

Page 30: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

24

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.4.3 Abort codes supported

Table 3.4h:

Abort Code Description

08 00 00 00 General Error

06 09 00 30 Size mismatch

06 01 00 02 Write permission not granted

06 02 00 00 The referred index does not exist in the Object Dictionary

06 09 00 11 The referred Sub-Index does not exist

05 04 00 01 Request code does not exist or is invalid

06 04 00 41 PDO mapping error: Object can’t be mapped into PDO due to error inwriting to the Index 14xx, 16xx, 18xx or 1Axx

3.4.4 PDO (Process Data Objects)

The Process Data Objects are used to exchange real-time Process data. PDO have no overhead and hence are thepreferred method for process data exchange.At initialization the master maps the requires parameters into the PDO and also set the triggering mechanism and thePDO from there on exchange the data as configured. Also refer to table 2 for the NMT state in which the PDO are alive.

4 sets od PDO are available which are dynamically mapped. This implies the parameters mapped in the PDO can bechanged at any time of the operation.

The triggering mechanisms supported are:

Table 3.4i:

Triggering mechanism Description

Asynchronous PDO is triggered on data change

Cyclic Transmitted when SYNC message received

Acyclic Transmitted on data change but only on reception of nextSYNC message.

In addition the Event Timer and the Inhibit time can be configured for the Asynchronous triggered PDO.

Page 31: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

25

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.4.5 Error control services

Both the heartbeat and the node guarding messages for error control are supported. At any given time only one of theerror control services shall be operational.If node-guarding is enabled (i.e. by writing values to the guard time and life time factors), the slave performs the node-guarding event. If it does not receive Node control message from master within the node-guarding interval, the Slave willswitch to the state determined by the object 0x1029. By default it is “no state change”.

The Index 0x1029 is the error behaviour Object and the device can be configured to enter alternatively the stopped state orremain in the surrent state in case of device failure. Device failures shall include the following communication errors.

• Bus-off conditions of the CAN interface• Life guarding event with the state ‘occured’• Heartbeat event with state ‘occured’Severe device errors also can be caused by device internal failures.

The value of Error Classes is as follows:Table 3.4j:

0 Pre-Operational (only if current state is operational)

1 no state change

2 stopped

3-127 reserved

Services not supported:

Time stamp objects are not supported.

Note: A 120 ohm resistor is provided between pins 1 and 2 (i.e. CAN_L and CAN_H) and is recommended for CANcommunication.

Page 32: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

26

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.4.6 Manufacturer Specific Area

For mapping the parameters we have provided input and output buffers defined in the manufacturer specific area for readand read / write accesses respectively. This gives the defined buffer area a DPRAM like visibility. The direction is setwith respect to the network. Hence ‘input’ of the ‘Input Buffer Area’ implies the data is input to the network; and hence isread-only data. Similarly the ‘Output’ of ‘Output Buffer Area’ implies Data from network will be stored in these buffers.This is a Read-write access area.

Table 3.4k:

Index Sub Index Parameter Type

2000 00 to FF Input Buffer byte Access 1 U8

2001 00 to FF Input Buffer byte Access 2 U8

2100 00 to FF Input Buffer Word Access 1 U16

2101 00 to FF Input Buffer Word Access 2 U16

2200 00 to FF Input Buffer DWord Access 1 U32

2400 00 to FF Output Buffer Byte Access 1 U8

2401 00 to FF Output Buffer Byte Access 2 U8

2500 00 to FF Output Buffer Word Access 1 U16

2501 00 to FF Output Buffer Word Access 2 U16

2600 00 to FF Output Buffer DWord Access 1 U32

INPUT BUFFER Read only accessOUTPUT BUFFER Read / Write access

An attempt to write into the Input buffer using the SDO service will give the ABORT WRITE (abort code: 0x06 01 00 02)Let us assume that a voltage parameter is mapped in the index 2100 and sub-index 01; reading a parameter via SDO(Note: Please refer to the SDO frame format given above)

NOTE: ALL VALUES IN HEX

Table 3.4l:

601 40 00 21 01 0 0 0 0

So for a voltage of 100, the SDO response will be:

Table 3.4m:

581 4B 00 21 01 64 0 0 0

Page 33: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

27

Doc No: UMAN\GWY-300-B\0106REVISION 1

CANopen Network operation:

A brief note on the different objects and services:

When the slave is powered on it sends a BOOTUP message and enters the PREOPERATIONAL state.This is an indication that it has entered the network and ready to be configured / operated.

The Master uses the SDO service to configure the slave by accessing its OD.Some of the actions taken by the master are:

1) Check the device type if it matches with that in the EDS file.2) Configure the COB-ID for the SYNC, EMCY messages (if they are supported).3) Configure the Heartbeat / Node guard object in the slave.4) Configure the Transmit and Receive PDO in the slave.

Once the configuration is done the Master puts the slave in the OPERATIONAL state using the NMT message.The master uses the NMT object to put the slave in the various states as in the STATE DIAGRAM.

The slave now, exchanges process data using the PDO and continually declares its state to the master by either of theerror control schemes: Heart beat or Node guard control. In case of heart beat scheme, slave generates the heart beatmessage every time the producer heart beat time elapses, in case of node- guarding the master polls the slaveAfter every “guard time” elapses to which slave responds with the Node guard response.

GWY-300 CANopen Slave has following features:

1. 11 bit identifier2. Software selectable Baud rate upto 1Mbps3. Software selectable node ID4. DS301 V4.02 compliant5. Support for the NMT object6. One Server SDO service.7. 4 Sets of dynamically mapped PDO8. Support for Heart Beat and Node-Guarding both9. Support for EMCY message and the SYNC objects.10. The Input/ Output area divided into Byte/ word/ double word access like a DPRAM access.11. EDS File

Page 34: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

28

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.5 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.With the J1939 driver, it allows devices like ECU (Which support CAN J1939) to make their data available to devices likePLCs, so that some control actions can be taken. GWY-300 -B(CAN Gateway) supports the CANopen protocol as well.

GWY-300-B has two serial ports, one is compatible to RS232/RS422/RS485/CMOS levels, which can be connected todevice like PLCs, Inverters and controllers and the other is CAN port. The CAN connection is a two wire high speednetwork.These two ports are isolated from each other.

With the J1939 driver, GWY-300-B communicates with the ECU(Electronic Control Unit) using SAE J1939 protocol. Thisallows gateway to access various engine parameters from CAN port. Gateway provides these parameters to third partyserial devices like PLCs,Controllers. The PLC can then make decisions based on the parameter values. Following engineparameters are supported but not limited to.

1 Engine Hours 2 Engine RPM3 System Voltage 4 Oil pressure

Gateway setup software allows different engine parameters to be mapped to any register on the other side PLC/Device.

With the CANopen slave at Comm2, the data of the slave device connected at comm1 is made available to the CANMaster. Similarly data may be written to the external slave device at comm1 by the CAN master using the SDO andPDO services. As the CANopen protocol is not defined for any particular field, unlike the J1939, the type of data thatmay be exchanged is varied. Microsoft Windows® based configuration software, Gateway Setup, helps user to configureGateway unit. ‘Configuration’ means making the Gateway unit work as per the system requirements. The completeconfiguration for a unit is termed as ‘Project’. Project comprises of device names, Register addresses,condition for blockexecution 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).

Page 35: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

29

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.6 GWY-300-B Configuration, Communication and related terms

Gateway can communicate with serial and CAN devices using appropriate cables and configuration. MicrosoftWindows® based configuration software, Gateway Setup, configures the Gateway unit. ‘Configuration’ means making theGateway 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 tobe attached on two ports, Communication settings for two ports to communicate with two devices, Register addresses fordata transfer, Conditions for data transfer etc.

the configuration is downloaded from PC into the Gateway using the “IBM cable”. Please refer section 3.7 for IBM cabledetails.

Gateway can now communicate with the specified devices without any change in the Gateway hardware. To communicatewith 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 communicatewith the desired device. As two devices are connected on Gateway, it requires two drivers for communication.

3.7 Configuration of GWY-300-B (IBM Download)

User MUST download Project, PLC1 driver and PLC2 driver in Gateway before installing any system usingGateway. Gateway can accept drivers and configuration data on COM1 port. User needs a special IBM download cable fordownloading configuration in Gateway. All configurations can be downloaded only form Serial port (Port 1). The other port isdedicated for CAN-J1939 / CANopen (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:

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 thenit goes in IBM download mode for 10 sec. In IBM download mode OK LED flashes.

For 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 oreither of them is not present.IMPORTANT NOTE:AS GATEWAY HAS MULTIPLE SIGNALS ON ITS COMMUNICATION PORTS, IBM CABLE FOR GATEWAY MUSTHAVE ONLY THREE RS232 SIGNALS (TXD, RXD AND GND) AS MENTIONED ABOVE.9-9 PIN CORE CABLE SHOULD NOT BE USED.IF YOU ARE USING USB TO SERIAL CONVERTER THEN PLEASE CONNECT IBM CABLE TO SERIAL PORT OFCONVERTER.

Page 36: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GETTING STARTEDGETTING STARTED

30

Doc No: UMAN\GWY-300-B\0106REVISION 1

3.7.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 on port1If device is connected, it continues normal operationIf 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.

Page 37: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

31

Doc No: UMAN\GWY-300-B\0106REVISION 1

GWY-300-B FEATURES

In this chapter. . . .

♦ Gateway Modes

♦ Repeat Cycle

♦ Control Word

♦ Error Indication Bits

♦ Communication Parameters

♦ Default communication Registers

♦ Recepies

Page 38: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

32

Doc No: UMAN\GWY-300-B\0106REVISION 1

Block #1

Block #2

Block #3

Block #4

Block #n

.

.

.

.

.

When Control word is enabled, it decides which block has to be executed by writing a specific data in the control word.

4.1 Gateway Modes

Gateway has two modes of operation: Master-Master and Master-Slave. Before explaining these modes further Masterand 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, ifnecessary.

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 portsinitiate 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 oneither 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 deviceand 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 blocksfrom #1 to #n.

Execution of blocks is performed as follows,

Page 39: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

33

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 theinternal tag database(IDB). The number of bytes allocated to each PGN is mentioned in PGN Length column of IDB.

Gateway(Firmware System)

Common Memory Area

AnySerialDriver

COM2COM1

3KBytes of InternalMemory

3K Internal DatabaseMemory

CAN(J1939) driver

In background, if the received PGN having source address matches with the defined PGN in internal tag database havingsame EXT Device ID then this data is kept in internal memory of CAN driver. The data transfer between the serial driver andCAN is taken place through the common memory area. If serial device wants to read CAN data then corresponding data isbring 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.

Page 40: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

34

Doc No: UMAN\GWY-300-B\0106REVISION 1

Let us 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)

# 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 ofCAN. 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 P0:000F000 from internal memory of CAN and writes it toholding register starting from 400005.

As this example has only two blocks, Gateway will execute Block #1 after executing Block #2 continuing this cycleforever.

Note:1) Internal tag database entry should be such that the total memory of CAN should not exceed more than3KBytes. Care should be taken while creating the project.

Page 41: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

35

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 areslave and master respectively. Blocks do not control data transfer in this mode. Data transfer takes place only whenMaster Device, connected on slave port of Gateway, sends a request to read / write data. This mode requires mappingregisters for data transfer. Mapping means defining one or multiple registers in the Slave Device corresponding to one ormultiple registers in the Master Device. Mapping can be done using the Block definition area, so in this mode, any Blockis 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 addressesof the Source Device to the Destination Device. Maximum number of registers that can be mapped is 255, but this doesnot 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 ofregisters to be read /written in one command also depends on

- protocol of BOTH the devices- Buffer capacity of Gateway.

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 isgreater than PGN Length (may be 4 words) then the remaining words are not mapped with any PGN.

Now let us take the example of Master-Slave mode.Configure Gateway ports as: PLC1 Protocol - Modbus (Gateway as Slave)

PLC2 Protocol - CAN(J1939).

Page 42: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

36

Doc No: UMAN\GWY-300-B\0106REVISION 1

Page 43: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

37

Doc No: UMAN\GWY-300-B\0106REVISION 1

Block #1 maps 4 words of Modbus starting from 400001 to CAN(J1939) starting from P0:000F003.Block #2 maps 1 word of Modbus starting from 400005 to CAN(J1939) starting from P1:000F000.

In above example, 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 P0:000F003 in Block 1. Gateway accepts this command and sends thedata 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 canwrite data in 40005.4 words (PGN Length) corresponding to P0:000F003 are sent on CAN but only first two bytes of this PGN can be changedusing 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 tomaster.

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 atsource 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 more than3KBytes. Care should be taken while creating the project.

FOR CANopen SLAVE PROJECT; REFER TO SECTION 6.2

Page 44: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

38

Doc No: UMAN\GWY-300-B\0106REVISION 1

4.2 Repeat Cycle

User can control Block execution by using the Repeat Cycle field. This number decides whether theBlock will be executed in each cycle. Larger the number lower the priority of the Block. Range for RepeatCycle setting is 1-99.Repeat Cycle = 1 ………… Highest priorityRepeat 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 sequentialmanner. Block will not be executed for [Repeat Cycle - 1] cycles. So if Repeat Cycle for a Block is 1, it willbe executed in each cycle whereas if Repeat Cycle is 2, then this Block will NOT be executed in alternatecycles.

For example, suppose Blocks are defined with following Repeat Cycles:Block #1 Repeat Cycle = 1Block #2 Repeat Cycle = 2Block #3 Repeat Cycle = 3Block #4 Repeat Cycle = 4

After power up, Cycles will be executed as follows:Cycle 1:

Block #1Block #2Block #3Block #4

Cycle 2:Block #1

Cycle 3:Block #1Block #2

Cycle 4:Block #1Block #3

Cycle 5:Block #1Block #2Block #4

4.3 Control Word

Another way of controlling Block execution is by use of the Control Words. 16 control words i.e. 255 control bits areavailable by which user can control 255 blocks. Oth Control bit corresponds Oth bit of control word 1, .., 16st Control bitcorresponds 0st bit of control word 2,.. , 255th Control bit corresponds 15th bit of control word 16. By default 0 to 255 controlbits are mapped to 1 to 256 blocks. User can change value of the control bit. Control Word can be enabled or disabled inGateway Configuration. Normally Control Word is disabled for a New project. It can be enabled just by clicking on checkbox 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 ofwords in the control field should be taken.For example, if 36th 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 controlwords = Number of control words + 1

Page 45: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

39

Doc No: UMAN\GWY-300-B\0106REVISION 1

In the 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 control 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 -Slavemode (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 ControlWord is enabled, Block execution is controlled using discrete bits of that word.

Bit 0 in control word controls execution of Block #1Bit 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’, executionof corresponding Block is disabled.

4.4 Error Indication Bit

This feature enables detection of communication breaks during error free communication between Gateway and twodevices. Communication breaks can occur due to no cable connection, wire faults, device power failure at both ends ofGateway. An Error bit can be designated in each external device connected toGateway. Using this bit, fault at the PLC1 end can be reported to PLC2 Device and fault at PLC2 end can be reported toPLC1 Device. When communication error occurs on PLC1, Gateway sets error bit in PLC2 device. Error Indication Bit canonly be used in Master-Master mode. In Master-Slave mode any error can easily be detected by a communication time outon the Master.

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 anyone of the Devices connected to Gateway. Error Indication bit is “OFF” to indicate error free communication. In case ofcommunication 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 featureallows changes in Baud rate, Number. of stop bits, Parity etc. at any time without downloading the driver for that particulardevice. After the driver for a particular device is downloaded, the communication parameters can be changed simply byselecting new communication parameters and downloading the same project.

Page 46: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

40

Doc No: UMAN\GWY-300-B\0106REVISION 1

4.6 Default Communication registers

Purpose: To provide flexible Attach Sequence.This register is used to test communication with the device to see if device is connected and to checkif settings are proper.

Location: User can access these register in “Settings>> Default Communication Register” menu.This feature is useful when external slave device does not allow single read operation or does notrespond to any particular register.

For example: Some energy meters allow reading in multiple of 16 registers only.Previously for Modbus Driver only holding register 400001 was read for attach. But if a particulardevice does not respond to 400001, then the initialization will fail.

What does the “Default Communication Register” do?

After power up default communication register is the first register that is fetched by the master driver from the slavedevice. If response for this register is received from slave then only gateway will start the Ethernet initialization.Otherwise GWY-300 would continuously try to establish the communication with external Slave device by sending readrequest with the “default communication register”.

NOTE:1) This is implemented only for master drivers that support IDB.2) First register present in first row of IDB is taken as default communication register.3) The no of words field for default communication register are 1, user can change the value to maximum of 255whichever is applicable (35 is valid in above case).

Page 47: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

GWY-300-B FEATURESGWY-300-B FEATURES

41

Doc No: UMAN\GWY-300-B\0106REVISION 1

4.7 Recipes

Purpose: To provide user-definable write of configuration properties or control sequences at power on to theexternal Slave Devices.

Location: User can access these Recipes in “Settings>>Recipes” menu.

In case of some Slaves it is necessary to write configuration properties or control sequences at power on. Drives/Inverters generally require this kind of sequence.

After power on, before Gateway Project Block execution starts, Recipes blocks will be executed and the specified valuewill be written into the specified registers.

NOTE:1) Recipes are only useful for master drivers.2) All the fields in Recepies i.e. COM Port, Station ID, #Words, Register Address, Value can be changed by user.

Page 48: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

NOTE ON COMMUNICATION DRIVERSNOTE ON COMMUNICATION DRIVERS

42

Doc No: UMAN\GWY-300-B\0106REVISION 1

NOTE ON COMMUNICATION DRIVERS

Page 49: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

43

Doc No: UMAN\GWY-300-B\0106REVISION 1

NOTE ON COMMUNICATION DRIVERSNOTE ON COMMUNICATION DRIVERS

5.1 Note On Communication Drivers (J1939)

How Gateway CAN(J1939) driver works?

CAN driver uses total 3KBytes of Internal Memory. Memory is allocated to the each PGN according to the entry in theinternal tag database(IDB). The number of bytes allocated to each PGN is mentioned in PGN Length column of IDB.

Gateway(Firmware System)

Common Memory Area

AnySerialDriver

COM2COM1

3KBytes of InternalMemory

3K Internal DatabaseMemory

CAN(J1939) driver

The total PGNs defined in actual project are automatically updated in the internal tag database with the correspondinginformation of the defined PGN. In background, if the received PGN having source address matches with the defined PGNin internal tag database having same EXT Device ID then this data is kept in internal memory of CAN 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 InternalDatabase* is used.

* Note: Concept of Internal database (IDB) is explained on next page.

Page 50: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

NOTE ON COMMUNICATION DRIVERSNOTE ON COMMUNICATION DRIVERS

44

Doc No: UMAN\GWY-300-B\0106REVISION 1

Let us have a glance at Internal database.Please refer the following example.

Page 51: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

45

Doc No: UMAN\GWY-300-B\0106REVISION 1

NOTE ON COMMUNICATION DRIVERSNOTE 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 isread (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 COM1)

These blocks are uploaded/read in continuous fashion (in the background by Gateway driver) and data is stored ininternal database memory. So time required for read cycle is optimized. 2. Write operations are on comparison basis. Since all the registers data is already present in internal database memory of Gateway driver, every time before performingwrite 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 of3KBytes. Data fetched by the master driver from external slave device is loaded into its internal memory in continuousfashion irrespective of block execution of Gateway project.

“Background communication Enable/Disable” default setting depends on PLC or Device protocol.

Advantages of background communication:

1. Better speed:For background communication each master driver has 3K internal memory (i.e. 1500 words). If background

communication is enabled master driver will use inputs from internal database (IDB) and continuously start-fetching datafor defined registers in IDB independent to other side driver. This all data is stored in internal data memory. When requestcomes from other end external master for mapped registers in gateway projects then data is given from internal memoryso time for data fetching from slave device is minimized. If IDB is not present then data is fetched by sending command toslave device and then it is transferred to other side device, which consumes time, and hence speed is low.

2. Skip on communication fail:This feature is very useful when multiple slaves are connected to gateway. This can be settable by user in IDB

setup. This feature will decide to skip data fetching from specific node if that node in the network is off. If any node is offduring normal communication, gateway will skip this node in next data fetch cycle and gives failure indication by flashingled in RED on master port side (i.e. on COM1 side of gateway) and keep its normal data fetching from other nodes. If anyfailed node is again come in the communication network to fetch data from this node user should have to reset thegateway.

3. Fail value:If communication break occurs between external slaves and gateway due power off of any particular slave then

gateway moves specified value in other side mapped register. At power on each master driver will get all inputs from theirinternal database Setup and according to that information starts fetching and loading data into its internal databasememory irrespective of execution of project blocks.The master driver will read all the data and load it into the internal database memory. But in case of write operation, eachmaster driver will check the data available in the internal memory with the new data to be written. If the data in the internalmemory is same as the new data, then Gateway software will skip the write command. In case of different data, masterdriver will initiate the write command.

Page 52: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

NOTE ON COMMUNICATION DRIVERSNOTE ON COMMUNICATION DRIVERS

46

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 informationstarts fetching and loading data into its internal database memory irrepective of excution of project blocks.

The master driver will read all the data and load it into the internal database memory. But in case of write operation, eachmaster driver will check the data available in the internal memory with the new data to be written. If the data in the internalmemory is same as the new data, then Gateway software will skip the write command. In case of different data, masterdriver will initiate the write command.

Compare

Slave Device

Master Driver

3KBytesInternal

Database

CAN(J1939)Driver

Gateway

Background Read Operation Write Operation

Write in Externalserial device

Write in InternalMemory

Page 53: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

47

Doc No: UMAN\GWY-300-B\0106REVISION 1

NOTE ON COMMUNICATION DRIVERSNOTE ON COMMUNICATION DRIVERS

5.2 Note On Communication Drivers (CANopen Slave Driver)

How Gateway CANopen slave (Comm 2) driver works?

The CANopen slave has Slave functionality and hence has no Internal Database memory i.e. no IDB is generated. (Pleaserefer to section 5.1 for IDB concept). But the slave has a smart implementation. Whenever a Master configures the slave forsome PDO, the slave generates and maintains separate tables for the Transmit PDO and regularly updates the values. Thisimproves the scan time for the PDO tremendously, as only the data corresponding to the PDO are fetched continuously. If noPDO is mapped then there is no Internal data fetching and/ or updating been done.

Whenever there is a Read/ Write Request via a SDO service, the CANopen slave, parses the request. If the request is toaccess the Object Dictionary then the appropriate response is generated in the slave itself depending on the type of request,size, permissions etc. (refer the SDO services in section 3.4.2 for the different codes of SDO). But if the request is for avariable mapped to the comm1 side, the CANopen slave passes the appropriate request to the Comm1 Driver. The responsereceived is then sent via the ‘response SDO’ service.

How Comm1 Driver works?

The Comm1 driver has always to be a master driver when being used with the CANopen slave driver. The Comm1 driver, hencemay have an IDB of its own.If the Background Communication is enabled, all the data write / read requests from the CANopen slave are done to/ from theIDB.Please refer to section 5.1 for the IDB concept.The Internal database is associated only with Master drivers. Every Master driver has its own internal database of3KBytes. Data fetched by the master driver from external slave device is loaded into its internal memory in continuous fashionirrespective 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 requiredby the Gateway software

CAN

Port

Access to Comm1 variablesvia Manuf specific area

Access to OD

OD AccessResponse

OD

NoInternalDataBaseMemory

CANopen Slave

○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○

○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○

Page 54: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

48

Doc No: UMAN\GWY-300-B\0106REVISION 1

TYPICAL PROJECTS AND APPLICATIONS

In this chapter. . . .

♦ Project Setup (J1939)

♦ Applications (J1939)

♦ Support for Diagnostics (J1939)

♦ Project Setup (CANopen Slave)

♦ Applications (CANopen Slave)

Page 55: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

49

Doc No: UMAN\GWY-300-B\0106REVISION 1

6.1 J1939: Creating a new project

6.1.1 Project Setup (J1939)

This Chapter explains, how a simple Gateway project can be created and tested. To develop a Gateway system, selectappropriate Gateway model depending on the system requirements. A new project can be created as follows:

User should follow the given seqence 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. Source address for CAN port canbe set through the PLC2 settings - advanced settings. For CAN (J1939) 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. 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 port1If device is connected, it continues normal operationIf 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 & project.After downloading firmware, driver or project, software will ask to restart the unit. If user click on NO, then gateway willremain in Download mode. If user click on YES, then gateway unit is ready for application.

Page 56: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

50

Doc No: UMAN\GWY-300-B\0106REVISION 1

6.1.2 Applications (J1939)

An on-vehicle gateway used to interface a J1939 network to an onboard industrial automation based control systemsupporting the Modbus protocol.

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” suffix.If the PGN is of transmitting type, then while selecting the PGN, select “1” suffix.

Mapping for Gateway1. Master - Slave mode (Modbus slave - CAN)

PLC/SCADA acts as Modbus master & GWY-300-B as modbus slave.

For eg -1. Modslave (40001) corresponds to PGN P0:000F001 andNo of words field contains 4 words i.e. Modbus Master on other side can read data of PGN P0:000F001 which receive onCAN. The destination ID Field (Next to destination field in the project ) should contain the source ID of the device whichtransmits this PGN F001.

Please refer to Master-Slave configuration from Chapter 4.1.2

PLCJ1939Toshiba C

US

LIS

TE

D58D

N

R

RE

NU

EL

EC

TR

ON

ICS

PV

T.LT

D.

S.N

o.2

/6,B

aner

Road,

Pune

-411045.

IND

IA.C

AN

PL

C1

(RS

23

2/R

S4

85

/CM

OS

)

PL

C1

OK

}24

VD

C;

+/-

10

%D

C

DC

EA

RT

H

GW

Y-3

00-B

(CA

NG

AT

EW

AY

)

H/W

Rev.A

1

CANHIGH

SHIELD

CANLOW

Page 57: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

51

Doc No: UMAN\GWY-300-B\0106REVISION 1

2. Master- Master Mode (e.g. Toshiba-CAN)

GWY-300-B acts as Toshiba Master.

For eg -To read data on CANBUS and writes the data into the Toshiba PLC.

Select CAN as a Source PLC & Toshiba as destination PLC in gateway project.Only single PGN (having defined PGNlength- 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 tagdatabase table.

3. Get Engine RPM and Engine Oil Temperature from Diesel Engine. Store RPM and oil temperature in PLCdata registers. PLC should set an alarm bit on when RPM or oil temperature 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 (00FEEE), see page no-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 dataregisters.

Page 58: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

52

Doc No: UMAN\GWY-300-B\0106REVISION 1

Page 59: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

53

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 stored in D0-D3 as shown.

High Byte Low Byte

D000 Byte1 of F004 Byte2 of F004Status_EEC1 Driver’s demand engine - percent torque

D001 Byte3 of F004 Byte4 of F004Actual engine - percent torque Engine speed

D002 Byte5 of F004 Byte6 of F004Engine speed Not defined

D003 Byte7 of F004 Byte8 of F004Not defined Not defined

As per the description of F004 given in Appendix

Byte: 1 Status_EEC1 Bit: 8-5 Not defined 4-1 Engine/retarder torque mode

2 Driver’s demand engine - percent torque3 Actual engine - percent torque4,5 Engine speed6-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 bytesResolution :0.03125 °C/bit gain, -273 °C offsetData Range :-273 to +1735.0 °C (-459.4 to 3155.0 °F)

The value seen for PLC data register is ‘X’. Then the actual value is Y in 0C=( X * 0.03125) -273 °CThe minimum and maximum values for Y are given in data range i.e -273 (min) & +1735 0C (max).

In this way the PLC registers are mapped with the CAN PGNs.

Page 60: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

54

Doc No: UMAN\GWY-300-B\0106REVISION 1

6.1.3 Support for Diagnostics (J1939)

The GWY-300 is capable of supporting multi packet Diagnostic messages that is Active Diagnostic Codes (DTCs) in theform of SPN (Suspect Parameter Number) and FMI (Failure Mode Identifier) combinations. This is achieved with the use ofthe PGN 0xFECA. 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 somePGNs, which can 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 forone 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 (BroadcastAnnounce Message) declaring to all the other nodes. Now all the nodes interested in that data (details is obtained in theBAM message), accept that data while other nodes reject it. There is no connection initiation or Acknowledgement.

For RTS/CTS scheme: the transmitter sends the RTS frame to the concerned node which has to respond with a CTS frameand thereby setup a connection and data transfer takes place from the transmitter to the receiver. Several other frames maybe send by the responder in between to keep the connection active. In the end, the responder sends an Acknowledge frameto indicate successful termination of the connection. For all successful/unsuccessful aborts, holding a connection, theresponder is responsible and is in control of the line.

NOTE: 0xEC00 and 0xEB00 are PDU-I format and hence can be destination specific (0-254) / global (FF).

The PGN 0xEC00 is used for the transportation layer. Its first byte is the control word that states whether this frame (i.e.0xEC00) is a BAM, RTS, CTS, ACK or ABORT message.This is followed by transmission of PGN 0xEB00, used for data transfer in transport layer, that carries the sequence num-ber, and seven data bytes of the multi packet frame.

transmitter receiver

BAM msg

0xECxx

data

0xEBxx

data

0xEBxx

0xEBxx

data

transmitter receiver

RTS

0xECxx

0xECxx

CTS

0xEBxx

data

0xEBxx

data

0xECxx

ACK

Page 61: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

55

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 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. Thistime 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 0xFECA. This PGN is maybe of variable length andhence multipacketed too. This PGN supports Active Diagnostics i.e. Faults that are currently present. These faults areused 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 0xFECA always indicates the states of the Status Lamps used for faults for Diagnostics. Fromthe 2nd byte onwards the Faults, also termed DTC (Diagnostic Trouble Codes) as follows:

Note:For every PGN mapped in the software, internally a database is accessed that provides the ‘data length’ and ‘Priority’ forthat PGN.For most of the PGNs both these parameters are know. The diagnostic messages are generally multipacket i.e.each PGN carries more than 8 bytes of data. Hence in the project more than 4 words maybe mapped in a single rowconsisting the Diagnostic PGN. It depends on the user to decide the number of words to be mapped for a diagnostic PGN.Hence whenever a Multipacket PGN is mapped say 0xFECA and if the project is saved its corresponding data length inthe IDB region is empty as shown below.

Byte 1

Statuslamps SPN + FMI + OC

for DTC 1SPN + FMI + OCfor DTC 2

Page 62: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

56

Doc No: UMAN\GWY-300-B\0106REVISION 1

This field has to be filled manually by the user, everytime a multipacket PGN is newly mapped or modified. The value to beinserted is two times the number of words mapped in the #no of words field in the project.

Page 63: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

57

Doc No: UMAN\GWY-300-B\0106REVISION 1

Example:

PGN 61443 (R) Electronic Engine Controller 2 - EEC2

Transmission Repetition 50 msData Length: 8Data Page: 0PDU Format: 240PDU Specific: 3 PGN Supporting Information:Default Priority: 3Parameter Group Number: 61443 (0xF003)

Start Position Length Parameter Name SPN

1.1 2 bits Accelerator Pedal 1 Low Idle Switch 558

1.3 2 bits Accelerator Pedal Kickdown Switch 559

1.5 2 bits Road Speed Limit Status 1437

1.7 2 bits Accelerator Pedal 2 Low Idle Switch 2970

2 1 byte Accelerator Pedal Position 1 91

3 1 byte Engine Percent Load at Current Speed 92

4 1 byte Remote Accelerator Pedal Position 974

5 1 byte Accelerator Pedal Position 2 29

6.1 2 bits Vehicle Acceleration Rate Limit Status 2979

Above are the SPN mentioned for several Parameters. Now when this fault occurs, the corresponding SPN along with theFMI is transmitted. The FMI as the name indicates gives the reason/ mode for the Fault. OC gives the number of timesthe Fault has occurred.

Page 64: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

58

Doc No: UMAN\GWY-300-B\0106REVISION 1

6.2 CANopen Slave: Creating a new project

6.2.1 Project setup (CANopen Slave)

This Chapter explains, how a simple Gateway project can be created and tested. To develop a Gateway system, selectAppropriate Gateway model depending on the system requirements. A new project can be created as follows:User should follow the given sequence to configure and use GWY-300-B unit:1. Install Gateway Setup Software.2. Select GWY-300-B from product list as shown below:

An Energy-Meter operating on the Modbus protocol is interfaced to a PLC (CANopen Master) on the CANopen networkvia the GWY-300-B (CANopen Slave).

CO-MASTEREnergyMeter

CANopenSlave

Page 65: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

59

Doc No: UMAN\GWY-300-B\0106REVISION 1

3. Create a project using gateway software. Set Baud rate through PLC2 settings

Page 66: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

60

Doc No: UMAN\GWY-300-B\0106REVISION 1

4. The Node-ID for CAN port can be set through: PLC2 settings>>advanced settings>>Source ID (a Settable value between 1 and 127)

Page 67: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

61

Doc No: UMAN\GWY-300-B\0106REVISION 1

5. For CAN driver, user selects the required Manufacturer specific area Buffer for mapping the variables/ parameters of the Comm1 side. The Buffers (explain in figure 3.4k in section 3.4.6) are available to map byte, word or double word parameters/ variables of the Comm1 side.

Page 68: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

62

Doc No: UMAN\GWY-300-B\0106REVISION 1

Refer Application note for mapping the registers.4. Connect IBM cable and CAN cable.5. Power up the unit.

At power On: Driver present for PLC1 port is checked that whether device is connected on port1If device is connected, it continues normal operationIf device is not connected, it checks for IBM download mode for 10sec.This sequence continues until this is satisfied.

Once the PLC1 gets attached to the Comm1 side, the CANopen slave is initialized. The slave sets up its internal buffersand then sends the BOOTUP message and enters the PREOPERATIONAL state to indicate that it is ready for operation.

6.2.2 Project Example:

Let us assume that user wants to read the parameters “Voltage”, “Current”, “Power Factor”.

Volatge is available in Modbus register 400001 and ‘Current’ in 400005.Both are word length, Read only parameters.Also let us assume there is a set point value such as the “CT Ratio” in 400020 that is a read / write parameter.

Mapping for such a meter shall be done in the Manufacturer specific area of the CANopen Driver as shown below:

Now since Voltage and Current are mapped to the Input Word Buffer as attempt to write these values shall provide an abortSDO message. But these parameters may be mapped to PDO as well and depending on the trigerring mechanism, theTransmit PDO will be generated by the slave.

601 40 00 21 01 0 0 0 0

581 4b 00 21 01 0xE6 0 0 0

Write attempt to the INPUT BUFFER AREA will give the following abort.

601 2b 00 25 01 0x90 0x1 0 0

581 80 00 25 01 02 00 01 06

Page 69: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

63

Doc No: UMAN\GWY-300-B\0106REVISION 1

CT Ratio being mapped to the output area (here word buffer), it can be read as well be written.Let us assume that the current CT ratio value is 200 (0xC8) and CANopen Master wants to make it 400.As SDO read access to this variable will be:

601 40 00 25 01 0 0 0 0

581 4b 00 25 01 0xC8 0 0 0

Similarly an SDO write access to write value 400 (0x190) will be:

601 2b 00 25 01 0x90 0x1 0 0

581 60 00 25 01 0 0 0 0

If the size for ‘write’ does not match with the size of buffer then it will result in an abort with code SIZE MISMATCH(0X06090030).

601 2b 00 25 01 0x90 0x1 0 0

581 80 00 25 01 30 0 09 06

Note:1. The object that have to be mapped to the PDO should be present in the project.2. If a byte variable is mapped into a higher buffer i. e. a word or double region the upper nibble will be prefixed

with zero.

Page 70: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

64

Doc No: UMAN\GWY-300-B\0106REVISION 1

6.2.3 CANopen Master Configuration:

The configuration master is generally done via a software utility that is provided along with the Master. The tasks generallyfollowed for configuration tool are defined by /1/.

The following example is with a Telemechanique TSX3722 PLC with a CANopen Master card (CPP110) in the PCMCIA slotand the REPL slave.

The configuration for the master is done via software utility called SYCON software provided by Telemechanique. Here is thestepwise explanation for the configuration:

1) First place the EDS files provided by REPL in the EDS path provided by the Software.

2) Now open the software and select the master (in this case it is CPP110) followed by selection of the slave. Theutility provides all the slaves present in its EDS files' path. Select the REPL CANopen slave. The important stephere is to assign the node ID.

REFER TO FIG C1

Fig C1

Page 71: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

65

Doc No: UMAN\GWY-300-B\0106REVISION 1

3) The slave has been included and is ready to be configured, the REPL slave as shown has the following features:No Device profile is supported, device type is set to zero and the mapping method is in accordance with DS301V4.02. REPL CANopen slave supports maximum of 4 TX and RX PDOs.

REFER TO FIG C2

Fig C2

Page 72: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

66

Doc No: UMAN\GWY-300-B\0106REVISION 1

5) The next step involves selecting the PDO and configuring the PDO by mapping its contents and selecting its Characteris-tics i.e. 'Triggering mechanism'.

Note: REPL CANopen slave supports cyclic and asynchronous trigerring only i.e. values of 0 to 240 and 255.

Fig C4

Page 73: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

67

Doc No: UMAN\GWY-300-B\0106REVISION 1

Fig C5

Page 74: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

68

Doc No: UMAN\GWY-300-B\0106REVISION 1

As shown above options can be selected of what needs to be configured in a slave. Here the SYNC COB-ID configurationis skipped for our slave.Once the entire configuration is done, the data is downloaded into the Master tool (in case of the TSX3722 PLC it is donevia the PL7 software).

Precautions:The Indices mapped in the PDO should be present in the project setup done using the REPL software for the Gateway. Inthis case (refer to fig C4), Index 0x2500.00 to 0x2500.04 has to be present in the gateway project as it is mapped inRXPDO 1.The PDO triggering mechanism should have the only one of these values: 0-240 or 255. Other triggering mechanisms arenot supported.

Fig C6

6) The last step involves selection of the Node’s ‘bootup action’. This step involves selection of the tasks the mastershould perform on a slave at bootup or when the device fails.

Page 75: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

TYPICAL PROJECTSTYPICAL PROJECTS

69

Doc No: UMAN\GWY-300-B\0106REVISION 1

3. Drive as slave in CANopen network

4. Add I/O to your PLC

Node n

Node 1

Modbus Protocol

~

~

CANopen ProtocolPLC

CANopen Master

Eagle Analog I/O Example: Eagle0800

by Renu Electronics

X ProtocolCANopen

Protocol

PLC

Drive

Motor

Node 1

Node 2

6.2.3 CANopen Slave Gateway Applications:

GWY-300 connects one field device over serial link to another field device over a CANopen network. User can define theblocks of registers to be fetched from one device and to be transferred to the other. Our users have used Gateway units indifferent applications across many industries. The typical configuration includes the following:

1. PLC to PLC Communication

2. HMI as a CANopen Slave

X Protocol

PLC 1PLC 2

CANopen Master

CANopen

Protocol

X ProtocolPLC 2

CANopen Master

CANopen

Protocol3rd party HMI

Page 76: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

CONFIGURATION SOFTWARECONFIGURATION SOFTWARE

70

Doc No: UMAN\GWY-300-B\0106REVISION 1

CONFIGURATION SOFTWARE

In this chapter...

♦ System Requirements

♦ Installation Instruction

Page 77: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

CONFIGURATION SOFTWARECONFIGURATION SOFTWARE

71

Doc No: UMAN\GWY-300-B\0106REVISION 1

7.1 System Requirements

Gateway Setup software runs on a PC/AT compatible computer with the following specifications:

Windows Version : Microsoft Windows 9x / 2000Processor : PENTIUM or higherHard disk Space : 5 MB or moreSerial Mouse : RequiredRAM :16 MB or moreDisplay resolution : 800 X 600 (VGA) or betterDisplay colors :16 bit color

7.2 Installation Instruction

Use the following procedure to install the Microsoft Windows® based Gateway setup software This installation shows theprocedure to install the software from a CD Disk on drive E. On machines with different drive configurations, change thenames as needed. It is recommended that a backup disk of the Gateway setup software disk be created and stored in asafe place.

1. Launch the Windows operating system.2. Insert the setup CD into CD-drive.3. Point to the start button then click RUN4. 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.

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 firmware, drivers used, and boot block.

Page 78: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

72

Doc No: UMAN\GWY-300-B\0106REVISION 1

APPENDIX

In this chapter. . . .

♦ Parameter Group Number

♦ Description of PGNs

♦ Details of Rotochopper Application

♦ Toubleshooting

Page 79: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

73

Doc No: UMAN\GWY-300-B\0106REVISION 1

A Parameter Group Number

The J1939 specification defines allowable messages by their Parameter Group Number (PGN). The Parameter GroupNumber is a 3-byte value that uniquely defines the message purpose. A PGN has the following format.

0 Reserved Data page bit PDU format Group Extension

6 bits 1 bit 1 bit 8 bits 8 bits

Data transfered on the CAN bus is defined as Parameter Groups (PGs). PG’s define where the data is located in the CANData 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 ParameterGroup Number (PGN). This is the number used in J1939 to access the data about a particular parameter or a set ofparameters.

Parameter group Number Parameter Description

0x0000(00000) TORQUE/SPEED CONTROL #1: TSC1

0xDE00 (56832) RESET

0xE000(57344) CAB MESSAGE #1: CM1

0xEA00(59904) REQUEST PGN

0xEB00(60160) TRANSPORT PROTOCOL - DATA TRANSFER (TP.DT)

0xEC00(60416) TRANSPORT PROTOCOL CONNECTION MANAGEMENT (TP.CM)

0xF000(61440) ELECTRONIC RETARDER CONTROLLER #1: ERC1

0xF001(61441) ELECTRONIC BRAKE CONTROLLER #1: EBC1

0xF002(61442) ELECTRONIC TRANSMISSIOIN CONTROLLER #1: ETC1

0xF003(61443) ELECTRONIC ENGINE CONTROLLER #2: EEC2

0xF004(61444) ELECTRONIC ENGINE CONTROLLER #1: EEC1

0xF005(61445) ELECTRONIC TRANSMISSIOIN CONTROLLER #2: ETC2

0xF006(61446) ELECTRONIC AXLE CONTROLLER #1: EAC1

0xFEAC(65196) WHEEL BRAKE LINING REMAINING INFORMATION: EBC4

0xFEAD(65197) WHEEL APPLICATION PRESSURE HIGH RANGE INFORMATION:EBC3

0xFEAE(65198) SUPPLY PRESUURE

0xFEAF(65199) FUEL CONSUMPTION (GASEOUS)

0xFEB1(655201) ECU HISTORY

0xFEB2(65202) FUEL INFORMATION (GASEOUS)

Page 80: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

74

Doc No: UMAN\GWY-300-B\0106REVISION 1

Parameter group Number Parameter Description

0xFEB3(65203) FUEL INFORMATION

0xFEB4(65204) TRIP TIME INFORMATION #1

0xFEB5(65205) TRIP SHUTDOWN INFORMATION

0xFEB6(65206) TRIP VEHICLE SPPED/ CRUISE DISTANCE INFORMATION

0xFEBD(65213) FAN DRIVE

0xFEBE(65214) ELECTRONIC ENGINE CONTROLLER #4 : EEC4

0xFEBF(65215) WHEEL SPEED INFORMATION

0xFEC0(65216) SERVICE

0xFEC1(65217) HIGH RESOLUTION VEHICLE DISTANCE

0xFEC2(65218) ELECTRONIC RETARDER CONTROLLER #2:ERC2

0xFEC3(65219) ELECTRONIC TRANSMISSION CONTROLLER #5:ETC5

0xFEC5(65221) ELECTRONIC TRANSMISSION CONTROLLER #4:ETC4

0xFEC7(65223) ELECTRONIC TRANSMISSION CONTROLLER #3:ETC3

0xFED5(65237) ALTERNATOR SPEED

0xFED9(65241) AUXILIARY DISCRIPT INPUT / OUTPUT STATUS

0xFEDB(65243) ENGINE FLUID LEVEL / PRESSURE #2

0xFEDC(65244) IDLE OPERATION

0xFEDD(65245) TURBOCHARGER

0xFEDE(65246) AIR START PRESSURE

0xFEDF(65247) ELECTRONIC ENGINE CONTROLLER

0xFEE0(65248) VEHICLE DISTANCE

0xFEE4(65252) IDLE SHUTDOWN

0xFEE5(65253) ENGINE HOURS, REVOLUTIONS

0xFEE6(65254) TIME/DATE

0xFEE7(65255) VEHICLE HOURS

Page 81: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

75

Doc No: UMAN\GWY-300-B\0106REVISION 1

Parameter group Number Parameter Description

0xFEE8(65256) VEHICLE DIRECTION/SPEED

0xFEE9(65257) FUEL CONSUMPTION

0xFEEA(65258) VEHICLE WEIGHT

0xFEED(65261) CRUISE CONTROL/VEHICLE SPEED SET

0xFEEE(65262) ENGINE TEMPERATURE

0xFEEF(65263) ENGINE FLUID LEVEL/PRESSURE

0xFEF0 (65264) POWER TAKEOFF INFORMATION

0xFEF1 (65265) CRUISE CONTROL/VEHICLE SPEED

0xFEF2 (65266) FUEL ECONOMY

0xFEF3 (65267) VEHICLE POSITION

0xFEF4 (65268) TIRE CONDITION

0xFEF5 (65269) AMBIENT CONDITIONS

0xFEF6 (65270) INLET/EXHAUST CONDITIONS

0xFEF7 (65271) VEHICLE ELECTRICAL POWER

0xFEF8 (65272) TRANSMISSION FLUIDS

0xFEF9 (65273) AXLE INFORMATION

0xFEFA(65274) BRAKES

0xFEFB(65275) RETARDER FLUIDS

0xFEFC(65276) DASH DISPLAY

0xFEFD(65277) ALTERNATE FUEL #1

0xFEFE(65278) AUXILIARY WATER PUPM PRESSURE

0xFEFF(65279) WATER IN FUEL INDICATOR

0xFF00(65280) PROPRIETARY B PGN

Page 82: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

76

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 in 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 has8 bytes and it is 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 D0004 contains eighth byte of PGN. The sequence of bytes of PGN isdefined as follows.

1. TORQUE/SPEED CONTROL #1: TSC1

Transmission repetition rate : when active; 10 ms to the engine - 50 ms to the retarderData length : 8 bytesData page : 0PDU format : 0PDU specific : Destination addressDefault priority : 3Parameter group number : 0 (00000016)

Byte: 1 Control Bits2-3 Requested speed/Speed limit4 Requested torque/Torque limit5-8 Not defined

Bit: 8-7 Not defined6,5 Override control mode priority4,3 Requested speed control conditions2,1 Override control modes

Note: Retarder may be disabled by commanding a torque limit of 0%. For example, this permits the brake switch to enablethe retarder, up to an amount selected by another device or the operator. Note that the brake switch can be treated as anoperator input (mode 00012) or as a brake system input (mode 10102) relative to the active torque mode.

Page 83: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

77

Doc No: UMAN\GWY-300-B\0106REVISION 1

2. RESET

Transmission repetition rate : When neededData length : 8 bytesData page : 0PDU format : 222PDU specific : Destination addressDefault priority : 7Parameter group number : 56,832 (00DE0016)

Byte: 1 Trip reset2 Service component to reset3-8 Not defined

Bit: 8-5 Not defined4,3 Trip group 2 - Proprietary2,1 Trip group 1

Note:This message requires an Acknowledgement response (See J1939/21, 3.4.4) from the receiving node. The use ofindividual proprietary protocols can still be used instead of the “trip reset” PGN to maintain security.

3. CAB MESSAGE #1: CM1

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 224PDU specific : Destination addressDefault priority : 6Parameter group number : 57,344 (00E00016)

Byte: 1 Requested percent fan speed2-8 Not defined

4. REQUEST

Transmission repetition rate : Per user requirements, generally recommended that requests occur nomore than 2 or 3 times per second.

Data length : 3 bytes (The CAN frame for this PG shall set the DLC to 3.)Data page : 0PDU format : 234PDU specific field : Destination Address (global or specific)Default priority : 6Parameter group number : 59,904 (00EA0016)Byte: 1, 2, 3 : Parameter Group Number being requested

Page 84: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

78

Doc No: UMAN\GWY-300-B\0106REVISION 1

5. TRANSPORT PROTOCOL DATA TRANSFER (TP.DT)

Transmission repetition rate : Per the Parameter Group to be transferredData length : 8 bytesData page : 0PDU format : 235PDU specific field : Destination Address (Global (DA = 255) for TP.CM.BAM data transfers)

(Global not allowed for RTS/CTS data transfers)Default priority : 7Parameter group number : 60,160 (00EB0016)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 requireless 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 transferredData length : 8 bytesData page : 0PDU format : 236PDU specific field : Destination AddressDefault priority : 7Parameter group number : 60,416 (00EC0016)Data ranges for parameters used by this Group Function:Control byte : 0-15, 18, 20-31, 33-254 are Reserved for SAE AssignmentTotal Message Size, number of bytes: 9 to 1785 (2 bytes), zero to 8 and 1786 to 65535 not allowedTotal Number of Packets : 2 to 255 (1 byte), zero not allowedMaximum Number of Packets : 2 to 255 (1byte), zero through 1 are not allowedNumber of Packets that can be sent: 0 to 255 (1 byte)Next Packet Number to be Sent : 1 to 255 (1 byte), zero not allowedSequence Number : 1 to 255 (1 byte), zero not allowed

Page 85: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

79

Doc No: UMAN\GWY-300-B\0106REVISION 1

7. ELECTRONIC RETARDER CONTROLLER #1: ERC1

Transmission repetition rate : 100 msData length : 8 bytesData page : 0PDU format : 240PDU specific : 0Default priority : 6Parameter group number : 61,440 (00F00016)

Note-This message can also be used by the engine exhaust brake. The distinction of engine brake and retarder is done bythe source address.

Byte: 1 Status_ERC1 Bit: 8,7 Retarder enable - shift assist switch6,5 Retarder enable - brake assist switch4-1 Engine/retarder torque mode

2 Actual retarder - percent torque3 Intended retarder percent torque4 Coolant load increase Bit: 8-3 Not defined

2,1 Engine coolant load increase5-8 Not defined

8. ELECTRONIC BRAKE CONTROLLER #1: EBC1-Used for brake control information.

Transmission repetition rate : 100 msData length : 8 bytesData page : 0PDU format : 240PDU specific : 1Default priority : 6Parameter group number : 61,441 (00F00116)

Byte: 1 Status_EBC1 Bit: 8-7 Not defined6,5 ABS active4,3 ASR brake control active2,1 ASR engine control active

2 Brake pedal position Data Length: 1 byteResolution: 0.1%/bit gain, 0% offsetData Range: 0-100%

3 Status_EBC2 Bit: 8-7 Not defined6,5 ASR “hill holder” switch4,3 ASR offroad switch2,1 ABS offroad switch

4 Measured_Aux_1 Bit: 8,7 Remote accelerator enable switch6,5 Auxiliary engine shutdown switch4,3 Engine derate switch2,1 Accelerator interlock switch

5 Engine retarder selection6-8 Not defined

Page 86: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

80

Doc No: UMAN\GWY-300-B\0106REVISION 1

9. ELECTRONIC TRANSMISSION CONTROLLER #1: ETC1

Transmission repetition rate : 10 msData length : 8 bytesData page : 0PDU format : 240PDU specific : 2Default priority : 3Parameter group number : 61,442 (00F00216)

Byte: 1 Status_ETC1 Bit: 8-7 Not defined6,5 Shift in process4,3 Torque converter lockup engaged2,1 Driveline engaged

2,3 Output shaft speed Data Length: 2 bytesResolution: 0.125 rpm/bit gain, 0 rpm offset(Upper byte resolu

tion:32 rpm/bit)Data Range: 0 to +8031.875rpm

4 Percent clutch slip Data Length: 1 byteResolution: 0.4%/bit gain, 0% offsetData Range: 0 to 100%

5 Command_ETC1 Bit: 8-5 Not defined4,3 Progressive shift disable2,1 Momentary engine overspeed enable

6,7 Input shaft speed Data Length: 2 byteResolution: 0-125rpm/bit gain, 0rpm offsetData Range: 0 to +8031.875rpm

8 Not defined

10.ELECTRONIC ENGINE CONTROLLER #2: EEC2

Transmission repetition rate : 50 msData length : 8 bytesData page : 0PDU format : 240PDU specific : 3Default priority : 3Parameter group number: 61,443 (00F00316)

Byte: 1 Status_EEC2 Bit: 8-5 Not defined4-3 AP kickdown switch2-1 AP low idle switch

2 Accelerator pedal (AP) position Data Length: 1 byteResolution: 0.4%/bit gain, 0% offsetData Range: 0-100%

3 Percent load at current speed Data Length: 1 byteResolution: 1%/bit gain, 0% offsetData Range: 0-125%

Page 87: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

81

Doc No: UMAN\GWY-300-B\0106REVISION 1

Byte 4 Remote accelerator Data Length: 1 byteResolution: 0-4%/bit gain, 0% offsetData Range: 0-100%

5-8 Not defined

11. ELECTRONIC ENGINE CONTROLLER #1: EEC1

Transmission repetition rate : Engine speed dependentData length : 8 bytesData page : 0PDU format : 240PDU specific : 4Default priority : 3Parameter group number : 61,444 (00F00416)

Byte: 1 Status_EEC1 Bit: 8-5 Not defined4-1 Engine/retarder torque mode

2 Driver’s demand engine - percent torque3 Actual engine - percent torque4,5 Engine speed6-8 Not defined

12. ELECTRONIC TRANSMISSION CONTROLLER #2: ETC2

Transmission repetition rate : 100 msData length : 8 bytesData page : 0PDU format : 240PDU specific : 5Default priority : 6Parameter group number : 61,445 (00F00516)

Byte: 1 Selected gear Data Length :1 byteResolution :1 gear value/bit, -125 offsetData Range :-125 to +125, negative values are reverse

gears, positive values are forward gears, zero is neutral

Parameter Specific Indicator: FB16 is park

2,3 Actual gear ratio Data Length :2 bytesResolution :0.001/bit, 0 offsetData Range :0 to 64.255

4 Current gear Data Length :1 byteResolution :1 gear value/bit, -125 offsetData Range :-125 to +125, negative values are reverse gears,

positive values are forward gears, zero is neutralParameter Specific Indicator: FB16 is park

Page 88: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

82

Doc No: UMAN\GWY-300-B\0106REVISION 1

5,6 Transmission requested range Data Length :2 bytesResolution :ASCIIData Range :0 to 250 (each byte)

7,8 Transmission current range Data Length :2 bytesResolution :ASCIIData Range :0 to 250 (each byte)

13. ELECTRONIC AXLE CONTROLLER #1: EAC1

Transmission repetition rate : 500 msData length : 8 bytesData page : 0PDU format : 240PDU specific : 6Default priority : 6Parameter group number : 61,446 (00F00616)

Byte: 1 Location Data Length :1 byteResolution :Bit-mappedData Range :N/A

2 Differential lock status 1 Bit: 8,7 Rear axle 26,5 Rear axle 14,3 Front axle 22,1 Front axle 1

3 Differential lock status 2 Bit: 8-7 Not defined6,5 Central rear4,3 Central front2,1 Central

4-8 Not defined

14. WHEEL BRAKE LINING REMAINING INFORMATION: EBC4

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 172Default priority : 7Parameter group number : 65,196 (00FEAC16)

Byte: 1 Brake Lining Remaining, front axle, left wheel Data Length :1 byteResolution :0.4% per bit gain, 0% offsetData Range :0% to 100%

2 Brake Lining Remaining, front axle, right wheel Data Length :1 byteResolution :0.4% per bit gain, 0% offsetData Range :0% to 100%

Page 89: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

83

Doc No: UMAN\GWY-300-B\0106REVISION 1

3 Brake Lining Remaining, rear axle #1, left wheel Data Length :1 byteResolution :0.4% per bit gain, 0% offsetData Range :0% to 100%

4 Brake Lining Remaining, rear axle #1, right wheel Data Length :1 byteResolution :0.4% per bit gain, 0% offsetData Range :0% to 100%

5 Brake Lining Remaining, rear axle #2, left wheel Data Length :1 byteResolution :0.4% per bit gain, 0% offsetData Range :0% to 100%

6 Brake Lining Remaining, rear axle #2, right wheel Data Length :1 byteResolution :0.4% per bit gain, 0% offsetData Range :0% to 100%

7 Brake Lining Remaining, rear axle #3, left wheel Data Length :1 byteResolution :0.4% per bit gain, 0% offsetData Range :0% to 100%

8 Brake Lining Remaining, rear axle #3, right wheel Data Length :1 byteResolution :0.4% per bit gain, 0% offsetData Range :0% to 100%

15. WHEEL APPLICATION PRESSURE HIGH RANGE INFORMATION: EBC3

Transmission repetition rate : 100 msData length : 8 bytesData page : 0PDU format : 254PDU specific : 173Default priority : 6Parameter group number : 65,197 (00FEAD16)

Byte: 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 bytefront 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 byterear 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 byterear 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 byterear axle #2, left wheel Resolution :5 kPa per bit gain, 0 kPa offset

Data Range :0 kPa to +1250 kPa (0 to 181 psi)

Page 90: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

84

Doc No: UMAN\GWY-300-B\0106REVISION 1

6 Brake application pressure high range, Data Length :1 byterear axle #2, right wheel Resolution :5 kPa per bit gain, 0 kPa offset

Data Range :0 kPa to +1250 kPa (0 to 181 psi)

7 Brake application pressure high range, Data Length :1 byterear axle #3, left wheel Resolution :5 kPa per bit gain, 0 kPa offset

Data Range :0 kPa to +1250 kPa (0 to 181 psi)

8 Brake application pressure high range, Data Length :1 byterear axle #3, right wheel Resolution :5 kPa per bit gain, 0 kPa offset

Data Range :0 kPa to +1250 kPa (0 to 181 psi)

16 SUPPLY PRESSURE

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 174Default priority : 6Parameter group number : 65,198 (00FEAE16)

Byte: 1 Pneumatic supply pressure2 Parking and/or trailer air pressure Data Length :1 byte

Resolution :8 kPa per bit gain, 0 kPa offsetData Range :0 kPa to +2000 kPa (0 to 290 psi)

3 Service brake air pressure, circuit #1 Data Length :1 byteResolution :8 kPa per bit gain, 0 kPa offsetData Range :0 kPa to +2000 kPa (0 to 290 psi)

4 Service brake air pressure, circuit #2 Data Length :1 byteResolution :8 kPa per bit gain, 0 kPa offsetData Range :0 kPa to +2000 kPa (0 to 290 psi)

5 Auxiliary equipment supply pressure Data Length :1 byteResolution :8 kPa per bit gain, 0 kPa offsetData Range :0 kPa to +2000 kPa (0 to 290 psi)

6 Air suspension supply pressure Data Length :1 byteResolution :8 kPa per bit gain, 0 kPa offsetData Range :0 kPa to +2000 kPa (0 to 290 psi)

7-8 Not defined

Page 91: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

85

Doc No: UMAN\GWY-300-B\0106REVISION 1

17 FUEL CONSUMPTION (GASEOUS)

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 175Default priority : 7Parameter group number : 65,199 (00FEAF16)

Byte: 1-4 Trip fuel Data Length :4 bytesResolution :0.5 kg per bit gain, 0 kg offsetData Range :0 kg to +2 105 540 607.5 kg

5-8 Total fuel used Data Length :4 bytesResolution :0.5 kg per bit gain, 0 kg offsetData Range :0 kg to +2 105 540 607.5 kg

18 ECU HISTORY

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 177Default priority : 7Parameter group number : 65,201 (00FEB116)

Byte: 1-4 Total ECU distance Data Length :4 bytesResolution :0.125 km per bit, 0 km offsetData 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 bytesResolution :0.05 h/bit, 0 h offsetData Range :0 to 210 554 060.75 h

19 FUEL INFORMATION (GASEOUS)

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 178Default priority : 7Parameter group number : 65,202 (00FEB216)

Byte: 1-4 Total engine PTO fuel used Data Length :4 bytesResolution :0.5 kg per bit gain, 0 kg offsetData Range :0 kg to +2 105 540 607.5 kg

Page 92: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

86

Doc No: UMAN\GWY-300-B\0106REVISION 1

5-6 Trip average fuel rate Data Length :2 bytesResolution :0.05 kg/h per bit gain, 0 kg/h offsetData Range :0 kg/h to 3212.75 kg/h

7-8 Not defined

20 FUEL INFORMATION

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 179Default priority : 7Parameter group number : 65,203 (00FEB316)

Byte: 1-4 Total engine PTO fuel used Data Length :4 bytesResolution :0.5 L per bit gain, 0 L offsetData Range :0 L to +2 105 540 607.5 L

5-6 Trip average fuel rate Data Length :2 bytesResolution :0.05 L/h per bit gain, 0 L/h offsetData Range :0 L/h to 3212.75 L/h

7-8 Not defined

21 TRIP TIME INFORMATION #1

Transmission repetition rate : On requestData length : 16 bytesData page : 0PDU format : 254PDU specific : 180Default priority : 7Parameter group number : 65,204 (00FEB416)

Byte: 1-2 Trip time in VSL Data Length :4 bytesResolution :0.05 h/bit, 0 h offsetData Range :0 to 210 554 060.75 h

3-4 Trip time in top gear Data Length :4 bytesResolution :0.05 h/bit, 0 h offsetData Range :0 to 210 554 060.75 h

5-6 Trip time in gear down Data Length :4 bytesResolution :0.05 h/bit, 0 h offsetData Range :0 to 210 554 060.75 h

7-8 Trip time in derate by engine Data Length :4 bytesResolution :0.05 h/bit, 0 h offsetData Range :0 to 210 554 060.75h

Page 93: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

87

Doc No: UMAN\GWY-300-B\0106REVISION 1

22 TRIP SHUTDOWN INFORMATION

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 181Default priority : 7Parameter group number : 65,205 (00FEB516)

Byte: 1-2 Trip number of hot shutdowns Data Length :2 bytesResolution :1 count per bit, 0 counts offsetData Range :0 to 64 255 counts

3-4 Trip number of idle shutdowns Data Length :2 bytesResolution :1 count per bit, 0 counts offsetData Range :0 to 64 255 counts

5-6 Trip number of idle shutdown overrides Data Length :2 bytesResolution :1 count per bit, 0 counts offsetData Range :0 to 64 255 counts

7-8 Trip number of sudden decelerations Data Length :2 bytesResolution :1 count per bit, 0 counts offsetData Range :0 to 64 255 counts

23 TRIP VEHICLE SPEED/CRUISE DISTANCE INFORMATION

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 82Default priority : 7Parameter group number : 65,206 (00FEB616)

Byte: 1-2 Trip maximum vehicle speed Data Length :2 bytesResolution :1/256 kph per bit, 0 kph offsetData Range :0 to 250.996 kph

3-6 Trip cruise distance Data Length :4 bytesResolution :0.125 km per bit, 0 km offsetData Range :0 km to +526 385 151.9 km (0 mi to

+327 080 569.4 mi)

7-8 Not defined

Page 94: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

88

Doc No: UMAN\GWY-300-B\0106REVISION 1

24 FAN DRIVE

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 189Default priority : 6Parameter group number : 65,213 (00FEBD16)

Byte: 1 Estimated percent fan speed Data Length :1 byteResolution :0.4%/bit gain, 0% offsetData Range :0% to 100%

2 State_Fan_Drive Bit: 8-5 Not defined4-1 Fan drive state

3-8 Not defined

25 ELECTRONIC ENGINE CONTROLLER #4: EEC4

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 190Default priority : 7Parameter group number : 65,214 (00FEBE16)

Byte: 1,2 Rated engine power Data Length :1 byteResolution :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 byteResolution :0.125 rpm/bit, 0 offsetRange :0 to 8031.875 rpm

5-8 Not defined

26 WHEEL SPEED INFORMATION

Transmission repetition rate : 100 msData length : 8 bytesData page : 0PDU format : 254PDU specific : 191Default priority : 6Parameter group number : 65,215 (00FEBF16)

Page 95: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

89

Doc No: UMAN\GWY-300-B\0106REVISION 1

Byte: 1,2 Front axle speed Data Length :2 bytesResolution :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)

3 Relative speed; front axle, left wheel Data Length :1 byteResolution :1/16 km/h/bit gain, 7.8125 km/h offset

(1/26 mph/bit gain, 4.844 mph offset)Data Range :-7.8125 km/h to +7.8125 km/h (-4.844

mph to +4.844 mph

4 Relative speed; front axle, right wheel Data Length :1 byteResolution :1/16 km/h/bit gain, 7.8125 km/h offset

(1/26 mph/bit gain, 4.844 mph offset)Data Range :-7.8125 km/h to +7.8125 km/h (-4.844

mph to +4.844 mph)

5 Relative speed; rear axle #1, left wheel Data Length :1 byteResolution :1/16 km/h/bit gain, 7.8125 km/h offset

(1/26 mph/bit gain, 4.844 mph offset)Data Range :-7.8125 km/h to +7.8125 km/h (-4.844

mph to +4.844 mph)

6 Relative speed; rear axle #1, right wheel Data Length :1 byteResolution :1/16 km/h/bit gain, 7.8125 km/h offset

(1/26 mph/bit gain, 4.844 mph offset)Data Range :-7.8125 km/h to +7.8125 km/h (-4.844

mph to +4.844 mph)

7 Relative speed; rear axle #2, left wheel Data Length :1 byteResolution :1/16 km/h/bit gain, 7.8125 km/h offset

(1/26 mph/bit gain, 4.844 mph offset)Data Range :-7.8125 km/h to +7.8125 km/h (-4.844

mph to +4.844 mph)

8 Relative speed; rear axle #2, right wheel Data Length :1 byteResolution :1/16 km/h/bit gain, 7.8125 km/h offset

(1/26 mph/bit gain, 4.844 mph offset)Data Range :-7.8125 km/h to +7.8125 km/h (-4.844

mph to +4.844 mph)

Page 96: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

90

Doc No: UMAN\GWY-300-B\0106REVISION 1

27 SERVIC-Transmitted with the service component identification that has the shortest distance or nearest time until thenext service inspection.

Transmission repetition rate : On requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 192Default priority : 6Parameter group number : 65,216 (00FEC016)

Byte: 1 Service component identification Data Length :1 byteResolution :1 Component ID/bitData Range :0 to 250

2,3 Service distance Data Length :2 bytesResolution :5 km/bit gain, -160 635 km offset (3.1

mi/bit gain, 99 593.7 mi offset)Data Range :-160 635 to +160 640 km (-99 593.7

to +99 596.8 mi)

4 Service component identification Data Length :1 byteResolution :1 Component ID/bitData Range :0 to 250

5 Service delay/calendar time based Data Length :1 byteResolution :1 week/bit gain, -125 weeks offsetData Range :-125 to +125 weeks

6 Service component identification Data Length :1 byteResolution :1 Component ID/bitData Range :0 to 250

7,8 Service delay/operational time based Data Length :2 bytesResolution :1 h/bit gain, -32 127 h offsetData Range :-32 127 to 32 128 h

Page 97: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

91

Doc No: UMAN\GWY-300-B\0106REVISION 1

28 HIGH RESOLUTION VEHICLE DISTANCE

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 193Default priority : 6Parameter group number : 65,217 (00FEC116)

Byte: 1-4 High resolution total vehicle distance Data Length :4 bytesResolution :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)

5-8 High resolution trip distance Data Length :4 bytesResolution :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)

29 ELECTRONIC RETARDER CONTROLLER #2: ERC2

Transmission repetition rate : 1 s when active; or on change of stateData length : 8 bytesData page : 0PDU format : 254PDU specific : 194Default priority : 7Parameter group number : 65,218 (00FEC216)

Byte: 1 Retarder_status Bit: 8-3 Not defined2,1 Transmission output retarder

2-8 Not defined

30 ELECTRONIC TRANSMISSION CONTROLLER #5: ETC5

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 195Default priority : 7Parameter group number : 65,219 (00FEC316)

Byte: 1 Range_switch Bit: 8-5 Not defined4,3 Low range sense2,1 High range sense

2 Direction_switchBit: 8-7 Not defined6,5 Forward switch4,3 Neutral switch2,1 Reverse switch

Page 98: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

92

Doc No: UMAN\GWY-300-B\0106REVISION 1

3-8 Not defined

31 ELECTRONIC TRANSMISSION CONTROLLER #4: ETC4

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 197Default priority : 7Parameter group number : 65,221 (00FEC516)

Byte: 1 Transmission synchronizer clutch value Data Length :1 byteResolution :0.4%/bit gain, 0% offsetData Range :0 to +100%

2 Transmission synchronizer brake value Data Length :1 byteResolution :0.4%/bit gain, 0% offsetData Range :0 to +100%

3-8 Not defined

32 ELECTRONIC TRANSMISSION CONTROLLER #3: ETC3

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 199Default priority : 7Parameter group number : 65,223 (00FEC716)

Byte: 1 Shift finger gear position Data Length :1 byteResolution :0.4%/bit gain, 0% offsetData Range :0 to +100%

2 Shift finger rail position Data Length :1 byteResolution :0.4%/bit gain, 0% offsetData Range :0 to +100%

3 Shift_finger_status_1 Bit: 8-7 Not defined6,5 Center rail indicator4,3 Engagement indicator2,1 Neutral indicator

4 Shift_finger_status_2 Bit 8,7 Gear actuator #26,5 Rail actuator #24,3 Gear actuator #12,1 Rail actuator #1

Page 99: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

93

Doc No: UMAN\GWY-300-B\0106REVISION 1

5 Transmission_actuator_1 Bit: 8,7 Splitter indirect actuator6,5 Splitter direct actuator4,3 Range low actuator2,1 Range high actuator

6 Transmission_actuator_2 Bit: 8,7 Inertia brake actuator6,5 Defuel actuator4,3 Lockup clutch actuator2,1 Clutch actuator

7-8 Not defined

33 ALTERNATOR SPEED

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 213Default priority : 6Parameter group number : 65,237 (00FED516)

Byte: 1,2 Alternator speed Data Length :2 bytesResolution :0.5 rpm gain, 0 rpm offsetData Range :0 to 32 127.5

3-8 Not defined

34 AUXILIARY DISCRETE INPUT/OUTPUT STATUS

Transmission repetition rate : manufacturer defined, not faster than 100 msData length : 8 bytesData page : 0PDU format : 254PDU specific : 217Default priority : 6Parameter group number : 65,241 (00FED916)

Byte: 1 I/O_Status1 Bit: 8,7 I/O channel #16,5 I/O channel #24,3 I/O channel #32,1 I/O channel #4

2 I/O_Status2 Bit: 8,7 I/O channel #56,5 I/O channel #64,3 I/O channel #72,1 I/O channel #8

3 I/O_Status3 Bit: 8,7 I/O channel #96,5 I/O channel #104,3 I/O channel #112,1 I/O channel #12

Page 100: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

94

Doc No: UMAN\GWY-300-B\0106REVISION 1

4 I/O_Status4 Bit: 8,7 I/O channel #136,5 I/O channel #144,3 I/O channel #152,1 I/O channel #165,6 Auxiliary I/O channel #17,8 Auxiliary I/O channel #2

35 ENGINE FLUID LEVEL/PRESSURE #2

Transmission repetition rate : 0.5 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 219Default priority : 6Parameter group number : 65,243 (00FEDB16)

Byte: 1,2 Injection control pressure Data Length :2 bytesResolution :1/256 MPa/bit gain, 0 MPa offsetData Range :0 to +251 MPa (0 to 36 404 psi)

3,4 Injector metering rail pressure Data Length :2 bytesResolution :1/256 MPa/bit gain, 0 MPa offsetData Range :0 to +251 MPa (0 to 36 404 psi)

5-8 Not defined

36 IDLE OPERATION

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 220Default priority : 6Parameter group number : 65,244 (00FEDC16)

Byte: 1-4 Total idle fuel used Data Length :4 bytesResolution :0.5 L per bit gain, 0 L offsetData Range :0 to +2 105 540 607.5 L

5-8 Total idle hours Data Length :4 bytesResolution :0.05 h/bit gain, 0 h offsetData Range :0 to +210 554 060.75 h

Page 101: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

95

Doc No: UMAN\GWY-300-B\0106REVISION 1

37 TURBOCHARGER

Transmission repetition rate : 1 secData length : 8 bytesData page : 0PDU format : 254PDU specific : 221Default priority : 6Parameter group number : 65,245 (00FEDD16)

Byte: 1 Turbo oil pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offsetData Range :0 to +1000 kPa (0 to 145 psi)

2,3 Turbo speed Data Length :2 bytesResolution :4 rpm/bit gain, 0 rpm offsetData Range :0 to +257 020 rpm

4-8 Not defined

38 AIR START PRESSURE

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 222Default priority : 6Parameter group number : 65,246 (00FEDE16)

Byte: 1 Air start pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offsetData Range :0 to +1000 kPa (0 to 145 psi)

2-8 Not defined

39 ELECTRONIC ENGINE CONTROLLER #3: EEC3

Transmission repetition rate : 250 msData length : 8 bytesData page : 0PDU format : 254PDU specific : 223Default priority : 6Parameter group number : 65,247 (00FEDF16)

Byte: 1 Nominal friction - percent torque Data Length :1 byteResolution :1%/bit gain, -125% offsetData Range :-125 to 125%Operating Range:0 to 125%

Page 102: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

96

Doc No: UMAN\GWY-300-B\0106REVISION 1

2,3 Engine’s desired operating speed Data Length :2 bytesResolution :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 byteadjustment Resolution :ratio

Range :0 to 250

5-8 Not defined

40 VEHICLE DISTANCE

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 224Default priority : 6Parameter group number : 65,248 (00FEE016)

Byte: 1-4 Trip distance Data Length :4 bytesResolution :0.125 km/bit gain, 0 km offsetData Range :0 to +526 385 151.9 km (0 to +327

080 569.4 mi)

5-8 Total vehicle distance Data Length :4 bytesResolution :0.125 km/bit gain, 0 km offsetData Range :0 to +526 385 151.9 km (0 to +327

080 569.4 mi)

41 IDLE SHUTDOWN

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 228Default priority : 6Parameter group number : 65,252 (00FEE416)

Byte: 1 Idle shutdown_1 Bit 8,7 Idle shutdown timer state6,5 Idle shutdown timer override4,3 Driver alert mode2,1 Engine has shutdown by system

2 Idle shutdown_2 Bit 8,7 Idle shutdown timer function6-1 Not defined

3 Refrigerant_press_1 Bit 8,7 Not defined6,5 Refrigerant high pressure switch4,3 Refrigerant low pressure switch2,1 A/C high pressure fan switch

Page 103: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

97

Doc No: UMAN\GWY-300-B\0106REVISION 1

4 Lamp_commands Bit 8-3 Not defined2,1 Wait to start lamp

5 Engine shutdown_1 Bit 8,7 Engine protection shutdown timer state6,5 Engine protection shutdown override4,3 Engine shutdown approaching2,1 Engine has shutdown by protection system

6 Engine shutdown_2 Bit 8,7 Engine protection timer system configuration6-1 Not defined

7-8 Not defined

42 ENGINE HOURS, REVOLUTIONS

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 229Default priority : 6Parameter group number : 65,253 (00FEE516)

Byte: 1-4 Total engine hours Data Length :4 bytesResolution :0.05 h/bit gain, 0 h offsetData Range :0 to +210 554 060.75 h

5-8 Total engine revolutions Data Length :4 bytesResolution :1000 r/bit gain, 0 r offsetData Range :0 to +4 211 081 215 000 r

43 TIME/DATE

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 230Default priority : 6Parameter group number : 65,254 (00FEE616)

Byte: 1 Seconds Data Length :1 byteResolution :0.25 s/bit gain, 0 s offsetOperating Range:0 to 59.75 s

2 Minutes Data Length :1 byteResolution :1 min/bit gain, 0 min offsetOperating Range:0 to 59 min

3 Hours Data Length :1 byteResolution :1 h/bit gain, 0 h offsetOperating Range:0 to 23 h

4 Month Data Length :1 byteResolution :1 month/bit gain, 0 month offsetOperating Range:1 to 12 month

Page 104: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

98

Doc No: UMAN\GWY-300-B\0106REVISION 1

5 Day Data Length :1 byteResolution :0.25 day/bit gain, 0 day offsetOperating Range:0.25 to 31.75 day

6 Year Data Length :1 byteResolution :1 year/bit gain, +1985 year offsetOperating Range:1985 to 2235 year

7,8 Not defined

44 VEHICLE HOURS

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 231Default priority : 6Parameter group number : 65,255 (00FEE716)

Byte: 1-4 Total vehicle hours Data Length :4 bytesResolution :0.05 h/bit gain, 0 h offsetData Range :0 to +210 554 060.75 h

5-8 Total power takeoff hours Data Length :4 bytesResolution :0.05 h/bit gain, 0 h offsetData Range :0 to +210 554 060.75 h

45 VEHICLE DIRECTION/SPEED

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 232Default priority : 6Parameter group number: 65,256 (00FEE816)

Byte: 1,2 Compass bearing Data Length :2 bytesResolution :1/128 degree/bit gain,

0 degree offsetData Range :0 to +502 degrees

3,4 Navigation-based vehicle speed Data Length :2 bytesResolution :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)

Page 105: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

99

Doc No: UMAN\GWY-300-B\0106REVISION 1

5,6 Pitch Data Length :2 bytesResolution :1/128 degree/bit gain, -200 degrees

offsetData Range :-200 degrees (DESCENT) to

+302 degrees (ASCENT)

7,8 Altitude Data Length :2 bytesResolution :0.125 m/bit gain, -2500 m offsetData Range :-2500 to +5531.875 m(-8202.1 to +15 896.193 ft)

46 FUEL CONSUMPTION

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 233Default priority : 6Parameter group number : 65,257 (00FEE916)

Byte: 1-4 Trip fuel Data Length :4 bytesResolution :0.5 L per bit gain, 0 L offsetData Range :0 to +2 105 540 607.5 L

5-8 Total fuel used Data Length :4 bytesResolution :0.5 L per bit gain, 0 L offsetData Range :0 to +2 105 540 607.5 L

47 VEHICLE WEIGHT

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 234Default priority : 6Parameter group number : 65,258 (00FEEA16)

Byte: 1 Axle location Data Length :1 byteResolution :Bit-mappedData Range :N/A

2,3 Axle weight Data Length :2 bytesResolution :0.5 kg/bit gain, 0 kg offsetData Range :0 to +32 127.5 kg (0 to 70 829 lb)

4,5 Trailer weight Data Length :2 bytesResolution :2.0 kg/bit gain, 0 kg offsetData Range :0 to +128 510 kg (0 to 283 316 lb)

Page 106: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

100

Doc No: UMAN\GWY-300-B\0106REVISION 1

6,7 Cargo weight Data Length :2 bytesResolution :2.0 kg/bit gain, 0 kg offsetData Range :0 to +128 510 kg (0 to 283 316 lb)

8 Not defined

48 CRUISE CONTROL/VEHICLE SPEED SETUP

Transmission repetition rate : on requestData length : 8 bytesData page : 0PDU format : 254PDU specific : 237Default priority : 6Parameter group number : 65,261 (00FEED16)

Byte: 1 Maximum vehicle speed limit Data Length :1 byteResolution :1 km/h/bit gain, 0 km/h offsetData Range :0 to +250 km/h (0 km/h to +155

mph)

2 Cruise control high set limit speed Data Length :1 byteResolution :1 km/h/bit gain, 0 km/h offsetData Range :0 to +250 km/h (0 km/h to +155

mph)

3 Cruise control low set limit speed Data Length :1 byteResolution :1 km/h/bit gain, 0 km/h offsetData Range :0 to +250 km/h (0 km/h to +155

mph)

4-8 Not defined

49 ENGINE TEMPERATURE

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 238Default priority : 6Parameter group number : 65,262 (00FEEE16)

Byte: 1 Engine coolant temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

2 Fuel temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

Page 107: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

101

Doc No: UMAN\GWY-300-B\0106REVISION 1

3,4 Engine oil temperature Data Length :2 bytesResolution :0.03125 °C/bit gain, -273 °C offsetData Range :-273 to +1735.0 °C (-459.4 to 3155.0 °F)

8 Not defined

5,6 Turbo oil temperature Data Length :2 bytesResolution :0.03125 °C/bit gain, -273 °C offsetData Range :-273 to +1735.0 °C (-459.4 to 3155.0 °F)

7 Engine intercooler temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

50 ENGINE FLUID LEVEL/PRESSURE

Transmission repetition rate : 0.5 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 239Default priority : 6Parameter group number : 65,263 (00FEEF16)

Byte: 1 Fuel delivery pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offsetData Range :0 to +1000 kPa (0 to 145 psi)

2 Not defined3 Engine oil level Data Length :1 byte

Resolution :0.4 %/bit gain, 0 % offsetData Range :0 to +100 %

4 Engine oil pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offset

Data Range :0 to +1000 kPa (0 to 145 psi)

5,6 Crankcase pressure Data Length :2 bytesResolution :7.8125 x 10-3 kPa/bit gain

(1/128 kPa/bit), -250 kPa offsetData Range :-250 to +251.99 kPa

(-36.259 to +36.548 lbf/in2)

7 Coolant pressure Data Length :1 byteResolution :2 kPa/bit gain, 0 kPa offsetData Range :0 to +500 kPa (0 to 72.5 psi)

8 Coolant level Data Length :1 byteResolution :0.4 %/bit gain, 0 % offsetData Range :0 to +100 %

Page 108: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

102

Doc No: UMAN\GWY-300-B\0106REVISION 1

51 POWER TAKEOFF INFORMATION

Transmission repetition rate : 100 msData length : 8 bytesData page : 0PDU format : 254PDU specific : 240Default priority : 6Parameter group number : 65,264 (00FEF016)

Byte: 1 Power takeoff oil temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

2,3 Power takeoff speed Data Length :2 bytesResolution :0.125 rpm/bit gain, 0 rpm offsetData Range :0 to +8031.875 rpm

4,5 Power takeoff set speed Data Length :2 bytesResolution :0.125 rpm/bit gain, 0 rpm offsetData Range :0 to +8031.875 rpm

6 Measured_PTO_1 Bit: 8,7 Not defined6,5 Remote PTO variable speed control switch

4,3 Remote PTO preprogrammed speed control switch

2,1 PTO enable switch7 Measured_PTO_2 Bit: 8,7 PTO accelerate switch

6,5 PTO resume switch4,3 PTO coast/decelerate switch2,1 PTO set switch

8 Not defined

52 CRUISE CONTROL/VEHICLE SPEED

Transmission repetition rate : 100 msData length : 8 bytesData page : 0PDU format : 254PDU specific : 241Default priority : 6Parameter group number : 65,265 (00FEF116)

Byte: 1 Measured_SW1 Bit: 8-5 Not defined4,3 Parking brake switch2,1 Two speed axle switch

2,3 Wheel-based vehicle speed Data Length :2 bytesResolution :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)

Page 109: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

103

Doc No: UMAN\GWY-300-B\0106REVISION 1

4 Measured_CC_SW1 Bit: 8,7 Clutch switch6,5 Brake switch4,3 Cruise control enable switch2,1 Cruise control active

5 Measured_CC_SW2 Bit: 8,7 Cruise control accelerate switch6,5 Cruise control resume switch4,3 Cruise control coast switch2,1 Cruise control set switch

6 Cruise control set speed Data Length :1 byteResolution :1 km/h/bit gain, 0 km/h offsetData Range :0 to +250 km/h (0 km/h to +155 mph)

7 State_CC Bit: 8-6 Cruise control state5-1 PTO state

8 Measured_Idle_SW1 Bit: 8,7 Not defined6,5 Engine test mode switch4,3 Idle decrement switch2,1 Idle increment switch

53 FUEL ECONOMY

Transmission repetition rate : 100 msData length : 8 bytesData page : 0PDU format : 254PDU specific : 242Default priority : 6Parameter group number : 65,266 (00FEF216)

Byte: 1,2 Fuel rate Data Length :2 bytesResolution :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 bytesResolution :1/512 km/L per bit gain, 0 km/L offsetData Range :0 to +125.5 km/L

5,6 Average fuel economy Data Length :2 bytesResolution :1/512 km/L per bit gain, 0 km/L offsetData Range :0 to +125.5 km/L

7,8 Not defined

Page 110: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

104

Doc No: UMAN\GWY-300-B\0106REVISION 1

54 VEHICLE POSITION

Transmission repetition rate : 5 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 243Default priority : 6Parameter group number : 65,267 (00FEF316)

Byte: 1-4 Latitude Data Length :4 bytesResolution :10-7 degree/bit gain, -210 degree offsetData Range :-210 degrees (SOUTH) to + 211.108 122

degrees (NORTH)

5-8 Longitude Data Length :4 bytesResolution :10-7 degree/bit gain, -210 degree offsetData Range :-210 degrees (WEST) to + 211.108 121

degrees (EAST)

55 TIRE CONDITION

Transmission repetition rate : 10 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 244Default priority : 6Parameter group number : 65,268 (00FEF416)

Byte: 1 Location Data Length :1 byteResolution :Bit-mappedData Range :N/A

2 Tire pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offsetData Range :0 to +1000 kPa (0 to 145 psi)

3,4 Tire temperature Data Length :1 byteResolution :5 kPa per bit gain, 0 kPa offsetData Range :0 kPa to +1250 kPa (0 to 181 psi)

5-8 Not defined

Page 111: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

105

Doc No: UMAN\GWY-300-B\0106REVISION 1

56 AMBIENT CONDITIONS

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 245Default priority : 6Parameter group number : 65,269 (00FEF516)

Byte: 1 Barometric pressure Data Length :1 byteResolution :0.5 kPa/bit gain, 0 kPa offsetData Range :0 to +125 kPa (0 to +18.1 psi)

2,3 Cab interior temperature Data Length :2 bytesResolution :0.03125 °C/bit gain, -273 °C offsetData Range :-273 to +1735.0 °C (-459.4 to 3155.0 °F)

4,5 Ambient air temperature Data Length :2 bytesResolution :0.03125 °C/bit gain, -273 °C offsetData Range :-273 to +1735.0 °C (-459.4 to 3155.0 °F)

6 Air inlet temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

7,8 Road surface temperature Data Length :2 bytesResolution :0.03125 °C/bit gain, -273 °C offsetData Range :-273 to +1735.0 °C (-459.4 to 3155.0

°F)

57 INLET/EXHAUST CONDITIONS

Transmission repetition rate : 0.5 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 246Default priority : 6Parameter group number : 65,270 (00FEF616)

Byte: 1 Particulate trap inlet pressure Data Length :1 byteResolution :0.5 kPa/bit gain, 0 kPa offsetData Range :0 to +125 kPa (0 to +18.1 psi)

2 Boost pressure Data Length :1 byteResolution :2 kPa/bit gain, 0 kPa offsetData Range :0 to +500 kPa (0 to 72.5 psi)

3 Intake manifold temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

Page 112: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

106

Doc No: UMAN\GWY-300-B\0106REVISION 1

4 Air inlet pressure Data Length :1 byteResolution :2 kPa/bit gain, 0 kPa offsetData Range :0 to +500 kPa (0 to 72.5 psi)

5 Air filter differential pressure Data Length :1 byteResolution :0.05 kPa/bit gain, 0 kPa offsetData Range :0 to +12.5 kPa (0 to +1.8 psi)

6,7 Exhaust gas temperature Data Length :2 bytesResolution :0.03125 °C/bit gain, -273 °C offsetData Range :-273 to +1735.0 °C (-459.4 to 3155.0

°F)

8 Coolant filter differential pressure Data Length :1 byteResolution :0.5 kPa/bit gain, 0 kPa offsetData Range :0 to +125 kPa (0 to +18.1 psi)

58 VEHICLE ELECTRICAL POWER

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 247Default priority : 6Parameter group number : 65,271 (00FEF716)

Byte: 1 Net battery current Data Length :1 byteResolution :1.0 A/bit gain, -125 A offsetData Range :-125 to +125 A

2 Alternator current Data Length :1 byteResolution :1.0 A/bit gain, 0 A offsetData Range :0 to +250 A

3,4 Alternator potential (voltage) Data Length :2 bytesResolution :0.05 V/bit gain, 0 V offsetData Range :0 to +3212.75 V

5,6 Electrical potential (voltage) Data Length :2 bytesResolution :0.05 V/bit gain, 0 V offsetData Range :0 to +3212.75 V

7,8 Battery potential (voltage), switched Data Length :2 bytesResolution :0.05 V/bit gain, 0 V offsetData Range :0 to +3212.75 V

Page 113: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

107

Doc No: UMAN\GWY-300-B\0106REVISION 1

59 TRANSMISSION FLUIDS

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 248Default priority : 6Parameter group number : 65,272 (00FEF816)

Byte: 1 Clutch pressure Data Length :1 byteResolution :16 kPa/bit gain, 0 kPa offsetData Range :0 to +4000 kPa (0 to 580 psi)

2 Transmission oil level Data Length :1 byteResolution :0.4 %/bit gain, 0 % offsetData Range :0 to +100 %

3 Transmission filter differential pressure Data Length :1 byteResolution :2 kPa/bit gain, 0 kPa offsetData Range :0 to +500 kPa (0 to 72.5 psi)

4 Transmission oil pressure Data Length :1 byteResolution :16 kPa/bit gain, 0 kPa offsetData Range :0 to +4000 kPa (0 to 580 psi)

5,6 Transmission oil temperature Data Length :2 bytesResolution :0.03125 °C/bit gain, -273 °C offsetData Range :-273 to +1735.0 °C (-459.4 to 3155.0

°F)

7,8 Not defined

60 AXLE INFORMATION

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 249Default priority : 6Parameter group number : 65,273 (00FEF916)

Byte: 1 Steering axle temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

2 Drive axle location Data Length :1 byteResolution :Bit-mappedData Range :N/A

Page 114: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

108

Doc No: UMAN\GWY-300-B\0106REVISION 1

3 Drive axle lift air pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offsetData Range :0 to +1000 kPa (0 to 145

psi)

4 Drive axle temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

5-8 Not defined

61 BRAKES

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 250Default priority : 6Parameter group number : 65,274 (00FEFA16)

Byte: 1 Brake application pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offsetData Range :0 to +1000 kPa (0 to 145 psi)

2 Brake primary pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offsetData Range :0 to +1000 kPa (0 to 145 psi)

3 Brake secondary pressure Data Length :1 byteResolution :4 kPa/bit gain, 0 kPa offsetData Range :0 to +1000 kPa (0 to 145 psi)

4 Brake_status Bit: 8-3 Not defined2,1 Parking brake actuator

5-8 Not defined

62 RETARDER FLUIDS

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 251Default priority : 6Parameter group number : 65,275 (00FEFB16)

Page 115: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

109

Doc No: UMAN\GWY-300-B\0106REVISION 1

Byte: 1 Hydraulic retarder pressure Data Length :1 byteResolution :16 kPa/bit gain, 0 kPa offsetData Range :0 to +4000 kPa (0 to 580 psi)

2 Hydraulic retarder oil temperature Data Length :1 byteResolution :1 °C/bit gain, -40 °C offsetData Range :-40 to +210 °C (-40 to 410 °F)

3-8 Not defined

63 DASH DISPLAY

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 252Default priority : 6Parameter group number : 65,276 (00FEFC16)

Byte: 1 Washer fluid level Data Length :1 byteResolution :0.4 %/bit gain, 0 % offsetData Range :0 to +100 %

2 Fuel level Data Length :1 byteResolution :0.4 %/bit gain, 0 % offsetData Range :0 to +100 %

3 Fuel filter differential pressure Data Length :1 byteResolution :2 kPa/bit gain, 0 kPa offsetData Range :0 to +500 kPa (0 to 72.5 psi)

4 Engine oil filter differential pressure Data Length :1 byteResolution :0.5 kPa/bit gain, 0 kPa offsetData Range :0 to +125 kPa (0 to +18.1 psi)

5,6 Cargo ambient temperature Data Length :2 bytesResolution :0.03125 °C/bit gain, -273 °C

offsetData Range :-273 to +1735.0 °C (-459.4 to

3155.0 °F)

7-8 Not defined

Page 116: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

110

Doc No: UMAN\GWY-300-B\0106REVISION 1

64 ALTERNATE FUEL #1

Transmission repetition rate : 500 msData length : 8 bytesData page : 0PDU format : 254PDU specific : 253Default priority : 6Parameter group number : 65,277 (00FEFD16)

Byte: 1 Blower bypass valve position Data Length :1 byteResolution :0.4 %/bit gain, 0 % offsetData Range :0 to +100 %

2,3 Gas supply pressure Data Length :2 bytesResolution :0.5 kPa/bit gain, 0 kPa offsetData Range :0 to +32 127.5 kPa (0 to 4 659.7 psi)

2-8 Not defined

65 AUXILIARY WATER PUMP PRESSURE

Transmission repetition rate : 1 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 254Default priority : 6Parameter group number : 65,278 (00FEFE16)

Byte: 1 Auxiliary pump pressure Data Length :1 byteResolution :16 kPa/bit gain, 0 kPa offsetData Range :0 to +4000 kPa (0 to 580 psi)

2-8 Not defined

66 WATER IN FUEL INDICATOR

Transmission repetition rate : 10 sData length : 8 bytesData page : 0PDU format : 254PDU specific : 255Default priority : 6Parameter group number : 65,279 (00FEFF16)

Byte: 1 Water in fuel indicator Bit: 8-3 Not defined2,1 Water in fuel indicator

2-8 Not defined

Page 117: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

111

Doc No: UMAN\GWY-300-B\0106REVISION 1

67 PROPRIETARY B PGN

Transmission repetition rate : Per user requirementsData length : 0 to 1785 bytes (multipacket supported)Data Page : 0PDU Format : 255PDU Specific : Group Extension (manufacturer assigned)Default priority : 6Parameter Group Number : 65280 to 65535 (00FF0016 to 00FFFF16)Byte : 1-8 Manufacturer defined usage

Page 118: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

112

Doc No: UMAN\GWY-300-B\0106REVISION 1

C Details of Rotochopper Application

This is the customized application. There are two option available in the COM2 Protocol list.1. CAN(J1939)2. CAN(J1939 For Rotochopper)

First option CAN(J1939) is the generic CAN (J1939) Protocol. That means all the PGNs defined in the Appendix A areavailable 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 with firstregister, 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 doneaccordingly. 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

Percent load at current speed 40003 D0002Remote accelerator 40004 D0003Not Defined

00F004 Status_EEC1 40005 D0004(#EEC1) Driver's demand Engine-percent Torque 40006 D0005

Actual Engine -percent Torque 40007 D0006Engine Speed 40008 D0007Not Defined

00FEBD Estimated Percent Fan Speed 40009 D0008(#FAN Drive) State_Fan_Drive 40010 D0009

Not Defined

00FEDB Injection control pressure 4011 D0010(#Engine Fluid Injector metering rail pressure 4012 D0011Level Pressure) Not Defined

00FEE0 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)

00FEE5 Total Engine houres 4017(Hi Word) D0015(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)

Page 119: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

113

Doc No: UMAN\GWY-300-B\0106REVISION 1

CAN Group Number Parameter Description Modbus Register Toshiba Register

00FEE9 Trip Fuel 4021(Hi Word) D0020(Hi Word)(Fuel Consumption) 4022(Low Word) D0021(Low Word)

Total Fuel Used 4023(Hi Word) D0022(Hi Word)4024(Low Word) D0023(Low Word)

00FEEE Engine Coolant Temperature 40025 D0024(Engine Temperature) Fuel Temperature 40026 D0025

Engine Oil Temparature 40027 D0026Turbo Oil Tempearture 40028 D0027Engine Intercooler Temperature 40029 D0028Not Defined

00FEEF Fuel Delivery Pressure 40030 D0029(Engine Fluid Level Not Definned/Pressure) Engine Oil Level 40031 D0030

Engine Oil Pressure 40032 D0031Crankcase Pressure 40033 D0032Coolant Pressure 40034 D0033Coolant Level 40035 D0034

00FEF1 Measured_SW1 40036 D0035(Cruise Control Wheel-based vehicle speed 40037 D0036/Vehicle speed) Measured_CC_SW1 40038 D0037

Measured_CC_SW2 40039 D0038Cruise control set speed 40040 D0039State_CC 40041 D0040Measured_Idle_SW1 40042 D0041

00FEF2 Fuel Rate 40043 D0042(Fuel Economy) Instantaneous fuel economy 40044 D0043

Average fuel economy 40045 D0044Not Defined

00FEF5 Barometric Pressure 40046 D0045(Ambient Conditions) Cab Interior temperature 40047 D0046

Ambient air Temperature 40048 D0047Air Inlet Temperature 40049 D0048Road surface temperature 40050 D0049

00FEF6 Particulate trap inlet pressure 40051 D0050(Inlet/Exhaust Boost Pressure 40052 D0051Conditions) Intake manifold temperature 40053 D0052

Air inlet pressure 40054 D0053Air filter differential pressure 40055 D0054Exhaust gas temperature 40056 D0055Coolant filter differential pressure 40057 D0056

Page 120: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

114

Doc No: UMAN\GWY-300-B\0106REVISION 1

CAN Group Number Parameter Description Modbus Register Toshiba Register

00FEF7 Net Battery Current 40058 D0057(Vehicle Electrical Alternator Current 40059 D0058Power) Alternator Potential(voltage) 40060 D0059

Electrical Potential(voltage) 40061 D0060Battery Potential(voltage),switched 40062 D0061

00FEF8 Clutch pressure 40063 D0062(Transmission Fluids) Transmission oil level 40064 D0063

Transmission filter differential pressure 40065 D0064Transmission oil pressure 40066 D0065Transmission oil temperature 40067 D0066Not Defined

Page 121: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

115

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 (ElectronicControl Unit) of an Engine whose station ID is unknown, Enable the Point-to-Point Communication by making the followingtab as one. Now irrespective of the Station ID of the ECU communication will take place successfully.

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 afterdownloading 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 120ohm 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 notavailable indicates that the Station ID of the external device and the one entered in the Target ID column of the downloadedproject do not match. As mentioned earlier if only two nodes are been used Point To Point Communication can be enabledelse 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

Page 122: GWY-300 (CAN Gateway) User Manual.pdf · 2011. 8. 3. · B Description of Parameter Group Number 76 C Details of Rotochopper Application 112 D Troubleshooting 115. INTRODUCTION 1

APPENDIXAPPENDIX

116

Doc No: UMAN\GWY-300-B\0106REVISION 1

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 have0 suffix.For example, P0:000F000

For transmitting any PGN on the CAN, while creating the project, the corresponding PGN (User wants to transmit) shouldhave 1 suffix.For example, P1:000F000