Hello,
I am trying to establish a tcp/ip connection between a Fanuc robot (with a R30iB controller) and a PC. For that purpose we are using a simple karel program, which is working fine with Roboguide. The server tag is configured as SM with status defined/started (we tried both) and the variable $HOSTS_CFG[3].$SERVER_PORT is set to 5005. Anyway if we try that on the real robot, the line with the msg_connect command is not blocking at all and exits with status 67206.
Code
PROGRAM test_conn
%NOLOCKGROUP -- task will not attempt to get motion control
VAR
file_var : FILE
status : INTEGER
entry : INTEGER
bytes_ready : INTEGER
msg : STRING[5]
BEGIN
-- force and clean user screen
WRITE(CHR(127), CHR(128))
FORCE_SPMENU(TP_PANEL, SPI_TPUSER, 1)
-- start server
SET_FILE_ATR(file_var, ATR_IA) -- write interactively
WRITE('Server: Connecting..',CR)
MSG_DISCO('S3:',status)
MSG_CONNECT('S3:',status)
WRITE('Server: Connect Status = ',status,CR)
MSG_DISCO('S3:',status)
WRITE('Server: status diconnect: ', status, CR)
WRITE('Server: Done.',CR)
END test_conn
Display More
Does anyone have an idea what the problem could be or what the status code 67206 means? I tried to find some information in the manuals and also contacted Fanuc's support. Unfortunatly I am running out of ideas what I could try, so I would be thankful for any hint!