background image

5

SAE J1939 interface

This section contains general information about using the CAN protocol with extended
29-bit CAN identifiers. This 29-bit CAN frame format is the only format allowed for
J1939 CAN messages. Standard 11-bit CAN frames can, however, also be used in the
network.

5.1

Protocol data unit

The protocol data unit (PDU) provides a framework for organizing the information essen‐
tial to each CAN data frame sent. The extended CAN data frame used for the SAE
J1939 protocol is divided into seven fields. The 29-bit identifier is composed of six
fields.

J1939 PDU

P

R

D

P

PF

PS

SA

Data Field

.   .   .   .   .

Bits

3

1 1

8

8

8

0 ... 64

Figure 2: Definition of the extended CAN data frame (29-bit iden data field)

Components of the 29-bit identifier

P – Priority

These three bits are used to optimize message latency for transmission (3 bits).

R – Reserved

Value is always 0 (1 bit).

DP – Data Page

Value is always 0 (1 bit).

PF – PDU Format

This field is used to specify the parameter group number (PGN). Parameter group
numbers identify or label information that require one or more CAN data frames to
transmit them. The PDU format is the mid-byte of the parameter group number

see

figure 3, page 15

PS – PDU Specific

This field depends on the value of PDU Format, and contains either a destination
address or a group extension, depending on PDU Format. If the value of the PDU
Format field is less than 240, the PDU Specific field contains a destination address.
If the value of the PDU Format field is between 240 and 255, the PDU Specific field
contains a group extension value. PDU2 format messages are global messages.

Table 5: PDU definition

PDU Format field

PDU Specific field

PDU1 format

0 - 239

Destination address

PDU2 format

240 - 255

Group extension

Specific Destination Address (DA)

This field defines the specific address to which the message is being sent. All other
destinations should ignore this message. In the case of the global destination address
(255), all devices are required to listen and respond as message recipients.

SAE J1939 INTERFACE

14

O P E R A T I N G   I N S T R U C T I O N S | AHS/AHM36 SAE J1939
AHS/AHM36 SAE J1939 Inox

8027379/2022-01-21 | SICK

Subject to change without notice

Summary of Contents for AHS/AHM36 SAE J1939

Page 1: ...O P E R A T I N G I N S T R U C T I O N S AHS AHM36 SAE J1939 AHS AHM36 SAE J1939 Inox Absolute encoder...

Page 2: ...ssible within the limits of the legal determination of Copyright Law Any modi fication abridgment or translation of this document is prohibited without the express written permission of SICK AG The tr...

Page 3: ...Scaling parameters 12 4 1 2 Preset function 12 4 1 3 Speed measurement 13 5 SAE J1939 interface 14 5 1 Protocol data unit 14 5 2 Parameter group number 15 5 3 Device name and address 15 5 4 Process d...

Page 4: ...3 1 Meaning of LED indicators 25 8 Annex 26 8 1 Conformities and certificates 26 8 1 1 Compliance with EU directives 26 8 1 2 Compliance with UK statutory instruments 26 CONTENTS 4 O P E R A T I N G I...

Page 5: ...ncoder are to be integrated They also address people who initialize the use of the AHS AHM36 SAE J1939 und AHS AHM36 SAE J1939 Inox or who are in charge of servicing and maintaining the device These i...

Page 6: ...for special features of the device LED symbols describe the state of a diagnostics LED Examples O The LED is illuminated constantly F The LED flashes evenly K The LED flashes with a short duty cycle o...

Page 7: ...low all applicable health and work safety regulations may result in injury or damage to the system The current and voltage sources in the encoder are designed in accordance with all applicable technic...

Page 8: ...operation of devices in the related application e g industrial robots storage and conveyor technology Commissioning operation and con figuration Knowledge on the current safety regulations and the use...

Page 9: ...titurn Encoder Advanced Singleturn Encoder Inox Multiturn Encoder Inox SAE J1939 interface C C C C C C 12 bit singleturn resolution 1 to 4 096 steps C C 14 bit singleturn resolution 1 to 16 384 steps...

