Skip to main content
Version: 3.2

Brother Speedio Nodes

Read a Brother Speedio machine's state, program, mode, operation folder and PLC devices from a pipeline, and write its PLC devices.

Operations
Read Device · Read Block · Write Device
Requests
One per PLC device, one for the status file
Writes
Y, M, LM, D, LD; never buffered

Use Brother Speedio machines in pipelines. Each function authored on a Brother Speedio connection is available as a matching node in the Pipeline Designer: Brother Speedio Read Device, Brother Speedio Read Block and Brother Speedio Write Device.

For connection setup, the PLC areas and the CNC signals, see the Brother Speedio connection guide.

A Brother machine 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​

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the Brother Speedio connection, pick a function, bind parameters with expression support, and optionally override the timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode 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 Brother Speedio connection profile), Function (a function of the node's type on that connection), Function Parameters (auto-populated from the function schema, with expression syntax {{ expression }} for dynamic values) and an optional Timeout Override in seconds. Each node receives the output of the previous node as input, which function parameter expressions can reference as $input.

The call's own facts ride along under _metadata next to the four every connected node carries. Every Brother Speedio node delivers _metadata.method (the operation that ran, e.g. brotherspeedio.read.device), _metadata.connectionId (the connection it ran over) and _metadata.protocol (brotherspeedio).


Brother Speedio Read Device nodeBrother Speedio Read Device node

Read Device node

Brother Speedio Read Device Node​

Supported Function Types:

NodeFunctionPurposeCommon Use Cases
Brother Speedio Read Device (connected.brotherspeedio.read.device)brotherspeedio.read.deviceRead one PLC device or CNC signal of the machineThe running program on a schedule, the operation folder, a PLC register

The node reads the device or signal the function names. The address decides the value's type: a PLC bit is true or false, a PLC word a number from -32768 to 32767, OPERATIONFOLDER is text, and every other signal a number. See Read Device and Addresses.

Output Structure​

{
"result": {
"device": "PROGRAMNUMBER",
"value": 1234,
"quality": "good"
}
}
KeyMeaning
result.deviceThe device or signal read, upper-cased: y1f comes back as Y1F
result.valueThe value: true/false for a PLC bit, text for OPERATIONFOLDER, a number for a PLC word and for every other signal
result.qualitygood. A value the machine did not give fails the node instead of storing one, so a value that reached the result is the machine's own

Read a value with $node["Read Program"].result.value.


Brother Speedio Read Block nodeBrother Speedio Read Block node

Read Block node

Brother Speedio Read Block Node​

Supported Function Types:

NodeFunctionPurposeCommon Use Cases
Brother Speedio Read Block (connected.brotherspeedio.read.block)brotherspeedio.read.blockRead many named PLC devices and CNC signals in the fewest requestsA machine's state, program, folder and PLC registers in one node

The node reads every point of the function and returns each value by its name. The machine's status file (MEM) is read once however many of its signals are listed, and each PLC device takes one request. A point the machine does not give is reported by name without failing the others; the node fails only when the link fails. See Read Block.

Output Structure​

When every point was read:

{
"result": {
"count": 3,
"values": { "State": 1, "Program": 1234, "Setpoint": 250 },
"quality": "good",
"totalDataPoints": 3,
"totalReads": 2
}
}

Here State (EXECUTIONSTATE) and Program share one read of the MEM file, and Setpoint (D100) takes a request of its own.

When a point was not read, it is missing from values, its reason is in errors under its name, and quality is bad:

{
"result": {
"count": 2,
"values": { "State": 1, "Program": 1234 },
"errors": {
"Spare": "brother: the machine answered \"%CREDPLCDD 0101 \" with completion code 01 (00 is success; what other codes mean is not documented)"
},
"quality": "bad",
"totalDataPoints": 3,
"totalReads": 2
}
}
KeyMeaning
result.valuesEvery point that was read, by its name
result.errorsThe reason for each point that was not read, by its name. Present only when a point was not read
result.countHow many points were read
result.totalDataPointsHow many points were requested
result.totalReadsHow many requests were sent: one per PLC device and one for the status file
result.qualitygood when every point was read, bad when one was not

Read a point with $node["Machine Status"].result.values.Program. Check $node["Machine Status"].result.errors before relying on every point being present.


Brother Speedio Write Device nodeBrother Speedio Write Device node

Write Device node

Brother Speedio Write Device Node​

Supported Function Types:

NodeFunctionPurposeCommon Use Cases
Brother Speedio Write Device (connected.brotherspeedio.write.device)brotherspeedio.write.deviceWrite one value to a PLC device of the machineA setpoint register, a request relay the ladder program reads

The node writes one value to one PLC device in one request: a bit of Y, M or LM, or a signed 16-bit word of D or LD. X, BX, BY, BDX, BDY and every CNC signal are read only. See Write Device.

A write happens when the node runs, or not at all

A write is never buffered for later delivery, and it is refused in a run started by a late (replayed) input unless the node allows late input. A value that does not fit its device, or a read-only device, fails the node before anything is sent to the machine.

Output Structure​

{
"result": {
"device": "D100",
"value": "250"
}
}
KeyMeaning
result.deviceThe device written, upper-cased
result.valueThe value as given, after parameter substitution
Retry on Fail and relays the ladder program clears

A write whose answer did not come is reported as outcome unknown, because it may have reached the machine. Writing a value again leaves the device as one write did, so the write is declared safe to repeat, and the node's Retry on Fail and Retry on Timeout send it again (see A write whose outcome is unknown is sent again only when that is safe). For a relay the ladder program sets a sequence going with and then clears, a second write can start the sequence twice: turn Retry on Fail and Retry on Timeout off on that node.

Safety First

Always validate values in a Condition node before writing to a machine's PLC. Its ladder program acts on the new value at once.


Errors​

ErrorMeaningRetried by the node settings?
A refusal before anything is sent (an address that is no address, a device past its area, a write to a read-only device or a CNC signal, a value that does not fit)MaestroHub refused the request; nothing reached the machineNo
the machine's MEM file has no A01 recordThe machine answered its status file without the status recordNo
the machine answered … with completion code NNThe machine answered with a code other than 00; what it means is not documentedYes
no answer from the machine, or the connection closed after the request was sentThe request was sent and its answer did not come; the connection is opened again. A read is transient; a write's outcome is unknown, because it may have reached the machineA read: yes. A write: yes, as outcome unknown; it is safe to repeat
the machine's data cannot be readThe machine answered with data of the wrong shape. For a write, an acknowledgement that carries data: whether the value was written is not knownA read: yes. A write: yes, as outcome unknown; it is safe to repeat
not connectedThe connection is downYes

The full list, with what to change for each, is in the guide's Troubleshooting.


Settings Tab​

All Brother Speedio node types share the same Settings tab:

SettingTypeDefaultDescription
DescriptionText-Optional description displayed on the node
Timeout (seconds)NumberPipeline defaultMaximum time the node may run before timing out
Retry on TimeoutTogglePipeline defaultAutomatically retry the node if it times out
Retry on FailTogglePipeline defaultAutomatically retry the node if it fails
On ErrorSelectionPipeline defaultError 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 (see Errors).

Test before wiring

Use the Test button in the function form (on the connection page) to run every Brother Speedio function against the machine before wiring it into a pipeline. It is the fastest way to catch a PLC device the machine refuses.