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

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


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...


Unfortunately, we do not support control statements such as the Swith Case.

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.

Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel


Users browsing this thread:
2 Guest(s)