Difference between revisions of "Program to Create Origin of Arm1 (Server) CMM in Dual Arm Configuration"

From ArcoWiki
Jump to: navigation, search
 
(3 intermediate revisions by one other user not shown)
Line 45: Line 45:
 
FA(SPHERE_ORIG)=FEAT/SPHERE,OUTER,CART,xx,yy,zz,25.4,0.00000000,0.00000000,1.00000000<br />
 
FA(SPHERE_ORIG)=FEAT/SPHERE,OUTER,CART,xx,yy,zz,25.4,0.00000000,0.00000000,1.00000000<br />
  
SHARE/F(SPHERE_ORIG)</code>
+
SHARE/F(SPHERE_ORIG)<br />
 +
 
 +
ENDFIL</code>
 +
 
 +
 
 +
 
 +
[[it:Programma per creare l'origine di Arm1 (Server) CMM nella configurazione a doppio braccio]]
 +
[[zh-cn:在双臂配置中创建Arm1(服务器)CMM的原点的程序]]
 +
[[pt:Programa para criar a origem do CMM do Arm1 (servidor) na configuração de braço duplo]]
 +
[[de:Programm zum Erstellen des Ursprungs des Arm1 (Server) CMM in der Dual-Arm-Konfiguration]]
 +
[[es:Programa para crear el origen de la MMC Arm1 (Server) en la configuración de doble brazo]]
 +
[[en:Program to Create Origin of Arm1 (Server) CMM in Dual Arm Configuration]]
  
 
[[Category:Help_On_Line]]
 
[[Category:Help_On_Line]]
 +
[[Category:Multiple_Arm]]

Latest revision as of 09:25, 14 June 2018

Description

This program is used to establish a new origin in a dual arm configuration.
The CMM shall be already aligned with the common reference system.
The program runs in CNC mode, it is necessary to assign the variables to define the probe name, the position of the reface sphere and the safety distance in Y.
The Arm 1 program shall be executed together with the execution of the Arm2 (Client) program.

Variables to be Assigned

In order to have the program run it is necessary to assign the following variables:

PROBE_NAME=ASSIGN/'P1_0_0P0_0' Name of the probe
SAFEY=ASSIGN/200 Safety Distance from the sphere
XX=ASSIGN/651.07 X absolute position of the reference sphere in MAC coordinate system
YY=ASSIGN/510.95 Y absolute position of the reference sphere in MAC coordinate system
ZZ=ASSIGN/-286.67 Z absolute position of the reference sphere in MAC coordinate system

Program

MODE/PROG,MAN

DECL/DOUBLE,XX,YY,ZZ,SAFEY
DECL/CHAR,100,PROBE_NAME

PROBE_NAME=ASSIGN/'P1_0_0P0_0'
SAFEY=ASSIGN/200
XX=ASSIGN/651.07
YY=ASSIGN/510.95
ZZ=ASSIGN/-286.67

SNSLCT/S(@PROBE_NAME)

SYNCRO/PROG,MAN
GOTO/xx,yy-safey,zz
F(SPHERE_ARM1)=FEAT/SPHERE,OUTER,CART,xx,yy,zz,25.4,0.00000000,0.00000000,1.00000000
MEAS/SPHERE,F(SPHERE_ARM1),5
ENDMES
GOTO/xx,yy-safeY,zz

DECL/DOUBLE,xx,yy,zz
xx=OBTAIN/FA(Sphere_ARM1),4
YY=OBTAIN/FA(Sphere_ARM1),5
ZZ=OBTAIN/FA(Sphere_ARM1),6

F(SPHERE_ORIG)=FEAT/SPHERE,OUTER,CART,xx,yy,zz,25.4,0.00000000,0.00000000,1.00000000
FA(SPHERE_ORIG)=FEAT/SPHERE,OUTER,CART,xx,yy,zz,25.4,0.00000000,0.00000000,1.00000000

SHARE/F(SPHERE_ORIG)

ENDFIL