omron — 7.3.2. 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 "9876". $ip_address = "10.5.5.100" $port_no = "9876" retries_connect = 2 timeout_connect = 4 socket_no = 0 CALL fhconnect($ip_address, $port_no, retries_connect, timeout_connect, socket_no, err_no) 41