R&D department
2018/08/01
mandatory. All other fields are optional. Default values for the optional parameters:
▪
<Silent/Active> = Silent;
▪
<Channel_X> = 1;
▪
<Additional_CAN_interface> - not active.
Notes
•
The SMS command is not case sensitive, so
uppercase letters won't have influence when inputting the Group name.
•
All LCV Group names and subgroup numbers are identical to those in the configurator. The only exception is the
Caterpillar subgroup, which does not have a number in the configurator. In this case the <Group_name> would be
“tractor” and <Sub_Group_number> - “2”. (Example: pass setlcv tractor,2,1)
<pass> -
the password for authentication. The maximum size of the parameter is 50 bytes.
<setlcv> -
command to set lcv group, subgroup and other parameters to the ones specified.
<Group_name> -
LCV group name, which the user wants to enabled (Example: vag).
<Sub_Group_number> -
LCV subgroup number, which the user wants to enable. Note that only the
number
is used, not
the whole subgroup name like in the configurator (Example: name in configurator is VAG17, then <Sub_Group_name> =
17)
<CAN_interface_number> - CAN interface on which the selected parameters will be configured. CAN1 = 1; CAN2 = 2.
<Silent/Active> - Set the enabled CAN interface to either Active or Silent. Active = 1, Silent = 0.
<Channel_X> - set the Channel for the CAN interfaces. The Channel setting is used when two separate physical
connections must be made to receive all parameters from a LCV group/subgroup. Channel1 = 1, Channel 2 = 2.
<Additional_CAN_interface> - The user can specify whether to enable the other CAN interface. Activate = 1, not activate
= 0.
Notes
Enable IO parameters function requires the use of Protocol v1.1, without it enabled, this function will not work.
Additionally enough free IO slots must be available to accommodate the newly enabled IO parameters.
The LCV group, and IOs will be set only on the currently active profile, overwriting any previous CAN parameters on that
profile.
Examples of the command:
pass setlcv vag,17,1,0,2, 1 – VAG17
subgroup will be enabled on CAN1 interface, silent mode on CAN1 and
CAN2, CAN1 will be enabled on Channel 2, CAN2 will also be enabled on Channel 1.
pass setlcv VAG,17,2
– VAG17 subgroup will be enabled on CAN2 interface, all other parameters are set to
default settings.
Responses
If SMS structure is correct, Protocol v1.1. was enabled prior to sending the “setlcv” command, LCV group and
subgroup is enabled, the response will be:
“Configured group: VAG17, I/O elements enabled”
If SMS something went wrong , the device responds with an error message. One of these error messages can be
received:
•
“Configured group: VAG17, Error: Not enough I/O slots” -
the LCV subgroup was set, but there are not enough
free IO slots to enable all the IO parameters for this subgroup.
•
“Configure group: VAG17, Error: old I/O protocol is used”
- the LCV subgroup was set, but Protocol v1.1 is not
enabled, thus some parameters cannot enabled, so no parameters are enabled at all.
31