background image

 201

8-0

2

6

Encoders with J1939 Interface

J1939 Interface description

3

J1939 Interface description

3.1

J1939 Message format

In comparison to CANopen, which is using the 11 bit identifier (CAN-ID) J1939 is using the 29 

bit CAN-ID. The CAN-ID in J1939 consists of a parameter group number (PGN) and a source 

address.
A parameter group (PG) is assembled of various parameters defined in the J1939 series, such 

as rotation speed, direction of rotation, etc. Thus, a PGN identifies the content of the data field.
The priority field indicates the priority of the message, where "0" is the highest priority and "7" 

the lowest. If the value of the field "PDU format" is between 00

hex

 and F0

hex

, the field "PDU 

specific" has to be interpreted as destination address. This is used for peer-to-peer 

communication between two devices. If the value of the field "PDU Format" is greater than 

F0

hex

, "PDU specific" is interpreted as a so-called "group extension". The PGNs are sent 

according to the producer/consumer model (broadcast). The source address has to be unique 

for every device in the network and may be achieved by participating the address claiming 

procedure.

3.2

Interpretation of the CAN Identifier

The CAN identifier of a J1939 message contains Parameter Group Number (PGN), source 

address, priority, data page bit, extended data page bit and a target address (only for a peer-to-

peer PG).
The identifier is composed as follows:

The entire telegram contains the identifier and the data section. The following graphic shows 

the identifier structure more detailed.

3.3

PGN Default Definitions

Priority

Extended 

Data Page

Data Page

PDU Format

PDU Specific

Source 

Address

3 bit

1 bit

1 bit

8 bit

8 bit

8 bit

PGN description

Value

Repetioion rate

50 ms

Baudrate

250 kbaud (default)

Node ID

32

Counting direction for increasing position 

values

clockwise (view onto shaft)

Speed filter

on

Termination resistor

off

Summary of Contents for ENA36HD-S J1939 Series

Page 1: ...Encoders with J1939 Interface Communication Manual FACTORY AUTOMATION MANUAL...

Page 2: ...Delivery for Products and Services of the Electrical Indus try published by the Central Association of the Electrical Industry Zentralverband Elektrotechnik und Elektroindustrie ZVEI e V in its most r...

Page 3: ...ad and Write Definitions 8 4 1 Read Definitions 8 4 2 Write Definitions 9 5 Parameter Index Definitions 10 5 1 Parameter Index 01 Counting Direction 10 5 2 Parameter Index 02 Singleturn Resolution 10...

Page 4: ...ce helps you to exploit the full functionality of the device avoids errors and related malfunctions avoids costs by disruptions and any repairs increases the effectiveness and efficiency of your plant...

Page 5: ...was developed and manufactured under observance of the applicable European standards and guidelines The product manufacturer Pepperl Fuchs GmbH D 68307 Mannheim has a certified quality assurance syste...

Page 6: ...ormat is greater than F0hex PDU specific is interpreted as a so called group extension The PGNs are sent according to the producer consumer model broadcast The source address has to be unique for ever...

Page 7: ...sition byte 1 LSB Byte 2 Encoder absolute position byte 2 Byte 3 Encoder absolute position byte 3 Byte 4 Encoder absolute position byte 4 MSB Byte 5 Encoder speed byte 1 LSB in rpm Byte 6 Encoder spee...

Page 8: ...n 18EA2000 03 00 00 00 8000 00 00 Encoder response Index 03 total resolution 0x80000000 2 147 483 648 steps 18EA2000 05 EF 00 00 00 00 00 00 Read request cycle time 18EA2000 05 32 00 00 0000 00 00 Enc...

Page 9: ...0x20000000 536 870 912 00EF2000 04 00 00 00 00 00 00 00 Index 04 preset 0x04A8610000FFFFFF 25 000 00EF2000 05 00 00 00 00 00 00 00 Index 05 PGN 65450 cycle time position speed diagnosis 0x0000 cyclic...

Page 10: ...ction of rotation 0 cw clockwise 1 ccw counter clockwise Type Description data type unsigned 32 access r w default 0x00001000 4 096 steps revolution function singleturn resolution values 4 096 and mus...

Page 11: ...stop cyclic data transmission n transmitts data every n milliseconds Type Description data type unsigned 16 access r w default 0x04 function baudrate setting values 00h 20 kbit s 01h 50 kbit s 02h 10...

Page 12: ...Type Description data type unsigned 32 access w default FA 73 61 76 65 FF FF FF function save current settings and reset encoder values FA 73 61 76 65 FF FF FF Type Description data type unsigned 32...

Page 13: ...hs GmbH 68307 Mannheim Germany Tel 49 621 776 0 E mail info de pepperl fuchs com USA Headquarters Pepperl Fuchs Inc Twinsburg Ohio 44087 USA Tel 1 330 4253555 E mail sales us pepperl fuchs com Asia Pa...

Reviews: