Hello Guest it is April 20, 2024, 01:31:02 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 - $cott

Pages: « 1 2 3 4 »
11
Bob and Chaos,

Thank you for your support on my task.  I cleaned up the signal scrip as suggested and made the change to eliminate the feed hold in the screen load script.  The feed hold was my issue definitely my issue.  I will also read the post you suggested.

I guess i am most confused as why the manual says to put the signal information in the signal scripting area instead of the screen load area.

I will also read the post you suggested and hope it willclear things up for me.

thank again for the help and am making perfect glue joints now ... i ma so pleased with my little Glue-Bot performance!

Regards Scott


Scott

12
I commented out the script in the Load Screen section for Input1/Cycle Start.  I have found the switch is activating the cycle start but it is not doing it properly.  For example when I give a G-Code of say G1A360F100 my glue disk only turns say 12 degrees instead of 360 degrees.  When just do a typical cycle start off MACH4 menu it works fine.  Another bad side effect is it seems when i use external cycle start button it locks up the MACH4 Cycle Start menu button.  If deactivate the system and start again i can seem to get it running again.

Any suggestions for me?

Scott

13
Bob,

I tried adding the below code to the signal script section and i could not get my code to work.  Note my scripting knowledge is pathetic at most.

local inst = mc.mcGetInstance();

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

if (sig == mc.ISIG_INPUT1) and (state == 1) then
local inst = mc.mcGetInstance()
mc.mcCntlCycleStart(inst)
end

local inst = mc.mcGetInstance();

if (sig == mc.ISIG_INPUT6) and (state == 1) then
local inst = mc.mcGetInstance()
mc.mcCntlCycleStop(inst)
end

Yet when deleted my code and commented out the Input 1/Cycle Start section in the Load Screen Script section it works.  From my reading of the manual i thought i was supposed to add this kind of thing in the Signal Script Script Section?

Can you or DAZtheGas explain to my why so i can understand what i have messed.

Thanks again for all your help ... my machine is fully functioning!!

Scott

14
Ok ... I think I am getting this ... I load the new screen set in MACH4 View menu not in the edit screen section.

Scott

15
BOB,

When i try to load the new screen in View menu the load screen option is grayed out so I can not load the MX4 screen set.  What did i miss?

Scott

16
Is there any videos or more documentation on how to change the signals scrips for Mach4.  I read in the manual how i can change the signal scrips for having an external switch to do a cycle start.  But it does not tell me were tese scrips are located, or how i can change it.  I have never done scripting so i am very green.  Can some one give me some helps on how i can do this.  I basically want Input1 (pin15) tied to a switch and when i push it i want to have a cycle start done.
 Thanks  Scott

17
Mach4 General Discussion / Re: A axis operation in Mach4
« on: May 07, 2016, 12:38:41 PM »
Bob,
I tried again this morning and it is working fine now with the first settings you gave me.  I am a bit confused but i am pleased to have it working as expected now.  Does the system need to be reset at times?  Also i noticed if the Roll Over is checked in the MACH4 setup it seem to get the weird operation!  I believe i can now write the G-Code I need to do to get my glue machine up and running now.

Setup:
Stepper connected to round disk mount, were I attach a light to and then i want to apply silicon through a EFD 7000 glue dispenser.  I basically will control the speed and rotation of the disk while controlling the EFD unit to hopefully apply the silicon very evenly every time on a LED light we manufacture.

Gear:
Driver: DM542
Stepper: 23HS243M made by Act-Motor (quite over kill for my application but i did not have to buy anything)
Breakout Board: DB25-1205 like on Micro Robtics Site Part# OT382
All Connected to: PMDX-411

Thank you for being so helpful!!  As for the Roll Over option I believe there is an issue still there maybe.

Thanks
Scott

18
Mach4 General Discussion / Re: A axis operation in Mach4
« on: May 06, 2016, 09:20:09 PM »
Oops that  G-Code G0A90

19
Mach4 General Discussion / Re: A axis operation in Mach4
« on: May 06, 2016, 09:19:28 PM »
Bob,

Thanks for your input for my problem.  When i test with the settings you suggested and I enter a G-Code of A0A90 say ....  the stepper only moves maybe 2 or 3 degrees.
I have checked to make sure my driver is set at 1600 steps per revolution. 

Scott

20
Mach4 General Discussion / Re: A axis operation in Mach4
« on: May 05, 2016, 10:10:40 PM »
Has the rotary A-axis been sorted out yet for Mach4?  Is there documentation on how to set up the A-axis for degrees in Mach4?  I am trying to run a direct drive on the A-axis and can not get the stepper to turn in degrees accurately when i give say A90 (90 degrees) or any other.

 My stepper driver has the ability to micro step from 400 to 25600 pulses/rev.  Can anyone give me some direction as to how to set MACH4 properly to give best accuracy with direct drive?

Scott

Pages: « 1 2 3 4 »