Sys2PLC definition

Top  Previous  Next

The Sys2PLC worksheet contains the variable list for the #Sys2PLC object:

 

Variable1

Variable1 Type

Variable2

Variable2 Type

Option

/<Drv>/<Host>/<Variable1>

<Type>

/<Drv>/<Host>/<Variable2>

<Type>

See below

...





 

 

Options

Comment

force=1

Causes variable1 to be always overwritten with the value of variable2

force=2

Causes variable2 to be always overwritten with the value of variable1

 

Default: When changed, variables are synchronized in both directions. On startup of the RTS variable1 is written to variable2.
 

Icon-Hinweis

The RTS uses the first line and all subsequent lines beginning with the "/". A break occurs at the first line that does not begin with "/", e.g. an empty line!

 

Difference to EPAM3

In EPAM3 variables were refreshed from the PLC cyclically every 0.5s. In EPAM4 this is implemented in the cycle of the communication driver.
In EPAM3 only system variables could be synchronized with PLC variables. In EPAM4 any variables can be synchronized.