www.xonelectronics.it
This program makes it possible to interact with Ministep in order to do tests, with different parameters, and save them before using Ministep with the Step/Direction signals (it is optional to save, parameters can always be modified via RS485).
The Lazarus (Free Pascal) source can be downloaded to analyze the program and see how easy is, using PascalSCADA, to interact with industrial devices using the Modbus protocol.
Download
- Ministep - Control Panel - Lazarus source (zip file, ~34Kib)
The program contains code, to select one of the available COM ports, which is based on windows, so it is not compatible with non-windows platforms. The rest is pure freepascal (and LCL), so it is compatible with any platform supported by Lazarus.
- Ministep - Control Panel - Windows binary (zip file, ~1Mib)
This executable is a 32 bits windows application, and runs on any version (from 2000 and later).
The compressed archive contains the program and a subdirectory with pictures; please extract the archive in any chosen folder. The program does not have external dependencies.
Using the source
The program is based on PascalSCADA 0.7.3, with some modifications. Install PascalSCADA (Instructions), and proceed to make the simple modifications (one is optional).Modification #1 - Communication statistics in TTag
The source program contains a line which calls pbOuts.ResetStatsCounters;. If this modification is not present, compilation stops at line 304 of msscadau.pas (project main unit). It is possible to simply delete this call pbOuts.ResetStatsCounters; (deleting the whole line); otherwise, implement the function by editing the file tag.pas and adding the following public method:procedure TTag.ResetStatsCounters; begin PCommReadErrors := 0; PCommReadOK := 0; PCommWriteErrors := 0; PCommWriteOk := 0; end;