48
7.4.4.
fhsample_chgscn
Function
Switching the scene of the Vision Sensor.
Syntax
fhsample_chgscn(scene_no)
Parameter
Argument
Input/Output Type
Data
type
Description
scene_no
Input
Parameter Integer Scene number to switch to (0
to 127)
fh_socket_no
Input
Variable
Integer Connected Socket Number (1
to 16)
fh_err_number Output
Variable
Integer Error Number
(0:normal,Except 0:abnormal)
Remarks
Sends a command to the Vision Sensor to switch to the scene number specified in the
parameter.
It returns an error if this command is not connected to the Vision Sensor.
Return an error is returned if the scene number specified in the parameters is out of the
input range.
Returns an error if a response is received from the Vision Sensor indicating that the scene
change command failed.
Return value
Err. No. Error Message
Description
0
-
normal termination
-1000
ERROR:fhsample_chgscn():Invalid Scene
No.:-1000
Out of scene numbering
range
-1601
ERROR:fhsample_chgscn():No
Connection:-1601
Calling in the unconnected
state
-1800
ERROR:fhsample_chgscn():Scene Change
Failed:-1800
Response NG
Precautions
None
Содержание Vision Sensor FH Series
Страница 1: ...Robot Connection Guide NACHI FUJIKOSHI CORP Edition Vision Sensor FH Series Vision System Z464 E1 01 ...
Страница 14: ...12 ...
Страница 63: ......