43
7.3.2. fhsampleregpos
Function
Register the current robot position to the Vision Sensor.
Input Parameters
Setting Node Setting Target Data Type Description
SendString ChooseDevice device
Communication Settings for the Vision
Sensors
Communication waiting time(ms)
RecvString ChooseDevice device
Communication Settings for the Vision
Sensors
Communication waiting time(ms)
Output Parameters
None
Exit Process
There are two exit nodes in this component as follows
NoError : Normal termination.
Error : Abnormal termination (Please check the message displayed in the view window.)
Remarks
Get the current position of the robot in accordance with the selected coordinate system
number and register the current 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 position registration failure is received from the
Vision Sensor.
Return value
-1800
ERROR:fhsampleregpos():Trigger NG:-
Response NG
ERROR:fhsendstring():NO_DATA:-1601
-1601 ERROR:fhsendstring():NO_CONNECT:-
Unconnected state
-1602 ERROR:fhsendstring():STRING_LEN:-
Send string length over
ERROR:fhrecvstring():NO_CONNECT-1301