07 - MIM Software Settings
Connect the DATA1 socket on the MIM01 to a PC using the RLCAB001 cable and power up the MIM01 using a suitable 12 V power source. Run VBOX Setup software, available from the VBOX Automotive website.
Select the correct COM port that the MIM01 is connected to (check device manager to confirm). The MIM01 should then connect to VBOX Setup software and display the current configuration set within the unit.
General
- Connection - Selected com port, refresh and disconnect buttons.
- Module Information – Serial number and installed firmware version of connected unit.
- Load/Save - Load/Save settings from/into a Racelogic setting file (.RSF). This allows setups to be kept for future use.
- Language - Select an operating language.
- Write to unit - After making changes to setup, the write to unit button must be selected to upload settings.
Settings
- Baud Rate - Baud Rate sets the bit rate of the CAN message transmission.
Selectable baud rate options are:
1000 kbit/s
500 kbit/s (default)
250 kbit/s
125 kbit/s - Data Format - This option allows you to change the format in which data is transmitted in stand-alone mode.
The available Format options are:
IEEE 32 bit float
32 bit unsigned integer
16 bit signed integer
16 bit unsigned integer
Racelogic float
32 bit signed integer
-
Modes - In the settings tab, the user has the option to configure the MIM into one of three CAN modes to suit different applications.
Racelogic Polled - This mode should be set if the module is to be used with a Racelogic VBOX. All the CAN parameters are set to work with the Racelogic VBOX CAN protocol. In this mode no other parameters need be set or indeed will have any effect.
User Polled - This mode allows a customer’s own data logging system to poll the module for data using the CAN bus. In this way, the output timing of the sensor can be synchronised with other CAN information. The following parameters are all used and so must be set:
Baud rate (Selectable from 125 kbit/s, 250 kbit/s, 500 kbit/s or 1 Mbit/s)
Extended Identifiers (OFF or ON)
Request Identifiers (Identifiers used to request data from the sensor)
Response Identifiers (Identifiers used to transmit data from the sensor)
Timed - In this mode the module will send CAN data at intervals determined by the Timer value. The following parameters are all used and so must be set:
Timer (Time interval in milliseconds between output data)
Baud rate (Selectable from 125 kbit/s, 250 kbit/s, 500 kbit/s or 1 Mbit/s)
Extended Identifiers (OFF or ON)
Response Identifiers (Identifiers used to transmit data from the sensor)
-
Extended Identifiers - Extended Identifiers can be set either ON or OFF. If they are off the CAN identifier type will be standard (11 bit). If they are on the CAN identifier type will be extended (29 bit). The Standard Identifier type allows 2048 different CAN message identifiers or message “names”. The Extended Identifier type allows 436207616 different CAN message identifiers. The identifier type should be set to match the CAN data logging equipment that the module is connected to.
Entering a value of “off”, “OFF” or “0” will turn Extended Identifiers off. Any non-zero value, “on” or “ON” will turn Extended Identifiers on. -
Conversion Identifiers - The Conversion Identifier only has an effect in User Polled Mode. When the module receives this identifier with zero data bits it will sample its inputs. This is set as separate command to a data request identifier so that it gives the module time to make a data conversion before having to send the data on the CAN bus.
- Timer - The timer value is in milliseconds (ms). A smaller value means data will be sent more frequently, a larger value means data will be sent less frequently. The range of values that can be entered is 0 to 65535 however the minimum value that should be entered is 10. Below this value data values may be repeated on successive cycles. If a value of 0 is entered the module will change it to 1 on the next power cycle.
Frequency output can be calculated as follows:
Freq = (1/Timer) * 1000
The Timer value for a required frequency can be calculated as follows:
Timer = (1/Freq) * 1000
Some example Timer values are shown against the frequency output.
Timer Value Frequency 10 100 50 20 100 10 400 2.5 1000 1
- Pack Data - Byte-packing can be used to reduce the number of CAN messages required to transmit MIM data. When turned OFF, each of the eight channels will be sent using a separate CAN Identifier message, each with a Data Length Code (DLC) of 4 bytes. When Byte packing is turned ON, channels will be combined into pairs for transmission over CAN, each message with a DLC of 8, as follows:
CAN ID First 4 Data Bytes Last 4 Data Bytes CAN ID set for Channel 1 Channel 1 Data Channel 2 Data CAN ID set for Channel 3 Channel 3 Data Channel 4 Data CAN ID set for Channel 5 Channel 5 Data Channel 6 Data CAN ID set for Channel 7 Channel 7 Data Channel 8 Data
Channels
Each input channel has a drop down associated for configuring channel specific attributes.
Digital input channels include an 'edge detection' option. This determines whether the frequency is measured from the RISING or FALLING edge of the signal.
The Digital input channels 1 & 2 also include a Mode option. Please see the section ‘Digital inputs’ for more details.
Scale and Offset
For more information on calculating scale and offset, Click Here.
Request and Response Identifiers
The Request Identifiers only have an effect in User Polled CAN Mode. If a CAN message is received by the MIM01 that matches a Request Identifier then the MIM01 will respond by sending the corresponding channel data on the corresponding Response Identifier. Note: All channels can be set to the same Request Identifier, if desired – this means that on receipt of a single CAN message the MIM01 will respond with all channels of data. The Response Identifiers MUST all be different.
In Timed Mode the channel data will be sent at intervals with the corresponding Response Identifier – the Request Identifiers have no effect.
When using Standard Identifiers the maximum value for the identifiers is $7FF. Entering a value higher than this may result in unexpected results.
Setup Parameters Table
Parameter | Options | Comments |
---|---|---|
CAN Mode | Racelogic Polled mode |
VBOX compatible mode. In this mode no other parameter has any effect. |
User Polled mode |
Baud Rate must be set. Extended Identifiers must be set. Request Identifiers must be set. Response Identifiers must be set. |
|
Timed mode |
Timer must be set. Baud Rate must be set. Extended Identifiers must be set. Response Identifiers must be set. |
|
Timer [ms] | (message interval in ms) |
Minimum value is 10 (100 Hz) – below this value data may be erroneous. If the Timer value is set to 0 ms and Timed CAN Mode is on then Timer value will be changed to 1 ms. |
Baud Rate [kbit/s] | 1000 kbit/s | If a Baud Rate value other than those specified is entered it will be changed to a default value of 500 kbit/s. |
500 kbit/s | " | |
250 kbit/s | " | |
125 kbit/s | " | |
Extended Identifiers | False/Standard (11 bit) | Request and Response Identifier range is 0 – 0x7FF (0 – 2047). |
True/Extended (29 bit) | Request and Response Identifier range is 0 – 0x19FFFFFF (0 – 436207615). |