Author Topic: Does KUKA prc simulate I/O?  (Read 1112 times)

Josh196

  • Forum User
  • *
  • Posts: 1
    • View Profile
Does KUKA prc simulate I/O?
« on: July 23, 2019, 12:07:26 PM »
Hi! This is Josh.
I have a project in which I need my KUKA to halt its process until it gets an input from an Arduino. The trouble is simulating that on Grasshopper. I tried looking for a digital input component, but only output is available. I tried hooking up a CustomKRL component in the main comand weave but it doesn't quite work (details below).

Does KUKA prc actually simulate inputs at all? Have I missed something?

___________________________________________________________________

CustomKRL problems:
I learnt some KRL and plugged it in. I typed things like:

WAIT SEC 1

WAIT FOR $IN[14]

ajhsdgjahgfkjah

and none of those scripts seem to have any effect on the behaviour of the simulated KUKA.
Thanks in advance for the help!

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 964
    • View Profile
    • Robots in Architecture
Re: Does KUKA prc simulate I/O?
« Reply #1 on: July 23, 2019, 12:40:39 PM »
Hello Josh,

Unless you use e.g. mxAutomation for a real-time connection, KUKA|prc is offline, so there is no way to get your input data into the simulation.
If you use the Wait For component or Custom KRL, the actual robot will of course react accordingly.
If you want the robot to wait for a defined time, then use the Wait component and not Custom KRL.

Best,
Johannes