2.5. Reading out the data via Modbus ..................11 2.6. Configuration of an IIR filter .................... 11 3. Configuring parameters via the MQTT protocol ..............14 4. Changing the IP address of the HUB-VM102 ................16 5. Parameter directory ......................18 5.1. Parameters for signal processing ..................18 5.2.
NOTE Notes give you tips, recommendations and useful information on specific ac- tions and issues. A tip gives you tips, tricks and recommendations from in.hub that have proven to be helpful in handling the products. Qualified personnel The product associated with this documentation may only be handled by personnel quali- fied for the respective task.
Intended use in.hub products may only be used for the applications specified in the corresponding tech- nical documentation. If third-party products and components are used, they must be recommended or approved by in.hub.
1.1. Other applicable documents This programming manual is only valid in conjunction with the Operating Instructions for the HUB-VM102. Please read the operating instructions carefully and keep them to hand if you are programming the hardware yourself. You can download the current operating instructions from the download portal: https:// download.inhub.de/vm102/...
Configuration of the interfaces 2. Configuration of the interfaces If you are using a HUB-VM102 and transferring the vibration sensor data to a in.hub master gateway, configure the interfaces in the I/O management of SIINEOS, which is installed on the master gateway. In this case, you do not need this programming manual, but use the user manual from SIINEOS instead.
Configuration Threshold parameter 1st-order high-pass filter to P13, P23 100–1000–10000 mHz eliminate the DC offset Integrator for determining the P14, P24 100–1000–10000 mHz vibration velocity 1st-order low-pass filter P15, P25 100–5000–10000 Hz Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Page 8
Frequency of digital input 2 The individual filters can be disabled via parameters 11 and 21: Function Channel on/off High pass on/off Velocity (integrator on), Acceleration (integrator off) Low pass on/off Biquad filter on/off Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Triggered by frequency of digital input 1 (rising) Triggered by frequency of digital input 1 (falling) Triggered by frequency of digital input 2 (rising) Triggered by frequency of digital input 2 (falling) Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
(in dB). Param- Function eter FFT control 0: No calculation 1: Start FFT calculation of channel 1 2: Start FFT calculation of channel 2 Parameter is deleted after FFT calculation Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Several of these filter elements can be calculated one after the other in real time. However, the number is limited by the computing power of the microcontroller. IIR filter The IIR filter coefficients are managed in an internal coefficient memory. The coefficient a is always one. Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Page 12
Param- Function eter Bits 0–15: Coefficient number (0–19) Bits 16–17: Function 1: Read 2: Write 3: Save all biquad coefficients (0–19) to EEPROM Coefficient a Coefficient a Coefficient b Coefficient b Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Page 13
Parameter 82 (channel 1) and 82 can be used to check the computing power. Since the IIR filter is executed 48000 times per second (after each sampling), monitoring of the computing time is necessary. Parameters 81 and 82 should not be greater than 40. Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Parameter values in ASCII: “1,2,10,11” or “1–11” (32-bit be forced via signed integer) the following topic Example Topic: vm102/dev00142DE082EB/parampublish/p12 Message: 1,2,10,11 Autopublish for Parameters are published automatically at regular intervals parameters 1–9 Parameter 78: Interval in seconds Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Page 15
Topic vm102/dev<device serial number>/status correct param- Message – eter or address, message length exceeded, etc. Heartbeat Topic vm102/dev<device serial number>/hb Message “vm102” + counter value Example Topic: vm102/dev00142DE082EB/hb Message: vm102 hb: 34 Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Changing the IP address of the HUB-VM102 4. Changing the IP address of the HUB-VM102 Connect the Ethernet port of the HUB-VM102 to the Ethernet port of your PC. To communicate with the module, change the IP settings of your PC’s network connec- tion as follows: Install the PuTTY programme and open it.
Page 17
Changing the IP address of the HUB-VM102 Check the newly configured IP address. On the PuTTY console, enter the command CONF:ETH:IPAD? The new IP address should then be displayed. Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
High-pass filter threshold frequency in mHz Integrator threshold frequency in mHz Low-pass threshold frequency in Hz RMS value threshold frequency in mHz First biquad coefficient Number of biquad elements Peak detector rise time (μs) Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Page 19
Reference level in mV for FFT calculation in dB ent) If zero: FFT result absolute with 0.1 μV resolution P60 (channel independ- Address register, data exchange ent) 0x0: Device data Serial no.: 4 byte Firmware rev.: 4 byte Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
1 nel 1 Hardware rev.: 4 byte Device name: 16 byte (“HUB-VM102”) 0x01: RMS buffer, channel 1 (4096 bytes) 0x02: RMS buffer, channel 2 (4096 bytes) 0x03–0x0A: Storage, channel 1 (8 memory areas of 64 kB each) 0x0B–0x12: Storage, channel 2 (8 memory areas of 64 kB...
Page 21
Device control reg. 0: OFF P100 1: Normal operation Device error / status reg. Bits 0–15: Status P101 Bit 15: next Modbus device is enabled Bits 16–31: Error Bit 16: Watchdog reset Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Page 22
Bit 0: Store parameter to EEPROM (only in device P102 mode OFF) Bits 16–31: 0xffff: Device reset (only in device mode OFF) Backplane bus 0: Module disabled (default) P103 Enable neighbouring 1: Module released module Programming Manual HUB-VM102 VORLÄUFIGE VERSION / PRELIMINARY VERSION...
Page 23
This document is available in electronic form in the download portal of in.hub. Printed versions or copies not explicitly provided by in.hub are deemed uncontrolled. The original language of this document is German. Made in Germany. Service & Support: service@inhub.de https://community.inhub.de/...
Need help?
Do you have a question about the HUB-VM102 and is the answer not in the manual?
Questions and answers