Omron Vision Sensor FH Series Connection Manual page 50

Robot nachi-fujikoshi corp. edition
Hide thumbs Also See for Vision Sensor FH Series:
Table of Contents

Advertisement

7.4.4.
fhsample_chgscn
 Function
Switching the scene of the Vision Sensor.
 Syntax
fhsample_chgscn(scene_no)
 Parameter
Argument
Input/Output Type
scene_no
Input
fh_socket_no
Input
fh_err_number Output
 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
0
-
-1000
ERROR:fhsample_chgscn():Invalid Scene
No.:-1000
-1601
ERROR:fhsample_chgscn():No
Connection:-1601
-1800
ERROR:fhsample_chgscn():Scene Change
Failed:-1800
 Precautions
None
Data
type
Parameter Integer
Variable
Integer
Variable
Integer
48
Description
Scene number to switch to (0
to 127)
Connected Socket Number (1
to 16)
Error Number
(0:normal,Except 0:abnormal)
Description
normal termination
Out of scene numbering
range
Calling in the unconnected
state
Response NG

Advertisement

Table of Contents
loading

Table of Contents