Omron Vision Sensor FH Series Connection Manual page 58

Robot abb corporation edition
Hide thumbs Also See for Vision Sensor FH Series:
Table of Contents

Advertisement

 Example
In the following example, the program receives a sequence of numbers sent by the
Vision Sensor and exits the program if the first received data is not 1.
retries_recv := 2;
timeout_recv := 4;
fhrunrecvval fh_socket, retries_recv, timeout_recv, outputdata, err_no;
IF err_no <> success THEN
GOTO exit_program;
ENDIF
IF outputdata{1} <> 1 THEN
GOTO exit_program;
ENDIF
56

Advertisement

Table of Contents
loading

Table of Contents