#Sys2PLC |
Top Previous Next |
The #Sys2PLC object is used to synchronize the values of two variables. These variables must be of the same data type, the only exception being the conversion of String to WString (see Conversion).
Parameters Object
Text/File
Variable1 and Variable2 must be of the same data type in all cases.
The following conversions are supported (in both directions):
The #Sys2Plc object makes it possible to trigger a screen page change by pairing the EPAM system variable /S/SYS/NewPage with a PLC variable, e.g. PLC/NewPagename. If, for example, the variable PLC/NewPagename in the PLC project is set with the value ‘#Page=<name>’, the value ‘#Page=<name>’ is transferred to the EPAM system variable and a screen page change is executed to page <name>. |