Allen-Bradley - Programmable Controller Communication Commands (PCCC)

PCCC parameters follow these URL schemas:

pccc://<IP>/<FileType><FileNumber>:<ElementNumber>
pccc://<IP>/<FileType><FileNumber>:<ElementNumber>.<SubElement>
pccc://<IP>/<FileType><FileNumber>:<ElementNumber>.<SubElement>/<bit>
pccc://<IP>/<FileType><FileNumber>:<ElementNumber>/<bit>

IP

IPv4 IP address of the PCCC device, you are trying to connect to. This must be on the same network as the LAN side of the INDAQ interface.

File Type

File Type NameFile Type IdDefault File NumberDescription
OutputO0Output file type.
InputI1Input file type.
StatusS2Status file type.
BinaryB3Binary file type.
TimerT4Timer file type.
CounterC5Counter file type.
IntegerN7Integer file type.
FloatF8Floating point file type.

File Number

The file number of the tag you are trying to read. This value is usually the default value for the file type above.

Element Number

Which element to read from the file provided.

Sub Element (Optional)

Within the element, which sub element to read from.

Only valid for the following File Types:

  • Output
  • Input

Bit (Optional)

Only selects the request bit when reading the value.

Only valid for the following File Types:

  • Output
  • Input
  • Status
  • Binary
  • Integer

Field

When using the Timer/Counter file types, you must also specify which field to read from.

Field NameField IdFile TypesValue TypeDescription
DoneDNTimer, CounterbitThe done bit of the timer/counter.
TimingTTTimerbitThe timing bit of the timer.
EnabledENTimerbitThe enabled bit of the timer.
Count UpCUCounterbitThe count up bit of the counter.
Count DownCDCounterbitThe count down bit of the counter.
OverflowOVCounterbitThe overflow bit of the counter.
UnderflowUNCounterbit-
Update AccumulatorUACounterbit-
PresetPRETimer, Counter16-bit integerThe preset value of the timer/counter.
AccumulatorACCTimer, Counter16-bit integerThe accumulated value of the timer/counter.

Was this page helpful?