Difference between revisions of "softMC as OPC UA Server"
(Created page with " <u>CONFIG.PRG</u> program .. Print "system is running - " Sys.DoubleFormat = 1 Lo...")
Revision as of 12:52, 13 January 2019
Print "system is running - "
Sys.DoubleFormat = 1
dim x as long
while startprg.prg.state <> 10
Print "OPC UA Global value ready"
common shared A1_PWRTEMP as long
common shared A1_POWER as long
common shared A1_Cycle as long
common shared A2_PWRTEMP as long
common shared A2_POWER as long
common shared A2_Cycle as long
A1_Cycle = 2
A2_Cycle = 4
A1_POWER = abs(a1.TFb) * abs(a1.vfb) / 1000
A2_POWER = a2.TFb * a2.vfb / 1000