Hello Guest it is April 20, 2024, 02:43:08 AM

Show Posts

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.


Messages - DazTheGas

551
Mach4 General Discussion / Re: Mach4 2803, ESS, and homing slaved motors
« on: February 19, 2016, 03:24:32 PM »
Ive never used mach3 so i cannot comment on that but you will notice it doesnt matter how you set the motors on the axis mapping it doesnt reflect in the homeing screen.

DazTheGas

552
Mach4 General Discussion / Re: Mach4 2803, ESS, and homing slaved motors
« on: February 19, 2016, 02:05:42 PM »
Can i make a small suggestion before you go any further, you have got your Y Axis using motors 1 and 2 personally myself i would rearrange your wiring to the drivers for motors and swap 2 and 3 around so it gives you

Motor 0 = X
Motor 1 = Y
Motor 2 = Z
Motor 3 = Y Slave

This will make things a lot more simpler in the long run as its how most machines are set-up.

With your current config if you look into the mach config panel under homing/softlimits and the axis mapping you will see that you are getting confused with the motor number and axis in the left hand column.
Your homing sequence is set as follows.

Z(2) Home first and in place, this is motor 2 (Not your Z) that you have declared as one of the Y Axis
X(0) Is second to home and in place
Y(1) Is next to home in the pos direction - if homing an axis and a slave then one should be negative
A(3) Is last to home and in place

If you go to the documents section at http://warp9td.com/index.php/documentation/doc-mach-four-setup and follow the videos to set these up you will then have a good setup, it will be easier in the long run when using any code in mach4 to reference axis etc.

DazTheGas

553
Mach4 General Discussion / Re: Mach4 2803, ESS, and homing slaved motors
« on: February 19, 2016, 02:57:15 AM »
Had a quick look but will get a proper look later today, there is a conflict with motor 2, you have set to home in the ess config yet is set to home in position within the mach config, also all are set to home in the pos direction, if you are aligning an axis that is slaved then surely one should be in the neg direction.

DazTheGas

554
Mach4 General Discussion / Re: Mach4 2803, ESS, and homing slaved motors
« on: February 16, 2016, 03:56:01 PM »
The homing script is purely to add offsets only.

DazTheGas

555
Mach4 General Discussion / Re: Mach4 2803, ESS, and homing slaved motors
« on: February 16, 2016, 02:55:02 PM »
Take another look in the ess config within the homing section and the mach config within the inputs section as you only have motor1 setup for homing

DazThGas

556
Mach4 General Discussion / Re: Arc ok signal in Mach4
« on: February 16, 2016, 02:57:41 AM »
Sorry been snowed under this end,

Have a look at the example again, its using the switch command so you can convert this in lua to an if statement.

use it in the form of

rc = mc.mcSiganalWait..........
if rc == MERROR_TIMED_OUT then
disable machine and update history with error
else
continue with gcode
end

DazTheGas




557
Mach4 General Discussion / Re: Mach4 VFD Spindle setup
« on: February 15, 2016, 03:53:37 PM »
Perhaps post the make and model of the VFD.

DazTheGas

558
Mach4 General Discussion / Re: Mach 4 V2 Windows 10
« on: February 15, 2016, 02:44:27 AM »
To be honest i wouldnt run any av or program  whilst using mach4 for production incase it halts the computer for user input.

DazTheGas

559
Have you considered updating to the latest version of 2872 to see if the problem still exists

DazTheGas

560
Mach4 General Discussion / Re: Arc ok signal in Mach4
« on: February 12, 2016, 04:21:27 PM »
If you go into the docs directory of mach4 and open the api docs there is an example there on how to use it, just change the input1 its using to the input you are using, but because you are waiting for a signal you must change the time setting to something more realistic or it will timeout too  fast.

you will need to put this as the last line of the m3 function not last line of script.

DazTheGas