47
7.3.4. fhrunrecvres
Function
fhrunrecvres
Input Parameters
RecvString ChooseDevice device
Communication Settings for the Vision
Sensors
Communication waiting time(ms)
Output Parameters
Variable Name Data
Description
g_FHRobotVision_OMRON_param float[] param[0] : Command Response Results
(1: Command response "OK" - 1: other
g_FHRobotVision_OMRON_errCode int Execution Result(0: Normal termination
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
Receive the response (command response) to the no-procedure command sent to the
Vision Sensor.
If the command response is OK, assign 1 to the global variable
g_FHRobotVision_OMRON_param[0].
If the command response is not OK, assign "-1" to the global variable
g_FHRobotVision_OMRON_param[0].
Return Value
ERROR:fhrecvstring():NO_CONNECT:-1301
ERROR:fhrecvstring():NO_DATA:-1301
ERROR:fhrecvstring():STRING_LEN:-1302