Skip to main content
Version: 3.2

Allen-Bradley PCCC Nodes

Read and write integers, bits, floats, longs, strings, timers, counters and status words on SLC 500, MicroLogix and PLC-5 controllers from a pipeline.

Operations
Read Address · Read Block · Write Address
Limits
188 bytes per request: 94 words, 47 floats or longs
Writes
Bits by masked write; never buffered

Use Allen-Bradley SLC 500, MicroLogix and PLC-5 controllers in pipelines. Each function authored on an Allen-Bradley PCCC connection is available as a matching node in the Pipeline Designer: Allen-Bradley PCCC Read Address, Allen-Bradley PCCC Read Block and Allen-Bradley PCCC Write Address.

For connection setup (EtherNet/IP and the DF1 serial line), the address forms and what each one returns, see the Allen-Bradley PCCC connection guide.

These controllers do not send data on their 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 Allen-Bradley PCCC 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 Allen-Bradley PCCC 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 Allen-Bradley PCCC node delivers _metadata.method (the operation that ran, e.g. pccc.read), _metadata.connectionId (the connection it ran over) and _metadata.protocol (pccc).


Allen-Bradley PCCC Read Address nodeAllen-Bradley PCCC Read Address node

Read Address node

Allen-Bradley PCCC Read Address Node​

Supported Function Types:

NodeFunctionPurposeCommon Use Cases
Allen-Bradley PCCC Read Address (connected.pccc.read)pccc.readRead one value, or a run of consecutive values, from a data-file addressA production count on a schedule, a timer's accumulated value, an alarm bit

The node reads the address the function names, or Count consecutive values. The file letter of the address fixes the data type. See Read Address for the parameters and Addresses for what each address returns.

Output Structure​

{
"result": {
"address": "N7:0",
"fileType": "integer",
"value": 1234,
"quality": "good"
}
}

With Count more than 1, value is a list. A whole timer, counter or control element is one object with its two words and its status bits:

{
"result": {
"address": "T4:0",
"fileType": "timer",
"value": { "PRE": 100, "ACC": 5, "EN": true, "TT": true, "DN": false },
"quality": "good"
}
}
KeyMeaning
result.addressThe address read, in one standard form: b3/21 comes back as B3:1/5, S:1/5 as S2:1/5
result.fileTypeThe kind of data file: status, bit, timer, counter, control, integer, float, string, ascii or long
result.valueThe value: a number, true/false for a bit, text for a string or ASCII element, or an object for a whole timer (PRE, ACC, EN, TT, DN), counter (PRE, ACC, CU, CD, DN, OV, UN, UA) or control element (LEN, POS, EN, EU, DN, EM, ER, UL, IN, FD). A list of values when Count is more than 1
result.qualitygood. A refusal by the controller fails the node instead of storing a value, so a value that reached the result is the controller's own reading

Read a value with $node["Read Count"].result.value, and a part of a whole timer with $node["Read Timer"].result.value.ACC.


Allen-Bradley PCCC Read Block nodeAllen-Bradley PCCC Read Block node

Read Block node

Allen-Bradley PCCC Read Block Node​

Supported Function Types:

NodeFunctionPurposeCommon Use Cases
Allen-Bradley PCCC Read Block (connected.pccc.read.block)pccc.read.blockRead many named addresses in the fewest requestsA machine's counts, setpoints and alarm bits in one node

The node reads every point of the function and returns each value by its name. Points in the same data file are read in one request, with the elements between them, when they fit. A point the controller refuses is reported by name without failing the others; the node fails only when the link fails. See Read Block for the parameters.

Output Structure​

When every point was read:

{
"result": {
"count": 3,
"values": { "Count": 1234, "Scrap": 3, "Alarm": true },
"quality": "good",
"totalDataPoints": 3,
"totalReads": 2
}
}

Here Count (N7:0) and Scrap (N7:1) share one request and Alarm (B3:0/5) takes a second.

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": { "Count": 1234, "Alarm": true },
"errors": {
"Spare": "pccc: the PLC refused the request: the address does not point to something usable: the file or the element does not exist in the PLC, or the file is of another type than the address says (status 0xF0, extended status 0x06)"
},
"quality": "bad",
"totalDataPoints": 3,
"totalReads": 3
}
}
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 the points were merged into, including the requests that asked again point by point after a refusal
result.qualitygood when every point was read, bad when one was not

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


Allen-Bradley PCCC Write Address nodeAllen-Bradley PCCC Write Address node

Write Address node

Allen-Bradley PCCC Write Address Node​

Supported Function Types:

NodeFunctionPurposeCommon Use Cases
Allen-Bradley PCCC Write Address (connected.pccc.write)pccc.writeWrite one value, or a run of consecutive values, to a data-file addressSetpoints, recipes, a timer's preset, alarm acknowledgement bits

The node writes the function's value, or a list of values to consecutive elements in one request. A single bit is changed by the controller itself with a masked write, so bits the program changes in the same word are never overwritten. The status bits of timers, counters and control, and a bit of a long, cannot be written. See Write Address for the parameters and the write rules.

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 address fails the node before anything is sent to the controller.

Output Structure​

{
"result": {
"address": "N7:10",
"fileType": "integer",
"value": "72"
}
}
KeyMeaning
result.addressThe address written, in one standard form: b3:0/5 comes back as B3:0/5, T4:0.pre as T4:0.PRE
result.fileTypeThe kind of data file: status, bit, timer, counter, control, integer, float, string, ascii or long
result.valueThe value as given, after parameter substitution: "72", or the list "[120, 45, 3]"
Safety First

Always validate values in a Condition node before writing to a controller. A setpoint or a bit can move a motor, valve or actuator immediately.


Errors​

ErrorMeaningRetried by the node settings?
the PLC refused the request: … naming the address or the command (the file or element does not exist, the file is of another type, the file is shorter than the request needs, illegal command or format)The controller refused the request, with its own reason and status codesNo: the result is permanent
the PLC refused the request: the processor is in Program modeThe controller is in Program modeYes
A refusal before anything is sent (an address that is no address, a long on an SLC 500 or PLC-5, a value that does not fit, a status bit, a list too long for one request)MaestroHub refused the request; nothing reached the controllerNo
… (CIP status 0x08). A ControlLogix or CompactLogix is reached with the EtherNet/IP connector insteadThe device answers EtherNet/IP but is no PCCC processorNo
no answer from the device / no answer from the PLC on the serial lineThe request was sent and not answered in timeYes. A write sent again leaves the controller in the same state as one write of the same value
not connectedThe connection is downYes

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


Settings Tab​

All Allen-Bradley PCCC 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 the controller refused for its address or its command (see Errors).

Test before wiring

Use the Test button in the function form (on the connection page) to run every Allen-Bradley PCCC function against the live controller before wiring it into a pipeline. It is the fastest way to catch a wrong PLC family, an address the program does not have, or a file letter that does not match the file.