change step from variable table
Hello @FellowWithLaptop,
If you want to change the step from the variable table, the steps in the sequence are not coordinated with the new value....
How can I manually change to another step in the sequence... for example from a table of variables by writing a new value?...
Ah yes. The block only stores a reference to the variable via the constructor (FB_Init) call. This could also have negative effects in the event of an OnlineChange. However, it is not intended to swap the variable, as a LastStep variable is also stored internally. I could imagine an Init method that reinitializes the block.
Hello, Could you change the code to add the init method?