RoboDK Forum
KUKA waitDI——革命制度党ntable Version

+- RoboDK Forum (//www.w5838.com/forum)
+-- Forum: RoboDK (EN) (//www.w5838.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.w5838.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: KUKA waitDI (/Thread-KUKA-waitDI)



KUKA waitDI-no_one_important-12-13-2018

Hi,

I am using roboDK with the python API to connect to a KUKA robot and I needed to use the inputs of the robot in my code in 'IF' and 'While' statements. However the only command for any input is the waitDI function but I do not want it to basically 'wait' I need to check the input and move on with the code. Did anyone else have this problem? I would really appreciate a solution. Thanks


RE: KUKA waitDI-Albert-12-13-2018

This is currently not possible. I recommend you to connect an IO module to the computer using Ethernet and manage your analog/digital inputs and outputs from your computer.

For example, brainboxes provides Industrial Ethernet IO modules (such as the ED-588) with some Python examples:
http://www.brainboxes.com/faq/items/how-do-i-use-python-to-communicate-with-my-remote-io-module