Does KUKA prc simulate I/O?

Started by Josh196, July 23, 2019, 12:07:26 PM

Previous topic - Next topic

Josh196

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

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