Template:FTX CAN/OBD: Difference between revisions
Appearance
Created page with "Teltonika Telematics" |
No edit summary |
||
| (27 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- If model supports Manual CAN, then show --> | |||
{{#if: {{FTX Pin Support List|model={{{model}}}|pin=Manual CAN}} | | |||
== General CAN settings == | |||
[[File:General CAN settings - menu.png|right|500px]] | |||
User can set up manual or automatic baud rate and termination resistor for each CAN line for his device in general CAN settings | |||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | |||
=== Parameter list === | |||
<table class="nd-othertables_2" style="width:100%; border-collapse: collapse;"> | |||
<tr> | |||
<th style="width:1%; vertical-align: middle; text-align: center;">PARAMETER NAME</th> | |||
<th style="width:1%; vertical-align: middle; text-align: center;">PARAMETER ID</th> | |||
<th style="width:5%; vertical-align: middle; text-align: center;">DESCRIPTION</th> | |||
<th style="width:3%; vertical-align: middle; text-align: center;">VALUES</th> | |||
</tr> | |||
<tr> | |||
<td style="vertical-align: middle; text-align: center;">Baudrate selection</td> | |||
<td style="vertical-align: middle; text-align: center;">181 </td> | |||
<td style="vertical-align: middle; text-align: center;">Automatic Baudrate detection allows user to detect baudrate automatically. Manual Baudrate allows user to select baudrate manually.</td> | |||
<td style="vertical-align: middle; text-align: left;"> '''0 = Auto''' Automatic Baudrate detection allows user to detect baudrate automatically. <br> '''1 = Manual''' Manual Baudrate allows user to select baudrate manually. | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="vertical-align: middle; text-align: center;">Nominal baudrate (kbps)</td> | |||
<td style="vertical-align: middle; text-align: center;">182 </td> | |||
<td style="vertical-align: middle; text-align: center;">Nominal baudrate selection from '''33''' to '''2000 kbps''' (9 possible values).</td> | |||
<td style="vertical-align: middle; text-align: left;"> '''0 = 33''' kbps <br> '''1 = 50''' kbps <br> '''2 = 83''' kbps <br> '''3 = 100''' kbps <br> '''4 = 125''' kbps <br> '''5 = 250''' kbps <br> '''6 = 500''' kbps <br> '''7 = 666''' kbps <br> '''8 = 1000''' kbps </td> | |||
</tr> | |||
<tr> | |||
<td style="vertical-align: middle; text-align: center;">Data baudrate (kbps) </td> | |||
<td style="vertical-align: middle; text-align: center;">183</td> | |||
<td style="vertical-align: middle; text-align: center;">Data baudrate selection from 33 to 2000 kbps. Available only with FDCAN. (10 possible values)</td> | |||
<td style="vertical-align: middle; text-align: left;"> '''0 = 33''' kbps <br> '''1 = 50''' kbps <br> '''2 = 83''' kbps <br> '''3 = 100''' kbps <br> '''4 = 125''' kbps <br> '''5 = 250''' kbps <br> '''6 = 500''' kbps <br> '''7 = 666''' kbps <br> '''8 = 1000''' kbps ''' <br> 9 = 2000''' kbps</td> | |||
</tr> | |||
<tr> | |||
<td style="vertical-align: middle; text-align: center;">Termination resistor</td> | |||
<td style="vertical-align: middle; text-align: center;">184</td> | |||
<td style="vertical-align: middle; text-align: center;">Termination resistor parameter allows to control 120 Ohm termination resistor.</td> | |||
<td style="vertical-align: middle; text-align: left;">'''0 = Disable''' Disable termination resistor <br> '''1 = Enable''' Enable termination resistor</td> | |||
</tr> | |||
</table> | |||
}} | |||
<!-- If model supports Manual CAN, then show --> | |||
{{#if: {{FTX Pin Support List|model={{{model}}}|pin=Manual CAN}} | | |||
== Manual CAN == | |||
[[File:Manual CAN - menu.png|right|500px]] | |||
'''Note:''' Before using Manual CAN, make sure to select the correct CAN settings in [[{{{model}}} CAN/OBD#General_CAN_settings|General CAN settings]] section. | |||
The user can configure 70 Manual CAN I/O element by setting Priority, CAN Type, CAN ID, Data Mask, Operand. Each CAN I/O has its own parameters and can be configured independentely. | |||
When configuring CAN IO elements, each parameter (like priority, operand, CAN type, CAN ID, etc.) requires a unique '''configuration ID'''. These IDs follow specific formulas to ensure no overlap with other parameters in the system. This guide explains how to calculate them. | |||
==='''Formula:'''=== | |||
Parameter_ID = 1,000,000 + (AVL_ID * 100) + OPTION Parameter_ID = 1,000,000 + (AVL_ID * 100) + OPTION | |||
* 1,000,000: Base offset for CAN-related parameters. | |||
* AVL_ID: The CAN AVL IO element identifier (within certain allowed ranges). | |||
* OPTION: A small integer offset indicating which setting is being adjusted (e.g., priority or operand). | |||
'''Valid AVL Ranges ''' | |||
* [10216:10235] | |||
* [10298:10347] | |||
''' | |||
Example:''' If AVL_ID is 10216 and the OPTION for “priority” is 1, then | |||
Parameter ID=1,000,000+(10216×100)+1=1,000,000+1,021,600+1=2,021,601 | |||
=== '''MCAN IO Parameter Calculation''' === | |||
For MCAN IO elements (e.g., MCAN0, MCAN1, MCAN2…), each has three specific parameters: '''CAN Type, CAN ID,''' and '''Data Mask'''. The '''MCAN IO''' '''number''' is the index of the MCAN entry (starting at 0, 1, 2, etc.). | |||
'''''Formulas''''' | |||
1. '''CAN Type''' | |||
Parameter ID=17,000+(10×MCAN IO number) | |||
2. '''CAN ID''' | |||
Parameter ID=17,001+(10×MCAN IO number) | |||
3. '''Data Mask''' | |||
Parameter ID=17,002+(10×MCAN IO number) | |||
'''Examples''' | |||
* '''MCAN0''' (IO number = 0): | |||
** '''CAN Type:''' 17000 + (10 × 0) = 17000 | |||
** '''CAN ID:''' 17001 + (10 × 0) = 17001 | |||
** '''Data Mask:''' 17002 + (10 × 0) = 17002 | |||
* '''MCAN1''' (IO number = 1): | |||
** '''CAN Type:''' 17000 + (10 × 1) = 17010 | |||
** '''CAN ID:''' 17001 + (10 × 1) = 17011 | |||
** '''Data Mask:''' 17002 + (10 × 1) = 17012 | |||
* '''MCAN69''' (IO number = 69): | |||
** '''CAN Type:''' 17000 + (10 × 69) = 17690 | |||
** '''CAN ID:''' 17001 + (10 × 69) = 17691 | |||
** '''Data Mask:''' 17002 + (10 × 69) = 17692 | |||
'''Putting It All Together''' <br> | |||
1. '''Check Your AVL ID Range''' <br> | |||
* If your CAN IO element has an AVL ID in [10216–10235] or [10298–10347], use the '''first formula''' for Parameter_ID = 1,000,000 + (AVL_ID * 100) + OPTION. <br> | |||
2. '''Identify Your MCAN IO Number''' <br> | |||
* If you have an MCAN entry (e.g., MCAN0, MCAN1), use the '''second set of formulas''' to find the corresponding '''CAN Type, CAN ID, and Data Mask''' parameter IDs. <br> | |||
3. '''Plug In the Numbers''' <br> | |||
* Calculate step by step, ensuring you add the correct base offsets and multipliers. <br> | |||
4. '''Configure Your Device''' <br> | |||
* Once you have the parameter IDs, set or modify them in your configuration tool to match the desired priority, operand, or other CAN-related settings.<br> | |||
}} | |||
<!-- If model supports Manual CAN, then show --> | |||
{{#if: {{FTX Pin Support List|model={{{model}}}|pin=Manual CAN}} | | |||
==Manual CAN Commands== | |||
'''Note:''' Before using Manual CAN, make sure to select the correct CAN settings in [[{{{model}}} CAN/OBD#General_CAN_settings|General CAN settings]] section. | |||
Manual CAN Commands functionality allows user to send configurable commands to CAN BUS. | |||
Up to '''10''' Manual CAN Command I/Os can be configured: | |||
[[File:FTX manual can commands.png|center|thumb|1100x1100px]] | |||
Configurable settings: | |||
*'''Command type''' - defines which CAN ID type will be used to send commands: | |||
**'''Standard (11-bit)''' - a maximum value of 7FF. | |||
**'''Extended (29-bit)''' - a maximum value of 1FFFFFFF. | |||
*'''CAN ID''' – defines command CAN ID. | |||
**If Command type is '''Standard (11-bit)''' - a maximum value of 7FF. | |||
**If Command type is '''Extended (29-bit)''' - a maximum value of 1FFFFFFF. | |||
*'''Data''' - defines command data. | |||
*'''Data length''' - defines command data length in bytes. | |||
*'''Send type''' - selects command send type: | |||
**'''Once''' - command will be sent one time after it is triggered. | |||
**'''Periodic''' - command will be sent periodically after it is triggered. | |||
**'''Response''' - command will be sent once as a response to received Manual CAN I/O. | |||
*'''Run on startup''' - if enabled, command will be triggered automatically on device startup. | |||
*'''Response''' - if Send type is Response, defines Manual CAN I/O which will trigger command. | |||
*'''Send period''' - defines command send period (in miliseconds) if Periodic send type is selected: | |||
**'''Minimal''' command period - '''100 ms'''. | |||
**Period must be configured with a step of 100 ms. | |||
*'''Send count''' - defines command sending count if Periodic send type is selected. | |||
**If set to '''0''' - command will be sent '''infinitely''' until it is turned off by the user. | |||
*'''Command Enabler''' - toggles command. | |||
**If enabled - command will send CAN messages. | |||
**If disabled, the command will not be available to trigger sending, even if configured. | |||
After configuring, Manual CAN commands can be triggered with SMS/GPRS commands: [[{{{model}}} SMS/GPRS Command List#CAN Commands|{{{model}}} SMS/GPRS Commands]]. | |||
}} | |||
[[Category:{{{model}}} Configuration]] | |||
Latest revision as of 14:11, 13 November 2025
[[Category:{{{model}}} Configuration]]