Change displayed AI via Cicode

I

Thread Starter

IstvanB

Hello,

My task:
Integrate a Siemens Sentron PAC3200 Power Meter to the Management station. Visualize the values on a graphic page.

My problem:
I integrated all the necessary datapoints into my Management station, however I have troubles with displaying data the way I would like.

I would display the values (DPs) like they on the Power Meter, which means only one type of values at the time and I have to change between value types.

For example: the L1-L2-L3 Voltage displayed, and when I click on a button then change the displayed data points to L1-L2-L3 Current.

Bottom line: I would like change displayed data points via cicode, when I click on a button.

I have more then 2 types of data points (Voltage, Current, Power factor, Reactive Power, Active Power, Frequency etc...)

My Idea:
Define an integer variable and when I click onto "up" or "down" arrow then I change the integer value with -1 or +1. The displayed data point depends on this integer and change that like an array.

Steps:
-I have to define an integer variable
-Sense when I click on "up" or "down" button
-Change the value of the variable when I click onto buttons
-Select the displayed data points depends on the variable's value

Unfortunately, I'm not familiar with cicode thats why I ask your help.
 
Top