Dear Niklas,
Thank you so much for your detailed answer. I bought the camera from Cognex so I have to make sure if that model (ism1020) works well with Integrated Vision. I read that Integrated Vsion software development was tailored for Model 5000 Cognex cameras.
I followed the instructions from page 50 in the manual but it didn’t work… the good news are I finally connected to the camera, using F1 help from In-sight Explorer 4.7.3 lol, in “How to..” → Configure Robot Communications → ABB Robot Controller. There is a code snippet that says:
MODULE VISION
! DATA DECLARATIONS
PERS num nXOffs:=0;
PERS num nYOffs:=0;
PERS num nAngle:=0;
VAR string stReceived;
VAR iodev ComChannel;
PERS tooldata tGripper:=[TRUE,[0,0,0],[0,0,0,1]],
[5,[0,0,],[1,0,0,0],0,0,0]];
PERS tooldata tVision:=[TRUE,[[0,0,0],[0,0,0,1]],
[5,[0, 0, 0],[1,0,0,0],0,0,0]];
CONST robtarget pHome:=[[0,0,0],[0,0,0,1],
[-2,0,1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
CONST robtarget pVisionPos:=[[0,0,0],[0,0,0,1],
[-2,0,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
PROC Main()
MoveL pHome,v1000,fine,tVision;
GetVisionData;
MoveL Reltool(pVisionPos,nXOffs,nYOffs,0\Rz:=nAngle),v500,
fine,tGripper;
WaitTime 3;
MoveL pHome,v1000,fine,tVision;
ENDPROC
PROC GetVisionData()
VAR string XData:=“”;
VAR string YData:=“”;
VAR string AngleData:=“”;
VAR num NumCharacters:=9;
VAR bool bOK;
nXOffs:=0;
nYOffs:=0;
nAngle:=0;
Close ComChannel;
Open “COM2”, ComChannel \Append\Bin;
ClearIOBuff ComChannel;
WaitTime\InPos, 0.5;
! Instruction In-Sight to Acquire an Image
! and not return until complete
WriteStrBin ComChannel, “sw8\0D”;
CheckStatus;
! Get the value in cell C7
WriteStrBin ComChannel, “gvc007\0D”;
CheckStatus;
! Read the X-offset
XData:= ReadStrbin (ComChannel, NumCharacters \Time:=5);
! Read the Y-offset
YData:= ReadStrbin (ComChannel, NumCharacters \Time:=5);
! Read the Angle-offset
AngleData:= ReadStrbin (ComChannel, NumCharacters \Time:=5);
!Closes Serial Channel “COM2”
Close ComChannel;
!Convert String Data To Numerical Data
bOK:=StrToVal(XData,nXOffs);
bOK:=StrToVal(YData,nYOffs);
bOK:=StrToVal(AngleData,nAngle);
ENDPROC
PROC CheckStatus()
stReceived:=ReadStrBin(ComChannel,1\Time:=5);
IF stReceived<>“1” THEN
TPErase;
TPWrite “Vision Error!”;
Stop;
ENDIF
ClearIOBuff ComChannel;
ENDPROC
ENDMODULE
Finally I connected to the Cognex Camera using telnet port, and modifying the upper code snippet… for example in the line " IF stReceived<>“1” THEN" I received the 1 digit in ASCII code, followeb by /RC (Return carriage) and /NL (New Line).
It was tricky but finally it helped to get some centroid data (x, y and theta)… according to my initial question, I haven’t solved it but I found a not-so-fancy solution using telnet
Thanks for the advice of ask to a local contact person 
Best regards,
Pablo Liberona