7.3.6. FHSMPLTRIG Function Sends measurement commands to the Vision Sensor and receives the measurement results from the Vision Sensor Syntax FHSMPLTRIG([Argument1], [Argument2], [Argument3]) Parameter Remarks Sends measurement commands to the Vision Sensor. Receives the measurement results from the Vision Sensor and get the robot position. Returns an error if called while not connected to the Vision Sensor. Returns an error if a measurement command failure response is received from the Vision Sensor. Returns an error if the Vision Sensor's overall judgment is NG.
Return Value 45 Argument Input/Output Data type Description Argument1 Input INTEGER Number of receive retries (0 - 99) Argument2 Input INTEGER Receive timeout time (0 to 99sec) Argument3 Input INTEGER Position register number that stores the measurement results received from the Vision Sensor 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 -1303 ERROR:FHRCVSTR:RETRY:-1303 Receive retry count overrun -1304 ERROR:FHRCVSTR:TIMEOUT:-1304 Receive timeout time is over.
-1502 ERROR:FHMESRESULT:PARAM NUM:-1502 _ Abnormal number of parameters -1601 ERROR:FHSMPLTRIG:No Connection:-1601 Calling in the unconnected state