OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:
Website:Http://www.optmv.net
38
3. Appendices
A FAQ (frequently asked questions)
A.1 Why the controller does not respond properly to continuous operations?
We recommend 20ms time interval between a pair of “Set” and “Read” operations, offering room for the controller to
react.
A.2 Are there long delays during Ethernet connection?
No, there aren’t. If the connection isn’t established within 50ms (i.e. the timeout is 50ms.), then it failed.
A.3 Why the functions return error codes while in fact the corresponding operations are
successfully done?
Please check whether the responses from the functions are enabled (see how to enable response in Sect. 2.19).
A.4 Why the controller can’t find any available PC serial port or serial port connection
can’t be established?
If the PC is equipped with WIN7 OS, please try to run as administrator.
A.5 Why the controller can’t be opened (system errors are reported.)?
To tackle this problem, please install VS2008 runtime library.
A.6 Why the controller can’t be properly connected after modifying its MAC address?
Please reboot the controller after modifying its MAC address
B Macro Definitions for Error Codes
Table 1: Error code
Macro Name
Error Code Remark
OPT SUCCEED
0
operation succeed
OPT ERR INVALIDHANDLE
3001001
invalid handle
OPT ERR UNKNOWN
3001002
error unknown
OPT ERR INITSERIAL FAILED
3001003
failed to initialize a serial port