Parameter Group Number (PGN) The Parameter Group Number is determined from the following constituent components: Reserved bit, Data Page bit, PDU Format Field (8 bits), and Group Extension Field (8 bits). These 18 bits are used to establish the 24 bit PGN. Whenever it is necessary to identify a Parameter Group in the data-field of a CAN data frame, it is expressed in 24 bits with the most significant bits set to zero. See table 2 for an illustration of PGNs, their corresponding bits and their conversion to a decimal number. The procedure for the bit fields to be converted to Parameter Group Numbers is as follows. If the PDU Format (PF) value is less than 240 (F016), then the lower byte of the PGN is set to zero. NOTE — Not all 131 072 combinations (217) are available to be assigned as PGNs. Only a total of 8 670 combinations are available for assignment (calculated as: 2 pages x [240 + (16 x 256)] = 8 670, using the conventions specified in this part of ISO 11783).
Bit No. 29 bit identifiers 11 bit identifiers CAN ISO 11783 CAN IS0117831) 1 SOF SOF*) SOF SOF*) 2 ID 28 P3 ID 11 P3 3 ID 27 P2 ID 10 P2 4 ID 26 P1 ID 9 P1 5 ID 25 R1 ID8 SA8 6 ID 24 DP ID 7 SA7 7 ID 23 PF8 ID6 SA6 8 ID 22 PF7 ID 5 SA5 9 ID 21 PF6 ID4 SA4 10 ID 20 PF5 ID 3 SA3 11 ID 19 PF4 ID 2 SA2 12 ID 18 PF3 ID1 SA1 13 SRR ® SRR*) RTR (x) RTR*) 14 IDE ® IDE*) IDE (d) IDE*) 15 ID 17 PF2 R0 R0*) 16 ID 16 PF1 DLC4 DLC4 17 ID 15 PS 8 DLC3 DLC3 18 ID 14 PS 7 DLC2 DLC2 19 ID 13 PS 6 DLC1 DLC1 20 ID 12 PS 5 21 ID 11 PS 4 22 ID 10 PS 3 23 ID 9 PS 2 24 ID 8 PS1 25 ID 7 SA8 26 ID 6 SA7 27 ID 5 SA6 28 ID 4 SA5 29 ID 3 SA4 30 ID 2 SA3 31 ID1 SA2 32 ID0 SA1 33 RTR (x) RTR*) 34 r1 r1*) 35 r0 r0*) 36 DLC4 DLC4 37 DLC3 DLC3 38 DLC2 DLC2 39 DLC1 DLC1
SOF Start of Frame Bit R# Reserved Bit #n according to IS011783 ID## Identifier Bit #n SA# Source Address Bit #n according to IS011783 SRR Substitute Remote Request DP Data Page according to IS011783 RTR Remote Transmission Request Bit PF# PDU Format Bit #n according to IS011783 IDE Identifier Extension Bit PS# PDU Specific Bit #n according to IS011783 r# CAN Reserved Bit #n (d) dominant bit DLC# Data Length Code Bit #n ® recessive bit P# Priority Bit #n according to IS011783 (x) bit state dependent on message
*) CAN Defined Bit, Unchanged in ISO 11783. 1) Required format of proprietary 11 bit identifiers.
Табулирования и пробелы сжирает, как тут таблицу форматнуть?
Сообщение отредактировал Codavr - Oct 4 2007, 22:30
|