Hello Guest it is December 03, 2021, 03:35:39 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.


Topics - Mauri

Pages: 1 2 3 4 5 6 »
1
Hi,
Does anyone have the combination of Mach4 V4612 with 7766 HiCON and Huanyang Spindle Inverter.
I can get everything to function except Spindle Start.
S24000 starts the Inverter and sets it to do 24000RPM
But when the M03 processes the spindle it will not start.
All the other functions work as well as the X/Y/X/A 4 motors.
It will process a full engraving cut in the air with no Spindle start.
If anyone has theirs working please provide me with the functioning scripts so I can get mine to work.
Regards,
Mauri.

2
Mach4 General Discussion / Mach4-X3-HiCON.m4prof
« on: April 14, 2021, 12:20:40 AM »
Steve, (smurph)
As requested the Mach4-X3-HiCON.m4prof is attached.
Regards,
Mauri

3
Steve, (smurf)
I am having an issue starting our spindle with the latest mach4 versions.
We purchased a new inverter but the same issue came up.
I use HiCON to run it.
We checked all the electricals on our controller and all is fine.
The 10V is being sent.
But the short is not happening.
We tested an older Mach4 version and it worked just fine (wasted purchase)
So the issues are with the newer version of Mach4 and or the Script changes are not working as they should.
Below is my signal script.
If you require the other script changes please advise.
Regards,
Mauri.



if SigLib[sig] ~= nil then
    SigLib[sig](state);
end


--------------------------------------------------------------------------------------
-- HiCON and Controller Button Signal Script
--------------------------------------------------------------------------------------
local inst = mc.mcGetInstance();

if (sig == mc.OSIG_MACHINE_ENABLED) then
    machEnabled = state;
end

-- Enable/Disable
 if (sig == mc.ISIG_INPUT14) and (state == 1)then --mc.ISIG_INPUT4-- on HiCON Used as an enable button
       wx.wxMilliSleep(10)
        local inst= mc.mcGetInstance();
        local reg = mc.mcSignalGetHandle(inst, mc.OSIG_MACHINE_ENABLED)
        state = mc.mcSignalGetState(reg);
            if(state == 1)then
                state = 0
                hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE3); 
                mc.mcSignalSetState(hsig, 0); --sets Enable_3 to False- Turn off if on
            else
                state = 1
                hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_OPT_STOP); 
            mc.mcSignalSetState(hsig, 0); --sets Opt Stop_1 to False
            end
        mc.mcCntlEnable(inst, state);
end

------------------------------------------------------------------------------------
-- Cycle Start
if (sig == mc.ISIG_INPUT13) and (state == 1) then
    wx.wxMilliSleep(10)
    local inst = mc.mcGetInstance()
    mc.mcCntlCycleStart(inst)
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE3); 
    mc.mcSignalSetState(hsig, 1); --sets Enable_3 to True
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_OPT_STOP); 
    mc.mcSignalSetState(hsig, 0); --sets Opt Stop_1 to False
end

-------------------------------------------------------------------------------------
local inst = mc.mcGetInstance();
-------------------------------------------------------------------------------------
-- Cycle Stop
if (sig == mc.ISIG_INPUT11) and (state == 1) then
    wx.wxMilliSleep(10)
    local inst = mc.mcGetInstance()
    mc.mcCntlCycleStop(inst)
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_OPT_STOP); 
    mc.mcSignalSetState(hsig, 1); --sets Opt Stop_1 to True
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE3); 
    mc.mcSignalSetState(hsig, 0); --sets Enable_3 to False
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5);
    mc.mcSignalSetState(hsig, 0); --sets Enable_5 to False - Turn off
    local inst= mc.mcGetInstance();
    spindlestate = 0
    mc.mcSpindleSetDirection(inst, spindlestate);
end

local inst = mc.mcGetInstance();
------------------------------------------------------------------------------------
-- Feed Hold
if (sig == mc.ISIG_INPUT12) and (state == 1) then
    wx.wxMilliSleep(10)
    local inst = mc.mcGetInstance()
    mc.mcCntlFeedHold(inst)
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_OPT_STOP); 
    mc.mcSignalSetState(hsig, 0); --sets Opt Stop_1 to True
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE3); 
    mc.mcSignalSetState(hsig, 0); --sets Enable_3 to False
end

------------------------------------------------------------------------------------

local inst= mc.mcGetInstance();
-- Enable/Disable Spindle Button
 if (sig == mc.ISIG_INPUT15) and (state == 1)then --mc.ISIG_INPUT5--Used as an spindle button
       wx.wxMilliSleep(10)
        local inst= mc.mcGetInstance();
        local reg = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5)
        spindlestate = mc.mcSignalGetState(reg);
            if(spindlestate == 1)then
                spindlestate = 0

            hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5);
            mc.mcSignalSetState(hsig, 0); --sets Enable_5 to True - Turn off
            else
                spindlestate = 1

            hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5);
            mc.mcSignalSetState(hsig, 1); --sets Enable_5 to True - Turn on
            end
        mc.mcSpindleSetDirection(inst, spindlestate);
 end

