Menu

Topic-icon Executing Microbasic Script

More
8 months 1 week 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.

More
8 months 5 days ago #29534391 by Gabriel_Isko
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.

More
8 months 5 days 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.

More
8 months 5 days 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.

More
8 months 2 days ago #29534404 by Davidetwinp98
Grazie mille

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

Moderators: tonysantoni
Time to create page: 0.117 seconds
Go to top