Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Messaging domain, Guidelines / sample needed
Laro88
✭
I need to send multiple bool commands to an IRC5 controller, and I am a bit confused, since the samples provided does not bother with showing multiple bool io operations.
I would like to be able to signal "Stop" & "GoHome" &" EngageTool" as boolean variables. These should in turn trigger special PROCs in the main task.
How to do this? It looks like the messaging domain is not prepared for identifiers of the variables. I was hoping to find something simple like a "Name" of an RmqMessage.
Is there some recommendations available for some a bit more complex messaging?
Regards
I would like to be able to signal "Stop" & "GoHome" &" EngageTool" as boolean variables. These should in turn trigger special PROCs in the main task.
How to do this? It looks like the messaging domain is not prepared for identifiers of the variables. I was hoping to find something simple like a "Name" of an RmqMessage.
Is there some recommendations available for some a bit more complex messaging?
Regards
0
Comments
-
You can not get the name of the data that is sent.
But, you can solve this in 2 ways.1) Create alias datatypes
ALIAS bool stopdata;
ALIAS bool gohomedata;
ALIAS bool engagetooldata;VAR stopdata mystop:=FALSE;
VAR gohomedata homedata:=FALSE;
VAR engagetooldata engagetool:=FALSE;Then you have different datatypes to react on.2) Create a new RECORD
RECORD mymessage
bool orderstop;
bool gohome;
bool engagetool;
ENDRECORD
Then you can evaluate the different booleans when receiving the message.
Good luck0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings