HEIDENHAIN iTNC 530 Nodes
Read an iTNC 530 control's run state, programs and overrides from a pipeline.
- Operations
- Read Tag · Read Status
- Requests
- One per tag, four per status
- Writes
- None: the connector is read only
Use HEIDENHAIN iTNC 530 controls in pipelines. Each function authored on an iTNC 530 connection is available as a matching node in the Pipeline Designer: HEIDENHAIN iTNC 530 Read Tag and HEIDENHAIN iTNC 530 Read Status.
For connection setup and the tags, see the HEIDENHAIN iTNC 530 connection guide.
A control does not send data on its own, so there is no trigger node: to poll one, drive the reads from a Schedule trigger.
Configuration Quick Reference
| Field | What you choose | Details |
|---|---|---|
| Parameters | Connection, Function, Function Parameters, Timeout Override | Select the iTNC 530 connection, pick a function, bind parameters with expression support, and optionally override the timeout. |
| Settings | Description, Timeout (seconds), Retry on Timeout, Retry on Fail, On Error | Node description, maximum execution time, retry behaviour and error strategy. All execution settings default to pipeline-level values. |
Every node shares the same Parameters: Connection (the iTNC 530 connection profile), Function (a function of the node's type on that connection), Function Parameters and an optional Timeout Override in seconds. Neither function takes a ((parameter)): the tag is chosen when the function is saved.
The call's own facts ride along under _metadata next to the four every connected node carries. Every iTNC 530 node delivers _metadata.method (the operation that ran, e.g. heidenhain530.read.tag), _metadata.connectionId (the connection it ran over) and _metadata.protocol (heidenhain530).


Read Tag node
HEIDENHAIN iTNC 530 Read Tag Node
Supported Function Types:
| Node | Function | Purpose | Common Use Cases |
|---|---|---|---|
HEIDENHAIN iTNC 530 Read Tag (connected.heidenhain530.read.tag) | heidenhain530.read.tag | Read one run-state value of the control | Whether a program runs, the feed override, the current block |
The node reads the tag the function names, with one LSV2 request. See Tags.
Output Structure
{
"result": {
"tag": "running",
"value": true,
"quality": "good"
}
}
| Key | Meaning |
|---|---|
result.tag | The tag read |
result.value | The value: true/false for running; a whole number for executionMode, programStatus and programBlock; text for the two names and the two programs; a percent number for the overrides |
result.quality | good. A value the control did not give fails the node instead of storing one, so a value that reached the result is the control's own |
Read a value with $node["Spindle Override"].result.value.


Read Status node
HEIDENHAIN iTNC 530 Read Status Node
Supported Function Types:
| Node | Function | Purpose | Common Use Cases |
|---|---|---|---|
HEIDENHAIN iTNC 530 Read Status (connected.heidenhain530.read.status) | heidenhain530.read.status | Read every run-state value of the control in four requests | A machine-status tile, mode, program and overrides recorded together |
The node reads all eleven tags and returns each by its name. The control answers four kinds of run information, and each is asked for once: the mode, the program state (which also gives running), the programs with the block number, and the three overrides. A tag the control does not give is reported by name without failing the others; the node fails only when the link fails or the control refuses a request. See Read Status.
Output Structure
When every tag was read:
{
"result": {
"count": 11,
"values": {
"executionMode": 4,
"executionModeName": "AUTOMATIC",
"programStatus": 0,
"programStatusName": "STARTED",
"running": true,
"programBlock": 42,
"mainProgram": "TNC:\\NC_PROG\\PART1.H",
"currentProgram": "TNC:\\NC_PROG\\SUB.H",
"feedOverride": 100,
"spindleOverride": 80,
"rapidOverride": 50
},
"quality": "good",
"totalTags": 11,
"totalReads": 4
}
}
When a tag was not read, it is missing from values, its reason is in errors under its name, and quality is bad. A program state of 8 (undefined) is the usual case: it gives running no value.
{
"result": {
"count": 10,
"values": { "programStatus": 8, "programStatusName": "UNDEFINED", "feedOverride": 100 },
"errors": {
"running": "lsv2: running has no value: the control reports the program state as undefined (8)"
},
"quality": "bad",
"totalTags": 11,
"totalReads": 4
}
}
| Key | Meaning |
|---|---|
result.values | Every tag that was read, by its name |
result.errors | The reason for each tag that was not read, by its name. Present only when a tag was not read |
result.count | How many tags were read |
result.totalTags | How many tags a status has: eleven |
result.totalReads | How many requests were sent: one per kind of run information, four |
result.quality | good when every tag was read, bad when one was not |
Read a tag with $node["Mill Status"].result.values.feedOverride. Check $node["Mill Status"].result.errors before relying on every tag being present.
Errors
| Error | Meaning | Retried by the node settings? |
|---|---|---|
tag must be one of [executionMode … rapidOverride], got … | Shown when the function is saved: it names no tag of this connector, so it is not saved | No |
the control refused … with T_ER, error type N, code M | The control refused the request, with its code (and pyLSV2's name for it when known). The connection is opened again | Yes |
running has no value | The program state is 8 (undefined) | Yes |
no answer from the control, or the connection closed after the request was sent | The request was sent and its answer did not come; the connection is opened again | Yes |
the control's data cannot be read | The answer arrived whole, but not in the layout of its kind | Yes |
not connected | The connection is down | Yes |
The full list, with what to change for each, is in the guide's Troubleshooting.
Settings Tab
All iTNC 530 node types share the same Settings tab:
| Setting | Type | Default | Description |
|---|---|---|---|
| Description | Text | - | Optional description displayed on the node |
| Timeout (seconds) | Number | Pipeline default | Maximum time the node may run before timing out |
| Retry on Timeout | Toggle | Pipeline default | Automatically retry the node if it times out |
| Retry on Fail | Toggle | Pipeline default | Automatically retry the node if it fails. Every iTNC 530 node is a read, so running it again changes nothing on the control |
| On Error | Selection | Pipeline default | Error strategy: Pipeline Default (the pipeline's Error Handling setting), Stop Pipeline or Continue Execution |
When left at their defaults, these settings inherit from the pipeline-level execution configuration. The retry settings do not retry a request refused before it was sent, such as an unknown tag (see Errors).
Use the Test button in the function form (on the connection page) to run every iTNC 530 function against the control before wiring it into a pipeline.