Hello Guest it is April 26, 2024, 07:02:25 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

511
Mach4 General Discussion / Re: Getting the value of a text box
« on: May 19, 2016, 05:05:42 PM »
Ive just recreated what you have and all works fine my end??

DazTheGas

512
From the screen editor have a look at the siglib within the startup script, this should put you on the right track.

DazTheGas

513
I was gettin confused as well, but vandabrakins log shows that its waiting for 2000 seconds this can cause windows to think that mach4 is not responding.

perhaps the wait for spindle is set to 2000 instead of max rpm but without the machine ini its hard to say, most problems can be sorted with this one file so others dont have to guess??

DazTheGas

514
Mach4 General Discussion / Re: Event Script for Enable Button
« on: May 04, 2016, 09:52:40 AM »
The signal script is loaded at the start of mach4 and is best place for what you need it is then run internally like a windows event/function so a lot faster than the plc script.

The script that bob posted will work fine although to toggle the enable button and allow it to run side by side with the gui i would use

Code: [Select]
[mc.ISIG_INPUT4] = function (state)
   if (state == 1) then
      -- mc.mcCntlLog( inst, "INPUT4 asserted", "", -1 );
      mc.mcCntlEnable( inst, 0 ) -- Changed
   else
      -- mc.mcCntlLog( inst, "INPUT4 de-asserted", "", -1 );
      mc.mcCntlEnable( inst, 1 )  -- Added
   end
end,

DazTheGas

515
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: April 22, 2016, 01:02:36 PM »
why not just do a screen dump using the print screen button.

DazTheGas

516
You need JP2 enabled on the ESS

DazTheGas

517
Sorry didnt sound right, my estop is on the neutral 230v so hitting estop discharges the 24v psu.

Quote
BOBS need a Estop and a some stepper driver require a enable
yes suppose I was just thinkin of my own setup, however the c25 has no mention of needin estop to run.

Double checked the TB6600HG ic and your right it does req a high signal to enable the driver ;-)

DazTheGas

518
Mach4 or ESS does not require an estop configured to function, i dont have one configured myself, my estop is between 24v - tokill all motors regardless of what mach4 says.
The c25 can be powered from the ESS but then you have to remember what current you draw through the c25 comes from the ESS.
I have never yet connected the enable pins on a driver yet they seem to be ok without it.

with this I would look at first makin sure the c25 has power and trying without the enable wires connected.

DazTheGas

519
Mach4 General Discussion / Re: Adding external push buttons
« on: April 10, 2016, 03:09:07 AM »
dah79 - You will need a function within your plc that will take the value from the register which not sure is min 0 to max 3.3v this will need to be converted to a range between 0 - 250 then the dro and fro populated with the result.
Also you will need this the other way round so when you change the fro on screen it will change the register (which it cannot as due to the pot corrected will overide)
so this is where your selector switch would come in and dissable the onscreen slider whilst the pot is being used.

DazTheGas

520
Its a bugger when u got a custom plugin and something in the core changes and breaks it, like ive always said its nice havin access to the sdk but without a changelog its a case of figuring out whats been changed in order to repair plugins.

DaTheGas