612699
26
Verklein
Vergroot
Pagina terug
1/94
Pagina verder
26 of 94
ELM327
ELM327DSJ Elm Electronics – Circuits for the Hobbyist
www.elmelectronics.com
AT Command Descriptions (continued)
8 - ISO 15765-4 CAN (11 bit ID, 250 kbaud)
9 - ISO 15765-4 CAN (29 bit ID, 250 kbaud)
A - SAE J1939 CAN (29 bit ID, 250* kbaud)
B - USER1 CAN (11* bit ID, 125* kbaud)
C - USER2 CAN (11* bit ID, 50* kbaud)
* default settings (user adjustable)
The first protocol shown (0) is a convenient way of
telling the ELM327 that the vehicle’s protocol is not
known, and that it should perform a search. It causes
the ELM327 to try all protocols if necessary, looking for
one that can be initiated correctly. When a valid
protocol is found, and the memory function is enabled,
that protocol will then be remembered, and will
become the new default setting. When saved like this,
the automatic mode searching will still be enabled, and
the next time the ELM327 fails to connect to the saved
protocol, it will again search all protocols for another
valid one. Note that some vehicles respond to more
than one protocol - if searching, you may see more
than one type of response.
ELM327 users often use the AT SP 0 command to
reset the search protocol before starting (or restarting)
a connection. This works well, but since it is used so
often, and since writes to EEPROM result in an
unnecessary delay (of about 30 msec), the AT SP0
command sets the protocol to 0, but does not perform
a write to EEPROM. Similarly, the SP A0 and SP 0A
commands do not perform writes to EEPROM, either.
Saving this value to EEPROM would not provide any
advantage (and would be very short-lived, as the
ELM327 will soon be finding the vehicle’s protocol and
over-writing the ‘0’ value in EEPROM). If you really
want to store the value ‘0’ in the internal EEPROM,
you must use the AT SP 00 command.
If another protocol (other than 0) is selected with
this command (eg. AT SP 3), that protocol will become
the default, and will be the only protocol used by the
ELM327. Failure to initiate a connection in this
situation will result in a response such as ‘BUS INIT:
...ERROR’, and no other protocols will be attempted.
This is a useful setting if you know that your vehicle(s)
only use the one protocol, but is also one that can
cause a lot of problems if you do not understand it.
SP 00 [ erase the Stored Protocol ]
To speed up protocol initiation and detection, the
SP 0 command sets the protocol to automatic, but
does not perform a (very time-consuming) write to
EEPROM. Some users felt it was necessary to be able
to actually write to the ELM327's EEPROM, however,
so we provided this command. It should not normally
be used when connecting to a vehicle.
SP Ah [ Set Protocol to Auto, h ]
This variation of the SP command allows you to
choose a starting (default) protocol, while still retaining
the ability to automatically search for a valid protocol
on a failure to connect. For example, if your vehicle is
ISO 9141-2, but you want to occasionally use the
ELM327 circuit on other vehicles, you might use the
AT SP A3 command, so that the first protocol tried will
then be yours (3), but it will also automatically search
for other protocols. Don't forget to disable the memory
function if doing this, or each new protocol detected
will become your new default.
SP Ah will save the protocol information even if
the memory option is off (but SP A0 and SP 0A do not-
if you must write 0 to the EEPROM, use command AT
SP 00). Note that the ‘A’ can come before or after the
h, so AT SP A3 can also be entered as AT SP 3A.
SR hh [Set the Receive address to hh ]
Depending on the application, users may wish to
manually set the address to which the ELM327 will
respond. Issuing this command will turn off the AR
mode, and force the IC to only accept responses
addressed to hh. Use caution with this setting, as
depending on what you set it to, you may accept a
message that was actually meant for another module,
possibly sending an IFR when you should not. To turn
off the SR filtering, simply send AT AR.
This command has limited use with CAN, as it only
monitors one byte of the ID bits, and that is not likely
selective enough for most CAN applications (the CRA
command may be a better choice). Also, the command
has no effect on the addresses used by the J1939
protocols, as the J1939 routines set their own receive
addresses based on the ID bit (header) values.
This SR command is exactly the same as the RA
command, and can be used interchangeably with it.
Note that CAN Extended Addressing does not use this
value - it uses the one set by the AT TA command.
SS [ use the Standard Sequence for searches ]
SAE standard J1978 specifies a protocol search
26

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