CODESYS Station¶
Properties¶
Name |
BrowseName |
DataType |
Description |
---|---|---|---|
Gateway IP | GatewayIP |
IP address of a valid CODESYS Gateway available in the network; normally it is the IP address of the PLC |
|
Port | Port |
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 |
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 |
Maximum wait time in milliseconds to receive a response from the PLC. |
|
PLC version | PlcVersion |
Here you have to select which version the PLC is. The available options are Version 2.3 and Version 3. |
|
Endianness | Endianness |
Byte ordering in accordance with the architecture of the processor with which the communication is established |
|
Login to PLC | LoginToPlc |
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 |
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 |
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 |
(Inherited from Communication station) |
|
Tags |
(Inherited from Communication station) |
||
Types |
(Inherited from Communication station) |