Hello Guest it is May 31, 2023, 12:01:46 PM

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 - Tony Bullard

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 »
2
PoKeys / Re: Mach4 Pokeys 57E with FRO
« on: January 03, 2023, 07:36:57 AM »
The 3 volt battery slot if for the RTC, real time clock. I suggest you read the Pokeys 57 user manual. https://www.poscope.com/wp-content/uploads/downloads/Pokeys/Manuals/PoKeys%20user%20manual%20(19.8.2017).pdf

If you have too much signal noise use a digital encoder for FRO as mentioned above.

3
PoKeys / Re: Mach4 Pokeys 57E with FRO
« on: January 02, 2023, 07:52:33 AM »
"To do some tests on the fly I took these 5 volts from a PC USB socket (cut a common USB cable and use the red and black wires).
The board is normally powered with LED lighting." So you're powering the board with 5 volts?

"I connect a potentiometer following the instructions...etc etc"  Is it connected to the boards 3.3v and board GND as stated in the Pokeys 57 user manual? Or is it connected to 5 volts from a PC USB socket? The analog input is not 5 volt tolerant and the 57E is not grounded to the PC.

"the potentiometer values start to oscillate" Read the Pokeys 57 user manual for low-pass filtering for analog inputs signal noise. There is an easy "slider" adjustment for it.

4
PoKeys / Re: Mach4 Pokeys 57E with FRO
« on: January 01, 2023, 09:00:38 AM »
This is not what you asked for but there is an easier way to do it now. Set your Pokeys analog input pin, pot pin,  as shown on page 33 of Pokeys Mach4plugin_manual.pdf That's on Pokeys Device configuration / Pokeys pin mapping. Next enable Feedrate override and set its pin # and % of override on / Special functions. That's it. It works! See attachments. I think?

5
Thank you Craig and that explains it well to to me.

It lead me to Axis Override. I setup a button to test the OB6 axis override of  the Z axis. It woks well with this code:
Code: [Select]
                --in button script
--left button down script

local inst = mc.mcGetInstance()

-- Set the axis 6 to be the override axis for the Z axis.
mc.mcAxisSetOverrideAxis(inst, mc.AXIS6, mc.AXIS2);

-- Set the Z axis jog accel percentage to 25%.
rc = mc.mcJogSetAccel(inst, mc.AXIS6, 25);

-- Set the jog rate to 20% of the Z axis maximum velocity.
        rc = mc.mcJogSetRate(inst, mc.AXIS6,20)

        -- Start Z axis jogging in positive direction
rc = mc.mcJogVelocityStart(inst, mc.AXIS6, 1);


--in button script
--left button up script

local inst = mc.mcGetInstance()
mc.mcJogVelocityStop(inst, mc.AXIS6); -- Stop the axis.
-- Remove axis 6 from the Z axis.
mc.mcAxisRemoveOverrideAxis( inst, mc.AXIS6, mc.AXIS2 );


You are a great asset to this forum. Thank you again.
Tony

6
I think I understand that the OB axis motor has the same setting and the Z axis motor and the OB axis can be controlled with jog commands but how is the OB axis superimposed on the Z axis?

Thanks for any explanation or coding examples.

7
Mach4 General Discussion / Re: M3 Probing error THC Pokeys
« on: March 07, 2022, 09:50:57 AM »
You have to set the property of the Actual Voltage DRO to the Pokeys PlasmaSens HV register.

8
PoKeys / Pokey57CNC Pendent signals
« on: June 05, 2021, 07:45:55 AM »
Before I set the pendent up I'd like to know if there is a way to change the value the Jog Step Increment signals.
I'd like to use the "Step x0.001" signal to have a value of 0.0001. Does the "Step x0.001" signal represent the Control General Config Jog Increment Position 4 or is it in the Pokeys code?

Thanks for any help.
Tony

9
Thank you Steve.

I installed in build 4612 in "C:\Mach4Hobby-4612". Imported my profile and my screen sets in 4612 and all worked well. Restored my computer to three days ago and updated  "C:\Mach4Hobby" to build 4612 again and all is well. I don't know what the problem was but it is fixed now. Thank you!

Tony

10
I updated to version 4.2.0.4612 from 4.2.0.4300. Now I can't load screens. I get this message:

Mach4gui Error
Unexpected Exception has occurred: bad allocation, the program will terminate.

I switched back to .4300 and all is well. Any help would be appreciated.

Thanks,

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 »