local inst = mc.mcGetInstance();
local sigh = mc.mcSignalGetHandle(inst, mc.OSIG_SPINDLEON);
local sigState = mc.mcSignalGetState(sigh);

if (sigState == 1) then
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5);
            mc.mcSignalSetState(hsig, 1); --sets Enable_5 to True - Turn on
else
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5);
            mc.mcSignalSetState(hsig, 0); --sets Enable_5 to True - Turn off
end

------------------------------------------------------------------------------------
-- MPG EStop
if (sig == mc.ISIG_INPUT10) and (state == 1) then
---wx.wxSleep(10)= 10 seconds
        local inst= mc.mcGetInstance();
        local reg = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE0)
        estopstate = mc.mcSignalGetState(reg);
            if(estopstate == 0)then
                estopstate = 1
            else
                estopstate = 0
                mc.mcCntlEStop(inst, estopstate);
                local inst= mc.mcGetInstance();
                local reg = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5)
                spindlestate = mc.mcSignalGetState(reg);
                if(spindlestate == 1)then
                    spindlestate = 0
                    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5);
                    mc.mcSignalSetState(hsig, 0); --sets Enable_5 to True - Turn off
                end
            end         
end
-------------------------------------------------------------------------------------
-- E-STOP -- Input #20 to turn off Spindle Light
if (sig == mc.ISIG_INPUT20) then
    local inst = mc.mcGetInstance()
    hsig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_ENABLE5);
    mc.mcSignalSetState(hsig, 0); --sets Enable_5 to False - Turn off
end

4
Mach4 General Discussion / FTP Server Access
« on: January 28, 2021, 01:51:23 PM »
Hi,
For a number of days the FTP Server no longer opens.
When I place the mouse over it, at the bottom it says the site is "ftp:\\ftp.machsupport.com", and when I click onto it, nothing pops up at the top of the webpage to launch it.
Is this server down?
I know that the server is not a secure server.
Regards,
Mauri.

5
Mach4 General Discussion / Current tool ==
« on: January 16, 2021, 04:08:07 PM »
Hi,
What does "Current tool -- Selected toll so there is nothing to do" mean?
Regards,
Mauri.

6
Hi,
Using recent DEV versions of Mach4 I get this message showing at the bottom "Current Z Minimum to 0.0000 based on Parameter 1801" when running some code in Sym.
What does this mean?
Regards,
Mauri.

7
Mach4 General Discussion / Mach4 Update?
« on: December 10, 2020, 02:31:26 PM »
"Santa" What would you like for Christmas?
"Mach4 User" I would like to have a very recent New Official Mach4 release that works, I did not get anything last year.
"Santa" I will see what I can do.

8
Mach4 General Discussion / No Official Update since August 2019 ?????
« on: September 20, 2020, 05:38:36 PM »
Hi,
We are all wondering and have been very patient as to when we will have an official working Mach 4 Program.
Steve is working very hard with fixing issues and adding development updates, but no one else at Mach4 seems to care about testing and releasing a new official program.
The Mach 4 V4300 released version in August 2019 as everyone knows has many issues and no one I am sure is using it.
Please do some testing and release a working solution so we can also do some CNC machining with confidence.
I am sure vehicle manufactures do not let the public do the testing before they release s a new one.
Regards,
Mauri.


9
Hi,
The Mach4 V4300 has been on the Production status since August 2019.
The program has a number of issues.
V4322 Fixes these issue.
We are now at V4498 that has many more issues fixed and improvements made over the V4300 version.
I cannot see how anyone would use V4300 especially if cutting 4 axis models on a rotary axis.
I would like to know when we will all get a new release with no issues so we can do some machining with confidence.
Regards,
Mauri.

10
Hi,
I am not sure if there are any users that have Controllers with full button control with Mach4.
I have been using it with our Mill and HiCON for many years with no issues.
I have Signal Scripts for each button and when pressed while Mach4 V4284 to V3804 is running enable the lights and function perfectly.
Enable/Disable
Cycle Start
Cycle Stop
Feed Hold
Enable/Disable Spindle
MPG E-Stop
E-Stop
However I have tested every Mach4 V4295 to V4310 and with this Mach4 program versions the buttons no longer function, in other words no longer communicate with Mach4.
Does any one know what has changed in the signal scripts for this to no longer function?
Regards,
Mauri.

Pages: 1 2 3 4 5 6 »