DiamondLightSource / DiamondLightSource/pmacFilterControl

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

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/15689569/197488550-1fa4f037-9963-474d-bf19-d0fa557fab0b.png)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.