Symbol:
Function: In this dialog, you define network properties for the variable list that is selected in the device tree. Furthermore, any variables in it that are declared as network variables are also available.
Call: “Context menu of variable list in device tree Properties”, “Network Variables” tab
“Network type” |
UDP |
“Task” |
Task of the current application that controls the variables to be sent. CODESYS always sends the variables at the end of a task cycle. |
“List identifier” |
Used to identify the network variable list. Must be unique |
“Pack variables” |
The size of the packages (telegrams) that are transmitted depends on the network type. In the case of “UDP”, a package is 256 bytes.
|
“Transmit checksum” |
|
“Acknowledgement” |
Note: For the |
“Cyclic transmission”, “Interval” |
CODESYS sends the variables within the defined interval. Example for time definition: "T#70ms". |
“Transmit on change”, “Minimum gap” |
|
“Transmit on event”, “Variable” |
|
“Settings” |
Protocol-specific settings; possible entries depend on the network library. “Port”: Number of the port that CODESYS uses for data exchange with other network units. The “Default value” is "1202". You can change the current value in the “Value” field at any time. Select the field, press the [Space Bar], and type the value. Caution: The other nodes in the network must define the same port. If more than one UDP connection is defined in the project, then the port numbers in all configurations are adapted to this value. “Broadcast Adr.”: The “Default value” is 255.255.255.255, which means that data exchange will take place with all network
units. You can change the current value in the “Value”: select the field, press the [space bar], and type the address or address range of a subnetwork (for example, |