Software

Drive configurator

A desktop app that configures an LMN frequency converter over CAN: the full register table, acceleration profiles, monitoring and a drive start right from a laptop.

Windows 10 / 11 x64 CAN 2.0B · 125–500 кбит/с CANable / gs_usb Protocol v1.0.3
Parameters tab: the register table of the drive
Parameters tab: the register table of the drive

The configurator is written in C on plain Win32 — no installer, no .NET, no third-party libraries. It talks to the drive bus through a CANable adapter (gs_usb) at 125–500 kbit/s.

01 / Features

What it does

One tool instead of a keypad, a multimeter and a scope: reading, writing, diagnostics and a test run.

Register table

113 parameters in 12 groups: motor, controllers, speeds, protections, encoder. Registers are read one request every 100 ms, so the table fills in about 11 s without loading the bus.

Write with verification

A value goes to the drive right after it is edited and is read back immediately — you can see whether the controller accepted it or kept the old one.

Flags, bit by bit

Register 0x0000 is broken down into bits: run enable, CAN control, direction, speed step, fault reset.

Monitoring

Voltage, current, frequency, temperature and motor speed are polled continuously, next to the bit map of status, faults and digital I/O.

Acceleration profiles

Five speeds, an S-curve trapezoid, acceleration and jerk on a single chart. Setpoint and ramp time are changed with the mouse.

Start from a laptop

Speed 1…7, direction, a run for five seconds or until Stop. Live q-axis current and speed are drawn on screen.

02 / Interface

Screens

Speeds tab: acceleration profile, acceleration and jerk
Speeds tab: acceleration profile, acceleration and jerk
Speeds

The whole acceleration profile

Five speeds — levelling, correction, inspection, shaft learning and maximum. The chart follows the firmware logic: a trapezoid with S-curves, T1 = T3 = 0.33 and T2 = 0.34 of the ramp time, acceleration capped at 5 m/s².

  • The blue handle moves sideways for ramp time and up or down for the setpoint
  • Acceleration and jerk are drawn over speed; the ramp distance in metres sits below
  • Speed is entered in m/s and sent to the drive in percent of rated, as the protocol requires
Control tab: q-axis current and speed during a start
Control tab: q-axis current and speed during a start
Control

Starting the drive from a laptop

Pick a speed and a direction, then use Run, Run for 5 seconds or Stop. The program builds the flag word itself: run enable, CAN control, direction with the inversion parameter applied, speed step.

A real start also needs the hardware EN input (X1) — the firmware checks its state.

Controllers tab: speed and current loops
Controllers tab: speed and current loops
Controllers

PI gains on a single diagram

Speed and current loops, low- and high-speed gains, the switching threshold and the pre-start position hold — laid out in signal order. Values are read from the drive and written back with one button.

03 / Diagnostics

Monitoring and diagnostics

The tab polls the output parameters in a loop and shows them next to the bit map. Green means the bit is set (for faults that is the normal state), red means an active fault, grey means no signal. The exchange log records every frame with a timestamp, so you can see what goes onto the bus and what comes back.

Bit map: status 0xF000, faults 0xF001, I/O 0xF00A
Bit map: status 0xF000, faults 0xF001, I/O 0xF00A