!" # ! $!% "&' ( ! (!'#) * #!" ! $!% "&' % # ' ' # ( + # ' , ') - ' ! . . .( " . ( "/" + LENGUAJE 0 UNIVERSIDAD /FABRICANTE 1234 '/ !# %6 < 123= '/ !# '$ $ 123> % 1232 12>4 ' + ! # ## # %6 !$ '% ' '"'' "! ' - 1232 @ # A 1233 C 12>2 122= -- A @ A A A ORIGEN Y CARACTERÍSTICAS APLICACIONES 5 5 5 + " #! 5 ' ( "&' # %( # ! " # !6 7 ( ) % ";' " 7 ' . %( 8 9 :9 5 ' * # 6 %6 # 7 $ 7 5 6* ! # 8" ' ' 9 + ! 6 9 5 ' %6 *7 +" ! 9 "' # ! 5- # ' 7 5 ' ( "&' # 5 + " # !7 ( ) % ";' " 7 5 ! ' / !% # !# " !# ' # 7 5 % # # !! 5 ' . " %( *8 9 9 # (! $! % ' <7 "79 :9 :9 5 6 '% '7 0 : 7779 777 5 6* ! # 8 # 0 + %; ( ' 9 ! " ' 9! " ' 7 5 !" ! $ 7 5 ' !(! "! ' 7 5 ' * 5 + 6* 7 5 (!& # 9 (! ) '# 7 5 6 5 + " # !7 '% 5 ! ' / !% # !# " !# ' # 7 5 ' ! "" ' # % +% ' <# " ' ! 59 57 5 ' ! "" ' ! %? " 7 5 !" ! $ 7 5 !! ( ! <! ) # ' @ !! % 5 5 5 5 % # ' ' + ' !" + ! " !# 7 5 !! ( '# '+ + 6* 7 # # "!("&' # %( # ! ' + 7 $% # % ' * ' . + " ' # 9 " % " " !B 6! " 7 ' '# < 7 5 !! # ' " 6 ! "&' " ' ' + ! # ## '( !7 5 '$ * . # '+ 7 5 # ' #( < 5 *" "&' # + ! (! $! % % % E6 %( % ! 7 5 !" D'"! ' *" "&' # ! ' # ! ""&' ' # !% ' # + ' 7 5 '$ * . # '+ % ' ! " !# 7 5 ! " ! % # !# (! $! % 7 5 # ! " ! (! # /' # ( ! ( "/" ! " '/$ ! "&' # ! 6 < " ! " !D " # F !! % ' 7 5- # ' 7 5 (! % ! 7 5 !" ! # # " # % # /" 6 7 5- # ' ;'# ! 9 # "! ' ' !% GG41H9 I ( ! ! ' ( ! 6 # #7 '$ * C ( !" # ( ? # ! %( ) ! '$ * 9I + )9 ! %( )& 7 '$ * C (! ( !" ' ' $!' ' !""&' ' ! F %6! < ! 6 7 ! ' $ ' ( ! " ' %; ! + ' 8 ' $6 # #8 ( # (! ( !" ' ! ' 6 ' # " % ' "&'9 # %; # ' # , !# ' # <" F !' # (! $!% 7 @ 6 # #8 6! %(!+ 7 # ' % I # 6 ' ! ( '# ! # ( 6 # #8 ( # ' % *!!9 %( !<% #/" ! ( " / !) 7 " ' (! $!% "' ( # ' # !! ! ' " %( # ! !' ( ! 6 # #8 (! $!% *8 ' ( ! ( # ! ' ! # "! 9 ( ! !% ' 9 ' " ' ! # !# % !+? # ' # I 7 5 ! $!% # ( " "&' "" 6 ( !# !% # ' % 9 + ' ' <$!;/" ' " !7 5 #/" "&' # !< " ! ' %( ! 9 5 "" " % ' " "&' " ' 7 5 ;" 6 ' 9 / '" ' % %; " 9 / '" ' $ %? !" 9 "77 5 @ '" ' $!;/" ( ! "! !+ ' ' 9 " ' 9 $ &' # + ' 9777 5 ' ! ""&' ! " !# 7 5 +% ' " ' ' 7 53 ! ( ! " ' ( 6 . ' &' H> ! 7 5 "" ' !# J # #$ . !' 9 H> ' !# J 1G # ' &$" 9 = & K ( ! # " % ' " "&' ! 7 5 &' # * ( % ' ! <# '" # ! . !' 5 !" # F 4#% ' ' 7 5 ! 6 ' %?!" # 4H6 9 " % / ' 9 %( <# 6 (!" &'7 5 ' ( "&' # " # ' # " !" ! 7 : !!% ' # # ""&' # !! ! 7 5 (! $!% ( # ' ! "! //5 ' ' ! !# ' # ! ! $!% # # !6 8 (! $!% " ' ! ' #!" % ' ! 6 <( # ' " ' ' !" I ! ' ! ""&'9 # %; # ' ! "" ' # % +% ' # ! 6 7 ! $!% # " ' ! # (! (& 8 (! $!% ' ' " ' ! # ( ! ! 6 9 <( # ' *" ! % % %( 7 # ' " ' ! !(! " . !' !+? # ' 6 ' ! . !' <" % ' " ! " ' (! $!% # " ' ! % # ' + ! 6 " %( ! # < , # /L !7 ! $!% # " % '# # ! 8 (! $!% " %( ' ' # " % '# # % ' !9 %; I # ' ! "" ' # (! $!% <9 '9 ( ! ! ) ! " '" # " % '# # % ' !7 " # $ - !% & !' ' ! ""&' # ! $!% !% ' # *" "&' # (! $!% B ( '# *" "&' # (! $!% " < "' ' *" "&' " ' ' ' + (! $!% # "!9 ' 6(! $!% 7 ' ! ""&' # ! $!% ( '# *" "&' # (! $!% *" "&' " ' ' ' + (! $!% ' ! ""&' # ! $!% !" ' " # "' ' + !# ' !? 7 7 ' ! ""&' # ! $!% ( * ' " ' "% ' 7 ' ! ""&' # ! $!% !% ' *" "# ! %( ) *" "&' # ' (! $!% # " ' ! 7 ! @ '"&' # + ! # ' ' ! ""&' # ! $!% @777 ' ! ""&' # ! $!% @777 : ' ! ""&' # ! $!% 7 !" ! # " ' ! @ *" ' $! ( # 'S% ! # + " 7 + + " ' "% ' ' ! "" ' I 9 7770 : O(! $!%N' % P O(! $!%N Q(! $!%N 8 7 " # 6 "M 7 .(! "<9 "R /*' ( ! ' 7 # (! $!% ) ' ( ! # (! $!% # ' /" # ( ! ! ".9 (!&.% + ) *" "&' # ' (! $!% # " ' ! 7 ' "F "MN# ( "/" # 7 (! $!% # " ' ! ( "/" # ' ' ! ""&' # (! $!% # !" ! *8 '$F # /' '# %( ) ' ! ""&' # ! $!% : !" ! # ' ! ""&' # ! $!% ' ! ""&' # ! $!% 7 < "' ' ' !# " ' ' ! ""&' # ! $!% @ " ' ! ""&' # ! $!% % '# # B 6 ' ! ""&' # ! $!% I B (& & ' "! ! I *8@ '# .P '"! !N+ '#N+ 7 " # 6 "M 7 *" "&' # (! $!% ! + !# I ( "/" # # ' .(! &' &$" *" ' $! ( # ' ! "" ' " '#" ' ' # # $! ( # ( '# '# # ! # # ' .(! &' &$" 7 @ $" N .(! ' 1TT 7 ' ! ""&' # ! $!% A ' ! ""&' # ! $!% ' ! ""&' # ! $!% B ! 0 0: 7 (! !# # " 9 9 '" (! $!% ' ! ""&' # ! $!% !% ' ! ""&' # ! $!% '! ( !+ &' # " 7 ! ' ' !! ("&' " !! ' + !# # 7 ! 0: < " % ') I # " !! # '" "' ! "' ' # ' ' % # # 6(! $!% ' ! ""&' # ! $!% " ! ""&' # (! $!% *" "&' # (! $!% <' ( !% + + ' ! ""&' # ! $!% ! 7 '+ " ' " % '# # " ' ! # % ' ' ! ""&' # ! $!% !"&' (! $!% ! ""&' F " ! $ ' %#7 (! $!% 7 , ' %?!" ( "/" < "" ' !' " ' # , ' " !!" 7 !! ! I # " !!' # !' %; " % ' *" "&' # ! # $ ' # ( ' 6 # (! $!% ( ! / '" ' !7 " ' ! % ' # (! $!% 7 ' ! ""&' # ! $!% !% ' *" "&' # *" "&' " # 6(! $!% < # # (! $!% ' $ ' ( # ' ! "" ' ' ! ""&' # ! $!% !% ' *" "&' # *" "&' " # 6(! $!% < # % *" "&' # (! $!% ' $ ' ( # ' ! ""&' I " 6! ' '+ " # 7 ' ! ""&' # ! $!% 0 (! !# ## " !! # %( ' !" ! @ !" ! # " ' ! 7 ' ! ""&' # ! $!% 7 @* ' ! ""&' # ! $!% @ '"&' # + ! J '+D ' ' ! ""&' # 7 ' + " ! ( "/" # # 6 # '" '# ($ , #$ @ * ' " ' "% ' "# % '! ! *" "&' # !% ' ' ! ""&' # ! $!% ' ' ! ""&' # ! $!% ( '# *" "&' # ' (! $!% F I F ( "/" # 9 F I F !' " !!# ' " ' # ## ' !! ( !# % *" "&' ! '+ " # " ' ' 7 ( "/" # 7 ' ! ""&' # ! $!% ' % *" "&' # "" # (! $!% (! $!% ' ) # ' " ' (! " "' !" ! # 0 : (! F I " '#"&' 7 " !!# ' " ' "% ' %( ( "/" # 7 !" ! 0 : " '#"&' " '#"&' '" % ' @ 7 " # $ & !' - !' H + - '+ !6 + + N1J+ % , NH7 '+ ! ' + !! !' @ " ' '+ ! #$ # ;'$ / !% $!# # &#$ !$ ' %? !" # ;'$ - I ' '$ ' "% 6 ' ! ## 7 ' 'S% ! ' ! I + ' 7 !' ( ! /!"" ' # # ' !$ % ' 7 !' ( ! ' ! # ' 'S% ! 7 - !' + !# # 6< B + + + !%;.% " ' ' # ' # + !7 + + + !%D' % " ' ' # ' # + !7 %(! 6 # ' !'$ ' !(! # ' + !( ! + ! . ! ! !'$ ( "/" # 7 Devuelve el valor de la constante matemática pi (3,141593). + + ' 'S% ! ( + + + + + !1" ' ' # !7 , # ( !;% ! # + !7 !$ ' %? !" # ' ;'$ U + + " #!# # ( !;% ! 7 U + + !D)" #!# # ( !;% ! 7 ## 7 !$ ' % !" $ 7 !"# $ $"$% & $ !# %'# " $ @ & !' !% ' F # /' # ' + ! 6 7 + + 'S% ! # !! !# ' !! !!" ' I " ! ""&' # 7 !' % ' * # !! ! " # " ' "&#$ # !! !7 O @ *" 6 (! $!% (! #( + ' %6!# 7 + + + ! " # ' + ! 6 # + !! < $' ' ' + + !7 # D I 9 ' '$ ' ! ! # (! $!% ( # % #/" ! + ! 6 ' % % %( 7 !' '/ !% "&' 6! ' ! # *" "&' # (! $!% 7 "" ' + + 7 !' + + O A I I # ' /" ' ! D'#" %; % < # ( !;% ! ' %6!# # + + (! !# # " + + 'S% ! # # " !! # ' # #I '/ !% "&' # # (! ' + + ' '#" "&' # + + + !# + + 'S% ! # % " 7 '7 # ( ! ' % !) #% ' &' 7 " + + ' + !# & ' % % !7 '/ !% "&' # # J!+ * (! $!% 7 "" ' # " % ' (! # ' ' !! ( !# , ' ! " ( " "&' # (! $!% 7 " '" I " ' %( " % 7 ! ""&' ( ! + + ' + !# 'S% ! ' ! I !(! ' O )# # " ( "/" # 7 " '/$ !"&' # + + * % " ' * 6! ' /*' ( ! /"F # "! "&' # !' : " ' "% ' (" # + + + + 0 " ' # ## & ' ( !# % ' ! ' $ '# # ! *# % 7 /"F /"F " F! # # " ' # !# % I ( "/" # ' % <F ! %( ( !;% ! # # 9 # /"F < F ! ( "/" # # " !!' ( ! $ '# , F " ' '#+ 6 % ' 9 % 7 ( ! $ '# 7 " '" 7 ( "/" # 7 • Aplicaciones en fundición. • Aplicaciones de Soldadura • Aplicación de Pintura, Esmalte, Partículas de metal, etc. • Alimentación de máquinas. • Corte. • Montaje / Ensamblaje • Paletización • Pick and place ( "! !"# $ / '#"&' # % ! (! '< ""&' / (!% !(! " ! 6 ) # ' 12GT7 !6 9 ' (! " ' ) # ( ! !' ( ! # ( ) ' $ !# '/! # < ( ! !% ' ! (! " # 6 !# # 9 " ! 9 "7 7 "!") * ( "! !"# $ # ' ! %; ! 6 ) # # ' ! # /6!" "&' # %&+ # # ! # " !! " !D 7 !6 # # # ! ( !( ' (!" ' " ( "# ## " !$ # !# ' # KT51TTA$7 < ! " ! ! " !9 " ' /" ' $!# # 6 ! # K G " % ( ! ( " ' !< ! ' ! (') # # # ! ( ) $S' " ' $ ! # #/D" "" 7 ( "! !") $& % + %!* "% ' + '%,! $ & % + ! 6 # (' ! ' !! 6 ! " ! 9 $ ! 9 " ' G %; $!# # 6 ! #I ( !% ' (! < " !(' ! ' # F " # ( )7 ' ' "' (! "" ' (" ( ! # /'# ! # ( !D" ' ( ' &' # ' ! # " 6 ' # (' ! < ( 6 " ' " '" .( ' 9 '" '# 9 # ! ! % ";' " 7 %6 ?' ' ' ' "" ' % ' F#!; " ( ! ! $ # '" '# 7 "& % !") & -. " $. $ ) "&' # ! 6 ( ! % ' ! %;I ' ( !" ( ! ( $! # #< % ' 'D # ( !" ' # " !$ < # " !$ # % I ' 7 !6 # ' ! '# 6 * " %( *# #9 (!" &' % # 9 ' % ! !# "# # $!# # 6 ! #< ' " ' ! '" 9 6 # 9 ' " ' 9 "' % ' ( # ! " '" <" ' ' " %( # ""&' $!'# 7 ! " ! % /!" ' % ' )# ' " D'#!" 9 /?!" < ! " !7 %6 ?' " ! ' ( # ( ! ! "&'7 #'% * "! # % ! % # ' !6 ' ( " "&' !" ' 9 $!" " ( "# ## !(! $!% "&' # ! 6 < ' $!"&' ' ' % I F" I % ' # ( ! !' ( ! ! F !!% ' # " ! 6! ( ) 9 ! ) '# " ' (!" &' ' (! $!% # "! # # ' % # # , # ( !" %( # ! 7 # %/ 0 $ & /. ( !" ' # % ' *9 ( ! $!' (!" &' <F 6 # #I ' !% % ' .$ '9 (! ' ' $!'# #/" # (! % ) "&' / .6 7 ( F " ') # $!' ( ( !# # ' ( # ! (! 6 *" <6 ' " !" !D " 7 "' $ ' ( ! #( 6 ## " + 9 (! ' '# /" # #( ! # + ! 9 ( ! ' / !) . !' 9 ' ( ' F !) ' < ' $!' !$# )( ! F "! ' * + !" 7 %"1 !") ( ) "&' ' (! " 6; " % ' # % ' ( "&'9 "' ' ' # ( ' !# ( ) 6! ' ( / !% 6 '# * ( 7 ' !% ' 9 ! # ( ) "&' %( " ' % ' * # $!'# " !$ 9 # ( <#% ' ' +# 7 ! % +9 !6 %( # ' ( # ( "" ' " %6!' !! 6 # $!' % , 9 " ' ' " ( "# ## " !$ # 1T 1KTM$ (! .% # % ' 7 "!2 ( ! % &' # ' ! 6 !6 *'# ' ' (! " # ("M '#( " "' ' !" $ !( ) # ' $ !<# ( ! ' ! (! ( ! 6 $ ' D' # % ' "&' # " * <# ( 9 + )I % #" ' ' " ! (! ! "* ' ( " ' ( "&' < ! ' "&' # " # # ' % ' ! / .6 7 EJEMPLO DE MENU .PROGRAM sub.menu() ; DESCRIPCIÓN: Este programa ofrece al operario un menú con las ; opciones que puede seleccionar, desde su terminal de usuario ; (botonera/ PC). ; Después de introducir una entrada desde el teclado, el programa ; ejecutará la operación seleccionada. ; El menú incluye la ejecución del programa de pick and place, mostrar ; los puntos, y volver al menu principal. ; SUPONEMOS: Las funciones pick.place() y teach() definidas. AUTO opcion, salir, $frase salir = FALSE DO TYPE /C2, "MENU DE OPERACIÓN PICK AND PLACE" TYPE /C1, " 1 => Inicializar pick and place" TYPE /C1, " 2 => Mostrar localización puntos" TYPE /C1, " 3 => Volver al menu principal", /C1 PROMPT "Selecciona una opcion y presiona INTRO: ", $frase opcion = VAL($frase) ;Convierte un string en un numero CASE opcion OF ;entramos en el menu... VALUE 1: ;...seleccion 1 TYPE /C2, "Iniciando operacion..." CALL move.parts() VALUE 2: ;...seleccion 2 CALL teach() VALUE 3: ;...seleccion 3 salir = TRUE ANY ;...si se presiona cualquier otra tecla TYPE /B, /C1, "** ENTRADA NO VALIDA E R R O R **" END ;Fin del CASE UNTIL salir ;Fin del DO .END Este programa permite al operario grabar las posiciones de pick, place y start, con la paleta de control manual. .PROGRAM teach(pick, place, start) ; ABSTRACT: Este programa se usa para grabar las posiciones ;"pick", "place", y "start" del "move.parts" programa. ; PARÁMETROS DE ENTRADA: Ninguno ; PARÁMETROS DE SALIDA: pick, place, y empezar ; EFECTOS SECUNDARIOS: El robot está inactivo mientras la rutina está ; activada. AUTO $borrar.display ;variable $borrar.display = $CHR(12)+$CHR(7) ATTACH (1) ;Desactiva el control automatico del robot DETACH (0) ;Realiza el control manual del robot ; Salida en el display del control manual. WRITE (1) $borrar.display, "Mueve el robot a la posicion 'START' & pulsa RECORD" WRITE (1) /X17, "RECORD", $CHR(5), /S WRITE (1) $CHR(30), $CHR(3), /S ;Parpadea el led de la paleta de control WAIT PENDANT(3) ;Esperar que una tecla sea pulsada HERE start ;Graba la posición "start" ; Aviso, en el display de la segunda localización WRITE (1) $borrar.display, "Mueve el robot a la posicion 'PICK' y pulsa RECORD" WRITE (1) /X17, "RECORD", $CHR(5), /S WAIT PENDANT(3) ; Esperar que una tecla sea pulsada HERE pick ;Graba la posición "pick" ; Aviso, en el display de la tercera localización WRITE (1) $borrar.display, "Mueve el robot a la posición 'PLACE' y pulsa RECORD" WRITE (1) /X17, "RECORD", $CHR(5), /S WAIT PENDANT(3) ; Esperar que una tecla sea pulsada HERE place ;Graba la posicion "place" ATTACH (0) ;Activa el control automatico del robot DETACH (1) ;Anula el control manual del robot RETURN .END ;Vuelve a llamar al programa ; Finaliza el programa E je m p lo d e P a le t iz a c ió n .P R O G R A M m o v e .p a r t s ( ) ;D E S C R IP C IO N : E s te p r o g r a m a c o g e c a ja s e n la lo c a liz a c ió n “ p ic k ” ; y la s d e p o s ita e n “ p la c e ” , in c r e m e n ta n d o la z d e p la c e , y a s í a p ila n d o ; la s c a ja s e n e l p a le t. p a r ts = 6 ; n º d e c a ja s a a p ila r h e ig h t1 = 3 0 0 ; a ltu r a d e “a p p r o a c h /d e p a r t” e n “ p ic k ” h e ig h t2 = 5 0 0 ; a ltu r a d e “a p p r o a c h /d e p a r t” e n “ p la c e ” p a r a m e te r H A N D .T IM E = 0 .1 6 ; m o v im ie n to d e l b r a z o le n to OPEN ; a p e r tu r a d e p in z a R IG H T Y ; s e le c c io n a m o s c o n fig u r a c ió n d e r e c h a M O V E s ta rt ; m o v e r a la lo c a liz a c ió n s e g u r a d e in ic io F O R i = 1 T O p a r ts ; in ic ia r e l a p ila d o d e c a ja s A P P R O p ic k , h e ig h t1 ; ir a “ p ic k - u p ” M O V E S p ic k ; m o v e r h a c ia la c a ja CLOSEI ; c e r r a r la p in z a D E P A R T S h e ig h t1 ; v o lv e r a la p o s ic ió n a n te r io r A P P R O p la c e , h e ig h t2 ; ir a “ p u t- d o w n ” M O V E S p la c e ; m o v e r a la lo c a liz a c ió n d e d e s tin o O PENI ; a b r ir la p in z a D E P A R T S h e ig h t2 ; v o lv e r a la p o s ic ió n a n te r io r S H IF T h e ic h t2 B Y 0 .0 0 , 0 .0 0 , 3 0 0 END T Y P E “ F in d e ta r e a . ” , /IO , p a r ts , “ c a ja s a p lia d a s .” RETURN ; fin d e l p r o g r a m a .E N D