17511
General Mach Discussion / Re: Lathe turret, VB, PLC, MODBUS, Position
« on: November 16, 2009, 05:07:40 PM »
Heres the part of the ladder that works the rear turret on my lathe, the front toolpost is similar.
Hood
Hood
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi Peter, Hood,
Hood, the CLICK I have is hooked up with a serial cable. It is the DB 9 pin at the computer and a phone cord at the PLC.
Thank you,
Dustin
1- I am having trouble with the idea of home switches and separate coordinate systems. This may expose some ignorance on my part, but on my other machines I have no home switches and never change between coordinate systems, just zero the machine on the part and go. Now I want the tool change to take place at the same spot all the time without having to zero off anything but the home switches, I think.... Anybody have a good explanation of this?
2- Another conceptual issue I am having is with communication between Mach and the PLC via VB scripts. What it looks like others have done is write a ladder in the PLC and have Mach write a bit to the PLC to initiate that ladder program. In other words Mach communicates with the PLC with single bits like I-O instead of sending some sort of commands? I've read through a lot of posts on here and that seems like the idea but I wanted to see what folks think before assuming that is how it works.
3-I think I want to avoid Brains for this one, is that a good idea?
4- When setting up the MODBUS, the dialogue box will not go away. If you hit OK it just goes to the bottom left of the screen and stays there? Is this abnormal?