Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How to run specific subroutines based on input signal (SWITCH CASE)

#1
Hello,

I am trying to implement a "SWITCH CASE" (KUKA) programming architecture for my station based on the value of an input signal (integer) coming from external source (e.g. a PLC). I know there is the command "Wait DI", though this may not be the best option.

Do you have any ideas? Once the program is translated with the post-processor (KUKA KRC4), the "SWITCH CASE" should appear...

Thanks

Pietro
#2
Unfortunately, we do not support control statements such as the SwithCase.

You can use the "Insert code" feature of the "Program call" instruction to reach a similar result, but it won't be executed in the simulation environment, only on the real robot.

Jeremy
Find useful information about RoboDK and its features by visiting ourOnline Documentationand by watching tutorials on ourYoutube Channel.






Users browsing this thread:
2 Guest(s)