How to manage a variable?
oscar_f
✭
in ScreenMaker
I'd like to manage a variable in SM.
For example,
image to have a rapid num Speed:=10.
I'd like to push a button and icrease this value,
for example by 5.
then if the Speed reach 100, I'd like to reset this value to 0.
How can I do this?
(Call .net method? how to pass the current value to the method?)
Can I have an example?
BR
Oscar
BR
Oscar Ferrrato
Oscar Ferrrato
0
Comments
-
Hello,You can refer to ScreenMaker chapter in RobotStudio 5.13 Help documentationSearch for the keyword 'Call .NET Method' in search tab.Steps are defined describing usage of Call .Net Method.I have attached a project which would help you out. The return value of the your method would be the value being passed as paramter. Bind the value to an application variable.Thanks0
-
Thank you for the example.Now I'll take a look on it.Just a comment, I cannot find anythink about .net Method in RS 5.13.1 help on lineOscarBR
Oscar Ferrrato0 -
Thanks.I did it work. I forgot to write again my rapid variable after the method code.(about the manual- I find the content, the problem was that the help search it was not working. I find it searching it manually...)BR
Oscar Ferrrato0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings