Hi everyone!
I really have no experience in connecting camera vision to ABB robot, but my present job requires me to have knowledge about this, so i'm trying to learn. When i search on internet, i realized that: in some cases, people use these instructions: "Camgetresult, CamloadJob, CamReqImage.....", but in robot program of my company, i see other instructions " SocketCreate, SocketClose, SocketReceive,...." like below:
PROC rGetVisionData_AMT1_L()
Vision_data_AMT1_JIG1_OK:=FALSE;
nOff_AMT1_L_X:=0;
nOff_AMT1_L_Y:=0;
nAng_AMT1_L_Z:=0;
bOKX:=TRUE;
bOKY:=TRUE;
bOKAngle:=TRUE;
stReceived:="";
! Instruct In-Sight to Acquire an Image and not return until complete
!CheckStatus;
!SocketSend ComChannel \Str:="LFAMT41.job\0d\0a";
! Get the value in cell C7
WaitTime 0.1;
SocketSend ComChannel\Str:="gvB072\0d\0a";
!SocketSend ComChannel \Str:="EV GetCellValue(""Job.RobotCustomFormatString"")\0D\0A";
SocketReceive ComChannel\Str:=stReceived\Time:=2;
len:=StrLen(stReceived);
So what is the difference here? Could anyone help me make it clear?
Thank you all very much!
Gửi từ Redmi Note 4 của tôi bằng cách sử dụng Tapatalk