Changes

Line 170: Line 170:  
<br></br>
 
<br></br>
 
''Latitude'' is calculated in same way as longitude but since latitude maximum value is two times smaller than longitude it can produce a bit more accurate data. Coefficient for latitude is 93206,75. This coefficient is got in following way: 16777215(maximum 3 bytes value) divided from 180 (maximum latitude value then 90 is added). This calculation is used to fit negative and positive values to 3 bytes width variable.
 
''Latitude'' is calculated in same way as longitude but since latitude maximum value is two times smaller than longitude it can produce a bit more accurate data. Coefficient for latitude is 93206,75. This coefficient is got in following way: 16777215(maximum 3 bytes value) divided from 180 (maximum latitude value then 90 is added). This calculation is used to fit negative and positive values to 3 bytes width variable.
 +
<br></br>
 +
''SBD AVL ID and flags'' – custom ID that will indicate what caused the record to be generated (final ID will (as only periodic records are generated, ID is not used)).
 +
<br></br>
 +
====DIN/DOUT parameter explanation====
 +
 +
''DIN/DOUT'' info - Displays configured IO elements in SBD IO source (parameter ID 99422)
 +
 +
This parameter is configured with bitmasks.
 +
*eSBD_IO_Bit_Disabled    = 0x00,
 +
*eSBD_IO_Bit_Din1        = 0x01,
 +
*eSBD_IO_Bit_Din2        = 0x02,
 +
*eSBD_IO_Bit_Din3        = 0x04,
 +
*eSBD_IO_Bit_Din4        = 0x08,
 +
*eSBD_IO_Bit_Do1          = 0x10,
 +
*eSBD_IO_Bit_Do2          = 0x20,
 +
*eSBD_IO_Bit_Do3          = 0x40,
 +
*eSBD_IO_Bit_Do4          = 0x80,
 +
*eSBD_IO_Bit_Speed        = 0x100
 +
 +
For example: to enable Din1, Din3 and Do4: 0x01 + 0x04 + 0x80 = 0x85 convert to decimal --> 133.
 +
<br></br>

Navigation menu