Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Access types define the specific methods The Device AccessType defines the defines the rules for reading and/or writing values for each data point in a solution, including polling rate, read on startup, and unsolicited input acceptance. The OnDisplayOrServer Access Type controls the data read and write permissions.

It is useful for projects with many communication points but not requiring constant data updates, reducing computational load, and improving performance. The On Display Or Server Access Type works by checking two conditions, On Display and On Server, before permitting data read or write.

Device Point. Each Point is associated with one AccessType.

Settings include among others: Polling Rate, Read on Startup, and if is enabled to do WritingOn Display means data can be read or written only when the display containing it is open, while OnServer means data can be read or written when the project is running as an OPC server.

On this page:

Table of Contents
maxLevel3
stylenone


Creating

An Access Types

an AccessType

To create and configure an Access TypeAccessType, follow these steps:

    Access
  1. Access Devices → 
  2. Access Types
  3. AccessTypes.
  4. Click on
  5. the 
  6. the plus icon.
  7. Fill all the property fields with you your desired configuration (see the table below for more details about each option).
  8. Click
  9. Click Ok.

AccessTypes Properties

The following table describes each configuration property when creating an Access Type.AccessType:

Field

Description

Name

Enter a name for this access type

Name of this AccessType.

Read

Read Polling

Select when you want to enable

ReadPolling

Enables read polling.

Read Polling Rate

ReadPollingRate

Enter

Defines how often the address value is retrieved.

Read Trigger

ReadTrigger

Enter an object property that tells the system when to read the value.

On Startup

OnStartup

When selected, the system reads the value on startup.

Write

Write Events

WriteEvents

Enables

Select to enable

the writing of values to the PLC.

Write Event

WriteEvent

Select

Defines when is the value

is

written.

WriteTrigger

Enter an object property that tells the system when to write the value.

Settings

Accept Unsolicited

AcceptUnsolicited

If enabled

When selected

, the system accepts values from the PLC, even if the polling time has not yet elapsed.

Use Static Blocks

UseStaticBlocks

Enables the use of

Select to use

the block command field.

Block Command

BlockCommand

Enter a

A definition for each block that will be created. Check the driver documentation to see if the specific driver uses this

field and

field and the valid values.

Description

Enter a description for

Description of the access type.



OnDisplayOrServer setting

The OnDisplayOrServer AccessType is an excellent tool for solutions with many communication points but only requires data updates for some

On Display Or Server Acces Types

The On Display Or Server Access Type is a great tool for projects that have a large amount of Communication Points but do not require the data to be constantly updated for all of them. It can help computers that lack without the computational power to handle a huge volume of massive data exchange while also maintaining other modules (Scripts, Alarms, etc) at the same time.The On Display Or Server Access Type operation process can be active. The OnDisplayOrServer operation process is divided into two aspects:

  • On Display: The On Display part means that your Communication Point DevicePoint will only begin Reading/Writing reading or writing when the Project solution's display containing these tags is open. To illustrate, let us say we have
    • Let us imagine a project with two displays
    :
    • , one for Line A and
    the other
    • another for Line B. Each display has its specific Tags added to it
    (Tag.LineAProduct1..., Tag.LineBP roduct1..
    • .
    )
    • When the Project is running, there is no need to send
    /
    • or receive data for all
    Tags
    • tags in the PLC. The
    Project
    • solution only needs to send
    /
    • or receive data for
    the ones in
    • the
    display currently
    • opened
    on
    • displays of the
    Visualizer
    • visualizer. So, when the
    LineA
    • Line A display is open, only
    LineA
    • Line A tags will communicate. The same goes for LineB.
  • On Server: The OrServer or OPCServer On Server or OPCServer means that if your Project solution runs as an OPC Server, the AccessType Access Type will behave as if its ReadEnable its Read Enable property is set to Always. Suppose  
    • Suppose you have the tags on the server side as
    Script Tasks
    • ScriptTasks, Classes, Expression, or
    Alarm Items
    • AlarmItems. In that case, you must create a new AccessType specific for them with the
    ReadEnable
    • Read Enable option
    in 
    • in Always.

Configuring

The Acces Type as On Display Or Server

an AccessType as OnDisplayOrServer

To configure an Access type as On Display Or Server, follow these steps:

  1. Access Devices → Access TypesAccessTypes.
  2. Click on the plus icon.
  3. On the Read PollingReadPolling property, choose On Display Or ServerOnDisplayOrServer. This property is enough for the Reading portion of the communication.
  4. To Check the WriteEvents box to Enable Writing Events, check the Write Events box.
Image Removed
Info

ONLY when and while ANY of Only when these options are met , can the Communication Points DevicePoints with this Access Type can Read/Write AccessType read/write data.

Image Added



In this section:

Page Tree
root@parent
spacesV10