612699
41
Verklein
Vergroot
Pagina terug
1/94
Pagina verder
41 of 94
ELM327
ELM327DSJ Elm Electronics – Circuits for the Hobbyist
www.elmelectronics.com
Setting the Headers (continued)
addressing, and to DA if using physical addressing.
The next two bytes are as defined previously for the
other standards – ‘yy’ is the receiver (or Target
Address), and ‘zz’ is the transmitter (or Source
Address). For the functional diagnostic requests, the
receiver is always 33, and the transmitter is F1, which
is very similar to ISO 14230-4.
Those that are familiar with the SAE J1939
standard will likely find this header structure to be very
similar (J1939 is a CAN standard for use by ‘heavy-
duty vehicles’ such as trucks and buses). It uses
slightly different terminology, but there is a direct
parallel between the bytes used by J1939 for the
headers and the grouping of the bytes in the ELM327.
Pages 53 and 54 provide more details of the J1939
message structure.
Another method to define all 29 CAN ID bits at
once is with the four byte version of the SH command.
Simply provide all 8 nibbles in one command:
>AT SH vv xx yy zz
xx yy zzvv
29 bit ID
As with the AT CP command, only 5 bits are used
from the first byte (the 3 most significant bits are
ignored).
The final header format to discuss is that used by
11 bit CAN systems. They also use a priority and
address structure, but shorten it into roughly three
nibbles rather than three bytes. The ELM327 uses the
same storage locations for these values, so you may
use the methods just discussed to assign 11 bit values
(but only the least significant bits are used for any
messages - the others are ignored).
11 bit CAN ‘headers’ are normally assigned using
a special ‘short’ version of the AT SH command that
uses only three hex digits. Since three digits are
actually 12 bits, the most significant bit is ignored, and
can have any value. As an example of this instruction,
to assign an ID of 7DF, simply send:
>AT SH 7DF
OK
The OK shows that the ELM327 has accepted
your value.
The 11 bit ISO15765-4 CAN standard defines both
functional addressing (ID/header = 7DF) and physical
addressing (7En) for making requests. Generally, you
do not know physical addresses at first, but you do
know (from the standard) that the OBD functional
address is 7DF.
In order to learn the physical addresses, turn the
headers on, and watch what address the replies are
from, then use that information to make physical
requests if desired. For example, if the headers are on,
and you send 01 00, you might see:
>01 00
7E8 06 41 00 BE 3F B8 13 00
The 7E8 shows that ECU#1 was the one
responding. In order to talk directly to that ECU, all you
need do is to set the header to the appropriate value (it
is 7E0 to talk to the 7E8 device – see ISO 15765-4 for
more information). From that point on, you can ‘talk’
directly to the ECU using its physical address, as
shown here:
>AT SH 7E0
OK
>01 00
7E8 06 41 00 BE 3F B8 13 00
>01 05
7E8 03 41 05 46 00 00 00 00
This has just been a quick overview on how to
change headers (and ID bits). Hopefully it has been
enough to at least help to get you started. We do not
recommend experimenting too much without a copy of
the standards though, as some aspects are extremely
difficult to figure out without them.
41

Hulp nodig? Stel uw vraag in het forum

Spelregels
1

Forum

Elm-327

Zoeken resetten

Misbruik melden

Gebruikershandleiding.com neemt misbruik van zijn services uitermate serieus. U kunt hieronder aangeven waarom deze vraag ongepast is. Wij controleren de vraag en zonodig wordt deze verwijderd.

Product:

Bijvoorbeeld antisemitische inhoud, racistische inhoud, of materiaal dat gewelddadige fysieke handelingen tot gevolg kan hebben.

Bijvoorbeeld een creditcardnummer, een persoonlijk identificatienummer, of een geheim adres. E-mailadressen en volledige namen worden niet als privégegevens beschouwd.

Spelregels forum

Om tot zinvolle vragen te komen hanteren wij de volgende spelregels:

Belangrijk! Als er een antwoord wordt gegeven op uw vraag, dan is het voor de gever van het antwoord nuttig om te weten als u er wel (of niet) mee geholpen bent! Wij vragen u dus ook te reageren op een antwoord.

Belangrijk! Antwoorden worden ook per e-mail naar abonnees gestuurd. Laat uw emailadres achter op deze site, zodat u op de hoogte blijft. U krijgt dan ook andere vragen en antwoorden te zien.

Abonneren

Abonneer u voor het ontvangen van emails voor uw Elm 327 bij:


U ontvangt een email met instructies om u voor één of beide opties in te schrijven.


Ontvang uw handleiding per email

Vul uw emailadres in en ontvang de handleiding van Elm 327 in de taal/talen: Engels als bijlage per email.

De handleiding is 0,23 mb groot.

 

U ontvangt de handleiding per email binnen enkele minuten. Als u geen email heeft ontvangen, dan heeft u waarschijnlijk een verkeerd emailadres ingevuld of is uw mailbox te vol. Daarnaast kan het zijn dat uw internetprovider een maximum heeft aan de grootte per email. Omdat hier een handleiding wordt meegestuurd, kan het voorkomen dat de email groter is dan toegestaan bij uw provider.

Stel vragen via chat aan uw handleiding

Stel uw vraag over deze PDF

loading

Uw handleiding is per email verstuurd. Controleer uw email

Als u niet binnen een kwartier uw email met handleiding ontvangen heeft, kan het zijn dat u een verkeerd emailadres heeft ingevuld of dat uw emailprovider een maximum grootte per email heeft ingesteld die kleiner is dan de grootte van de handleiding.

Er is een email naar u verstuurd om uw inschrijving definitief te maken.

Controleer uw email en volg de aanwijzingen op om uw inschrijving definitief te maken

U heeft geen emailadres opgegeven

Als u de handleiding per email wilt ontvangen, vul dan een geldig emailadres in.

Uw vraag is op deze pagina toegevoegd

Wilt u een email ontvangen bij een antwoord en/of nieuwe vragen? Vul dan hier uw emailadres in.



Info