Hello Guest it is April 20, 2021, 08:48:06 AM

Author Topic: Brian Barker: Can you make JCode 6 axis... P L E A S E  (Read 10306 times)

0 Members and 1 Guest are viewing this topic.

Brian Barker: Can you make JCode 6 axis... P L E A S E
« on: December 06, 2008, 04:29:42 PM »
I have a 6 axis machine (robot).
I'm using the 6 axis screen set.
I beg of you to make JCode record all six axis.

P L E A S E
Scrappy

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #1 on: December 08, 2008, 09:36:10 AM »
I have one, for JCode Six axis, I will sell a License of the Plugin to you.
contact me at "poppabear@hughes.net"
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #2 on: December 09, 2008, 10:07:09 PM »
poppabear's plug-in costs 4 times as much as Mach.
I could still use a 6 axis teach.
It seems like a macro can do the trick.
Can someone help?

ss

Offline budman68

*
  • *
  •  2,354 2,354
    • View Profile
Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #3 on: December 10, 2008, 04:56:15 AM »
Possibly you could ask in the VB area of the forum?

Maybe you could even download the information to make this plug-in yourself from the Mach 3 Downloads page?

Good luck-  :)

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)
Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #4 on: December 26, 2008, 12:28:28 AM »
Budman,

I DID IT! 6 axis teach.

I'm using the CInt because I'm making a robot and don't need floating point precision.
I'm working on adding a comment.
Then I need to make a random playback script. I have a good start on the random but the comment is puzzling me.

I've really enjoyed making the script. Thanks for the suggestion.


My frist script:
X = CInt (GetDRO (0))
Y = CInt (GetDRO (1))
Z = CInt (GetDRO (2))
A = CInt (GetDRO (3))
B = CInt (GetDRO (4))
C = CInt (GetDRO (5))
AppendTeachFile "teach.tap"
Code "X" & X & " Y" & Y & " Z" & Z & " A" & A & " B" & B & " C" & C
call LoadTeachFile()

Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #5 on: December 26, 2008, 06:40:02 AM »
That's GREAT Scrappy !
I sure could use this with a pick n place part loader for my little lathe.
Congrats.,
RC

Offline budman68

*
  • *
  •  2,354 2,354
    • View Profile
Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #6 on: December 26, 2008, 08:52:35 AM »
Excellent, Scrappy! Glad you can make that work for you.

This stuff is way above me but I've seen some users that can really make a go of this scripting language and it's good to see -  :)

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)
Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #7 on: December 27, 2008, 06:55:55 PM »
Dude,

I've figured out how to add comment:

X = CInt (GetDRO (0))
Y = CInt (GetDRO (1))
Z = CInt (GetDRO (2))
A = CInt (GetDRO (3))
B = CInt (GetDRO (4))
C = CInt (GetDRO (5))
Com = InputBox ("Add Comment")
AppendTeachFile "teach.tap"
Code "X" & X & " Y" & Y & " Z" & Z & " A" & A & " B" & B & " C" & C & "  //" & Com
call LoadTeachFile()
« Last Edit: December 30, 2008, 05:26:34 PM by ScrappyScooter »

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #8 on: December 27, 2008, 10:35:20 PM »
Hi, Scrappy

Have a servo driven small robotic arm I'm converting to step & direction and Mach3, Did you get your View screen situation worked out.

Chip
Re: Brian Barker: Can you make JCode 6 axis... P L E A S E
« Reply #9 on: December 28, 2008, 12:26:14 AM »
Chip,

I have not gotten back to that problem yet.
The problem may be that I'm doing all of my scripting research/testing on a laptop on the couch.
When I get it all figured out, I'll port it to the robot in the basement.

I've got the random looping figured out. I have to now make each loop triggerable.
My robot is a Ping Pong ball machine. I have all of the mechanics built. It has 6 motors going.
I just have to get the scripting done.