ISISComputingGroup / BeckhoffPLCCode

PLC Code that is downloaded into Beckhoff controllers
7 stars 3 forks source link

Standardise flag interaction #5

Open Simon-Cooper opened 6 years ago

Simon-Cooper commented 6 years ago

Need to make a decision and tidy up code for how the latched outputs of the individual MC FBs and master FB works. The operation of the MC FBs mean they will not output a "busy/done/error" flag unless the execute signal is held high, this means the execute needs to be latched and the outputs to be latched. Code currently has a work in progress method for allowing this but also need to check FBs are being called with the Execute held low to clear them.