Function Cicode calling not working

Hello All,

I'm using Citect Scada 2018 R1 update 16. We are struggling to have cicode functions working. How do i call a function from a graphical page.

Below is the current function call. Are we missing anything?

Parents
  • Try making it simpler: put the cicode as the action on a button click or something rather than as a "Cicode" graphic object (Which will continually call the same code). 
    It's hard to make out what your code is doing, but from the looks of things you're trying to set a bunch of variables based on other conditions... why are you doing this from a graphic? I'd consider rethinking the approach

  • On the question on why we are doing this from the graphic?. we are reading this data via OPC on the SCADA and it reads perfectly. we will like to use this data on other PLCs for other controls.  

Reply Children