EasyManua.ls Logo

Omron fh series - Page 49

Omron fh series
54 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
47
7.3.4. fhrunrecvres
Function
fhrunrecvres
Input Parameters
Setting Node
Setting Target
Data Type
Description
RecvString ChooseDevice device
Communication Settings for the Vision
Sensors
WaitTime
int
Communication waiting time(ms)
Output Parameters
Variable Name Data
Type
Description
g_FHRobotVision_OMRON_param float[] param[0] : Command Response Results
(1: Command response "OK" - 1: other
than "OK")
g_FHRobotVision_OMRON_errCode int Execution Result(0: Normal termination
Other than 0: Error)
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
Er r. N o.
Error Message
Description
0
-
normal termination
-1301
ERROR:fhrecvstring():NO_CONNECT:-1301
Unconnected state
-1301
ERROR:fhrecvstring():NO_DATA:-1301
Receive data length 0
-1302
ERROR:fhrecvstring():STRING_LEN:-1302
Receive data length over

Other manuals for Omron fh series

Related product manuals