omron — 7.3.5. FHSMPLREGP

7.3.5. FHSMPLREGP  Function Register the current robot position to the Vision Sensor.  Syntax FHSMPLREGP([Argument1], [Argument2])  Parameter  Remarks Get the current robot position and register the current robot position to the Vision Sensor. Return an error if this function is called while the Vision Sensor is not connected. Returns an error if a response of current robot position registration failure is received from the Vision Sensor.  Return value  Precautions When using this function, set the values of “UserCoordNo” and “ToolCoordNo” to 0.

43 Argument Input/Output Data type Description Argument1 Input INTEGER Number of receive retries (0 - 99) Argument2 Input INTEGER Receive timeout time (0 to 99sec) Err. No. Error Message Description 0 - normal termination -1300 ERROR:FHRCVSTR:RETRY:-1300 Out of the range of receive retry count input ERROR:FHRCVSTR:TIMEOUT:-1300 Out of the input range for the receive timeout count -1301 ERROR:FHRCVSTR:NO CONNECTION:- _ 1301 Calling in the unconnected state -1303 ERROR:FHRCVSTR:RETRY:-1303 Receive retry count overrun -1304 ERROR:FHRCVSTR:TIMEOUT:-1304 Receive timeout time is over.

-1601 ERROR:FHSMPLREGP:No Connection:- 1601 Calling in the unconnected state -1800 ERROR:FHSMPLREGP:Trigger NG:-1800 Response NG -1802 ERROR:FHSMPLREGP:TP Argument:-1802 Register value acquisition error