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

Program Event or Function Call for 3D Printing Extruder Control

#4
Hi Patrick,

After reading the second message I realized that you would like to communicate to the extruder using the computer (not the robot). Correct?

In this case the integration may be easier as you can program the socket communication protocol using Python. Otherwise, you may need to purchase KUKA Ethernet/XML option to do so with a KUKA KRC controller.

To react on a program call (such as Extruder) in a custom way you can create an Extruder script like the one attached. You can collect arguments using sys.argv as shown here:

Code:
E_Value = None
#检查如果我们运行this program inside another program and passing arguments
import sys
if len(sys.argv) > 1:
E_Value = float(sys.argv[1])

Let me know if this is not what you are looking for.

Albert


Attached Files
.py Extruder.py(Size: 1.79 KB / Downloads: 626)


Messages In This Thread
RE: Program Event or Function Call for 3D Printing Extruder Control - byAlbert- 01-13-2020, 02:21 PM



Users browsing this thread:
1 Guest(s)