7.3.4. FHSMPLCHGSN Function Switching the scene of the Vision Sensor. Syntax FHSMPLCHGSN([Argument1], [Argument2], [Argument3]) Parameter 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 41 Argument Input/Output Data type Description Argument1 Input INTEGER Number of receive retries (0 - 99) Argument2 Input INTEGER Receive timeout time (0 to 99sec) Argument3 Input INTEGER Scene number to switch to (0 - 127) Err. No. Error Message Description 0 - normal termination -1300 ERROR:FHRCVSTR:RETRY:-1300 Out of the range of receive retry count input ERROR:FHRCVSTR:TIMEOUT:-1300 Out of the input range for the receive timeout count -1301 ERROR:FHRCVSTR:NO CONNECTION:- _ 1301 Calling in the unconnected state -1303 ERROR:FHRCVSTR:RETRY:-1303 Receive retry count overrun -1304 ERROR:FHRCVSTR:TIMEOUT:-1304 Receive timeout time is over.
-1601 ERROR:FHSMPLCHGSN:No Connection:- 1601 Calling in the unconnected state -1800 ERROR:FHSMPLCHGSN:Scene Change Failed:-1800 Response NG -1802 ERROR:FHSMPLCHGSN:TP Argument:- 1802 Register value acquisition error