Hello Guest it is April 27, 2024, 09:11:48 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 - TPS

2231
Hi Mark,

that is quite easy.

1. put two input fields on your screen with OEMDRO's, lets say OEMDRo 1300 for X-distance and OEMDRo 1301 for Y-distance
2. place a button in screen and fill it with a VB something like this

Sub Main
   XPos=GetOEMDRO(1300)
   YPos=GetOEMDRO(1301)

   Code "G0 A90"
   Code "G0 X" + XPos + "Y" + YPos
   Code "G1 Z-1"
   Code "G1 X" + XPos + "Y0"
   Code "G1 Z1"
   Code "G0 X0 Y0"

End Sub

Thomas

2232
General Mach Discussion / Re: Tool Change Script
« on: September 14, 2015, 03:05:07 AM »
Hi,

have a look for Arduino and Modbus in the forum,
there is a running example for data exchange between
Mach3 and Arduino,

Thomas

2233
General Mach Discussion / Re: Activate "Set Home Z" from G-Code possible?
« on: September 11, 2015, 04:10:02 AM »
Hi,

SetOEMDro(3,5) will set the slow jog speed to 5%,
but i am not sure the DoOemButton(213) will
use this speed.
Thomas

here:

http://www.machsupport.com/forum/index.php/topic,30658.msg212858.html#msg212858

i have posted a list with button's, led's and dro's.

2234
General Mach Discussion / Re: One physical switch as end switch and ref
« on: August 28, 2015, 03:27:04 AM »
Hi Andre,

witch controller are you using ?

on my CSMIO-M and CSMIO-S this is working prefect,
just configure the same port and oin in input setup.

Thomas

2235
German / Re: Grafik LCD über Parallel-Port?
« on: August 24, 2015, 05:23:10 AM »
Hallo,

da Mach3 ja auch VB unterstützt würde ich grundsätzlich sage es ist möglich,
mit Hilfe von API call's.
Aber es wir nur der macropump script zyklisch ausgführt, und IMHO hat eine
Ansteuerung für ein LCD display dort nicht verloren (nur meine Meinung.)

Ich weis jetzt nicht, was auf dem Display angezeigt werden soll,
aber ich würde einen Weg über Modbus -> Arduino -> LCD diplay suchen,
da in einem Brain relativ einfach Werte über den Modbus an einen Arduino geschickt
werden können, und der sich dann um die Anzeige kümmern kann.

Gruß Tom

2236
see attachement

2237
Hi,

DoOEMButton(316)

is your friend.

Thomas

2238
Right.But I assigned also to csmio A+ A- and B+ B-

if Z+ Z- is already connected than it only needs to be enabled in the plugin window.


2239
Hi
i think you are using incremntal encoder emulation X27

the it is pin 3 and 4.

2240
Hi,

i am not sure how you wired your encoders.
if you wired also the index of the encoders,
there would be a possibility to do a
home on index with the CSMIO.

Thomas