Tarasik (Customer) asked a question.

C-More XY Plotting

With all the advantages of the C-More EA9 Series panels, there is a huge drawback - it is impossible to build an XY graph using two analog values. I found a mention on this forum that this can be done using a line object and moving animation. I tried to use various combinations of parameters but had no success. Can anyone tell me if there is a way to plot a XY Graph on the panel?


Tarasik likes this.
  • Cap (Customer)

    Here is my attempt to do this project a year or so ago..

     

    Its now in 6.74. The idea is to have 400 Points across the top of the Screen, labeled BLU(1-100), ORG(1-100), GRN(1-100), BRN(1-100).

     

    My world gets a little fizzy, as I do not presently have my notes, of how I did thhis.. but the Dots Start at the Top, and 'Any Color(1)' is the Left side of the screen, and the Low Value in that Variable will be the Top Line ( I think ) and as the Value is increased, the Dot will appear Lower on the Screen, and I think ~230 is the bottom of the screen.

    If you wanted to have a Green Line Graph, then you'd use Grn(1)-Grn(100) to Place the Value of 1 Through 250 ( I think ) to get the Graph to display..

     

    Likewise you can display the other colors as well..

     

    This is only set up for Four Colors, and it's written for a BRX PLC.. If you jump to the Database Manager, you will see I'm Using V Locations starting at 5K, up to V5400 for my Plot Variables..

     

    You will also see that GRN(18) is Unused, so It's likely you'll need to find that as it's still likely left as what it was Cut and Pasted From..

     

    If you Simulate this screen, you can get it to some to life, as see where I was going with this..

     

    This Project was never used.. I did all this screen work, and figured out how I could do it.. but then we ended up not using it after all.. But the Leg work was done..

     

    Please let me know if you are able to use this as a basis for something..

     

    The Program was Ziped using 7z. So I had to change the extension to a Zip File to get it into the forum post.. So to Un-Compress it, you'll need to change the extension to a 7z Extension, as ZIP will likely spit it out..

     

    I don't have access to a ZIP Program.. my machine has 7z.. don't know why..

     

    Cap

     

     

    Expand Post
  • Tarasik (Customer)

    The simulation works, the general idea is clear. Thank you very much.