Using Server parameter fields in Structured Text

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > ST language >

Using Server parameter fields in Structured Text

Previous pageReturn to chapter overviewNext page

You can include Server parameter fields in your project’s scripts by using keyword Servers. Then type dot (.), name of your Server, again type dot (.) and name of parameter field. For possibility to compile this code the name of the server and server parameter fields should contain only English letters without white spaces and any signs.


Servers.ModbusServer.ipaddress = “”;

In this example value “” will be assigned to the server with name ModbusServer and field property name ipaddress. Name of the property fields you can find out in parentheses of server and parameter descriptions above. Also for parameters are written in descriptions you can use: lostconnection, connect and connected.