Jump to content

Template:FMA CAN adapters: Difference between revisions

No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 29: Line 29:
----
----
LV-CAN200 and ALL-CAN300 program number can be set remotely, using SMS command, where X is new program number value (more CAN commands can be found in section {{{ctrSMS|[[Template:FMB_SMS/GPRS_command_list#Commands_related_to_LV-CAN200.2FALL-CAN300]]}}}):<br/>''"lvcansetprog X"''<br/>
LV-CAN200 and ALL-CAN300 program number can be set remotely, using SMS command, where X is new program number value (more CAN commands can be found in section {{{ctrSMS|[[Template:FMB_SMS/GPRS_command_list#Commands_related_to_LV-CAN200.2FALL-CAN300]]}}}):<br/>''"lvcansetprog X"''<br/>
===LV-CAN200 and ALL-CAN300 program number configuration via configurator===
----
LV-CAN200 and ALL-CAN300 program number can be set via configurator: ''LVCAN'' -> ''Program Number''. When program number is entered press <span style=color:#F6A83E>Save to device</span> button that saves the entered program number into {{{model|FMB1YX}}}.


===Selecting LV-CAN200 and ALL-CAN300 program number manually===
===Selecting LV-CAN200 and ALL-CAN300 program number manually===
Line 67: Line 63:
When power supply is connected, the LED shines continuously. It means that device is waiting for calibration. '''Calibration process''' has to be carried out when CAN-BUS twisted pair is tightened on SIMPLE-CAN and when ignition is ON. Please press the switch briefly and wait for the LED to start blinking every second. Automatic calibration process takes up to 10 seconds depending on the vehicle's model. Correct calibration process is confirmed by LED starting to blink every 2 seconds (when the CAN-BUS is active). When the CAN-BUS enters sleep mode, SIMPLE-CAN device also enters sleep mode and takes 1.6mA @ 12V. In the sleep mode LED does not shine. If after calibration process LED shines continuously, it means that device is not calibrated yet, CAN-BUS transmission has failed or ignition during calibration was not ON.
When power supply is connected, the LED shines continuously. It means that device is waiting for calibration. '''Calibration process''' has to be carried out when CAN-BUS twisted pair is tightened on SIMPLE-CAN and when ignition is ON. Please press the switch briefly and wait for the LED to start blinking every second. Automatic calibration process takes up to 10 seconds depending on the vehicle's model. Correct calibration process is confirmed by LED starting to blink every 2 seconds (when the CAN-BUS is active). When the CAN-BUS enters sleep mode, SIMPLE-CAN device also enters sleep mode and takes 1.6mA @ 12V. In the sleep mode LED does not shine. If after calibration process LED shines continuously, it means that device is not calibrated yet, CAN-BUS transmission has failed or ignition during calibration was not ON.


==Connecting FMB120 CAN adapters ALL-CAN300 and LV-CAN200==
==Connecting {{{model|FMB1YX}}} CAN adapters ALL-CAN300 and LV-CAN200==
 
* Connect USB Plug to {{{model|FMB1YX}}}  device, connect Light Vehicles Can adapter to other end of the cable.
* Connect Light Vehicles Can adapter Pin 1 and Pin 2 to cars CAN bus. CAN interface location of the supported light vehicle is described on mounting scheme.
* Connect car power supply lines to Pin 3 positive, Pin 4 Negative.
*Pins 9,10 connection is optional it depends on exact car model.
*For exact pinout see sticker on Light Vehicles Can adapter.


Connect LV-CAN200/ALL-CAN300 Pin 5 to {{{model|FMB1YX}}} Pin 12 (INPUT 5) or Pin 6 (INPUT 6) and connect light vehicle CAN adapter to other end of the cable.<br/>Connect CAN adapter Pin 1 and Pin 2 to car's CAN bus. CAN interface location of the supported light vehicle is described on mounting scheme.<br/>Connect car power supply lines to Pin 3 positive, Pin 4 negative.<br/>Pin 9 and 10 connections are optional depending on the exact car model.<br/>For exact pinout see the sticker of light vehicle CAN adapter.


[[Image:Fmb120_lv-can200_pinout.png|800px|none]]
[[Image:Fma120_lv-can200_pinout.png|800px|none]]
[[Image:Fmb120_all-can300_pinout.png|800px|none]]
[[Image:Fma120_all-can300_pinout.png|800px|none]]


{| class="wikitable" style="border-style: solid; border-width: 0px"
{| class="wikitable" style="border-style: solid; border-width: 0px"
Line 84: Line 85:
|}
|}


==FMB120 ALL-CAN300 and LV-CAN200 parameters configuration==
=={{{model|FMB1YX}}} ALL-CAN300 and LV-CAN200 parameters configuration==
 
Because FMB120 have LV-CAN200/ALL-CAN300 RX and TX in its own pinout, device configuration can be performed via micro-USB when CAN adapter is connected to the vehicle.<br/>When {{{model|FMB1YX}}} is connected to LV-CAN200 or ALL-CAN300, user can see all information that is received from the vehicle in configurator LVCAN section, all data are highlighted by green background color. Information in this section is automatically refreshed. CAN bus data which can be read from your car is provided in "Light or All Vehicles CAN adapter supported cars" document.<br/>The LVCAN I/O element can be configured like any other I/O element in FMB120 configurator.


[[Image:Fmb120_can_conf_example.png|800px|none]]
{{{model|FMB1YX}}} shares the same USB port for connecting LV-CAN200 or ALL-CAN300 adapter and configuring device with PC.
{{{model|FMB1YX}}} can be configured using “SCAN” function or “Offline Configuration”
SCAN function – is in use when {{{model|FMB1YX}}} is connected to CAN adapter, then wait 10s (Note, that car engine must be started), disconnect adapter from {{{model|FMB1YX}}} , and connect PC USB cable to {{{model|FMB1YX}}} Device. It is very important not to disconnect {{{model|FMB1YX}}} from power source during this operation, because if {{{model|FMB1YX}}} is reconnected all received CAN bus data will be lost. {{{model|FMB1YX}}} remembers received data from LV-CAN200 or ALL-CAN300 and at the end of the procedure when “SCAN” button is pressed, user will see all CAN data which is sent by adapter. Enable CAN data which needs send to server and save configuration pressing “Save” button.<br/>
To configure CAN data:<br/>
1. In car, connect LV-CAN200 or ALL-CAN300 to CAN bus and to the {{{model|FMB1YX}}} device , wait 10 seconds. Note, that car engine must be started.<br/>
2. Disconnect LV-CAN200 or ALL-CAN300 from {{{model|FMB1YX}}} , and connect PC USB cable to {{{model|FMB1YX}}} Device. It is very important not to disconnect {{{model|FMB1YX}}} from power source, because then all CAN data will be lost.
[[Image:Fma_LVCAN_Connection.png|400px|center]]


When using offline configuration method user can select which CAN data will be read from LV-CAN200 or ALL-CAN300 and sent directly to the server without connection to adapter. Please note that parameters depend on vehicle manufacturer and vehicle model. For further information check "Light and All Vehicles CAN adapter supported cars” document.<br/>All information about I/O element parameters description is in section [[FMB120 I/O settings|I/O settings]].<br/>All LV-CAN200/ALL-CAN300 I/O parameters configuration settings are described in "FMB120 Protocols" document, except ALL-CAN300 bitmasks, which are described in the table below.
CAN bus data which can be read from your car is shown in “Light or ALL Vehicles Can adapter supported cars” document. <br/>
<br/>
'''Offline configuration '''– user can select which CAN data will be red from LV-CAN200 or ALL-CAN300 and directly sent to server without connection to adapter. Please note that parameters depend on vehicle manufacturer and vehicle model. Please for further information check “Light and All Vehicles Can adapter supported cars” document. <br/>
<br/>
There are two types of operations with CAN data elements:
* Monitoring of CAN bus data
* CAN bus data event capturing
Monitoring method is used when user wants to receive CAN data on regular basis, for example every 20 seconds.<br/>
<br/>
Event functionality is used to store additional AVL packet when state of CAN element is changing. For example Speed changes, low fuel level, engine temperate, etc.<br/>
<br/>
Send data to server field – allows enabling CAN element so it is added to the AVL data packet and sent to the server. By default, all CAN elements are disabled and {{{model|FMB1YX}}} records only GPS data.<br/>
<br/>
[[Image:Fma_LVCAN_Info.png|700px|center]]
All information about I/O element parameters description is in section [[FMA120 I/O settings|I/O settings]].<br/>All LV-CAN200/ALL-CAN300 I/O parameters configuration settings are described in "{{{model|FMB1YX}}} Protocols" document, except ALL-CAN300 bitmasks, which are described in the table below.


{| class="wikitable"
{| class="wikitable"
Line 140: Line 159:
==Send data with 0, if ignition is off==
==Send data with 0, if ignition is off==


Depending on LV-CAN200/ALL-CAN300 I/O parameters and ignition status, FMB120 can send locked (last known) LV-CAN200/ALL-CAN300 I/O and active (real time) parameters values or reset values to 0. When ignition is off, LV-CAN200/ALL-CAN300 I/O parameters values sent to server are:
Depending on LV-CAN200/ALL-CAN300 I/O parameters and ignition status, {{{model|FMB1YX}}} can send locked (last known) LV-CAN200/ALL-CAN300 I/O and active (real time) parameters values or reset values to 0. When ignition is off, LV-CAN200/ALL-CAN300 I/O parameters values sent to server are:


{| class="wikitable"
{| class="wikitable"