About the Device Configuration
The Device Configuration module serves as an in-depth resource, encompassing all aspects of the device module, such as channels, nodes, points, and access types. This guide covers the objectives, fundamental concepts, and configuration processes for each element, detailing the required steps for creating channels, nodes, and points.
Equipped with this knowledge, users can skillfully configure and manage their industrial automation devices, ensuring seamless communication and smooth operations within their systems.
On this page:
Purpose and Key Concepts
Channels
The Device Module uses Channels to establish connections with field devices. Each channel is defined by a specific protocol driver and connection type, such as RS-232 or TCP/IP. Channels allow the module to access multiple devices (such as PLCs) using the defined protocol and interface.
Nodes
Each device connected to the system through channels is called a Node. Nodes can be individual devices or groups of devices. Each node contains one or more Points.
Points
Points are individual items that can be read or written from/to nodes. They can be registers, I/O values or variables residing in field devices (nodes). Each Point is bound to a specific Tag in the Project configuration.
AccessType
Each Point is associated with an AccessType, which defines the rules for reading and writing values for that Point, such as the polling rate, whether a read is performed on startup, and whether you write values to that Point. The AccessType allows users to configure how clients can access data points in the system.
Overall, the Device Module simplifies architecture by removing the need for additional communication products like Kepware/Matrikon and provides an easy-to-use communications hub that supports comms and logic between practically any device, database or historian anywhere.
Configuration Workflow
The typical configuration workflow for the Device Module has the following sequence:
Device Module Configuration Workflow | ||
---|---|---|
Action | Where | Comments |
Create Channels | Devices → Channels | Identify the required field devices and protocols the project requires, create channels accordingly. |
Create Nodes | Devices → Nodes | Identify the Network addresses and relevant information to all stations and devices that need connectivity. |
Map Tags to Point addresses | Devices → Points | Optionally, you can Copy Tags from Excel/CSV from Excel or execute Import Wizards. |
Create or Customize AccessTypes | Devices → AccessTypes | Optionally, you can optimize the communication, grouping Points with similar requirements to the same AccessType. |
Creating Channels
To create channels:
Go to Edit → Devices → Channels.
Click Create New.
The Create New Channel window displays.
Enter or select information, as needed.
Click OK. The channel is added as a new row in the table
Device Channel Creation Settings | |
---|---|
Field/Column | Description |
Channel Name | Enter a name for the channel. The system allows you to know if the name is not valid. |
Protocol | Select the protocol this channel uses. |
Interface | Select the interface type for this channel.
|
Description | Enter a description for this channel. For more information about the configuration for common protocols and interfaces, click Help at the top of the tab. |
To edit device channels:
Go to Edit → Devices → Channels.
To add or remove a column, right-click the column heading area and select or deselect columns.
Edit the fields on the row corresponding to the channel you want to modify.
Device Channel Configuration Properties | |
---|---|
Field/Column | Description |
ProtocolOptions | Configure the options for this protocol. |
Settings | Configure the settings for this channel. The available values depend on the interface the channel is using. The settings here must match the settings on the slave device.
|
Timeout | Configure the timeout options for this channel. Typically, keep the default value. |
IntialState | Select the initial state for this channel. Enabled: the channel is loaded and execution starts when the project starts. Disabled: the channel is loaded, but does not starts execution going the disabled state. Remote: the channel is local in a remote Computer defined that the Remote Settings. See more information at Remote Execution. Reserved: the channel is not loaded, it acts as the channel was temporarily deleted from the project. |
Remote Settings | Set the primary IP and backup IP to configure the remote computer where this channel will run |
Driver Version | The version of the current driver being used. |
Creating Nodes
Nodes are the devices or PLCs on the network that you communicate with. You can enter the settings for your nodes as usual through the Engineering Workspace. You can also import settings from an OPC server or from another data source. See "Importing PLC Addresses" below.To configure nodes:
Go to Edit → Devices → Nodes.
Enter or select information, as needed.
To add or remove a column, right-click the column heading area and select or deselect columns.
Device Node Configuration Properties | |
---|---|
Column | Description |
Name | Enter a name for the node. The system lets you know if the name is not valid. |
Channel | Select the channel for this node. For more information about the configuration for common protocols, click Help at the top of the tab. |
PrimaryStation | Enter the information required to access the primary node, based on the protocol selected. The protocol options are dependent upon the selected protocol. Select the protocol from the dropdown list at the top of the page and press the HELP button to access the specific protocol's documentation. For Modbus protocol:
OPC UA and OPCXmlDA protocols have a "Test"button to test the connection. OPC UA also has a "Certificates" button to create new certificates for the system.| |
BackupStation | Enter the information required, based on the protocol, to access the backup node. When the backupstation is defined and a communication failure occurs on the primary station, the system automatically attempts to establish communication with the backup station. |
SyncDate | Date that the import was done (read only field). |
SyncStation | Information about the station where the import was done - Station IP, Port and Slot - (read only field). |
SyncSettings | Information about the settings used by the system to import the file (read only field). |
Description | Enter a description for this node. |
[Other columns] | For definitions of other columns that are available in many tables, see Common Column Definitions. |
Creating Points
Data Points define specific values for each node that can be accessed using tags. The number of data points you can configure is related to both the ProductModel that is configured for the project and your software license.
To configure data points:
Go to Devices → Points.
You can copy and paste tags from the Tag → Objects.
Enter or select information, as needed.
To add or remove a column, right-click the column heading area and select or deselect columns.
Device Points Configuration Properties
Field/Column
Description
TagName
Enter a tag name or click "..." to select a tag. You can also create a new tag.
Node
Select the node for this data point.
Address
Enter the register address which is based on the PLC and protocol for this data point and tag.
The Protocol options are dependent upon which protocol is selected. Select the protocol from the dropdown list at the top of the page, and press the HELP button to access the specific protocol's documentation.
DataType
Select the data type you want to use. Most protocols should use the native option. When native is used, the protocol will automatically handle the data conversion.
Selecting a different data type overrides the defaults. Some options may not be applicable to the selected node. Make sure you know the applicable data types.
Modifiers
If the PLC uses a different byte order, select the options you want. You can change the position bit, byte, Word, or Dword of the data that is communicated.
AccessType
Select the access type for this data point. You can define and configure the access types. See Access Types below.
Scaling
If you want to manipulate the tag value, select the options you want.
When the data is read in the Equation option:
- Div - The system will divide the register value by what you enter here.
- Add - The system will add the amount you enter here as an offset of the result of the division.
For a write operation, the calculations are the opposite (multiple by the Div value, then subtract the Add value).
Label A text that represents a label on the point
Importing PLC Addresses
When creating communication nodes and data points, you can import them if they are defined in another data source in the following ways:
You can copy and paste the contents of a table from Excel. The tables can have different columns or order, as long you include the title of the column in the copy and paste operations. The system will put the data in the expected columns, even if the order is different in the source and target tables.
You can import the data from csv files.
For Rockwell ControlLogix devices, you can import from L5k definition files.
You can use various Import Wizards from many data sources
For OSIsoft® PI database, there is a FactoryStudio version to share definitions.
A programming API is available that can populate the tables from code, even from runtime execution when it is necessary.
Access Types Configuration
Access types define the specific methods for reading and writing the values of each data point. This could be the polling rate, whether or not a read is performed on startup, and whether or not unsolicited input is accepted. FactoryStudio comes with a few predefined access types that you can use, or you can create your own.
To configure access types:
Go to Devices → AccessTypes.
Do one of the following:
To edit an existing access type, double-click a field.
To create a new access type, click Create New.
Enter or select information, as needed.
Device AccessType Configuration Properties
Field/Column
Description
Name
Enter a name for this access type.
Read
ReadPolling
Select when you want to enable read polling.
ReadPollingRate
Enter how often the address value is retrieved.
ReadTrigger
Enter an object property that tells the system when to read the value.
ReadOnStartup
When selected, the system reads the value on startup.
ReadStatus
Enter an object property that receives the status of the read communication.
ReadCompleted
Enter an object property that receives an indication that the reading is completed. The value will change between 0 and 1 every time a reading is completed.
Write
WriteEventEnable
Select to enable the writing of values to the PLC.
WriteEvent
Select when the value is written.
WriteTrigger
Enter an object property that tells the system when to write the value.
WriteStatus
Enter an object property that receives the status of the write communication.
WriteCompleted
Enter an object property that receives an indication that the writing is completed. The value will change between 0 and 1 every time a writing is completed.
Settings
AcceptUnsolicited
When selected, the system accepts values from the PLC, even if the polling time has not yet elapsed.
UseStaticBlocks
Select to use the block command field
BlockCommand
Enter a definition for each block that will be created. Check the driver documentation to see if the specific driver uses this field and the valid values.
Description
Enter a description for the access type.
One very efficient AcceesType is to read data when it is being used by the application. Go to the section OnDisplayOrServer for more information.
In this section...