21
Mach4 General Discussion / Re: MACH 4 home switch configurations...
« on: August 26, 2023, 01:35:22 PM »
You mentioned limit switches. According to the screens you posted, you have home switches, not limit switches. Careful with terminology so you don't confuse people.
First step is to get homing working properly. If machine does not home correctly, use the Mach4 "Diagnostics" screen to verify that Mach4 can see your home switches. The indicators on the diagnostics are in the right hand column of the Input Signals part of the panel. M0 and M1 labels may be missing the word home, but are the same type of indicator as the M2 Home etc. directly below them.
If you had actual limit switches they would have names like M0-- and M0++.
The configuration option for Home Offset is often misunderstood. It does not cause any motion, rather it determines the numeric value associated with the location where the homing operation stops the machine. One common way to use this is to define Home Offset to a small negative value like -0.100 so that telling the machine to Go to Zero will cause the machine to come to rest 0.100 from the home position.
You are, I think, trying to set up Soft Limits. Since you are NOT using home-in-place without home switches, it is mandatory that you have homing working and that the machine is homed before enabling Soft Limits. The Soft Limits function does not take effect until you enable it. The control for turning it on is in the set of functions in the lower right block of the main Mach4 screen. The button is labeled "Soft Limits On/Off".
Pay attention to the error messages in the bottom line of the main screen to make sure Mach4 does not have issues with your Soft Limits configuration.
Steve Stallings
PMDX
First step is to get homing working properly. If machine does not home correctly, use the Mach4 "Diagnostics" screen to verify that Mach4 can see your home switches. The indicators on the diagnostics are in the right hand column of the Input Signals part of the panel. M0 and M1 labels may be missing the word home, but are the same type of indicator as the M2 Home etc. directly below them.
If you had actual limit switches they would have names like M0-- and M0++.
The configuration option for Home Offset is often misunderstood. It does not cause any motion, rather it determines the numeric value associated with the location where the homing operation stops the machine. One common way to use this is to define Home Offset to a small negative value like -0.100 so that telling the machine to Go to Zero will cause the machine to come to rest 0.100 from the home position.
You are, I think, trying to set up Soft Limits. Since you are NOT using home-in-place without home switches, it is mandatory that you have homing working and that the machine is homed before enabling Soft Limits. The Soft Limits function does not take effect until you enable it. The control for turning it on is in the set of functions in the lower right block of the main Mach4 screen. The button is labeled "Soft Limits On/Off".
Pay attention to the error messages in the bottom line of the main screen to make sure Mach4 does not have issues with your Soft Limits configuration.
Steve Stallings
PMDX