Versions Compared

Key

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

...

Table of Contents

...

Overview

As with all adapters, an existing Logic Simulator (create link) https://unit040.atlassian.net/wiki/spaces/PUD/pages/280987237/Logic+Simulator#Overview is required.

...

Where to find the different Gateway Adapters.

...

To find the Beckhoff Twincat ADS adapter, go to the Inspector window of a Logic Simulator https://unit040.atlassian.net/wiki/spaces/PUD/pages/280987237/Logic+Simulator#Overview component.
This Logic Simulator https://unit040.atlassian.net/wiki/spaces/PUD/pages/280987237/Logic+Simulator#Overview can be added under Logic.

...

Feature overview

...

Please check the documentation for the rest of the Logic Simulator (create link). https://unit040.atlassian.net/wiki/spaces/PUD/pages/280987237/Logic+Simulator#Overview

Gateway settings

Adapter Target

Select a different adapter, please see Prespective documentation for more information.

Adapter Setting (TwincatADSServerSettings)

XmlFilePath

File path to the policy file.

Note

Warning : <Make sure to fill in a relative path to the Asset folder of the project and include .xml file extension>

ServerName

Is used as the an indicator in the xml policy file.

IP Address

Is the AMS NetID of the server. Adding “:[PORT]” , where port is an integer configures the PLC port, default port when nothing is configured is 851 (Default for TwinCat3).

RefreshCycleTime

Note

Not implemented for Twincat ADS

RefreshMaxDelay

Note

Not implemented for Twincat ADS

ConnectionTimeoutDuration

Note

Not implemented for Twincat ADS

OutOfSyncTimeoutDuration

Note

Not implemented for Twincat ADS

LifeCycleInputName

Note

Not implemented for Twincat ADS

LifeCycleOutputName

Note

Not implemented for Twincat ADS

Lifecycle settings

Note

Not implemented for Twincat ADS

...

How to use

Please see the Logic Simulator (create link) https://unit040.atlassian.net/wiki/spaces/PUD/pages/280987237/Logic+Simulator#Overview documentation for further instructions on setting up your simulation.

...

Prespective enables you to update your Twincat project files based on the signal definitions. Setting the right Project Export Folder for you active twincat project should be enough to get the export function working for twincat 3 projects as shown in the advanced tutorial (create link) Advanced Tutorial - Conveyor Belt

...

Configuration Export Settings

Configuration Settings (adapter-specific)

Project Export Folder

Path to the TwinCat Project

File Type Export Rules

Size

Amount of rules

GVL

File Type Name

Identifier for this rule (GVL)

File Type Suffix

File extension for this type (.TcGVL)

File Type Target Folder

Relative Folder where this type of files can be found

File Target Rules

Size

amount of target rules

{{ALL}}

Model Name

Result Model Alias

Injector Patterns

Size

Amount of injecting types

Element #

Starts at 0

Signal Direction

INPUT/OUTPUT/VAR

Selection_start

Variable definition start

Selection_end

Variable definition end

Include_selectors

injection_start

String from where the IO injection starts

injection_end

String from where the IO injection ends

...

Twincat ADS Install procedureIs bovenstaande nog actueel? actueel genoeg

Overview:

  • Set clock timer <TWINCAT_FOLDER>\3.1.\System\win8tick.bat as administrator “11:00”

  • Isolate Core: msconfig → advanced options→ isolate core “16:00”

  • Set used core in Twincat “22:00”

...