Operation error
An operation error will occur if:
• The (S1) data is outside the range of 1 to 32.
• The Native Mode command specified with (S2) is wrong.
• The (S3) data is outside the range of 0 to 1.
• The (S4) data is outside the range of 1 to 32767.
• The vision system specified with (S1) has not been logged on.
• The character string for Native Mode specified with (S2) exceeds the range of the number of characters.
• The return value data is not a numerical value when 1 (Binary Mode) is specified with (S3).
• The vision system parameter setting is different from the setting on the vision system.
• The device storage of the Native Mode command return value is not completed when the specified timeout time has
elapsed.
• The return value of Native Mode command exceeds the range of (D) to the end of the device. (An operation error occurs at
the storing of data up until the end of the device)
Program example
■Program which sends the Native Mode command "EV GetCellValue ("distance_1.max")" to the
vision system (camera) 1, and stores the return value in #0 or later in Binary Mode
MVCOM K1,"EV GetCellValue ("distance_1.max")",#0,K1
4 OPERATION CONTROL PROGRAMS
258
4.17 Vision System Dedicated Function