Skip to main content

Allen-Bradley DF1 Master

Purpose

This plugin reads and writes Allen-Bradley PLC file-table addresses through DF1. It is named Df1Master in the device selector.

See Collection Configuration for common channel, device, variable, and data-format settings. This page covers only DF1 nodes, checksum, addresses, and debug.

Open the plugin

Open Development Configuration → Collection Configuration, create a serial, TCP client, or TCP server channel matching the field link, then create a device using Df1Master.

Supported scope

ItemDescription
ChannelsSerial, TCP client, and TCP server.
Data typesBoolean, Byte, common signed/unsigned integers, Float, Double, String, and Decimal.
Data length1 to 236 bytes per operation.

Plugin properties

SettingDefaultDescription
Link station0Station used on the DF1 link.
Destination node0PLC destination node address.
Source node0Source node used by gateway requests.
Trailing checksumCRC16Select CRC16 or BCC to match the PLC.
Maximum batch length236Maximum bytes combined in one operation; lower it when required by the device.

Address rules

ExampleAreaDescription
N7:0Integer fileElement 0 in file 7.
B3:0Bit fileRead as a word or selected bit.
F8:0Float fileFloating-point element.
ST9:0String fileString element.
N7:0/3 or N7:0.3One bitReads or writes bit 3 with Boolean selected.

Configure the link station, destination node, and source node in the device properties, not in the variable address.

Special methods

This plugin has no additional special methods. Variables use DF1 file-table addresses directly.

Functions

FunctionPurpose
Read and writeRead a confirmed point and write only to an approved test point.
MessagesView sent and received frames, protocol fields, and error details.

Device debug

Open Development Configuration → Collection Configuration, select the DF1 device, and click More Functions, then open Debug.

FeaturePurpose
Read/WriteReads one DF1 file-table address or performs an approved write.
MessagesShows DF1 requests, responses, and checksum results.

Read/Write

Enter a file-table address, data type, and array length. Read a known point first and write only after site approval.

DF1 read and write debug

Messages

Start message capture to verify the station, source/destination nodes, requests, responses, and checksum.

DF1 message debug

Verify the configuration

  1. Read one known file-table element and verify the address, nodes, and value.
  2. Confirm the request, response, and checksum under Messages.
  3. Write only an approved test element and read it back as required by the site.

Troubleshooting

SymptomCheck
Device does not respondChannel, serial settings, link station, source node, and destination node.
Checksum failsCRC16/BCC selection and PLC DF1 settings.
Address read failsFile type, file number, element number, and bit suffix.
Write failsData length no greater than 236 bytes, variable permission, and PLC write protection.