Hello Guest it is April 19, 2024, 04:16:49 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 - Mauri

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
1
Mach4 General Discussion / Error Message
« on: March 01, 2022, 03:46:16 PM »
Hi,
I am using a HiCON card and am currently having issues.
I get this error message and I am trying to find out the problem.
ERROR: Output Index in use by more than one axis. Check Axis Config.
Can anyone tell me if this Control Configuration "Aux. Positions requires changes to be added (see attached file).
Regards,
Mauri.

2
HiCON Motion Controller / Re: 7766 board support?
« on: May 04, 2021, 03:40:18 PM »
Steve,
Use the files in the following downloads.
Mach4300-Integra-4.20_Plugin-2.03.41.zip   2202 KB   March 10, 2021
It works fine with Mach4 V4612
Regards,
Mauri.

3
Hi,
Thanks for your reply.
With older versions of Mach4 everything works.
So there is nothing wrong with the hardware and Mach4 settings to run the spindle as they are the same as with the new Mach4 version.
I start the Mach4 and then the Controller.
When I turn om the Inverter on the Controller the Inverter starts with the setting of Zero.
When I start the G-Code and it reaches S24000 is measures 10V through to the Inverter.
The next step M03 should do the short to activate the spindle, however this does not happen.
So this signal is not doing this step.
If I do the short manually at the Inverter then the spindle starts.
Any more help would be appreciated.
Regards,
Mauri.

4
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.

5
Mach4 General Discussion / Re: Mach4-X3-HiCON.m4prof
« on: April 14, 2021, 04:41:51 PM »
Steve,
The file below has my Mach4 Input and Output Signal setting for HiCON.
These work just fine for example Mach4 V3804 the spindle starts just fine.
I have used the same settings on many Mach4 Programs for many years and have machined many carvings all without issue.
But now it will not start.
Regards,
Mauri.

6
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

7
KatzYaakov,
I have used the same script for many years without issue, even before Mach V3804.
It is only the most recent Mach4/HiCON that now has this issue.
Regards,
Mauri.

8
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

9
Mach4 General Discussion / Re: FTP Server Access
« on: January 29, 2021, 12:07:09 AM »
Hi,
Microsoft Edge says the following see attached file "it regards the web site a not secure" that is why it does not allow access.
Regards,
Mauri.

10
Mach4 General Discussion / Re: FTP Server Access
« on: January 28, 2021, 11:52:58 PM »
Hi,
If I right click the FTP SERVER - MAIN MENUS tab and select "copy link" and then past it, I get the following ftp://anonymous:guest@ftp.machsupport.com/
Is this the reason why I cannot get in?
Regards,
Mauri.

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »