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

G Code Syntax for Triggering Digital Output in Program Events

#1
Hi Everyone,

I just want to turn on and off some digital outputs on my Kuka KRC 4 which I am using for 3D printing. How do I have to customize the  G code so that program events adds for example "$OUT [17]=TRUE"?

Kind regards
#2
You can use the M64 M code to turn On a digital output and M65 to turn a digital output Off. 

For example, if you use the following line in your Gcode file:
Code:
M64 17
It will provoke this code on a KUKA robot:
Code:
$OUT[17]=TRUE
This can also be configured in the program events menu as shown in the attached image.
   
  




Users browsing this thread:
1 Guest(s)