Hello Guest it is March 29, 2024, 08:20:49 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 - RJ Hohman

Pages: 1 2 »
1
Hi Scott,
#1. Yes
#2. I am a relative Mach Noob, so I am not sure how helpful would be with Mach VB code,
     But I am in the same spot that others are. Wishing that the documentation was better.

I have programmed in Pascal , Visual Basic and also program Pic controllers so I have some knowledge in that area.
For some family members I have written and maintain websites, so I have  the ability to write and publish to the web.
I can produce PDF's or other document types. I have never done a Wiki , but it is just a web page.
I would be willing to put some time in getting the information in a readable, orderly manner.
regards,
RJ

2
Hi All,
Works fine now. Great addition. The only problem now is more things to paly with....just need more time to play!    ;D
Thanks,
RJ

3
Scott,
I looked and the Auto Screen enlarge was checked. I made a screen capture of my laptop to show you. Only the Main screen has it visible.
Maybe that is what is causing the small screen size?
regards,
RJ

4
Hi Scott,
I tried the screen set. It loaded fine except that all screens were about 1/4 of my normal screen size. My screen size is 1078 x 768. There was also some text that was
down and left of the lower left corner of the screen. As best as I can make out it says overir....  . I like the diagnostic screen. Is this a free plugin?
regards,
RJ

5
General Mach Discussion / Re: Problem with Auto Zero Script
« on: March 15, 2009, 06:37:32 PM »
Ray,

Mach was in the G90 mode, and the code said that it was and did not change after running the code. After trying a few things, what worked for me was to comment out the 'Call SetDro(ZDRO, 0.0000)'. Everything worked after that. I am still learning the ins and outs of the OEM codes. Thanks for the help. Now to cut some chips..... ;D

Still have hair left,
RJ

ps I don't post a lot because I find if you do a little research, you can find most of the questions have already been asked ( and answered ). So A big thanks to everyone in the forum also.

6
General Mach Discussion / Re: Problem with Auto Zero Script
« on: March 15, 2009, 01:36:04 PM »
I modified the script and it displays the variable properly now.
Thanks. What I am trying to do is zero out the Z and retract to .500 above the work. I ran the script and it still does not work properly. If I step through it works the way I think it is supposed to. DRO reads 0.438 and is .500 above the work.  If I run the script with the hiddenscript.mls window open, I noticed that the Z DRO reads correct for just a second then it updates to higher number than the retract height. I preset the height over the touch plate to several values (.100, .200) then run the code. Checking the variable after the script runs Each time i run it it appears to adds the value of the ZTouchDRO var(2002) to the DRO after the script is done. The Z DRO matches the DRO on the machine, so its moving the right number of steps, just not the right number. Do I need to zero the ZTouchDRO var, or do a SetVar(2002,0) call before the code ends or maybe both?
Thanks,
RJ

7
General Mach Discussion / Re: Problem with Auto Zero Script
« on: March 14, 2009, 11:36:52 PM »
Hi Ray, 
Thanks for the reply. I was trying to get Mach to tell me what the variable was when not stepping through the macro. So if I want to output a variable in the message the format should be Code "(message string " & var goes here & ")" . Thanks for that   ;D. In my start up I do a G90, so I am in the ABS mode. I will try that tomorrow, I have shut it all down for the night. I believe that it is your script that I am using, so Thanks for the script.
RJ


8
General Mach Discussion / Problem with Auto Zero Script
« on: March 14, 2009, 08:28:15 PM »
This is driving me crazy. I am running ver 3.042.021. I have added this code to my "Auto Tool Zero" button in Mach, which I got from this forum.  If I step through the code it works perfectly, and the machine stops at +0.438. This is .500 above the work piece. If I run it by clicking the button it adds the touch plate thickness to the retract height, or .562.  If I run it again it then retracts to .624. I couple of times it has doubled the height. If I edit the script and single step through it it works and stops at 0.438. I have tried increasing the dwell times (I am set for milliseconds) which had the same results. What am I doing wrong?  I am running out of ideas and hair.....
RJ  ???

9
General Mach Discussion / Re: Help with "dwell" in macro
« on: January 04, 2009, 11:08:31 AM »
Hi Hood, barely got the other posts read before your reply, thanks. Makes me wonder how many more of these 'undocumented' jewels are around. Like the g28.1 that I found.
RJ

10
General Mach Discussion / Re: Help with "dwell" in macro
« on: January 04, 2009, 10:52:47 AM »
Where does the command 'Sleep' come from.  I looked in the VB-Script-Commands.pdf and every other document on Mach and could not find it. Is this an undocumented feature? thanks.

RJ

ps thanks Hood. have learned alot from your posts.  (and everyone else too)

Pages: 1 2 »