DiamondLightSource / DiamondLightSource/pmacFilterControl

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

Aperta
#15 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

L’issue non indica file, test o punti di ingresso; inizia esaminando il percorso CommandTS esistente e l’integrazione Python/C PLC descritta nell’issue. «Done» non è definito oltre al decidere, tramite una simulazione, se l’approccio con maschera di bit sia più veloce.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
c, python
Ambito
embedded-iot
Tipo di issue
Refactoring
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.