Controller · HEIDENHAIN
Connect HEIDENHAIN TNC 320 and TNC 128
HEIDENHAIN's options brochure lists the OPC UA NC Server for TNC 620/640/TNC7 but not for TNC 320; TNC 128 is not listed either. Both are reachable through HEIDENHAIN DNC (option 18, available on TNC 320) and DNC tools such as the OPC Router plug-in.
At a glance
| OPC UA NC Server | Not listed |
|---|---|
| DNC | Option 18 (TNC 320) |
| Tools | OPC Router plug-in, StateMonitor, pyLSV2 |
Connection paths
HEIDENHAIN DNCRecommended
Option 18.
LSV-2Alternative
Licences and options
| Item | Option / part number | Paid? | Note |
|---|---|---|---|
| HEIDENHAIN DNC | Option 18 | Paid |
Software versions
- OPC Router plug-in: TNC 128 771841-01; TNC 320 340551-03 / 771851-01 (DNC 1.5.1)
Data you can read
- ExecutionMode: MANUAL, MDI, RPF, SINGLESTEP, AUTOMATIC, HANDWHEEL
- ProgramStatus: IDLE, RUNNING, STOPPED, INTERRUPTED, FINISHED, ERROR, NOT_SELECTED
- Program name, run time, overrides, errors, tool status
- Tool and pocket tables, file system, PLC data (depending on the client)
Setting it up
- Check option 18HEIDENHAIN DNC (option 18, SIK2 3-03-1) is required on TNC 640 and later; integrator documentation says it is not required on iTNC 530. Check with MOD and the SIK menu.
- Allow external accessEnable external access (MOD > External access / CfgAccessCtrl). On iTNC 530, REMOTE.PERMISSION in TNC:\TNC.SYS controls it.
- Open the portsiTNC 530 / TNC 426: TCP 19000. TNC 640: TCP 19003 to the control and 19010 to 19015 back to the client agent (Cybus guidance).
- Install the clientDNC clients use HEIDENHAIN's RemoTools SDK (Windows COM), so the collector runs on Windows.
Connectors that support this control
| Product | Vendor | Type | Outputs |
|---|---|---|---|
| OPC Router + HEIDENHAIN plug-in | inray | Middleware | OPC UA, MQTT, REST, SQL, SAP |
| StateMonitor | HEIDENHAIN | Control or machine maker | ERP/MES job interface |
| pyLSV2 | Open source (MIT) | Open source | Python |
Not published by the vendor. We could not find these in vendor documentation. Ask the control or machine maker before you rely on them.
- DNC port for TNC 320/128 on vendor pages
Sources
Facts on this page come from these documents, opened on 27 October 2026.
- HEIDENHAIN — TNC options and accessories brochure
- OPC Router — HEIDENHAIN plug-in
- pyLSV2 — protocol notes
Last verified 27 October 2026 against vendor documentation. OPC UA Connect is an educational resource published by TEEPTRAK; it is not affiliated with the OPC Foundation, the MTConnect Institute or any control maker.