Devices AccessTypes (Reference) define read/write rules for Device Points, controlling polling rates, triggers, and communication behavior between the platform and field devices.
AccessTypes provide:
Each Device Point uses one AccessType to determine when and how it communicates
The Device AccessType defines the defines the rules for reading and/or writing values for Device Point. Each Point is associated with one AccessType.
Settings include among others: Polling Rate, Read on Startup, and if is enabled to do Writing.
Table of Contents maxLevel
2 minLevel 2 indent 10px exclude Steps style none
To create and configure an AccessType, follow these steps:
The following table describes each configuration property when creating an AccessType:
Field
Description
Name
Name of this AccessType.
Read
ReadPolling
Enables read polling.
ReadPollingRate
Defines how often the address value is retrieved.
ReadTrigger
Enter an object property that tells the system when to read the value.
OnStartup
When selected, the system reads the value on startup.
Write
WriteEvents
Enables the writing of values to the PLC.
WriteEvent
Defines when is the value written.
WriteTrigger
Enter an object property that tells the system when to write the value.
Settings
AcceptUnsolicited
If enabled, the system accepts values from the PLC, even if the polling time has not yet elapsed.
UseStaticBlocks
Enables the use of the block command field.
BlockCommand
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
Description of the access type.
The OnDisplayOrServer AccessType is an excellent tool for solutions with many communication points but only requires data updates for some of them. It can help computers without the computational power to handle massive data exchange while maintaining other modules active. The OnDisplayOrServer operation process is divided into two aspects:
To configure an Access type as On Display Or Server, follow these steps:
Property | Description | Options |
---|---|---|
ReadPolling | Enable polling mode | Always, Never, OnDisplayOrServer |
ReadPollingRate | Update frequency (ms) | 100-60000 |
ReadTrigger | Conditional read trigger | Tag or expression |
OnStartup | Read on solution start | True/False |
Property | Description | Options |
---|---|---|
WriteEvents | Enable write capability | True/False |
WriteEvent | Write trigger condition | OnChange, OnTrigger |
WriteTrigger | Conditional write trigger | Tag or expression |
Property | Description | Default |
---|---|---|
AcceptUnsolicited | Accept unrequested data | False |
UseStaticBlocks | Enable block commands | False |
BlockCommand | Protocol-specific blocks | Driver dependent |
Name: AlwaysRead
ReadPolling: Always
ReadPollingRate: 1000
WriteEvents: False
OnStartup: True
Name: ReadWrite
ReadPolling: Always
ReadPollingRate: 500
WriteEvents: True
WriteEvent: OnChange
Name: Triggered
ReadPolling: Never
ReadTrigger: @Tag.ReadNow
WriteEvents: True
WriteTrigger: @Tag.WriteNow
Optimizes communication by activating points only when needed.
OnDisplay Behavior:
OnServer Behavior:
Display-Driven:
Line A Display → Line A Tags Active
Line B Display → Line B Tags Active
No Display → No Communication
Server Requirements:
<ac:structured-macro ac:name="info"> ac:rich-text-body Server-side tags (used in scripts, alarms, expressions) require an AccessType with ReadPolling set to "Always" or a separate AccessType for OnDisplayOrServer mode. </ac:rich-text-body> </ac:structured-macro>
csharp
// Trigger read when button pressed
ReadTrigger: @Tag.RefreshButton
// Periodic trigger
ReadTrigger: @Tag.Timer.SecondTick
// Conditional trigger
ReadTrigger: @Tag.ProductionActive && @Tag.ShiftRunning
csharp
// Write on command
WriteTrigger: @Tag.SendCommand
// Batch write
WriteTrigger: @Tag.BatchReady
// Conditional write
WriteTrigger: @Tag.Value > 100
Data Type | Suggested Rate | Use Case |
---|---|---|
Critical Alarms | 100-500ms | Safety systems |
Process Values | 500-1000ms | Normal monitoring |
Status/States | 1000-5000ms | Equipment status |
Reports | 5000-60000ms | Historical data |
For protocols supporting block transfers:
UseStaticBlocks: True
BlockCommand: "READ_BLOCK:100:50"
Benefits:
Check driver documentation for supported commands.
Points not updating:
Write failures:
Performance issues:
OnDisplay not working:
HMI Points: OnDisplayOrServer, 500ms
Alarms: Always, 250ms
Reports: Triggered, OnDemand
HVAC: Always, 5000ms
Lighting: OnDisplayOrServer, 1000ms
Energy: Always, 60000ms
Critical: Always, 100ms
Process: Always, 1000ms
Historical: Triggered, 5000ms
Page Tree | ||||
---|---|---|---|---|
|
Info |
---|
Only when these options are met can the DevicePoints with this AccessType read/write data. |
In this section:
Page Tree | ||||
---|---|---|---|---|
|