Executing Microbasic Script

4 years 9 months ago #29534368 by Davidetwinp98
are there any command, to "pause" and "resume" the microbasic script, in a script?

Please Log in or Create an account to join the conversation.

4 years 9 months ago #29534391 by Gabriel_Isko
Replied by Gabriel_Isko on topic Executing Microbasic Script
We have a few timers available in microbasic. You should read the MicroBasic Reference

Please Log in or Create an account to join the conversation.

4 years 9 months ago #29534395 by Davidetwinp98
Grazie Gabriel,

per quanto riguarda i timer , ne sono già a conoscenza , quello che volevo sapere è se esisteva un comando specifico. ES.(da console io posso , utilizzando il comando !R 0 , avviare uno script , !R 1 mettere in pausa o riprendere lo script , !R 2 , fare il restart dello script.
Tutti questi comandi pero solo da console, per questo mi chiedevo se esisteva un comando specifico da poter utilizzare in microbasic

Please Log in or Create an account to join the conversation.

4 years 9 months ago #29534397 by LROBBINS
A pagina 233 del Roboteq Controllers User Manual v18 trovaresti la descrizione di R - MicroBasic Run compreso la sintassi Micro Basic:

Syntax Scripting: setcommand(_R, nn)
setcommand(_BRUN, nn)
Number of Arguments: 1
Argument 1: [Option] Type: Unsigned 8-bit
Min: None Max: 2
Where:
nn =
None : Start/resume script
0 : Stop script
1 : Start/resume script
2 : Reinitialize and restart script

The following user(s) said Thank You: Davidetwinp98

Please Log in or Create an account to join the conversation.

4 years 9 months ago #29534404 by Davidetwinp98
Grazie mille

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.062 seconds