Hello Guest it is April 18, 2024, 09:27:36 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 - jeff1973

Pages: 1
1
Mach4 General Discussion / SRO disable
« on: February 16, 2019, 05:58:33 AM »
Hi All,

I Need an M function to disable the SRO especially when taping ,Is this possible with mach4

2
Mach4 General Discussion / Gear box high and low gear
« on: February 06, 2019, 01:17:42 PM »
My mill is almost ready the only major thing left is the spindle abart from small safety nitty gritty that I have to implement but when I finish the spindle I can start generating chips
So I searched alot on the forum try to find something similar but I had no luck
The machine has a hydraulic gear change so I have 2 digital inputs and 2 digital outputs so I do not know from where to start from it also have a VFD so I would like to for example from 0 to 200 rpm on the low gear and from 200 to 1250 rpm on the high gear since I a very new for mach4  I have no idea how I can make the script for it
Can anyone help

3
Mach4 General Discussion / Re: enable output
« on: February 04, 2019, 06:48:31 AM »
Hi Graig,

sorry i read it quickly i paste it after the testcount 

local inst = mc.mcGetInstance()
local rc = 0;
testcount = testcount + 1
machState, rc = mc.mcCntlGetState(inst);
local inCycle = mc.mcCntlIsInCycle(inst);
then i put the new code

4
Mach4 General Discussion / Re: enable output
« on: February 04, 2019, 06:31:57 AM »
Hi Graig,

Yes i did but no luck

BS jeffrey

5
Mach4 General Discussion / Re: enable output
« on: February 04, 2019, 02:02:33 AM »
Hi ,

This Script is provided by professionals from CsLabs but at the moment who is helping me is busy and can help me at the end of febuary  so that script should work that is why i am confused normaly i never had issue with these guys so i am thinking i am making somthing stupid wrong  but as far as i know i am just copy and paste and when i try to compile i get this


Program starting as '"C:\Mach4Hobby\ZeroBraneStudio\bin\lua52.exe" -e "io.stdout:setvbuf('no')" "C:\Users\Public\Documents\Wondershare\CreatorTemp\.190B.tmp"'.
Program 'lua52.exe' started in 'C:\Mach4Hobby' (pid: 21848).
Debugging session started in 'C:\Mach4Hobby\'.
SignalTowerTest.mcs:41: attempt to perform arithmetic on global 'testcount' (a nil value)
stack traceback:
   SignalTowerTest.mcs:41: in main chunk
Debugging session completed (traced 0 instructions).
Program completed in 2.17 seconds (pid: 21848).

6
Mach4 General Discussion / Re: enable output
« on: February 04, 2019, 01:41:17 AM »
Hi Graig,

of course i need to generate chips but this is a big industrial bed mill and i want to do it step by step the right way (it is 28t of steel ) any way I manage to make x y z axis moving correctly and the homing  and hard limits  also soft limits is automatically on after homing which is something i wanted too the only things left is spindle which I am waiting for a 22kw vfd from delta and also I need to set up the spindle high and low gear

i was trying to make the lights because i want to start understanding how the lua works I am reading a lot and seeing video but i still finding it a bit difficult for me VisualBasic c++ is better  because whatever i needed in mach3 i do .I need a lot of cnc retrofit toolchangers and so on

maybe i need to hire someone to come over to my factory to get me started


7
Mach4 General Discussion / Re: enable output
« on: February 03, 2019, 02:02:17 PM »
Hi I received this script from cslabs and as I mentioned before I am pretty new for  mach4 I cannot figure out what is wrong with it it's a script for a signal tower light but mach4 doesn't like it . I am copying and pasting in the screen editor PLC scripting I hope doing it the right way

8
Mach4 General Discussion / Re: enable output
« on: February 02, 2019, 09:22:29 AM »
Hi Craig,

Thanks allot for your detailed answer but i find and other way to do it i install a small timer and it is working ok

9
Mach4 General Discussion / enable output
« on: February 02, 2019, 05:35:50 AM »
Hi All ,

I am pretty new for mach4 but I started playing a bit with it i notice that the enable outputs to come all on at the same time mach3 use to be with some delay between enable1 enabe2 and so on
is it possible to have some delay between enable 0 enable 1 enable 3 like 1sec intervals 

Pages: 1