177
« on: February 20, 2017, 07:02:19 PM »
Ok I read over all of what you said many time. Still have a few questions.
What is the pic you posted of the Write Single Register, referring to Write Requested Carousel Position, what's that for?
How does Mach talk to the PLC do you have to put the IP address of the PLC somewhere in Mach?
Where do I put the LUA script, what folder and how do I open it to view it?
I wrote my PLC program already with internal bits 'C' to trigger each tool position. Here's some pics.
I don't get the DS registers you're talking about, so mach triggers an output for a tool change "X001" for example that inturn triggers a DS register in Click? So in my program pics you see here I would just add a DS register in front of the X001? Or does the register do something else?
My program works very simple a press of a button, virtual or physical, let's say X001 will run the program for tool change position 1. So I only need 8 inputs (8 outputs from Mach to the PLC). Then (I don't have it programmed in yet) when the tool change is finished Y106 turns on to show the tool change is completed. So I only have one output from the PLC to Mach. How would I set that up?
BTW this helps tremendously.