Difference between revisions of "FMB641 CAN adapters"
m |
m |
||
Line 33: | Line 33: | ||
[[File:FMX641lvall.png|1000px|none|thumb|LV-CAN200/ALL-CAN300 connection example. This is not a connection diagram for your vehicle. Every vehicle has a specific scheme.]] | [[File:FMX641lvall.png|1000px|none|thumb|LV-CAN200/ALL-CAN300 connection example. This is not a connection diagram for your vehicle. Every vehicle has a specific scheme.]] | ||
− | + | ||
− | ===Installing LV-CAN200/ALL-CAN300 + | + | ===Installing LV-CAN200/ALL-CAN300 + ECAN02=== |
− | |||
− | |||
====Tools needed for installation==== | ====Tools needed for installation==== | ||
* [[LV-CAN200]]/[[ALL-CAN300]] | * [[LV-CAN200]]/[[ALL-CAN300]] | ||
* Connection scheme (Please contact Teltonika Sales Representative and provide information about '''vehicle manufacturer''', '''model''' and '''year'''. | * Connection scheme (Please contact Teltonika Sales Representative and provide information about '''vehicle manufacturer''', '''model''' and '''year'''. | ||
− | * [[ | + | * [[ECAN02]] (Used for contactless connection. If '''two CAN lines''' need to be connected, '''ECAN02''' must be used.) |
* FMB641 device | * FMB641 device | ||
* Pliers | * Pliers | ||
Line 49: | Line 47: | ||
====Installation steps==== | ====Installation steps==== | ||
# Follow the same '''1, 2, 3''' installation steps as with [[FMB641_CAN_adapters#Installation_steps| LV-CAN200/ALL-CAN300/CAN-CONTROL installation]]. | # Follow the same '''1, 2, 3''' installation steps as with [[FMB641_CAN_adapters#Installation_steps| LV-CAN200/ALL-CAN300/CAN-CONTROL installation]]. | ||
− | # Connect the appropriate CAN bus pair of wires between the CAN adapter and [[ | + | # Connect the appropriate CAN bus pair of wires between the CAN adapter and [[ECAN02]]: |
#: If '''CAN1 line''' need to be connected as specified in the connection scheme: | #: If '''CAN1 line''' need to be connected as specified in the connection scheme: | ||
− | ## Connect CAN adapter <span style="color:brown;">'''CAN1 L'''</span> to <span style="color:brown;">'''CAN L'''</span> of [[ | + | ## Connect CAN adapter <span style="color:brown;">'''CAN1 L'''</span> to <span style="color:brown;">'''CAN L'''</span> of [[ECAN02]]. |
− | ## Connect CAN adapter <span style='color:white;text-decoration:line-through'><span style="color:brown;">'''CAN1 H'''</span></span> to <span style='color:white;text-decoration:line-through'><span style="color:brown;">'''CAN H'''</span></span> of [[ | + | ## Connect CAN adapter <span style='color:white;text-decoration:line-through'><span style="color:brown;">'''CAN1 H'''</span></span> to <span style='color:white;text-decoration:line-through'><span style="color:brown;">'''CAN H'''</span></span> of [[ECAN02]]. |
#: If '''CAN2 line''' need to be connected as specified in the connection scheme: | #: If '''CAN2 line''' need to be connected as specified in the connection scheme: | ||
− | ## Connect CAN adapter <span style="color:green;">'''CAN2 L'''</span> to <span style="color:brown;">'''CAN L'''</span> of [[ | + | ## Connect CAN adapter <span style="color:green;">'''CAN2 L'''</span> to <span style="color:brown;">'''CAN L'''</span> of [[ECAN02]]. |
− | ## Connect CAN adapter <span style='color:white;text-decoration:line-through'><span style="color:green;">'''CAN2 H'''</span></span> to <span style='color:white;text-decoration:line-through'><span style="color:brown;">'''CAN H'''</span></span> of [[ | + | ## Connect CAN adapter <span style='color:white;text-decoration:line-through'><span style="color:green;">'''CAN2 H'''</span></span> to <span style='color:white;text-decoration:line-through'><span style="color:brown;">'''CAN H'''</span></span> of [[ECAN02]].<p><table><td>[[File:Alert.png|50px|left|link=]]</td><td><b>Do not swap CAN L and CAN H lines.<br />Not all CAN adapter wires may be used in the vehicle.</b></td></table></p> |
− | # Fasten [[ | + | # Fasten [[ECAN02]] '''on vehicle CAN bus wires''' according to the connection scheme. '''Make sure CAN H and CAN L of vehicle corresponds to CAN H, CAN L markings on [[ECAN02]]''' PCB.<p></p> |
# Connect CAN adapter '''positive''' and '''ground''' wires to the vehicle power supply lines or near FMB641 power wires.<p><table><td>[[File:Alert.png|50px|left|link=]]</td><td><b>Do not swap power supply lines.<br />Make sure that voltage does not exceed 30V.</b></td></table></p> | # Connect CAN adapter '''positive''' and '''ground''' wires to the vehicle power supply lines or near FMB641 power wires.<p><table><td>[[File:Alert.png|50px|left|link=]]</td><td><b>Do not swap power supply lines.<br />Make sure that voltage does not exceed 30V.</b></td></table></p> | ||
− | |||
− | |||
# Configure CAN adapter to read CAN bus data by setting its '''program number''' - [[FMB641_CAN_adapters#CAN_Adapter_Configuration|CAN Adapter configuration]] | # Configure CAN adapter to read CAN bus data by setting its '''program number''' - [[FMB641_CAN_adapters#CAN_Adapter_Configuration|CAN Adapter configuration]] | ||
<br /> | <br /> |
Revision as of 12:45, 23 June 2023
Main Page > EOL Products > FMB641 > FMB641 Manual > FMB641 CAN adapters FMB641 supports CAN adapters over RS232 connection. CAN adapter support is added from 02.02.11.Rev.00 firmware
Easy steps to install and configure following CAN adapters on FMB641 device:
Installing CAN adapter with FMB641 device
Installing LV-CAN200/ALL-CAN300/CAN-CONTROL
You can watch LV-CAN200/ALL-CAN300 installation video in our YouTube channel here or follow connection instructions below.
Tools needed for installation
- LV-CAN200/ALL-CAN300/CAN-CONTROL
- Connection scheme (Please contact Teltonika Sales Representative and provide information about vehicle manufacturer, model and year.
- FMB641 device
- Pliers
- Quick splice connectors (If vehicle CAN bus wires are very thin CAN adapter wires should be connected directly)
- Plastic pry tool
- Zip ties
Installation steps
- Be ready with a vehicle connection scheme that you have received from a Teltonika Sales Representative.
- Check the scheme for the current vehicle connection. Look for connectors matching PINs numbers and colors (maybe different) according to the connection scheme.
- Connect CAN adapter with FMB641:
- Connect CAN adapter's RS232 to RJ45 of FMB641.
- Connect CAN adapter CAN wires (CAN L, CAN H) as specified in connection scheme.
Do not swap CAN L and CAN H lines.
Not all CAN adapter wires may be used in the vehicle. - Connect CAN adapter positive and ground wires to the vehicle power supply lines or near FMB641 power wires.
Do not swap power supply lines.
Make sure that voltage does not exceed 30V. - Switch vehicle ignition to ACC position. CAN adapter LED diode on the back should start blinking.
- Configure CAN adapter to read CAN bus data or control vehicle by setting its program number - CAN Adapter configuration
Installing LV-CAN200/ALL-CAN300 + ECAN02
Tools needed for installation
- LV-CAN200/ALL-CAN300
- Connection scheme (Please contact Teltonika Sales Representative and provide information about vehicle manufacturer, model and year.
- ECAN02 (Used for contactless connection. If two CAN lines need to be connected, ECAN02 must be used.)
- FMB641 device
- Pliers
- Quick splice connectors (If vehicle CAN bus wires are very thin CAN adapter wires should be connected directly)
- Plastic pry tool
- Zip ties
Installation steps
- Follow the same 1, 2, 3 installation steps as with LV-CAN200/ALL-CAN300/CAN-CONTROL installation.
- Connect the appropriate CAN bus pair of wires between the CAN adapter and ECAN02:
- If CAN1 line need to be connected as specified in the connection scheme:
- If CAN2 line need to be connected as specified in the connection scheme:
- Fasten ECAN02 on vehicle CAN bus wires according to the connection scheme. Make sure CAN H and CAN L of vehicle corresponds to CAN H, CAN L markings on ECAN02 PCB.
- Connect CAN adapter positive and ground wires to the vehicle power supply lines or near FMB641 power wires.
Do not swap power supply lines.
Make sure that voltage does not exceed 30V. - Configure CAN adapter to read CAN bus data by setting its program number - CAN Adapter configuration
CAN Adapter Configuration
CAN Adapter program number selection
CAN Adapter must be set to the program number which depends on the vehicle model. Needed program number is always written on CAN Adapter mounting scheme. In order to be able to enter the program number in the adapter Software date of the CAN adapter must be newer than the connection scheme date. CAN adapter Software date can be checked:
- Via Teltonika Configurator→Status→CAN Adapter
- Via SMS command - lvcangetinfo
The number of digits required to enter the correct Program No. may vary depending on the Software and manufacture date of your CAN Adapter:
Entering via SMS command
Required conditions:
- CAN adapter properly connected to FMB641 device
CAN adapter program number can be set remotely, using an SMS command. Send following SMS command to FMB641 device:
- If you have set SMS login and password:
login pass lvcansetprog X
- If SMS login and password are not set leave two spaces before the command:
lvcansetprog X
Command example: lvcansetprog 11434
SMS response: LVCAN ProgNum: 11434
If during SMS command FMB641 was in the following Sleep mode:
- GPS Sleep - Program No. will be set immediately.
- Deep Sleep - Program No. will be set after the device wakes up.
- Online Deep Sleep - Program No. will be set immediately.
Entering via Teltonika Configurator
Required conditions:
- CAN adapter properly connected to FMB641 device
CAN adapter program number can be set via Teltonika Configurator → LVCAN → Program Number. When the program number is entered press Save to device button that saves the entered program number into FMB641.
Entering manually
Required conditions:
- CAN adapter properly connected to FMB641 device
- Vehicle ignition must be ON
Depending on the used CAN Adapter, the length of the setup sequence will vary.
Steps to set program number:
For ALL-CAN300 LV-CAN200 3 digit |
For ALL-CAN300 LV-CAN200 4 digit |
For LV-CAN200 CAN-CONTROL 5 digit |
1. Hold SWITCH down until LED stars blink. |
2. Release the SWITCH. | |||
3. Then the LED starts blinking and counting the first digit of the program number (one blink means digit 1, two blinks mean digit 2, etc). To stop the counter, push SWITCH. | |||
4. Release the SWITCH, then the LED starts blinking and counting the second digit of the program number. To stop the counter, push SWITCH. | |||
5. Release the SWITCH, then the LED starts blinking and counting the third digit on the program number. To stop the counter, push SWITCH. | |||
6. Release the SWITCH, then the LED starts blinking and counting the fourth digit on the program number. To stop the counter, push SWITCH. | |||
7. Release the SWITCH, then the LED starts blinking and counting the fifth digit on the program number. To stop the counter, push SWITCH. | |||
All Devices | 8. Release SWITCH, if programming is successful LED will blink 10 times. |
Send data with 0 if the ignition is off
Depending on CAN Adapter I/O parameters and ignition status, FMB641 can send locked (last known) CAN Adapter I/O and active (real-time) parameter values or reset values to 0. When the ignition is off, CAN Adapter I/O parameters values sent to the server are:
CAN Adapter I/O element | Status |
---|---|
Vehicle Speed | reset |
Accelerator pedal position | reset |
Total fuel used | lock |
Fuel level (liters) | lock |
Engine RPM | reset |
Total mileage | lock |
Fuel level (%) | lock |
Program number | lock |
Module ID | lock |
Engine Work Time | lock |
Engine Work Time (counted) | lock |
Total Mileage (counted) | lock |
Fuel Consumed (counted) | lock |
Fuel Rate | reset |
Program number | lock |
AdBlue Level (%) | lock |
AdBlue Level (liters) | lock |
Engine Load | reset |
Engine Temperature | active |
Axle 1 Load | lock |
Axle 2 Load | lock |
Axle 3 Load | lock |
Axle 4 Load | lock |
Axle 5 Load | lock |
Control State Flags | active |
Agricultural Machinery Flags | active |
Harvesting Time | lock |
Area of Harvest | reset |
Mowing Efficiency | active |
Grain Mown Volume | active |
Grain Moisture | active |
Harvesting Drum RPM | reset |
Gap Under Harvesting Drum | active |
Security State Flags | active |
Tachograph Total Vehicle Distance | lock |
Trip Distance | reset |
Tachograph Vehicle Speed | reset |
Tachograph Driver Card Presence | active |
Driver1 States | active |
Driver2 States | active |
Driver1 Continuous Driving Time | active |
Driver2 Continuous Driving Time | active |
Driver1 Cumulative Break Time | active |
Driver2 Cumulative Break Time | active |
Driver1 Selected Activity Duration | active |
Driver2 Selected Activity Duration | active |
Driver1 Cumulative Driving Time | active |
Driver2 Cumulative Driving Time | active |
SMS Configuration
All CAN Adapter IO elements can be configured remotely via SMS commands.
SMS/GPRS Commands
CAN Adapters have several dedicated SMS/GPRS commands.
SMS command structure:
<SMS login><space><SMS password><space><command><space><value>
SMS command lvcangetinfo example:
- If you have set SMS login and password:
login pass lvcangetinfo
- If SMS login and password are not set leave two spaces before the command:
aalvcangetinfo
GPRS commands require Codec 12 protocol.
For more SMS commands please see SMS/GPRS command list
COMMAND | DESCRIPTION | RESPONSE |
---|---|---|
lvcansetprog # | Set program number to CAN Adapter that is connected to FMB641. # - three digit number that identity vehicle. |
Yes |
lvcansimpletacho # | Add or remove simpletacho start byte. # - 0 or 1 (0 – don’t add start byte, 1 – add start byte). |
No |
lvcangetprog | Get program number from CAN Adapter that is connected to FMB641. | Yes |
lvcangetinfo | Get information about connected CAN Adapter | Yes |
lvcanclear # | Clear Total Mileage (counted), Engine Work Time (counted), Fuel Consumed (counted) parameters values. # - parameter (0 – Engine work time (counted), 1 – Fuel Consumed (counted), 2 – Vehicle Mileage (counted)). |
Yes |
lvcanfaultcodes | Read DTC fault codes | Yes |
CAN-CONTROL specific commands | ||
lvcanopenalldoors | Open [unlock] all doors | Yes |
lvcanclosealldoors | Close [lock] all doors | Yes |
lvcanopentrunk | Open [unlock] trunk | Yes |
lvcanturninglights | One flash of all turn lights ordered trough accidental / blinking turn light switch | Yes |
CAN Adapter State Flags
CAN Adapters receive data about the states of various systems within the vehicle, and send them as flags to FMB641. FMB641 device stores these flags in hexadecimal format, as one variable. Below is a list of kept flags and how to retrieve them.
The full list of state flags is stored only by:
Only security state flags are stored by:
Property name | Size, bytes | Value bitmasks |
---|---|---|
Control state flags | 4 | Byte0 (LSB): 0x01 – STOP |
Agricultural machinery flags | 8 | Byte0 (LSB): 0x01 – Mowing |
Security state flags | 8 | Byte0 (LSB): 0x01 – CAN1 not connected, require connection |
Tachograph driver card presence | 1 | 0x00 – No driver card 0x01 – Driver1 card presence |
Driver 1 states | 1 | 0xX0 – Break/rest 0xX1 – Availability |
Driver 2 states | 1 |