omron — 7.5.1. FHCONNECT

7.5.1. FHCONNECT  Function Connect to the Vision Sensor  Syntax SET S089 “FHCONNECT”  Parameters  Remarks Connects to the Vision Sensor specified in the Number of socket parameter. Request a connection every hour specified in the Connection Timeout Time parameter. Request a connection as many times as specified in the connection retry count parameter. Return an error if the connection fails. Return an error if the parameter is out of the input range  Return Value 44 7.5.

Function Details Argument Input/Output Data type Description S087 Input String IP address of the Vision Sensor S088 Input Integer Port number of the Vision Sensor (10040 to 65535) I095 Input Integer Number of connections retries (0 to 60) I096 Input Integer Connection Timeout Time (1 to 60sec) I099 Output Integer Error number Store the result of the execution of this function. Err. No.

Error Message Description 0 - normal termination -1200 ERROR:fhconnect():RETRY:-1200 Out of connection retry count input range ERROR:fhconnect():TIMEOUT:-1200 Connection Timeout Time Input Range ERROR:fhconnect():PORTNO:-1200 Out of port number input range ERROR:fhconnect():TOTAL CONNECTION _ TIME:-1200 _ Connection waiting time is over. -1202 ERROR:fhconnect():RETRY:-1202 Connection retry count over -1204 ERROR:fhconnect():TIMEOUT:-1204 Connection timeout time is