TwinCAT station

Object that represents a controller that communicates via the TwinCAT protocol

BrowseName
TwinCATStation
SuperType
Communication station(CommunicationStation)

Properties

Name BrowseName DataType Description
Maximum job size in bytes MaximumJobSizeInBytes UInt32 Maximum size of a transmission of tags from the controller (in bytes). 0: set the maximum value of 2048 bytes
Remote NetId 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
Local NetId LocalAmsNetId String Default value: empty. It is the address of the target system running the FactoryTalk Optix Application, into the TwinCAT network
ADS port 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 controller
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 controller on the network
Operation code OperationCode Communication operation code (Inherited from Communication station)
Tags Tags Folder (Inherited from Communication station)
Types Types (Inherited from Communication station)