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 ServerNot listed
DNCOption 18 (TNC 320)
ToolsOPC Router plug-in, StateMonitor, pyLSV2

Connection paths

LSV-2Alternative

Licences and options

ItemOption / part numberPaid?Note
HEIDENHAIN DNCOption 18Paid

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

  1. 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.
  2. Allow external accessEnable external access (MOD > External access / CfgAccessCtrl). On iTNC 530, REMOTE.PERMISSION in TNC:\TNC.SYS controls it.
  3. 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).
  4. Install the clientDNC clients use HEIDENHAIN's RemoTools SDK (Windows COM), so the collector runs on Windows.

Connectors that support this control

ProductVendorTypeOutputs
OPC Router + HEIDENHAIN plug-ininrayMiddlewareOPC UA, MQTT, REST, SQL, SAP
StateMonitorHEIDENHAINControl or machine makerERP/MES job interface
pyLSV2Open source (MIT)Open sourcePython

CNC connector directory →

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.

  1. HEIDENHAIN — TNC options and accessories brochure
  2. OPC Router — HEIDENHAIN plug-in
  3. 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.

CNC Connectivity Field Kit
Take the Field Kit to site
Every controller on one spreadsheet, with ports, licences, commissioning checklists and a firewall request template. Free with an engineer account.
Get the Field Kit →