Difference between revisions of "FMB640 CAN adapters"
(Created page with "{{Template:FMB640 CAN adapters|model=FMB640|ctrSMS=SMS command list}}") |
|||
Line 1: | Line 1: | ||
− | + | 13FMB640 with LV-CAN 200 and all-can 300 can adapter | |
+ | 13.1Purpose of Can Adapters LV-CAN200 and ALL-CAN300 | ||
+ | |||
+ | LV-CAN200 is used to listening data from light vehicles, while ALL-CAN300 is used to listening data from any type of transport: light vehicles, Trucks, busses, agriculture and other special transport. With those adapters FMB640 device is able to collect and send vehicle data. | ||
+ | |||
+ | Figure 63 LV-CAN | ||
+ | |||
+ | FMB640 shares the same USB port for connecting adapter and configuring device with PC. | ||
+ | LV-CAN200 and ALL-CAN300 Technical characteristics: | ||
+ | |||
+ | PARAMETER VALUE | ||
+ | Supply voltage 9 to 50V | ||
+ | Power supply current Average 10mA | ||
+ | Max (peak) 100mA | ||
+ | Working temperature -40..85 ºC | ||
+ | Max working humidity 60 % (non condensate) | ||
+ | 13.2LV-CAN200 and ALL-CAN300 program number selection | ||
+ | LV-CAN200 or ALL-CAN300 must be set to program number which depends on vehicle model. Needed program number is always written on LV-CAN200 or ALL-CAN300 mounting scheme. Please contact Your Teltonika sales manager to get latest supported vehicle list and mounting scheme for your vehicle, please provide CAR manufacturer, model and year information. | ||
+ | 13.2.1 LV-CAN200 and ALL-CAN300 program number configuration via SMS command | ||
+ | LV-CAN200 and ALL-CAN300 program number can be set remotely, using SMS command: | ||
+ | lvcansetprog X | ||
+ | X is new program number value. | ||
+ | CAN program number can be obtained via SMS: lvcangetprog | ||
+ | Response: “CAN Program Nr: XXX” | ||
+ | |||
+ | Get CAN info by SMS: lvcangetinfo | ||
+ | Response: “Prog: 139SWRevison: 6KernVer: 10KernVar: 49MdlID: 8884443332221110” | ||
+ | 13.2.2 Selecting LV-CAN200 and ALL-CAN300 program number manually | ||
+ | Steps to set program number: | ||
+ | Hold SWITCH down till LED stars blinking | ||
+ | Release the SWITCH | ||
+ | Then LED starts blinking and counting first digit of program number, (one blink means digit 1, two blink digit 2 etc.) | ||
+ | To stop counter push SWITCH | ||
+ | Release the SWITCH, then LED starts blinking and counting second digit of program number | ||
+ | To stop counter push SWITCH | ||
+ | Release the SWITCH, then LED starts blinking and counting third digit on program number | ||
+ | To stop counter push SWITCH | ||
+ | Release SWITCH, if programming is succeded LED will blink 10 times | ||
+ | |||
+ | |||
+ | Figure 64 Adapter signaling led | ||
+ | |||
+ | |||
+ | 13.2.3 Program number logic change | ||
+ | |||
+ | Due to the growing number of supported cars, program numbers have exceeded 999. In order to maintain one number format, we are moving from 3 digits, to 4 digits program numbers. | ||
+ | In new LV-CAN200/ALL-CAN300 firmware (from 2017-09-01) all program numbers that were up to 999 are changed to start from 1000. So that further program numbers would continue the counting with 4 digit numbers. | ||
+ | However, all existing program numbers stays the same, it is just "1" appeared in front of them. Device still understands entered 3 digit program number (via SMS/GPRS), it will automatically add "1" before it. If you enter "247" - device will turn it into the "1247". In Bootloader it is only 4 digit format available, just add "1" in from of the needed program number. | ||
+ | |||
+ | |||
+ | |||
+ | Example: | ||
+ | |||
+ | If use oldest connection schemes where program number displayed as 3 digit program number: | ||
+ | |||
+ | |||
+ | Using LV-CAN200/ALL-CAN300 Bootloader from soft version 2017-09-27 need add "1" before it: | ||
+ | |||
+ | |||
+ | |||
+ | 13.3SIMPLE-CAN - contactless CAN-BUS reader | ||
+ | |||
+ | SIMPLE-CAN is contactless adapter used to read vehicle CAN data with LV-CAN200, ALL-CAN300. If LV-CAN200 or ALL-CAN300 connection requires two CAN lines to get all data, then you need two SIMPLE-CAN readers | ||
+ | |||
+ | TECHNICAL DETAILS | ||
+ | Power supply voltage 9-63 V | ||
+ | Power supply current: | ||
+ | Mode 12V 24V | ||
+ | Active 8.3 mA 4.3 mA | ||
+ | Standby 1.6 mA 0.91 mA | ||
+ | CAN-BUS speeds from 33,33 to 500 kb/s | ||
+ | Automatically sets CAN Low, CAN High polarity | ||
+ | Automatically adjusts signal level and speed | ||
+ | |||
+ | SIMPLE-CAN works in the listening mode only, so not all the data available on the CAN-BUS may be received using this solution. The device automatically sets CAN L/H polarity, but the calibration has to be always executed during installation process. Connection of previously calibrated unit to another car needs new calibration because the reader automatically adjusts signal level and speed to different CAN-BUSes. The device also automatically adapts to the found noise level. | ||
+ | |||
+ | |||
+ | Figure 65 Simple can connection | ||
+ | |||
+ | After power supply connecting, LED shines continuously. It means that device waits for calibration. Calibration process has to be carried out when CAN-BUS twisted pair is tightened on SIMPLE-CAN and when the ignition is ON. Please press the switch shortly and wait for the LED to start blinking every 1 second. Automatic calibration process takes up to 10 seconds depending on the vehicle's model. Correct calibration process is confirmed by LED's every 2 seconds blink (when the CAN-BUS is active). When the CAN-BUS enters sleep mode, SIMPLE-CAN device does it also 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. | ||
+ | |||
+ | 13.4Connecting FMB640 Can adapters ALL-CAN300 and LV-CAN200 | ||
+ | Connect USB Plug to FMB640 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 connections are optional it depends on exact car model. | ||
+ | For exact pinout see sticker on Light Vehicles Can adapter. | ||
+ | |||
+ | |||
+ | Figure 66 LV-CAN200 Adapter connection cable pinout | ||
+ | |||
+ | |||
+ | Figure 67 ALL-CAN300 Adapter connection cable pinout | ||
+ | |||
+ | Attention! Ordered LV-CAN200 and ALL-CAN300 packaging may vary: | ||
+ | 1. Standard with mini-USB cable. | ||
+ | 2.USB PCB (female) + mini-USB cable. | ||
+ | Attention! For detailed connection diagram of adapter to light vehicle please contact Teltonika, LTD sales representative and provide CAR manufacturer, model and year information. | ||
+ | Attention! Do not swap CAN L and CAN H lines. | ||
+ | Do not swap power supply lines. Make sure that voltage do not exceeds 30V. Power supply lines should be connected at the end of installation work. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | 13.5FMB640 Configuration with LV-CAN200 and ALL-CAN300 | ||
+ | |||
+ | FMB640 shares the same USB port for connecting LV-CAN200 or ALL-CAN300 adapter and configuring device with PC. | ||
+ | FMB640 can be configured using in LVCAN tab. | ||
+ | |||
+ | When FMB640 is connected to CAN adapter (Figure 68), wait 10s (Note, that car engine must be started), disconnect adapter from FMB640, and connect PC USB cable to FMB640 Device, It is very important not to disconnect FMB640 from power source during this operation, because if FMB640 is reconnected all received CAN bus data will be lost. FMB640 remembers received data from LV-CAN200 or ALL-CAN300 and at the end user will see all CAN data which is sent by adapter. Enable CAN data which needs send to server and save configuration pressing “Save to device” button. | ||
+ | To configure CAN data: | ||
+ | 1.In car, connect LV-CAN200 or ALL-CAN300 to CAN bus and to the FMB640 device (Figure 68) wait 10 seconds. Note, that car engine must be started. | ||
+ | 2.Disconnect LV-CAN200 or ALL-CAN300 from FMB640 and connect PC USB cable to FMB640 Device, It is very important not to disconnect FMB640 from power source, because then all CAN data will be lost. | ||
+ | |||
+ | |||
+ | |||
+ | Figure 68 Connect adapter LV-CAN200 to FMB640 | ||
+ | |||
+ | |||
+ | |||
+ | Figure 69 Connect FMB640 to PC and configure | ||
+ | |||
+ | CAN bus data which can be read from your car is shown in “Light or ALL Vehicles Can adapter supported cars” document. | ||
+ | |||
+ | 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. | ||
+ | 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. | ||
+ | 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. | ||
+ | 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 FMB640 records only GPS data. | ||
+ | It is possible to set CAN message priority: On Low Priority, On High Priority, and On Panic. Regular packets are sent as Low priority records. When low priority event is triggered, FMB640 makes additional record with indication what was the reason for that was CAN element change. When High priority is selected, module makes additional record with high priority flag and sends event packet immediately to the server by GPRS. Panic priority triggers same actions as high priority, but if GPRS fails, it sends AVL packet to server using SMS mode if SMS is enabled in SMS settings. | ||
+ | Data Acquisition Type – defines when to generate event – when value enters defined range, exits it or both, also is possible to select event which you want to generate then you change values, like crossing both values in high and low levels (Hysteresis). | ||
+ | High and Low levels – defines CAN value range. If CAN value enter or exits this range, FMB640 generates event by “Data Acquisition Type” settings. Figure 70 show example of FMB640 CAN configuration. | ||
+ | |||
+ | Figure 70 Configurator example | ||
+ | LVCAN mode (ID=903) | ||
+ | This parameter sets LVCAN/ALLCAN detection, available values: 0 – Auto Detect, 1 – LVCAN200, 2 – ALLCAN300. | ||
+ | |||
+ | Minimum value Maximum value Recommended value Goes with (depends on) parameters Value type | ||
+ | 0 2 0 U8 | ||
+ | |||
+ | Send data with 0, if ignition is off. Depending on LVCAN/ALLCAN I/O parameters and ignition status, FMB640 can send locked (last known) LVCAN/ALLCAN I/O parameters values, reset values (set to 0) and active (real time) parameters values. |
Revision as of 14:22, 28 May 2018
Main Page > EOL Products > FMB640 > FMB640 Manual > FMB640 CAN adapters13FMB640 with LV-CAN 200 and all-can 300 can adapter 13.1Purpose of Can Adapters LV-CAN200 and ALL-CAN300
LV-CAN200 is used to listening data from light vehicles, while ALL-CAN300 is used to listening data from any type of transport: light vehicles, Trucks, busses, agriculture and other special transport. With those adapters FMB640 device is able to collect and send vehicle data.
Figure 63 LV-CAN
FMB640 shares the same USB port for connecting adapter and configuring device with PC. LV-CAN200 and ALL-CAN300 Technical characteristics:
PARAMETER VALUE Supply voltage 9 to 50V Power supply current Average 10mA Max (peak) 100mA Working temperature -40..85 ºC Max working humidity 60 % (non condensate) 13.2LV-CAN200 and ALL-CAN300 program number selection LV-CAN200 or ALL-CAN300 must be set to program number which depends on vehicle model. Needed program number is always written on LV-CAN200 or ALL-CAN300 mounting scheme. Please contact Your Teltonika sales manager to get latest supported vehicle list and mounting scheme for your vehicle, please provide CAR manufacturer, model and year information. 13.2.1 LV-CAN200 and ALL-CAN300 program number configuration via SMS command LV-CAN200 and ALL-CAN300 program number can be set remotely, using SMS command:
lvcansetprog X
X is new program number value. CAN program number can be obtained via SMS: lvcangetprog Response: “CAN Program Nr: XXX”
Get CAN info by SMS: lvcangetinfo Response: “Prog: 139SWRevison: 6KernVer: 10KernVar: 49MdlID: 8884443332221110” 13.2.2 Selecting LV-CAN200 and ALL-CAN300 program number manually Steps to set program number: Hold SWITCH down till LED stars blinking Release the SWITCH Then LED starts blinking and counting first digit of program number, (one blink means digit 1, two blink digit 2 etc.) To stop counter push SWITCH Release the SWITCH, then LED starts blinking and counting second digit of program number To stop counter push SWITCH Release the SWITCH, then LED starts blinking and counting third digit on program number To stop counter push SWITCH Release SWITCH, if programming is succeded LED will blink 10 times
Figure 64 Adapter signaling led
13.2.3 Program number logic change
Due to the growing number of supported cars, program numbers have exceeded 999. In order to maintain one number format, we are moving from 3 digits, to 4 digits program numbers. In new LV-CAN200/ALL-CAN300 firmware (from 2017-09-01) all program numbers that were up to 999 are changed to start from 1000. So that further program numbers would continue the counting with 4 digit numbers. However, all existing program numbers stays the same, it is just "1" appeared in front of them. Device still understands entered 3 digit program number (via SMS/GPRS), it will automatically add "1" before it. If you enter "247" - device will turn it into the "1247". In Bootloader it is only 4 digit format available, just add "1" in from of the needed program number.
Example:
If use oldest connection schemes where program number displayed as 3 digit program number:
Using LV-CAN200/ALL-CAN300 Bootloader from soft version 2017-09-27 need add "1" before it:
13.3SIMPLE-CAN - contactless CAN-BUS reader
SIMPLE-CAN is contactless adapter used to read vehicle CAN data with LV-CAN200, ALL-CAN300. If LV-CAN200 or ALL-CAN300 connection requires two CAN lines to get all data, then you need two SIMPLE-CAN readers
TECHNICAL DETAILS Power supply voltage 9-63 V Power supply current: Mode 12V 24V Active 8.3 mA 4.3 mA Standby 1.6 mA 0.91 mA CAN-BUS speeds from 33,33 to 500 kb/s Automatically sets CAN Low, CAN High polarity Automatically adjusts signal level and speed
SIMPLE-CAN works in the listening mode only, so not all the data available on the CAN-BUS may be received using this solution. The device automatically sets CAN L/H polarity, but the calibration has to be always executed during installation process. Connection of previously calibrated unit to another car needs new calibration because the reader automatically adjusts signal level and speed to different CAN-BUSes. The device also automatically adapts to the found noise level.
Figure 65 Simple can connection
After power supply connecting, LED shines continuously. It means that device waits for calibration. Calibration process has to be carried out when CAN-BUS twisted pair is tightened on SIMPLE-CAN and when the ignition is ON. Please press the switch shortly and wait for the LED to start blinking every 1 second. Automatic calibration process takes up to 10 seconds depending on the vehicle's model. Correct calibration process is confirmed by LED's every 2 seconds blink (when the CAN-BUS is active). When the CAN-BUS enters sleep mode, SIMPLE-CAN device does it also 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.
13.4Connecting FMB640 Can adapters ALL-CAN300 and LV-CAN200 Connect USB Plug to FMB640 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 connections are optional it depends on exact car model. For exact pinout see sticker on Light Vehicles Can adapter.
Figure 66 LV-CAN200 Adapter connection cable pinout
Figure 67 ALL-CAN300 Adapter connection cable pinout
Attention! Ordered LV-CAN200 and ALL-CAN300 packaging may vary: 1. Standard with mini-USB cable. 2.USB PCB (female) + mini-USB cable. Attention! For detailed connection diagram of adapter to light vehicle please contact Teltonika, LTD sales representative and provide CAR manufacturer, model and year information. Attention! Do not swap CAN L and CAN H lines. Do not swap power supply lines. Make sure that voltage do not exceeds 30V. Power supply lines should be connected at the end of installation work.
13.5FMB640 Configuration with LV-CAN200 and ALL-CAN300
FMB640 shares the same USB port for connecting LV-CAN200 or ALL-CAN300 adapter and configuring device with PC. FMB640 can be configured using in LVCAN tab.
When FMB640 is connected to CAN adapter (Figure 68), wait 10s (Note, that car engine must be started), disconnect adapter from FMB640, and connect PC USB cable to FMB640 Device, It is very important not to disconnect FMB640 from power source during this operation, because if FMB640 is reconnected all received CAN bus data will be lost. FMB640 remembers received data from LV-CAN200 or ALL-CAN300 and at the end user will see all CAN data which is sent by adapter. Enable CAN data which needs send to server and save configuration pressing “Save to device” button. To configure CAN data: 1.In car, connect LV-CAN200 or ALL-CAN300 to CAN bus and to the FMB640 device (Figure 68) wait 10 seconds. Note, that car engine must be started. 2.Disconnect LV-CAN200 or ALL-CAN300 from FMB640 and connect PC USB cable to FMB640 Device, It is very important not to disconnect FMB640 from power source, because then all CAN data will be lost.
Figure 68 Connect adapter LV-CAN200 to FMB640
Figure 69 Connect FMB640 to PC and configure
CAN bus data which can be read from your car is shown in “Light or ALL Vehicles Can adapter supported cars” document.
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. 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. 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. 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 FMB640 records only GPS data. It is possible to set CAN message priority: On Low Priority, On High Priority, and On Panic. Regular packets are sent as Low priority records. When low priority event is triggered, FMB640 makes additional record with indication what was the reason for that was CAN element change. When High priority is selected, module makes additional record with high priority flag and sends event packet immediately to the server by GPRS. Panic priority triggers same actions as high priority, but if GPRS fails, it sends AVL packet to server using SMS mode if SMS is enabled in SMS settings. Data Acquisition Type – defines when to generate event – when value enters defined range, exits it or both, also is possible to select event which you want to generate then you change values, like crossing both values in high and low levels (Hysteresis). High and Low levels – defines CAN value range. If CAN value enter or exits this range, FMB640 generates event by “Data Acquisition Type” settings. Figure 70 show example of FMB640 CAN configuration.
Figure 70 Configurator example LVCAN mode (ID=903) This parameter sets LVCAN/ALLCAN detection, available values: 0 – Auto Detect, 1 – LVCAN200, 2 – ALLCAN300.
Minimum value Maximum value Recommended value Goes with (depends on) parameters Value type 0 2 0 U8
Send data with 0, if ignition is off. Depending on LVCAN/ALLCAN I/O parameters and ignition status, FMB640 can send locked (last known) LVCAN/ALLCAN I/O parameters values, reset values (set to 0) and active (real time) parameters values.