Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
To measure high frequency, select ‘High Frequency’ in the drop-down box:
Also, set the CAN ID where The K Box will transmit the result.
Set the Rate you wish to measure at:
The Rate parameter affects measurement precision.
The K Box measures high frequency using a pulse counter for the selected Rate and normalises it to 1 second to calculate the value in Hz = 1 s * N pulses / Rate.
The K-Box averages measured values if the high-frequency changes for a measurement interval (Rate).
The sensor sends at a frequency of 10kHz for 60ms, and the K-Box registers 600 pulses (60ms * 10kHz).
The sensor sends at a frequency of 8kHz. For 40ms, the K-Box registers 320 pulses (40ms * 8kHz).
For the whole measurement interval of 100ms, The K-Box registers a total of 920 pulses.
Normalised to Hz, the measured frequency is 9.2kHz (1 s * 920 pulses / 100ms).
If the Rate is set to 1000 ms, the measurement's accuracy will be 1Hz.
Digital 1-3 can be used to measure input signals, process them, and output the result as a CAN message with a Defined CAN ID (e.g. Pulse duration could be measured and output as a CAN message on CAN ID 0x310)
The K Box send CAN messages with a defined ID (in this example, 0x300 and rate 100 ms), containing information about the logical level of the Digital signals. This information is contained in the 1st byte of the message.
To measure Pulse duration, select Pulse duration in the drop-down box:
Also, set the CAN ID rate, where The K Box will transmit the result.
Set the Rate you wish to measure at:
Select the edge on which you wish to start measuring the pulse duration.
The KBox will not send CAN messages (although the rate is met) until the required measurement is finished.
The KBox will re-calculate the message and Rate to prevent CAN bus overloading.
Pulse frequency: 2000Hz (0.5ms). Rate: 50ms. CAN bus Speed: 125 kbps.
If there is no overloading of the CAN bus, a corresponding CAN Message will be sent every 50ms.
Pulse frequency: 2000Hz (0.5ms). Rate: 1ms. CAN bus Speed: 125 kbps.
If there is no overloading of the CAN bus, a corresponding CAN Message will be sent every 2ms.
You can change to the Digital Channel Configuration by clicking on the tab:
Pressing the Load icon tab loads the settings contained in the K-Box and displays them on the screen.
Here, you can configure the Digital Channels:
The CAN Ident and rates that the K-Box will broadcast channels used as input.
The CAN Ident and rates that the K-Box will receive data to be output.
In output mode, it should output 3.3V (Digital 1-3) or operate in Open Collector mode (Digiatl4).
PINs 1-3 can be configured to measure pulse duration, frequency, duty cycle, count events, cycle duration, or RPM when in’ Input’ mode.
PIN 4 can be used as an output for wake-up or to supply power, for example, to another daisy-chained K-Box.
The 4 Digital Pins can all be configured as outputs: If that mode is used, then they either act in open collector mode (the base of the internal NPN transistor is energised according to the data that the K-Box receives via CAN message to the Outputs CAN ident configured) or they can act in 3.3V mode in which case they will output 3.3V or 0V depending on the to the data that the K-Box receives via CAN message to the Outputs CAN ident configured. If using the pins as outputs, you must set up CAN Messages with the same IDents as you have set up that broadcast data to the K-Box… The data format required is specified in the DBC file, and you can use the DiaLog DBC Editor (in the Presets section) to look at this.
The first 3 Digital Pins can also be used as inputs and measure pulse duration, frequency, duty cycle, count events, cycle duration or RPM, and output. They calculated measurements as CAN messages on the CAN Ident configured for the Inputs.
Once you have configured the K-Box as desired, click Commit to send the configuration to the K-Box.
You will want to generate a new DBC file if you make any changes. This describes the configuration of the K-Box. You can load the file into DiaLog (or another tool that supports DBC files), allowing DiaLog to interpret the data broadcast by the K-Box correctly.
Clicking DBC Export generates the DBC file and prompts you for the location to save it.
You can change to the Analog Channel Configuration by clicking on the Tab: Not Connected.
Pressing the Load Button Loads the settings contained in the K-Box and displays them on the screen.
Once you have configured the K-Box as desired, click Commit to send the configuration to the K-Box.
You will want to generate a new DBC file if you make any changes. This describes the configuration of the K-Box, and you can load the file into DiaLog (or another tool that supports DBC files), allowing DiaLog to interpret the data broadcast by the K-Box correctly.
Clicking DBC Export will generate the DBC file and prompt you for the location to save it.
On this screen, you can change the following parameters:
The additional board allows users to select the addon board type if connected.
The CAN Ident and rate that the K-Box will broadcast ADC channels 0-3.
The CAN Ident and rate that the K-Box will broadcast ADC channels 4-7.
The Voltage range you wish to use for the ADC channels is either -10 to +10V, -20 to +20V or -40 to +40V, individually selectable per channel or -20 to +20V, -40 to +40V or -80 to +80V, individually selectable per channel depending on whether you choose hardware range 1 or 2.
The CAN Ident and rates that the K-Box will broadcast thermocouple channels 0-3.
The CAN Ident and rates that the K-Box will broadcast thermocouple channels 4-7.
The Thermocouple type may be selected from K, T and J Types.
By clicking on the tab RTD (Resistance thermometer detectors), you can configure the KBox to work with add boards by selecting the board type from the drop-down menu.
On this screen, you can change the following parameters:
The CAN Ident and rates that the K-Box will broadcast RTD channels 0-3.
Select the type of RTD for each channel. RTD (0-3). Pt 100 or Pt1000 is individually selectable per channel.
The CAN Ident and rates that the K-Box will broadcast Thermocouple channels 0-3.
The CAN Ident and rates that the K-Box will broadcast Thermocouple channels 4-7.
The Thermocouple Type may be selected from K, T and J Types.
Click the tab IEPE (Integrated Electronics Piezoelectric) to change to the Analog Channel configuration.
On this screen, you can change the following parameters:
For more configuration options, refer to Appendix 4.
The CAN Ident and rates that the K-Box will broadcast IEPE channels 0-3.
IEPE Transmit-Measure:
Combined: All the IEPE data is sent in one CAN message with one CAN ID.
Individual: Sends each IEPE channel data with a separate CAN ID.
The sensitivity and offset of the IEPE 0, 1, 2 and 3.
The CAN Ident and rates that the K-Box will broadcast Thermocouple channels 0-3.
The CAN Ident and rates that the K-Box will broadcast Thermocouple channels 4-7.
The Thermocouple type may be selected from K, T and J Types.
To count digital events, select Event Counter in the drop-down box:
Also, set the CAN ID where The K Box will transmit the result.
Set the Rate you wish to measure at:
Select the edge on which you wish to start measuring the events.
Notes:
The Event counter will be reset if the K-Box is power cycled or loaded with a new configuration.
The Event counter will be incremented on any received registered event edge.
How to using K-Cal (tutorial video).
How to for Analog, Thermocouple, and Digital channels using K-Cal.
or according to whether the Modulation is on the rising or falling edge:
To calculate the Duty cycle of a PWM signal, select Duty cycle/PWM in the drop-down box:
Also, set the CAN ID where The K Box will transmit the result.
Set the Rate you wish to measure at:
Select the edge you wish to start measuring the duty cycle on.
Notes:
The K-Box will change the CAN message Rate for this measurement to prevent CAN bus overloading.
oraccording to whether the modulation is on the rising or falling edge:
To measure the duration of a cycle, select Cycle Duration in the drop-down box:
Frequency can then be calculated using the following formula:
In this case, this frequency is NOT average frequency. It is instantaneous frequency.
The KBox will wait until the cycle measurement is finished before sending a CAN message with the duration. If the cycle duration is long, the messages may be sent slower than the selected Rate.
If the Cycle duration is shorter than the time between messages set by the Rate, the duration will be re-calculated before being sent.
To calculate Revolutions per Minute, select RPM in the drop-down box:
Also, set the CAN ID where The K Box will transmit the result.
Set the Rate you wish to measure at:
Select the edge you wish to normalise measuring the revolutions on.
The Rate parameter affects the measurement precision.
The K-Box measures RPM using a pulse counter for the selected rate and normalises it to 1 minute to calculate the output value.
RPM = Ratenute * N pulses / Rate.
The K-Box averages the measured values if RPM changes over the measurement interval.
If a Sensor sends 2000rpm for 300ms (sensor generates 2000 pulses per minute)
The KBox registers 10 pulses (10 = 2000rpm * 0.3s/60s).
If it then sends 4800 rpm for 200ms (sensor generates 4800 pulses per minute).
The KBox registers a further 16 pulses (16 = 4800rpm * 0.2s/60s)
For the whole measurement interval (500ms), the KBox registers will register a total of 26 pulses.
The Normalised value calculated will be 3120 rpm (60s * 26 pulses/0.5s).
The increment size of 120rpm limits the accuracy of measurement.
If the parameter Rate were= 1000 ms, the measurement’s accuracy would be limited by the increment size of 60rpm.
Notes:
The “Cycle duration” function should be used to measure low RPM with high precision.
Frequency can then be calculated using the following formula:
In this case, this RPM is NOT average RPM; it is instantaneous RPM.
The KBox will wait until the cycle measurement is finished before sending a CAN message with the duration. If the cycle duration is long, the messages may be sent slower than what is selected as the Rate.
RateIf the Cycle duration is shorter than the time between messages set by the Rate, the duration will be re-calculated before being sent.
or according to whether the Modulation is on the rising or falling edge:
You can change to the Reprogramming Function by clicking on this tab. The following window appears:
Locate the hex file that you wish to program into the K-Box. Generally, this will be located in C:\Program Files (x86)\Influx Technology\K-Box Config\firmware.
Then click the Open Button.
Click the Commit button. The following progress indicator at the bottom of the screen becomes visible:
When the progress indicator reaches the right-hand side, reprogramming is complete.
Click the Open Button
Unless you have special hardware, build your K-Box Digital 1, Digital 2 and Digital 3 MUST be configured as 3.3V if used in output Mode due to the Outputsign of the circuitry:
Unless you have a unique hardware build, your K-Box Digital 4 MUST be configured as Open Collector (if used in output Mode due to the design of the circuitry):
If any of the PINs are set to an “Output”, the output CAN ID becomes active, and you can select the CAN ID, which will receive messages that will be output on the appropriate pins of the K-BOX.
If the CAN ID were set to 0x400, when the Kbox receives a CAN message with Ident 0x400, the first byte is interpreted as an 8-bit command as follows:
b0: Dig1OutLevel
b1: Dig1OutSet
b2: Dig2OutLevel
b3: Dig2OutSet
b4: Dig3OutLevel
b5: Dig3OutSet
b6: Dig4OutLevel
b7: Dig4OutSet
OutLevel indicates whether the PIN should give output 1 or 0. “OutSet” sets the OutLevel on the PIN if it is = 1 (enable); if the OutLevel is 0 (disable), then the OutLevel value in the message is not set.
If the KBox receives a CAN message with DLC = 1 and CAN ID = 0x400.
Data byte = 0x30 (00110000 ) High Level on Digital 3, Digital 3 enabled. Outputbyte = 0x20 (00100000 ) don’t care about Digital 3; keep old level on Digital 3.
In this, the command controls all Digital Outputs at once and at any time.
The Output level can only be changed with a new CAN message with Ident 0x400, re-configuration with B-Box Cal, or turning the KBox power off.
If NONE of the PINs is set to Output, the Outputs CAN ID will become greyed out, and the K-Box will not enable the Output on the Digital pins when CAN messages are received.
To measure frequency, select ‘Frequency’ in the drop-down box:
Also, set the CAN ID where The K Box will transmit the result.
Set the Rate you wish to measure at:
The Rate parameter affects measurement precision.
The K Box measures frequency using a pulse counter for the selected rate and normalises it to 1 second to calculate the value in Hz = 1 s * N pulses / Rate.
The K-Box averages measured values if the frequency changes for a measurement interval (Rate).
The sensor sends at a frequency of 10kHz for 60ms, and the K-Box registers 600 pulses (60ms * 10kHz).
The sensor sends at a frequency of 8kHz. For 40ms and the K-Box registers 320 pulses (40ms * 8kHz).
For the whole measurement interval of 100ms, The K-Box registers a total of 920 pulses.
Normalised to Hz, the measured frequency is 9.2kHz (1 s * 920 pulses / 100ms).
If the Rate is set to 1000 ms, the measurement's accuracy will be 1Hz.
Notes:
The “Cycle duration” function should be used to measure low frequency with high precision.
To erase the calibration, follow the following steps:
Click Yes to confirm that you want to clear the calibration.
Check that you can see the status messages at the bottom of the K-Box Cal Application if you can’t click on the light blue line and drag it upwards.
Wait until the status messages at the bottom of the window show that the Calibration table has been cleared:
Click the Clear calibration.
To improve the accuracy, one can calibrate the K-Box measurements. The software allows the user to cycle through several measurement points. Once done committing, the calibration applies to the K-Box, improving the measurement accuracy.
Pressing the Load Button Loads the calibration contained in the K-Box and displays them on the screen.
Allows the user to set the noise level and tolerance.
Alternatively, press the start button and attach the appropriate voltages/thermocouple test signals to the inputs of the K-Box to cycle through the test points to calibrate the K-Box for maximum accuracy:
Select the Voltage of the Calibration Point you wish to calibrate, and make these points appropriate to the range of inputs you expect. For example, if you expect input signals to be between 0V and +38V, Influx recommends you calibrate the +40V and OV calibration points for that channel:
Select the Channel of the Calibration Point you wish to calibrate by either clicking the Radio Button of the channel
Or, by clicking on the point, you wish to calibrate in the field to the right.
Adjust the input voltage from the calibrated test equipment that you are using to match the voltage for the test point:
If the input voltage is stable and correct, the calibration of the channel will be updated as follows:
If it is not, you will receive a warning:
Repeat the steps above until you have calibrated all the calibration points.
Once you have configured the K-Box as desired, click Commit to send the configuration to the K-Box. If you make a mistake and wish to clear the calibration, use the Clear button.
Doing this will save the calibration to the K-Box and create a report detailing the calibration:
Press RUN:
Once you launch the K-Box Configuration utility, you will see the settings for the interface you are using. If the K-Box is on and connected, its serial number (S.N.) and firmware (Fw) version will be displayed at the bottom of the screen.
Pressing the Load Button Loads the settings contained in the K-Box and displays them on the screen.
Pressing the Commit Button commits the settings that are on the screen to flash memory within the K-Box
Pressing the Node Button allows the user to change the selected node. This icon is active only when multiple KSeries devices are connected to the same CAN Bus.
Pressing the Default Button allows the user to set the default parameter values.
Pressing the Export Button allows exporting of signals to DBC files.
Pressing the Import Button allows importing of signals from DBC files.
Pressing the Scope Del Button deletes selected channels from the scope.
Pressing the Tables Button allows conversion tables management.
Pressing the Formula Button assigns the formula.
Pressing the Interface Button initialises the selected interface.
Displays the release notes containing all the details about the software's development.
Pressing the Help Button displays the documentation regarding the software for better understanding.
On the General Tab, you can change the following parameters:
KBox Device
Baud Rate
The Baud rate at which the K-Box will communicate on the CAN Bus.
Byte Order
The Byte order that the K-Box will use.
Sleep Mode
If enabled, the logger will go to sleep when there is no CAN activity.
If you do not wish to use this feature and want the K-Box to remain on while power is supplied, select “No Sleep”.
Time
Allows the user to set the “after sleep” time duration. Specifies how long the K-Box should wait before it enters sleep mode.
Tool Options
Load at startup
Allows loading channel settings from device memory on startup.
Load at export
Allows reloading channel settings from device memory while exporting DBC.
Auto assign ID
Allows the user to assign the ID automatically. Relevant when there are multiple KSeries devices connected.
ADC Units
Allows the user to set the units for analog/digital channels.
TC units
Allows the user to set the units for thermocouples.
Interface
Allows the user to select the interface
How to interface K-Box and view live data using K-Cal (tutorial video).
How to assign BaudRate using K-Cal (tutorial video).
Baud Rate
The Baud rate at which the K-Box will communicate on the CAN Bus.
Byte Order
The Byte order that the K-Box will use.
Sleep Mode
If enabled, the logger will go to sleep when there is no CAN activity.
If you do not wish to use this feature and want the K-Box to remain on while power is supplied, select “No Sleep”.
Time
Allows the user to set the “after sleep” time duration. Specifies how long the K-Box should wait before it enters sleep mode.
Load at startup
Allows loading channel settings from device memory on startup.
Load at export
Allows reloading channel settings from device memory while exporting DBC.
Auto assign ID
Allows the user to assign the ID automatically. Relevant when there are multiple KSeries devices connected.
ADC Units
Allows the user to set the units for analog/digital channels.
TC units
Allows the user to set the units for thermocouples.