I have Volt and Amp data from different IEDs via Modbus TCP and IEC 61850. My problem is:
- I need Amp (current) scaling factor to be adjustable by user input in runtime.
There should be some code which will pop-up input screen on pressing "Settings" button and ask user to enter CT scaling ratio and scale the variable accordingly.
I have tried by using the VBA script :
Dim ctRatio As Integer
thisProeject.Variables.Item("Current L1 Node 1").RangeMax = ctRatio
And taking "ctRatio" as user input....
But it doesn't work. However when i am in Workspace and put the "RangeMax" property of that variable to the desired scaling ratio, It does scale it well.
But I need "adjustable scaling factor" that the runtime should ask from the user and adjust the variable accordingly.
Please Help ..!!!
And many thanks....
This is a migrated post! Originally posted on 27.10.2016 by user tigershark. Please be aware that information can be outdated.