I need to send special control variables during a sequence of move instructions.
Is there a recommended way to do so…
I need to send a couple of bools and numbers to a couple of tasks in the controller.
The messaging domain does not seem to support variable identification that enables simple splitting of variables such as the string “bool#startbit#true” into functionality such as
startbit:=true;
Does anyone have a suggestion to do this.
If in C# it would be trivial to write a class doing so ( event setting target properties using reflection ) and then instantiate the class in each Task.
Does the IRC5 controller support shared functionality between tasks in any way, something like “class in thread C# style”
Virtual IO between tasks is no problem, since the IO is Global and can be seen by all tasks.
Define the required unit/signals on Virtual bus - I prefer to use Digital Outputs, since they can be set/reset programatically. If yyou want to use Digital Inputs, they would have to be cross connected from an output anyway (just more work).
Prefer PERS declared RAPID data between tasks, this way you do not consume IO unnecesarily…