Hello Guest it is April 19, 2024, 07:58:00 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

771
on the external case i am building ive got a touchscreen connected to a leonardo which is connected to usb as a keyboard, anything i can put on screen can be programmed through the keyboard plugin to work.

DazTheGas

772
Strip down an old usb keyboard, theres plenty of vids on utube on how to do this, then use the keyboard plugin in mach4 to configure. on the stripped down one include the shift lock key to act as an on and off key.

Another way is to use an arduino as an interface between the keys you have and the computer, the arduino has a keyboard library.

I feel a quick video coming on......

DazTheGas

773
Mach4 Videos / ESS Homing Offset Sorted
« on: May 11, 2015, 06:43:13 PM »
Well got fed up waiting for the slow boat bringing parts I require so sat and and worked out this.

http://youtu.be/lYQHRWbwqS4

Code: [Select]

<<PLC Script>>

if (x_enable_offset == "true" and y_enable_offset == "true" and z_enable_offset == "true") then
    if (offset_applied == "false") then
        xoffset = mc.mcAxisGetHomeOffset(inst, 0);
        yoffset = mc.mcAxisGetHomeOffset(inst, 1);
        zoffset = mc.mcAxisGetHomeOffset(inst, 2);
        mc.mcAxisSetPos(inst, 0, 0.00);
        mc.mcAxisSetPos(inst, 1, 0.00);
        mc.mcAxisSetPos(inst, 2, 0.00);
        mc.mcCntlGcodeExecuteWait(inst, "G00 X"..xoffset.." Y"..yoffset.." Z"..zoffset);
        offset_applied = "true";
    end
end

<<Signal Script>>

if (sig == mc.OSIG_HOMED_X) then
    if (state == 1) then
        x_enable_offset = "true";
    else
        x_enable_offset = "false";
    end
end

if (sig == mc.OSIG_HOMED_Y) then
    if (state == 1) then
        y_enable_offset = "true";
    else
        y_enable_offset = "false";
    end
end

if (sig == mc.OSIG_HOMED_Z) then
    if (state == 1) then
        z_enable_offset = "true";
    else
        z_enable_offset = "false";
    end
end

<<Screen Load and Ref Home Btn >>

offset_applied ="false";


Enjoy
DazTheGas​​

774
Mach4 Videos / Re: ESS and Mach4 Setup
« on: May 05, 2015, 07:39:03 AM »
Gerhard

Not sure why you are trying to use charge pump with the ESS, they were specifically designed for erratic behavior from the parallel port, your not using a parallel port as such. in one of the videos you will notice that i mentioned connecting a relay to the 24 volts that mach4 controls, this will do the same. Just need a relay breakout board that will take the amps and voltage and send it a signal from mach4 to activate.

I will be utilizing port 2 for my limit sensors within the week or so and changing the mechanical ones for proximity sensors, so i can check port 2 then.

DazTheGas

775
Mach4 Videos / Re: ESS and Mach4 Setup
« on: May 01, 2015, 04:14:15 PM »
Next on way shortly, that stepper finally went bad and took a driver with it....

DazTheGas

776
Mach4 Videos / Re: ESS and Mach4 Setup
« on: April 25, 2015, 12:06:57 PM »
Part 3 now complete, contains the setup of limit switches, homing and software limits.

Part 3 Here

Enjoy

777
Mach4 Videos / ESS and Mach4 Setup
« on: April 23, 2015, 06:21:38 PM »
Finally Part 2 finished setting up the Y and Z axis with a slave on the Y axis.

Part 2 Here

Working on 3rd.. ;)

778
Mach4 Videos / ESS and Mach4 Setup
« on: April 20, 2015, 03:32:47 AM »
Hi,

For those like me who could not find much info on the setup i have created a video of my Ox build.

The first part explains the setup of Mach4 with the ESS.

https://youtu.be/HIE0k6mu2yc

Enjoy....