Hi,
I have an issue with the speed at which my tags are updating, in the cyclic section.
For a tag to update onchange, its taking approx 3-4 secs. Is this normal?
I have tried adding it in a Timed Function but this wasn’t overly successful.
Is there anything else I can try?
Code below:
FOR a% = 1 TO 10 STEP 1
//Control
Onchange “AB_U1_N” + STR$ a% + “_SetStatus1”,“U1_N” + STR$ a% + “_SetStatus1@ = AB_U1_N” + STR$ a% + “_SetStatus1@”
Onchange “AB_U1_N” + STR$ a% + “_CurrentSP”,“U1_N” + STR$ a% + “_CurrentSP@ = AB_U1_N” + STR$ a% + “_CurrentSP@”
Onchange “AB_U1_N” + STR$ a% + “_VoltageSP”,“U1_N” + STR$ a% + “_VoltageSP@ = AB_U1_N” + STR$ a% + “_VoltageSP@”
Onchange “AB_U2_N” + STR$ a% + “_SetStatus1”,“U2_N” + STR$ a% + “_SetStatus1@ = AB_U2_N” + STR$ a% + “_SetStatus1@”
Onchange “AB_U2_N” + STR$ a% + “_CurrentSP”,“U2_N” + STR$ a% + “_CurrentSP@ = AB_U2_N” + STR$ a% + “_CurrentSP@”
Onchange “AB_U2_N” + STR$ a% + “_VoltageSP”,“U2_N” + STR$ a% + “_VoltageSP@ = AB_U2_N” + STR$ a% + “_VoltageSP@”
//Status
Onchange “AB_U1_N” + STR$ a% + “_ActStatus1”,“U1_N” + STR$ a% + “_ActStatus1@ = AB_U1_N” + STR$ a% + “_ActStatus1@”
Onchange “AB_U1_N” + STR$ a% + “_ActCurrent”,“U1_N” + STR$ a% + “_ActCurrent@ = AB_U1_N” + STR$ a% + “_ActCurrent@”
Onchange “AB_U1_N” + STR$ a% + “_ActVoltage”,“U1_N” + STR$ a% + “_ActVoltage@ = AB_U1_N” + STR$ a% + “_ActVoltage@”
Onchange “AB_U2_N” + STR$ a% + “_ActStatus1”,“U2_N” + STR$ a% + “_ActStatus1@ = AB_U2_N” + STR$ a% + “_ActStatus1@”
Onchange “AB_U2_N” + STR$ a% + “_ActCurrent”,“U2_N” + STR$ a% + “_ActCurrent@ = AB_U2_N” + STR$ a% + “_ActCurrent@”
Onchange “AB_U2_N” + STR$ a% + “_ActVoltage”,“U2_N” + STR$ a% + “_ActVoltage@ = AB_U2_N” + STR$ a% + “_ActVoltage@”
NEXT a%
Thanks in advance
Rob.