Vai al contenuto

Read Variable Command

This command lets you read a PLC variable published in the variables DB or defined as VAR GLOBAL in 1131 environment.The variable name obeys the same rules applied to HMI environment: the name of variables of 1131 must be written in uppercase. The name of variables of firmware may be in lowercase.The command is inserted in the … section of the HTML code.
<% aspGetValue (char *label, int comma ); %>
where:– label: is the name of the variable to be read– comma: is the position of the command to be inserted in the displayed data, in case of integers. The value -1 means you should leave the format intact and display the data as saved.
Example:<% aspGetValue("gqt_Release1",0); %>