Cyclic FlexPendant speed to PLC
Hello. I am new in robot programming.
I would like to ask you for a help.
I need to read out FlexPendant speed and send it out to the PLC. Reading and sending is actually working, but in one procedure which I created. I used for it CSpeedOverride() function. I dont know how to do it on cyclic period during whole program execution. Does exist such a ,,background task" which will be reading and sending this value all the time?
Thank you very much for any ideas.
Best Answers
-
Yes, you could make a Background task IF you have the Multitasking option. Otherwise you could program a cyclic interrupt.Lee Justice0
-
Setting up tasks From the App Manual Controller Software IRC5
Follow this instruction when adding a new task to your system.
-
Define the new task by adding an instance of the system parameter type Task, in the topic Controller.
-
Set the parameter Type to NORMAL.
This will make it easier to create and test the modules in the task.
-
Create the modules that should be in the task, either from the FlexPendant or offline, and save them.
-
In the system parameters for topic Controller and type Automatic loading of Modules, specify all modules that should be preloaded to the new task.
For NORMAL tasks the modules can be loaded later, but STATIC or SEMISTATIC tasks the modules must be preloaded.
-
Stop the controller.
-
In Motors on state, test and debug the modules until the functionality is satisfactory.
-
Change the parameters Type and TrustLevel to desired values (e.g. SEMISTATIC and SysFail).
-
Restart the system.
0 -
Answers
-
Thank you. Yes we have multitasking option, but unfortunately I cannot find how to create Background task . Is the procedure the same as for normal task?
Thank a lot!0 -
Sorry for the delay.
It is suggested to follow the instructions as detailed above.
Step 7 is the key. That is where task type, normal, semi-static, static, is configured. Semi-static and static are the available background task types.0
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