Hey guys, I have a problem.
I was assigned to do a project that involves using a CNC Machine to communicate with another device (specifically, a robotic arm).
Currently, my knowledge on CNC programming is limited to G-codes and part programming, and I have absolutely no idea how to do this.
If it's helpful, the CNC machine I'm working on is the EMCO Concept Turn 55, and I believe the software we're using is Sinumerik 840D. The hardware part of this is pretty much taken care of, for now. I was already shown the I/O ports of the machine, and have found that an LED indicator lights up when an input port receives a signal. My problem right now is how to program the machine to react to that signal.
A quick search in the forums yields some information on macro/parametric programming, and I think that might be what I'm looking for. I have a few questions:
1) Are there conditional statements in parametric programming, such as IF...ELSE?
2) Is there any way to detect a signal from another device? I would like to do something along the lines of "IF signal detected THEN start machining"
3) Is there any way to output a signal?
I would also greatly appreciate it if you guys could show me any relevant resources online..
Thanks in advance.