Hello, I’m back with another Sequential Function Chart problem,
I am now running 7.7.3 rc1 and while my problem with action blocks running more than once is resolved, I now have a problem when I cancel a chart, it keeps running.
I have a very simple chart to test…
B --> Initialize Globals --> Label --> Log chart and parent chart information --> wait until runningTime % 60 is 0 --> set delay to runningTime + 15 --> Wait until past that delay --> Jump to Label
I’ve been cancelling the chart usually when it’s on the MOD 60 step. The chart disappears from the Chart Control window, but if I watch the logs, it is still running, and will keep running until I stop and start the gateway.
What lead to this, I’m attempting to put together a master chart starter chart that uses a parallel block and several enclosing blocks to start my suite of charts. I’ve started small with only one chart, and have been testing the administration control over the charts. I’ve been finding that when I cancel my control chart, the child charts are restarting quickly enough to eventually crash the gateway.
BTW: your scripting documentation indicates a couple of chart variables that don’t exist for me:
chart.running, and chart.state
Thank you,
Bill S.