DiamondLightSource/pmacFilterControl

Reconsider running commands through PLC with a bit mask variable rather than with `CommandTS`

Opened this issue · 0 comments

From Steven Beaumont at Faraday:

The approach that I would probably use in your case would be to

1:- Monitor a M or P variable from a PLC
2:- Change specific bits of the M or P variable from your ‘C’ program
3:- When your PLC sees the bit pattern change it would act upon it through an IF THEN statement then reset the bit pattern

image

Which approach is the quickest I couldn’t tell you without running a simulation