PathPilot quick tips robot edition So today I'm going to give you a quick
overview of using the conversational screens to create a robot program
we're just going to throw some commands into a robot program I might show you how to reorder
them how to move them around add and delete them and then when we're all done we'll take a look
at the python that gets created for you by these conversational screens that python is the robot
programming language and it's the code that the robot uses when it's uh it's doing its thing so
we'll start just by going to the conversational screen the very first tab is the move tab I'm
going to add I don't know we'll add these way points we'll add moves to these way points to uh
the program that will cover the whole move tab and waypoints in depth in other, in other quick
tip videos but for now I just added four different moves to a robot program.
the set tab we can set a
digital output to go low we'll add that one and then let's go ahead and we'll change it
uh let it now it'll go high right, but maybe I don't want that to happen like boom boom. Maybe
I want it to sleep a little bit in between that so let's add a sleep command in here for two seconds
i'll add that to the program and as i mentioned i want these things to happen you know not
low high sleep i want it to be go low and then sleep for two seconds so i'll come over here
and we'll just move that command up a little bit
another screen we're going to put this in notification let's say
i want to put a notification into the operator that says hello robot fans
if i wanted to if i had an image if i had taken a photo of a setup i want to remember i could
put the image in here too but for now i'm just going to add this little notification add it to
the program we could go on and do more stuff we've got path pilot 1100 mx uh set up here next to the
robot and we could give it arbitrary mdi commands or tell it to start its cycle but we'll cover that
in another quick tip video for now i've got this program i can go ahead and save it look here it
it warns us it says look your your command to set that digital output low or high
doesn't have a name so i can hit this a warning it'll run just fine without it i could abort this
so i could go back in here and we could actually correct it correct it by naming the digital output
dio1 or we could call it air blast whatever we want
and then this will be a nice little tutorial here on how to how to remove stuff so let me remove
these two um changes to uh get the digital output high and low we'll go back to the set screen
now it actually has a name so we're not gonna get that warning we'll add that there
we'll go ahead and make it high we'll add that there and let's reorder these a bit
look good save it
test for quick tip video all right i mean i can go ahead and run this program
it's nothing fancy right it's just going to move to those waypoints it's going to set that digital
output high and it's going to move again it's going to move again it'll sleep for two seconds
it'll set the digital output low and then it gives us our notification
very easy stuff to do let's go ahead and take a look at the program though
real quick and just like in pathpilot cnc you can expand the mdi line which gives you a view of this
all this here is regular old python and in fact if we wanted to over in we could go ahead and edit
this program and we can just see here that this is uh it's regular python so not everybody's familiar
with python but i can tell you it's a much easier language to learn than g code and there are a lot
more tutorials about python out there on the interweb than there are for g-code so should be
pretty easy for most people who don't already know python to get going with it and of course like
everything else that tormach does we're going to help you understand it if you don't know how to
how to write any python code yourself just like in our cnc world
if you don't know gcode you can still use a milling machine if you don't know how to
write python you can certainly still use the robot thank you very much for watching