TwinCAT station

BrowseName: TwinCatDriverStation
SuperType: Communication station (CommunicationStation)

Object that represents a PLC that communicates via the TwinCAT protocol.

Properties

Name

BrowseName

DataType

Description

Maximum job size in bytes

MaximumJobSizeInBytes

UInt32

Maximum size in bytes of a transmission of tags from the PLC 0: set the maximum value of 2048 bytes.

RemoteAmsNetId

RemoteAmsNetId

String

Default value: empty. It is the address of the TwinCAT Station, into the TwinCAT network. The AMS Net Id consists of 6 bytes and is represented in point notation, just like the IP addresses. This Net Ids must be issued by the project supervisor and must not be repeated in the TwinCAT network. A Standard + “1.1” is generated from the installation of an AMS Net id from the IP address of the system, if present. If no IP address can be determined during installation, the AMS Net id “1.1.1.1.1.1” is generated. The AMS ID related to a TwinCAT Station can be read from the property page of the TwinCAT System, in the tab window AMS Router.

LocalAmsNetId

LocalAmsNetId

String

Default value: empty. It is the address of the target system running the Q Application, into the TwinCAT network

AmsPort

AmsPort

UInt16

Default value = 801. This is a TCP port number that identifies the PLC running on the TwinCAT Server. The ADS devices in a TwinCAT system are uniquely identified by their ADS-Port. The following ports are already assigned: 801 = PLC Runtime System 1; 811 = PLC Runtime System 2; 821 = PLC Runtime System 3; 831 = PLC Runtime System 4; 500 = NC; 100 = Logger; 900 = Camshaft controller.

Timeout

Timeout

Duration

Maximum wait time in milliseconds of the driver to receive a response from the PLC.

Maximum number of aggregated request

MaxAggregateRequest

UInt32

Default value = 1. The driver can aggregate read/write requests in a single request, to improve the communication performances. The driver aggregate requests, in run-time, if this property is set to a value greater than 1. Values greater than 500 are not allowed.

IP address

IpAddress

String

Unique address to reach the PLC on the network

Operation code

OperationCode

CommunicationOperationCode

(Inherited from Communication station)

Tags

Object

(Inherited from Communication station)

Types

Object

(Inherited from Communication station)