Page 10: ...form of a unique digital numeric value The highest reliability is achieved by means of electrosensitive magnetic scanning The AHS36 is a singleturn encoder Singleturn encoders are used if absolute acq...

Page 11: ...formed from the new real position value and the offset Even if the position of encoder changes while it is switched off this procedure ensures the correct position value is still output 1 on switchin...

Page 12: ...nterclockwise ccw increasing position value when the shaft rotates coun terclockwise The resolution of the AHS AHM36 SAE J1939 Basic is max 4 096 steps per revolution The resolution is scalable in who...

Page 13: ...measurement Possible units are cps counts per second cp10 ms counts per 10 ms cp100 ms counts per 100 ms rpm revolutions per minute rps revolutions per second The factory setting is rpm NOTE The unit...

Page 14: ...group numbers identify or label information that require one or more CAN data frames to transmit them The PDU format is the mid byte of the parameter group number see figure 3 page 15 PS PDU Specific...

Page 15: ...n messages that are exchanged between two nodes by direct addressing PDU format 1 and broadcast messages that are send to all nodes on the bus PDU format 2 The PDU format values 00h to EFh are reserve...

Page 16: ...stem 0 Function 142 Rotation Sensor The remaining ranges can be modified by the user via the configuration protocol see Sensor configuration 5 4 Process data transmit PGNs The device supports 3 differ...

Page 17: ...on is defined via the message ID If the parameter is one a read command was requested if however the parameter is two the received data is written to the encoder Table 8 Message ID Value Meaning 0 Par...

Page 18: ...identifier Data field Pri orit y R DP PD U DestAdr Coun ter part Adr SourAdr Enc Adr Mes ID Param Idx Param Lngt Err code D5 D6 D7 D8 7 0 0 23 9 0 129 1 0 1 0 0 0 A failed encoder response to a counte...

Page 19: ...02 Parameter length incorrect 03 Parameter value too high low 04 Parameter value not supported 05 An attempt was made to read a write only parameter 06 An attempt was made to write a read only paramet...

Page 20: ...INT8 ro Function 142 106 UINT8 ro Product ID 7 digit art no the complete product ID can be read using an offset value byte5 107 UINT8 ro Product name AHx36x xxJxxxxx the complete product name can be r...

Page 21: ...ce 0 31 0 136 UINT8 rw ECU instance 0 7 0 137 UINT32 rw PDU time PGN0 0xFFE0 0 deactivated 10 10 000 ms 10 138 UINT8 rw Prio PGN0 0xFFE0 0 7 3 139 UINT8 rw Least significant byte of PGN 0 0x00 0xFF de...

Page 22: ...Val 0 Param Val 1 Param Val 2 Param Val 3 1 82 130 dec UINT32 00 00 00 00 00 Read steps per revolu tion 00 82 130 dec UINT32 00 00 10 00 00 Steps per revolution result 4 096 2 82 130 dec UINT32 00 00...

Page 23: ...36 SAE J1939 Inox The M12 male connector of the AHS AHM36 SAE J1939 and AHS AHM36 SAE J1939 Inox is located at the rear of the device It is designed to be rotatable This allows it to be used either an...

Page 24: ...er revolution AHx36 Basic 4 096 Resolution per revolution AHx36 Advanced Inox 16 384 Total resolution AHS36 Basic 4 096 Total resolution AHM36 Basic 16 777 216 Total resolution AHS36 Advanced Inox 16...

Page 25: ...ications on the LED LED Figure 6 Position of the LED 7 3 1 Meaning of LED indicators The LED indicates the status of the SAE J1939 stack and errors on the CAN bus Table 16 Meaning of LED indicators Di...

Page 26: ...standards and or technical specifications stated in the EU declaration of conformity have been used as a basis for this 8 1 2 Compliance with UK statutory instruments UK declaration of conformity extr...

Page 27: ...8080 7425 E Mail enquiry my sick com Mexico Phone 52 472 748 9451 E Mail mexico sick com Netherlands Phone 31 0 30 229 25 44 E Mail info sick nl New Zealand Phone 64 9 415 0459 0800 222 278 tollfree...

Reviews: