Template:FMB CAN adapters: Difference between revisions
Atabasnikov (talk | contribs) |
Atabasnikov (talk | contribs) |
||
Line 94: | Line 94: | ||
! style="text-align: left; vertical-align: top;" | Control state flags | ! style="text-align: left; vertical-align: top;" | Control state flags | ||
| style="text-align: left; vertical-align: top;" | 4 | | style="text-align: left; vertical-align: top;" | 4 | ||
| style="text-align: left; vertical-align: top;" | Byte0 (LSB):<br/><span style=color:#FF6600>0x01</span> – STOP<br/><span style=color:#FF6600>0x02</span> – Oil pressure / level<br/><span style=color:#FF6600>0x04</span> – Coolant liquid temperature / level<br/><span style=color:#FF6600>0x08</span> – Handbrake system<br/><span style=color:#FF6600>0x10</span> – Battery charging<br/><span style=color:#FF6600>0x20</span> – AIRBAG<br/> | | style="text-align: left; vertical-align: top;" | Byte0 (LSB):<br/><span style=color:#FF6600>0x01</span> – STOP<br/><span style=color:#FF6600>0x02</span> – Oil pressure / level<br/><span style=color:#FF6600>0x04</span> – Coolant liquid temperature / level<br/><span style=color:#FF6600>0x08</span> – Handbrake system<br/><span style=color:#FF6600>0x10</span> – Battery charging<br/><span style=color:#FF6600>0x20</span> – AIRBAG<br/><br/> | ||
Byte1:<br/><span style=color:#0000FF>0x01</span> – CHECK ENGINE<br/><span style=color:#0000FF>0x02</span> – Lights failure<br/><span style=color:#0000FF>0x04</span> – Low tire pressure<br/><span style=color:#0000FF>0x08</span> – Wear of brake pads<br/><span style=color:#0000FF>0x10</span> – Warning<br/><span style=color:#0000FF>0x20</span> – ABS<br/><span style=color:#0000FF>0x40</span> – Low Fuel<br/> | Byte1:<br/><span style=color:#0000FF>0x01</span> – CHECK ENGINE<br/><span style=color:#0000FF>0x02</span> – Lights failure<br/><span style=color:#0000FF>0x04</span> – Low tire pressure<br/><span style=color:#0000FF>0x08</span> – Wear of brake pads<br/><span style=color:#0000FF>0x10</span> – Warning<br/><span style=color:#0000FF>0x20</span> – ABS<br/><span style=color:#0000FF>0x40</span> – Low Fuel<br/><br/> | ||
Byte2:<br/><span style=color:#339A6C>0x01</span> – ESP<br/><span style=color:#339A6C>0x02</span> – Glow plug indicator<br/><span style=color:#339A6C>0x04</span> – FAP<br/><span style=color:#339A6C>0x08</span> – Electronics pressure control<br/><span style=color:#339A6C>0x10</span> – Parking lights<br/><span style=color:#339A6C>0x20</span> – Dipped headlights<br/><span style=color:#339A6C>0x40</span> – Full beam headlights<br/> | Byte2:<br/><span style=color:#339A6C>0x01</span> – ESP<br/><span style=color:#339A6C>0x02</span> – Glow plug indicator<br/><span style=color:#339A6C>0x04</span> – FAP<br/><span style=color:#339A6C>0x08</span> – Electronics pressure control<br/><span style=color:#339A6C>0x10</span> – Parking lights<br/><span style=color:#339A6C>0x20</span> – Dipped headlights<br/><span style=color:#339A6C>0x40</span> – Full beam headlights<br/><br/> | ||
Byte3:<br/><span style=color:#9A3300>0x40</span> – Passenger's seat belt<br/><span style=color:#9A3300>0x80</span> – Driver's seat belt<br/> | Byte3:<br/><span style=color:#9A3300>0x40</span> – Passenger's seat belt<br/><span style=color:#9A3300>0x80</span> – Driver's seat belt<br/> | ||
|- | |- | ||
! style="text-align: left; vertical-align: top;" | Agricultural machinery flags | ! style="text-align: left; vertical-align: top;" | Agricultural machinery flags | ||
| style="text-align: left; vertical-align: top;" | 8 | | style="text-align: left; vertical-align: top;" | 8 | ||
| style="text-align: left; vertical-align: top;" | Byte0 (LSB):<br/><span style=color:#FF6600>0x01</span> – Mowing<br/><span style=color:#FF6600>0x02</span> – Grain release from hopper<br/><span style=color:#FF6600>0x04</span> – First front hydraulic turned on<br/><span style=color:#FF6600>0x08</span> – Rear Power Take-Off turned on<br/> | | style="text-align: left; vertical-align: top;" | Byte0 (LSB):<br/><span style=color:#FF6600>0x01</span> – Mowing<br/><span style=color:#FF6600>0x02</span> – Grain release from hopper<br/><span style=color:#FF6600>0x04</span> – First front hydraulic turned on<br/><span style=color:#FF6600>0x08</span> – Rear Power Take-Off turned on<br/><br/> | ||
Byte1:<br/><span style=color:#0000FF>0x01</span> – Excessive play under the threshing drum<br/><span style=color:#0000FF>0x02</span> – Grain tank is open<br/><span style=color:#0000FF>0x04</span> – 100% of Grain tank<br/><span style=color:#0000FF>0x08</span> – 70% of Grain tank<br/><span style=color:#0000FF>0x10</span> – Drain filter in hydraulic system of drive cylinders is plugged<br/><span style=color:#0000FF>0x20</span> – Pressure filter of drive cylinders hydraulic system is plugged<br/><span style=color:#0000FF>0x40</span> – Alarm oil level in oil tank<br/><span style=color:#0000FF>0x80</span> – Pressure filter of brakes hydraulic system is plugged<br/> | Byte1:<br/><span style=color:#0000FF>0x01</span> – Excessive play under the threshing drum<br/><span style=color:#0000FF>0x02</span> – Grain tank is open<br/><span style=color:#0000FF>0x04</span> – 100% of Grain tank<br/><span style=color:#0000FF>0x08</span> – 70% of Grain tank<br/><span style=color:#0000FF>0x10</span> – Drain filter in hydraulic system of drive cylinders is plugged<br/><span style=color:#0000FF>0x20</span> – Pressure filter of drive cylinders hydraulic system is plugged<br/><span style=color:#0000FF>0x40</span> – Alarm oil level in oil tank<br/><span style=color:#0000FF>0x80</span> – Pressure filter of brakes hydraulic system is plugged<br/><br/> | ||
Byte2:<br/><span style=color:#339A6C>0x01</span> – Oil filter of engine is plugged<br/><span style=color:#339A6C>0x02</span> – Fuel filter is plugged<br/><span style=color:#339A6C>0x04</span> – Air filter is plugged<br/><span style=color:#339A6C>0x08</span> – Alarm oil temperature in hydraulic system of chassis<br/><span style=color:#339A6C>0x10</span> – Alarm oil temperature in hydraulic system of drive cylinders<br/><span style=color:#339A6C>0x20</span> – Alarm oil pressure in engine<br/><span style=color:#339A6C>0x40</span> – Alarm coolant level<br/><span style=color:#339A6C>0x80</span> – Overflow chamber of hydraulic unit<br/> | Byte2:<br/><span style=color:#339A6C>0x01</span> – Oil filter of engine is plugged<br/><span style=color:#339A6C>0x02</span> – Fuel filter is plugged<br/><span style=color:#339A6C>0x04</span> – Air filter is plugged<br/><span style=color:#339A6C>0x08</span> – Alarm oil temperature in hydraulic system of chassis<br/><span style=color:#339A6C>0x10</span> – Alarm oil temperature in hydraulic system of drive cylinders<br/><span style=color:#339A6C>0x20</span> – Alarm oil pressure in engine<br/><span style=color:#339A6C>0x40</span> – Alarm coolant level<br/><span style=color:#339A6C>0x80</span> – Overflow chamber of hydraulic unit<br/><br/> | ||
Byte3:<br/><span style=color:#9A3300>0x01</span> – Unloader drive is ON. Unloading tube pivot is in idle position<br/><span style=color:#9A3300>0x02</span> – No operator!<br/><span style=color:#9A3300>0x04</span> – Straw walker is plugged<br/><span style=color:#9A3300>0x08</span> – Water in fuel<br/><span style=color:#9A3300>0x10</span> – Cleaning fan RPM<br/><span style=color:#9A3300>0x20</span> – Trashing drum RPM<br/> | Byte3:<br/><span style=color:#9A3300>0x01</span> – Unloader drive is ON. Unloading tube pivot is in idle position<br/><span style=color:#9A3300>0x02</span> – No operator!<br/><span style=color:#9A3300>0x04</span> – Straw walker is plugged<br/><span style=color:#9A3300>0x08</span> – Water in fuel<br/><span style=color:#9A3300>0x10</span> – Cleaning fan RPM<br/><span style=color:#9A3300>0x20</span> – Trashing drum RPM<br/><br/> | ||
Byte4:<br/><span style=color:#FF00FF>0x02</span> – Low water level in the tank<br/><span style=color:#FF00FF>0x04</span> – First rear hydraulic turned on<br/><span style=color:#FF00FF>0x08</span> – Standalone engine working<br/><span style=color:#FF00FF>0x10</span> – Right joystick moved right<br/><span style=color:#FF00FF>0x20</span> – Right joystick moved left<br/><span style=color:#FF00FF>0x40</span> – Right joystick moved front<br/><span style=color:#FF00FF>0x80</span> – Right joystick moved back<br/> | Byte4:<br/><span style=color:#FF00FF>0x02</span> – Low water level in the tank<br/><span style=color:#FF00FF>0x04</span> – First rear hydraulic turned on<br/><span style=color:#FF00FF>0x08</span> – Standalone engine working<br/><span style=color:#FF00FF>0x10</span> – Right joystick moved right<br/><span style=color:#FF00FF>0x20</span> – Right joystick moved left<br/><span style=color:#FF00FF>0x40</span> – Right joystick moved front<br/><span style=color:#FF00FF>0x80</span> – Right joystick moved back<br/><br/> | ||
Byte5:<br/><span style=color:#339A6C>0x01</span> – Brushes turned on<br/><span style=color:#339A6C>0x02</span> – Water supply turned on<br/><span style=color:#339A6C>0x04</span> – Vacuum cleaner<br/><span style=color:#339A6C>0x08</span> – Unloading from the hopper<br/><span style=color:#339A6C>0x10</span> – High Pressure washer (Karcher)<br/><span style=color:#339A6C>0x20</span> – Salt (sand) disperser ON<br/><span style=color:#339A6C>0x40</span> – Low salt (sand) level<br/> | Byte5:<br/><span style=color:#339A6C>0x01</span> – Brushes turned on<br/><span style=color:#339A6C>0x02</span> – Water supply turned on<br/><span style=color:#339A6C>0x04</span> – Vacuum cleaner<br/><span style=color:#339A6C>0x08</span> – Unloading from the hopper<br/><span style=color:#339A6C>0x10</span> – High Pressure washer (Karcher)<br/><span style=color:#339A6C>0x20</span> – Salt (sand) disperser ON<br/><span style=color:#339A6C>0x40</span> – Low salt (sand) level<br/><br/> | ||
Byte6:<br/><span style=color:#66D6AD>0x01</span> – Second front hydraulic turned on<br/><span style=color:#66D6AD>0x02</span> – Third front hydraulic turned on<br/><span style=color:#66D6AD>0x04</span> – Fourth front hydraulic turned on<br/><span style=color:#66D6AD>0x08</span> – Second rear hydraulic turned on<br/><span style=color:#66D6AD>0x10</span> – Third rear hydraulic turned on<br/><span style=color:#66D6AD>0x20</span> – Fourth rear hydraulic turned on<br/><span style=color:#66D6AD>0x40</span> – Front three-point Hitch turned on<br/><span style=color:#66D6AD>0x80</span> – Rear three-point Hitch turned on<br/> | Byte6:<br/><span style=color:#66D6AD>0x01</span> – Second front hydraulic turned on<br/><span style=color:#66D6AD>0x02</span> – Third front hydraulic turned on<br/><span style=color:#66D6AD>0x04</span> – Fourth front hydraulic turned on<br/><span style=color:#66D6AD>0x08</span> – Second rear hydraulic turned on<br/><span style=color:#66D6AD>0x10</span> – Third rear hydraulic turned on<br/><span style=color:#66D6AD>0x20</span> – Fourth rear hydraulic turned on<br/><span style=color:#66D6AD>0x40</span> – Front three-point Hitch turned on<br/><span style=color:#66D6AD>0x80</span> – Rear three-point Hitch turned on<br/><br/> | ||
Byte7:<br/><span style=color:#00331A>0x01</span> – Left joystick moved right<br/><span style=color:#00331A>0x02</span> – Left joystick moved left<br/><span style=color:#00331A>0x04</span> – Left joystick moved front<br/><span style=color:#00331A>0x08</span> – Left joystick moved back<br/><span style=color:#00331A>0x10</span> – Front Power Take-Off turned on<br/> | Byte7:<br/><span style=color:#00331A>0x01</span> – Left joystick moved right<br/><span style=color:#00331A>0x02</span> – Left joystick moved left<br/><span style=color:#00331A>0x04</span> – Left joystick moved front<br/><span style=color:#00331A>0x08</span> – Left joystick moved back<br/><span style=color:#00331A>0x10</span> – Front Power Take-Off turned on<br/> | ||
|- | |- | ||
! style="text-align: left; vertical-align: top;" | Security state flags | ! style="text-align: left; vertical-align: top;" | Security state flags | ||
| style="text-align: left; vertical-align: top;" | 8 | | style="text-align: left; vertical-align: top;" | 8 | ||
| style="text-align: left; vertical-align: top;" | Byte0 (LSB):<br/><span style=color:#008181>0x20</span> – Bit appears when any operate button in car was put<br/><span style=color:#008181>0x40</span> – Bit appears when immobiliSer is in service mode<br/><span style=color:#008181>0x80</span> – Immobiliser, bit appears during introduction of a programmed sequence of keys in the car<br/> | | style="text-align: left; vertical-align: top;" | Byte0 (LSB):<br/><span style=color:#008181>0x20</span> – Bit appears when any operate button in car was put<br/><span style=color:#008181>0x40</span> – Bit appears when immobiliSer is in service mode<br/><span style=color:#008181>0x80</span> – Immobiliser, bit appears during introduction of a programmed sequence of keys in the car<br/><br/> | ||
Byte1:<br/><span style=color:#FF6600>0x01</span> – the key is in ignition lock<br/><span style=color:#FF6600>0x02</span> – Ignition on<br/><span style=color:#FF6600>0x04</span> – Dynamic ignition on<br/><span style=color:#FF6600>0x08</span> – Webasto<br/><span style=color:#FF6600>0x20</span> – Car closed by factory's remote control<br/><span style=color:#FF6600>0x40</span> – Factory-installed alarm system is actuated (is in panic mode)<br/><span style=color:#FF6600>0x80</span> – Factory-installed alarm system is emulated by module<br/> | Byte1:<br/><span style=color:#FF6600>0x01</span> – the key is in ignition lock<br/><span style=color:#FF6600>0x02</span> – Ignition on<br/><span style=color:#FF6600>0x04</span> – Dynamic ignition on<br/><span style=color:#FF6600>0x08</span> – Webasto<br/><span style=color:#FF6600>0x20</span> – Car closed by factory's remote control<br/><span style=color:#FF6600>0x40</span> – Factory-installed alarm system is actuated (is in panic mode)<br/><span style=color:#FF6600>0x80</span> – Factory-installed alarm system is emulated by module<br/><br/> | ||
Byte2:<br/><span style=color:#339A6C>0x01</span> – Parking activated (automatic gearbox)<br/><span style=color:#339A6C>0x10</span> – Handbrake is actuated (information available only with ignition on)<br/><span style=color:#339A6C>0x20</span> – Footbrake is actuated (information available only with ignition on)<br/><span style=color:#339A6C>0x40</span> – Engine is working (information available only when the ignition on)<br/><span style=color:#339A6C>0x80</span> – Reverse is on<br/> | Byte2:<br/><span style=color:#339A6C>0x01</span> – Parking activated (automatic gearbox)<br/><span style=color:#339A6C>0x10</span> – Handbrake is actuated (information available only with ignition on)<br/><span style=color:#339A6C>0x20</span> – Footbrake is actuated (information available only with ignition on)<br/><span style=color:#339A6C>0x40</span> – Engine is working (information available only when the ignition on)<br/><span style=color:#339A6C>0x80</span> – Reverse is on<br/><br/> | ||
Byte3:<br/><span style=color:#0000FF>0x01</span> – Front left door opened<br/><span style=color:#0000FF>0x02</span> – Front right door opened<br/><span style=color:#0000FF>0x04</span> – Rear left door opened<br/><span style=color:#0000FF>0x08</span> – Rear right door opened<br/><span style=color:#0000FF>0x10</span> – Engine cover opened<br/><span style=color:#0000FF>0x20</span> – Trunk door opened<br/><br/> | |||
Byte3:<br/><span style=color:# | Byte4:<br/><span style=color:#9DCD00>0x01</span> – Car was closed by the factory's remote control<br/><span style=color:#9DCD00>0x02</span> – Car was opened by the factory's remote control<br/><span style=color:#9DCD00>0x03?</span> – Trunk cover was opened by the factory's remote control<br/><span style=color:#9DCD00>0x04</span> – Module has sent a rearming signal<br/><span style=color:#9DCD00>0x05?</span> – Car was closed three times by the factory's remote control<br/> | ||
Byte4:<br/><span style=color:# | - High nibble (mask 0xF0 bit)<br/><span style=color:#9DCD00>0x80</span> – CAN module goes to sleep mode<br/> | ||
|} | |} | ||
==Send data with 0, if ignition is off== | ==Send data with 0, if ignition is off== | ||
==LV -CAN200/ALLAN300 Important Information== | ==LV -CAN200/ALLAN300 Important Information== |
Revision as of 15:49, 11 April 2018
Purpose 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, buses, agriculture and other special transport. With those adapters FMB120 device is able to collect and send vehicle data.
Parameter | Value |
---|---|
Supply voltage | 9 to 50 V |
Power supply current | Average 10 mA. Max (peak) 100 mA |
Working temperature | -40..+85 ºC |
Max working humidity | 60 % (non condensate). |
LV-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.
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 (more lvcan commands in chapter SMS command list):
lvcansetprog X
X is new program number value.
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 ‘Save to device’ button that entered program number saves into FMB120.
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.
SIMPLE-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 standby 1.6 mA, active 8.3 mA @ 12 V; standby 0.91 mA, active 4.3 mA @ 24 V.
- 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.
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.
Connecting FMB120 Can adapters ALL-CAN300 and LV-CAN200
Connect LV-CAN200/ALL-CAN300 Pin 5 to FMB120 Pin 12 (INPUT 5) LV-CAN200/ALL-CAN300 Pin 6 to FMB120 Pin 6 (INPUT 6), 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.
FMB120 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 are connected in vehicle.
When FMB120 are connected to configurator and at the same moment to LV-CAN200 or ALL-CAN300, in configurator LVCAN section user can see all information that is received from vehicle, that data are marked with green background color. Information in this section is automaticali refreshed. CAN bus data which can be read from your car is shown in “Light or ALL Vehicles Can adapter supported cars” document.
The LVCAN I/O element can be configured like any other I/O element in FMB120 configurator.
When using offline configuration metod 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.
All information about I/O element parameters description is in section I/O settings.
All LV-CAN200/ALL-CAN300 I/O parameters configuration settings are described in “FMB120 Protocols” document, except ALL-CAN300 bitmasks, they are described in the table below.
Property name | Size, bytes | Value bitmasks |
---|---|---|
Control state flags | 4 | Byte0 (LSB): 0x01 – STOP 0x02 – Oil pressure / level 0x04 – Coolant liquid temperature / level 0x08 – Handbrake system 0x10 – Battery charging 0x20 – AIRBAG Byte1: |
Agricultural machinery flags | 8 | Byte0 (LSB): 0x01 – Mowing 0x02 – Grain release from hopper 0x04 – First front hydraulic turned on 0x08 – Rear Power Take-Off turned on Byte1: |
Security state flags | 8 | Byte0 (LSB): 0x20 – Bit appears when any operate button in car was put 0x40 – Bit appears when immobiliSer is in service mode 0x80 – Immobiliser, bit appears during introduction of a programmed sequence of keys in the car Byte1: |