AutomationDirect Productivity Series Ethernet
Review the following information for setting up and configuring the AutomationDirect Productivity Series Ethernet driver. The driver connects to Productivity Series controllers over Ethernet and supports polled reads, writes, and tag browsing.
Tag browsing depends on a tag file that you export from the Productivity Suite programming software. Export the PLC tags as a CSV file and upload the file to the /ftp-data/devicehub/ folder on Litmus Edge (LE) before you browse tags.
Note: This driver is experimental. Some features may not work as expected.
Compatibility
Compatibility Parameter | Compatible Items |
|---|---|
Driver Type | Ethernet |
Validated Devices/Series | AutomationDirect P3-550 |
How to configure the PLC
To set up and configure this device in Litmus Edge, you will need to do the following:
- Step 1: Set up and configure the PLC device
- Step 2: Set up the PLC device in Litmus Edge DeviceHub
- Step 3: Configure the list of registers
Step 1: Set up and configure the PLC device
- If the device is configured for Ethernet access, find its network parameters. Otherwise, use the Productivity Suite programming software to configure the device for Ethernet access.
- Open the PLC project in the Productivity Suite programming software.
- Note down the IP Address and the port the controller uses for Ethernet communication.
- Export the PLC tags to a CSV file.
- Upload the exported CSV file to the /ftp-data/devicehub/ folder on Litmus Edge.
Step 2: Set up the PLC device in Litmus Edge DeviceHub
Configure the following parameters when you Connect a device with this driver. Update default values to the specific setup of your device.
Parameter | Value |
|---|---|
Type | AutomationDirect |
Driver | AutomationDirect Productivity Series Ethernet |
Network Address | The device address you noted in Step 1 |
Network Port | The port the controller uses for Ethernet communication |
PLC Tags Exported CSV | The name of the tag CSV file you exported from the Productivity Suite programming software and uploaded to /ftp-data/devicehub/ |
Step 3: Configure the list of registers
When you Add a Tag to the connected device, refer to the following register table and tag parameters. Refer to the following additional resources:
Register table
Name | Value Types | Access Types | Description |
|---|---|---|---|
AIF32 | float32 | R/O | Analog Inputs Float 32 |
AIS32 | int32 | R/O | Analog Inputs Signed 32 |
AOF32 | float32 | R/O | Analog Outputs Float 32 |
AOS32 | int32 | R/O | Analog Outputs Signed 32 |
DI | bool | R/O | Discrete Inputs |
DO | bool | R/O | Discrete Outputs |
MST | bool | R/O | I/O Module Status Bits |
BCD16 | uint16 | R/W | Internal BCD 16 |
BCD32 | uint32 | R/W | Internal BCD 32 |
C | bool | R/W | Internal Bits |
F32 | float32 | R/W | Internal Float 32 |
US8 | uint8 | R/W | Internal Unsigned 8 |
US16 | uint16 | R/W | Internal Unsigned 16 |
S16 | int16 | R/W | Internal Signed 16 |
S32 | int32 | R/W | Internal Signed 32 |
SSTR | string | R/O | System String |
STR | string | R/W | String |
SBR | bool | R/O | System Read only Bit |
SBRW | bool | R/W | System Read/write Bit |
SWR | uint16 | R/O | System Read only word |
SWRW | uint16 | R/W | System Read/Write word |
Tag parameters
Parameter | Value |
|---|---|
Name | Select a register name from the drop-down list. Available options depend on the names in the register table. |
Value Type | Select a data type from the drop-down list. Available options depend on the register name selected. |
Polling Interval | Enter a value in seconds. This determines how often the tag should poll the register for data. |
Tag Name | Enter a name for the tag. |
Description (Optional) | Enter a description for the tag. |
Address | Enter a tag address. The value must be in the decimal format within the allowed min/max range. Omit the leading zeros. The device might use the decimal (D), hexadecimal (H), or octal (O) address format. See the Register Table at the bottom of the dialog box. For Bit tags, append the bit address without the bit separator. The lowercase letters in the address format indicate how many digits you should enter in the Bit address. |
Count | Enter the number of register values to read. A count higher than one generates an array of values from the address value configured and respective subsequent address values. |
Tag Formula | Enter a formula to process tag data. See Tag formula below. |
Only Publish on Change of Value | Select the checkbox to publish NATS messages only when the value parameter changes to a new value. Change of Value only applies to boolean, numeric (such as int or float), and simple string data types. It does not apply to complex types, such as JSON or array. Poll-once topics are not affected by Change of Value settings. These topics will still only see a single message. |
Meta Data | Metadata summarizes basic information about data. This feature allows you to define key-value pair data for the device output payload later on. It can then be used to find, use, and reuse particular instances of data. Note: If you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload. This can cause two key names to be combined into one. For example, configuring the key names a**b and a&&b will cause only one key name to be created (a__b). |
Tag formula
Enter a formula for the tag to process the generated data. Two variables are permitted: value (current tag value) and timestamp (current tag UNIX time in milliseconds). The following math functions are available:
Function | Description |
|---|---|
sin | Sine |
cos | Cosine |
sqrt | Square root |
tan | Tangent |
power(x) | Performs the operation 10^x |
log(x) | Natural logarithm (base e) |
exp(x) | Performs the operation e^x |