612699
59
Verklein
Vergroot
Pagina terug
1/94
Pagina verder
Periodic (Wakeup) Messages
After an ISO 9141 or ISO 14230 connection has
been established, there needs to be periodic data
transfers in order to maintain that connection, and
prevent it from ‘going to sleep.’ If normal requests and
responses are being sent, that is usually sufficient, but
the ELM327 occasionally has to create its own
messages, to prevent the connection from timing out.
We term these periodic messages that are created
the ‘Wakeup Messages’, as they keep the connection
alive, and prevent the circuitry from going back to an
idle or sleep mode. (Some texts refer to these
messages simply as ‘idle messages.’) The ELM327
automatically creates and sends these for you if there
appears to be no other activity – there is nothing that
you need do to ensure that they occur. To see that
these are being sent, simply watch the OBD transmit
LED – you will see the periodic ‘blips’ as the ELM327
sends each one.
The ELM327 normally sends wakeup messages
after 3 seconds of no activity (this time is adjustable
with the AT SW command). This is within the five
second limit set by the standard.
The default content of these messages vary
depending on the protocol - for ISO 9141, the ELM327
will send 68 6A F1 01 00, and it sends C1 33 F1 3E for
ISO 14230 (KWP). If you would prefer that a different
message be sent, simply use the Wakeup Message
command to define it.
For example, if you would like to send the data
bytes 44 55 with the header bytes set to 11 22 33,
simply send the command:
>AT WM 11 22 33 44 55
and from that point forward, every wakeup message
that the ELM327 sends will be 11 22 33 44 55 (with a
checksum byte following). You do not provide the
checksum byte - it is automatically added for you.
You can change these as often as you want, the
only restriction being that every time you do, you must
provide the complete message – the header bytes and
the data bytes. The current version of the ELM327
allows for messages of one to six bytes total, not
including the checksum.
The ELM327 does not currently support periodic
messages for the CAN protocols. If you require that
function, please consider using our ELM329 CAN
Interpreter product.
59 of 94ELM327DSJ Elm Electronics – Circuits for the Hobbyist
www.elmelectronics.com
ELM327
The NMEA 2000 Standard
We are occasionally asked about support for the
NMEA 2000 marine standard. Elm Electronics does
not provide specific support for this protocol, but our
ELM327 integrated circuit is very capable of working
with it.
While the physical connectors may look quite a bit
different than those used for J1939, the CAN interface
and the data format is almost identical to that of the
J1939 standard. NMEA 2000 uses a 250 kbps data
rate, so the easiest way to get started is to select the
ELM327’s predefined protocol A. This is done with the
set protocol to A command:
>AT SP A
When you are finished and want to use the
ELM327 for standard OBDII protocols, don’t forget to
send the AT SP 0 command to reset it.
Many of the PGNs used for NMEA 2000 have
values that are greater than 65535, so the DP bit is
usually set. To monitor for most PGNs then, you can
not use the short version of the MP command. For
example, to monitor for the Engine Parameters PGN
(127488 or hex 1F200), you can not use:
>AT MP 1F200
as the ELM327 actually interprets that as a request for
PGN 1F20, and get 0 replies. To monitor for PGN
1F200, you must send:
>AT MP 01F200
If you keep the above in mind, the ELM327 will
prove to be a handy tool to use while experimenting
with NMEA 2000. It does have a couple of limitations
that must be kept in mind, though. As mentioned with
J1939, it is not capable of address negotiation. Also,
the ELM327 does not currently support the Fast
Packet protocol, which may be an issue for some
users.
For more information on the NMEA 2000 standard,
visit the NMEA web site (http://www.nmea.org).
59

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