A PyQt5-based GUI for controlling and monitoring a Markham M-Tec P20V mortar pump, with a Toshiba VF-S15 inverter connected to an industrial motor system via RS485 (ASCII protocol).
- Pump: Markham M-Tec P20V
- Inverter: Toshiba VF-S15 (ASCII protocol over RS485)
- Motor: VEM Motors GmbH, Model: K21R 132 M 4, 4-pole, 4.0 kW, 3-phase, 230/400 V
- Gear Reducer: STM Riduttori (Italy), Type: RG075, Gear Ratio: 10.07:1
- Connection: USB-to-RS485 adapter (19200 baud, Even parity)
| Signal | Source Code Tag | Description |
|---|---|---|
| Output Frequency | RFD00 |
Displayed in Hz (scaled by 0.01) |
| Output Current | RFD03 |
Scaled by inverter-rated current from RFE70 (percent Γ rated A) |
| Output Voltage | RFD05 |
Scaled by inverter-rated voltage from RFE71 (percent Γ rated V) |
| Motor RPM | β | Calculated as RPM = (Freq Γ 120) / 4 |
| Shaft RPM | β | Calculated as Motor RPM / 10.07 |
- Set frequency or RPM
- Start/Stop motor
- Forward/Reverse run toggle
- RS485/manual toggle
- Emergency Stop & Reset
- Real-time monitoring (100 ms interval)
- Logging to CSV (with timestamp and ms precision)
.
βββ Pump_Control_v1.py
βββ requirements.txt
βββ logs/
βββ doc/
βββ S15_RS485_Communication_Manual.pdf
βββ Toshiba VFS15 User Manual.pdf
git clone https://github.com/YOUR_USERNAME/toshiba-vfs15-gui.git
cd toshiba-vfs15-gui
pip install -r requirements.txt
This project requires Python 3.10+
python3 Pump_Control_v1.py- Ensure the inverter is connected via
/dev/ttyUSB0 - Modify the serial port in code if using a different device (e.g.,
/dev/ttyUSB1orCOM3on Windows)
## π Logs
CSV log files are saved to the `logs/` directory and include:
- Timestamp
- Frequency (Hz)
- Current (A)
- Voltage (V)
- Motor RPM
- Shaft RPM