Hello Guest it is December 01, 2020, 04:07:30 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 - borbori

Pages: 1 2 »
Modbus / Arduino MODBUS and motor output
« on: April 01, 2016, 11:49:59 AM »

Is there possible to have motor outputs on modbus device like arduino?
As i read on docs, we can use port 0 for modbus slave, so for example we can set port 0 pin 22 as x step output etc.


Modbus / Re: Arduino Modbus, Complete, Documented and free
« on: March 29, 2016, 02:28:39 PM »

Great job, Thanks fellas,
So is it possible to have axis output (STEP/DIR) on arduino mega output ? for example port 0 pin 24 for X DIR and port 0 pin 25 for STEP ? so we can have a modbus breakout ?


Mach Screens / Re: VB code for jogging...
« on: August 14, 2011, 01:10:30 PM »
If you press "TAB" it should bring out the MPG flyout. Try using those buttons for jogging. Do they work properly? If not there may be a problem in your settings somewhere.... Let us know...


i've already tested this,
when click and hold on jog buttons, mach3 starts constant velocity jogging (acceleration) , and when unclick, mach3 stops constant velocity jogging (deceleration).
but the problem is i've assigned keyboard hotkeys on screen4 for these jog buttons,
when pressing the keyboard shortcut key for the first time, the jogging starts with constant velocity (acceleration).. but it's jogging ! so i've to press STOP button, when pressing stop, and jogging hotkey again, MACH3 start jogging without acceleration, and the STOP button exactly stops the jog (without deceleration) !
seems it's a bug with mach3 !
any solution?

Mach Screens / Re: VB code for jogging...
« on: August 13, 2011, 12:24:58 PM »
Check the OEM Button codes. Use DoOEMButton() in your new button's script to call whatever button you want to press. Get the list of OEM buttons from the Mach wiki here http://www.machsupport.com/MachCustomizeWiki/index.php?title=OEM_Buttons.

You will find everything you need there.

Thanx for ur reply,
i tried OEM button 307 for X++ jogging for example, but the problem is I assigned a shortcut for this OEM buttons on SCREEN4, when i'm pressing this shortcut key on keyboard, the machine jogs X++, but not with constant velocity.. i mean there's no acceleration on start, no deceleration on stop,
second problem is when i press the hotkey once, machine start jogging X++, but when i want to stop jogging , i have to press stop button, and there's no deceleration,
i want to add a button to mach3 screen, and when i press the hotkey for that button, the axis starts jogging with acceleration (constant velocity) and when press that hotkey again, machine stops with deceleration...
i'm using an Infrared remote control, it got a software that simulates real keyboard button press on PC, i assigned all buttons, but when simulates jogging buttons defined on MACH3 Menu->config->system config , the MACH3 doesn't read that code ! i think this is because of the algorythm of scanning the keyboard !
i didn't find a way to solve my problem,
anybody can help me please?

Mach Screens / Re: VB code for jogging...
« on: August 13, 2011, 05:29:02 AM »
Still no solution ??

Mach Screens / VB code for jogging...
« on: August 08, 2011, 07:35:22 AM »

i wanna define VB Script Buttons on MACH3 SCREEN for jogging 3axis,

for example X+ X- Y+ Y- Z+ Z-

by pressing each button, for example X+, the X axis must jog + direction, and pressing that button again must stop jogging,
and all jogging operation by this way, must be Constant Velocity mode, (ACCELERATION time in motor tuning must be applied),
and all buttons must be using RAPID FEEDRATE (defined in percent)...

can anyone help me please, and send me the VB codes for this?

Thank you

Mach Screens / Re: Help.about screen designing
« on: July 01, 2009, 02:40:15 AM »
help me plz :(

Mach Screens / Re: Help.about screen designing
« on: June 27, 2009, 05:02:22 PM »
I am not sure what you need but I think you are asking how to make a "Toggle" button.

You only have a "OnPress" in Screen 4, you would need to use Flash to use a "Onrelease" and the other 6 button states.

In Screen 4 you would past VB code on a button to make it toggle, maybe something like this would help you:

Code: [Select]
If GetUserLED(1000) = 0 Then

MsgBox "Turn it on"


MsgBox "Turn it Off"

End If

thanx for reply.. yes i mean Toggle button,
but i have 2 outputs for THC Control,
i mean UP and DOWN, for my Flame-Cut cnc machine
how can i assign 2keys for THC up and down (Toggle button), for example pressing the thc up enables output 19, and releasing the button disables output 19, that's about THC Down too, output 20 ...
i don't know how to set THC up and down output ... but i need 2 outputs,one for up,and another for down !


Mach Screens / Help.about screen designing
« on: June 25, 2009, 04:39:12 PM »

I'm designing a screen for flame-cut machine,
I need 2 image button to directly enable special outputs,for example when pressing button 1on touch screen or clicking on it, enable 5 function be enabled,when depressing that button on touch screen or release the click on it enable 5 be disabled,
and second button is like this,
I need it for some relay controls...
how to do that?


Didn't get the PM, but here's a link to the macro.
It'll only work in AutoCAD 2002 or newer. And, it should work with your example.

but there's a problem, when i copy and nest myself,there are some free (rapid) lines that need m3 on each of drawing and m5 @ end of each, but ur converter puts one m3 on start and one m5 @ the end of the g-code file ...

Pages: 1 2 »