MTConnect.NET-AgentModule-TormachAdapter
7.2.0.105
dotnet add package MTConnect.NET-AgentModule-TormachAdapter --version 7.2.0.105
NuGet\Install-Package MTConnect.NET-AgentModule-TormachAdapter -Version 7.2.0.105
<PackageReference Include="MTConnect.NET-AgentModule-TormachAdapter" Version="7.2.0.105" />
<PackageVersion Include="MTConnect.NET-AgentModule-TormachAdapter" Version="7.2.0.105" />
<PackageReference Include="MTConnect.NET-AgentModule-TormachAdapter" />
paket add MTConnect.NET-AgentModule-TormachAdapter --version 7.2.0.105
#r "nuget: MTConnect.NET-AgentModule-TormachAdapter, 7.2.0.105"
#:package MTConnect.NET-AgentModule-TormachAdapter@7.2.0.105
#addin nuget:?package=MTConnect.NET-AgentModule-TormachAdapter&version=7.2.0.105
#tool nuget:?package=MTConnect.NET-AgentModule-TormachAdapter&version=7.2.0.105

MTConnect Tormach Adapter Agent Module
This Agent Module reads data from Tormach CNC machines running PathPilot. PathPilot is based on LinuxCNC and does not provide a network interface for machine data, so the included PathPilot status server (pathpilot/pathpilot_status_server.py) runs on the controller, reads the machine status using the LinuxCNC Python API, and sends it to this module over TCP.
The status server only reads status. It never sends commands to the machine.
PathPilot Status Server
Install
- Copy
pathpilot_status_server.py(included in thepathpilotfolder next to the Agent) to the PathPilot controller, for example using the controller's network file share or a USB drive. - Start it on the controller (it uses only Python and the
linuxcncmodule included with PathPilot):python pathpilot_status_server.py - Make sure the controller's network connection used for the Agent (not the machine control Ethernet port) allows TCP connections on the server port (default
7890).
To start the server automatically, add it to the controller's startup applications. It waits for PathPilot (LinuxCNC) and reports UNAVAILABLE while PathPilot is not running.
PathPilot updates may remove files and startup entries added to the controller. Check the status server is running after updating PathPilot.
Options
--port- The TCP port to listen on. Default is7890.--bind- The address to listen on. Default is all addresses.--interval- The interval (in milliseconds) between status messages. Default is500.
Configuration
modules:
- tormach-adapter:
deviceKey: PCNC1100
server: 192.168.1.80
port: 7890
deviceKey- The UUID or Name of the Device that observations are added to.createDevice- Whentrue(default), the module adds a Device nameddeviceKeyand updates it with the machine name and axes configured in PathPilot. Set tofalseto use a Device defined in a Devices file instead.deviceUuid- The UUID of the Device created whencreateDeviceistrue. Defaults todeviceKey.server- The IP address or hostname of the PathPilot controller.port- The port of the PathPilot status server. Default is7890.readInterval- The interval (in milliseconds) between processing the status received. Default is500.connectionTimeout- The maximum time (in milliseconds) to wait for the connection to open. Default is5000.dataTimeout- The time (in milliseconds) without receiving data after which the connection is considered lost and reopened. Default is5000.workPositions- Whentrue, work coordinate positions are reported in addition to machine positions. Default isfalse.
DataItems
If you use your own Device (createDevice: false), it needs DataItems whose id or name match the keys below.
| Key | DataItem | Source (linuxcnc.stat) |
|---|---|---|
avail |
AVAILABILITY | AVAILABLE while PathPilot is running and the status server is connected |
estop |
EMERGENCY_STOP | estop |
mode |
CONTROLLER_MODE | task_mode (AUTO = AUTOMATIC, MDI = MANUAL_DATA_INPUT, MANUAL = MANUAL) |
execution |
EXECUTION | interp_state (IDLE = READY, READING / WAITING = ACTIVE, PAUSED = FEED_HOLD; STOPPED in emergency stop or with the machine off) |
program |
PROGRAM | file (file name) |
line |
LINE_NUMBER (ABSOLUTE) | current_line |
tool |
TOOL_NUMBER | tool_in_spindle |
workOffset |
WORK_OFFSET | g5x_index (ex. 54, 59.1) |
optionalStop |
CONTROLLER_MODE_OVERRIDE (OPTIONAL_STOP) | optional_stop |
feedrate |
PATH_FEEDRATE (ACTUAL) | current_vel (mm/s) |
feedOverride |
PATH_FEEDRATE_OVERRIDE (PROGRAMMED) | feedrate (%) |
rapidOverride |
PATH_FEEDRATE_OVERRIDE (RAPID) | rapidrate (%) |
speed |
ROTARY_VELOCITY (COMMANDED) | spindle speed (RPM, 0 when the spindle is off) |
spindleOverride |
ROTARY_VELOCITY_OVERRIDE | spindle override (%) |
{axis}_act |
POSITION / ANGLE (ACTUAL) | actual_position (machine position, mm or degrees) |
{axis}_work |
POSITION / ANGLE (ACTUAL) | actual_position minus the work, G92 and tool offsets (workPositions: true), referencing the Device's work coordinate system |
Axes are read from the PathPilot configuration ([TRAJ] COORDINATES, ex. X Y Z A). Positions in inch machine units are converted to millimeters.
Notes
- The spindle speed is the commanded speed; LinuxCNC does not report the measured spindle speed.
- Alarms and part counts are not reported: PathPilot errors are only available on the LinuxCNC error channel (reading it would take them away from PathPilot), and PathPilot's part counter is not part of the LinuxCNC status.
- Work positions do not include rotation of the work coordinate system (G10 L2 R).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- MTConnect.NET-Common (>= 7.2.0.105)
-
.NETFramework 4.6.2
- MTConnect.NET-Common (>= 7.2.0.105)
-
.NETFramework 4.7
- MTConnect.NET-Common (>= 7.2.0.105)
-
.NETFramework 4.7.1
- MTConnect.NET-Common (>= 7.2.0.105)
-
.NETFramework 4.7.2
- MTConnect.NET-Common (>= 7.2.0.105)
-
.NETFramework 4.8
- MTConnect.NET-Common (>= 7.2.0.105)
-
.NETStandard 2.0
- MTConnect.NET-Common (>= 7.2.0.105)
-
net10.0
- MTConnect.NET-Common (>= 7.2.0.105)
-
net6.0
- MTConnect.NET-Common (>= 7.2.0.105)
-
net7.0
- MTConnect.NET-Common (>= 7.2.0.105)
-
net8.0
- MTConnect.NET-Common (>= 7.2.0.105)
-
net9.0
- MTConnect.NET-Common (>= 7.2.0.105)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MTConnect.NET-AgentModule-TormachAdapter:
| Package | Downloads |
|---|---|
|
MTConnect.NET-Applications-Agents
MTConnect.NET-Applications-Agents contains classes to fully implement an MTConnect Agent application. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.2.0.105 | 131 | 11/21/2026 |
| 7.2.0.105-prerelease | 121 | 11/21/2026 |
| 7.2.0.103-prerelease | 128 | 11/20/2026 |