CODESYS Station

BrowseName: CoDeSysStation
SuperType: Communication station (CommunicationStation)

Properties

Name

BrowseName

DataType

Description

Gateway IP

GatewayIP

String

IP address of a valid CODESYS Gateway available in the network; normally it is the IP address of the PLC

Port

Port

UInt16

This is the TCP/IP port used to connect with the PLC. The value can be obtained from the CODESYS PLC Programming Environment: open the “On line” menu and select the “Communication Parameter” item. The property has meaning only for Version 2.3 PLC’s; if using other PLC’s versions the property will be disregarded.

Device Name / Address

PLCAddress

String

This property holds the CODESYS Controller Device Name or its IP address. This IP address can refer to the same machine that runs the driver using the local IP address or “localhost”.

Timeout

Timeout

Duration

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

PLC version

PlcVersion

CoDeSysPlcVersion

Here you have to select which version the PLC is. The available options are Version 2.3 and Version 3.

Endianness

Endianness

Endianness

Byte ordering in accordance with the architecture of the processor with which the communication is established

Login to PLC

LoginToPlc

Boolean

Default value: TrueFalse. Some special devices can require or not a login on the PLC. Leave the default value if not otherwise specified by the device documentation.

Protocol

Protocol

CoDeSysProtocol

Default value: TCPIP L2 ROUTE. Possible values are: TCPIP L2 ROUTE, TCPIP L2, TCPIP L4. Some special devices require a special communication protocol. Leave the default value if not otherwise specified by the device documentation.

Communication Buffer Size

CommunicationBufferSize

UInt32

This setting is valid only for PLC of version 2.3. This value is the communication buffer dimension. Default value is 0, that means automatic management. Verify on the target the correct settings.

Operation code

OperationCode

CommunicationOperationCode

(Inherited from Communication station)

Tags

Object

(Inherited from Communication station)

Types

Object

(Inherited from Communication station)