cedrik Posted June 24, 2017 Report Posted June 24, 2017 Salve, come posso realizzare un tempo di scansione costante su questa cpu? Ho un'applicazione "delicata" che gira e il tempo di scansione che varia dai 10 ai 30 ms mi da problemi, mi andrebbe bene fissa attorno ai 30/35 ms. Grazie
rguaresc Posted June 24, 2017 Report Posted June 24, 2017 puoi usare la funzione di interrupt STI. Con questa puoi parametrizzare il richiamo di un ladder a tempo.
cedrik Posted June 24, 2017 Author Report Posted June 24, 2017 ciao, quindi come si implementa la funzione? devo settare un valore sulla variabile S:30? Grazie Cedrik
rguaresc Posted June 24, 2017 Report Posted June 24, 2017 in S:30 metterai i millisecondi tra due chiamate con l'avvertenza di stare sopra il tempo di ciclo. istruzioni dettagliate nel manuale SLC500_instructions alla sezione 11-8
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now