omron — 7.5.1. FHCONNECT

 Precautions Only one Vision Sensor can be connected to the robot controller. If you want to connect to another Vision Sensor, disconnect from the connected Vision Sensor.  Example In the following example, we will connect to the Vision Sensor with IP address "10.5.5.100" and port number "11000". SET S087 “10.5.5.100” SET S088 “11000” SET I095 2 SET I096 4 SET S089 "FHCONNECT" SET B098 1 WAIT B098=0 IFTHENEXP I099 0 JUMP *EXIT ENDIF 45 over. -1902 ERROR:fhconnect():CREATE SOCKET: _ -1902 Create socket failed. -1903 ERROR:fhconnect():DEVICE SETTING: _ -1903 Set the non-blocking failed. -1904 ERROR:fhconnect():CONNECTION FAILU _ RE:-1904 Connection failed.(server halt)