70 / 109
Issued: 11.10.2013 Version: KST VisionTech 2.1 V1
processing task is transferred. VTRESULT_CHECK is executed in the ad-
vance run.
Syntax
VTRESULT_CHECK
(
Image processing result
)
Explanation of
the syntax
Example
11.9
Subprogram VT_RESULTCHECK2
Description
The subprogram VT_RESULTCHECK2 checks the result of an image pro-
cessing task. If the result is faulty, a message is displayed. The result of the
image processing task is transferred. VT_RESULTCHECK2 is executed in the
advance run.
Syntax
RET =
VT_RESULTCHECK2
(
Image processing result
)
Explanation of
the syntax
Example
11.10
Subprogram VT_WAIT
Description
The subprogram VT_WAIT stops the program sequence until the flag is set to
the value TRUE. Program execution is then resumed. VT_WAIT triggers an
advance run stop.
Syntax
VT_WAIT
("
Flag
")
Explanation of
the syntax
Element
Description
Image processing
result
The image processing result that is to be checked
Type: VTRESULT (IN)
DECL VTRESULT RESULT
RESULT = GET_VTRESULT("VisionTechConfig")
VTRESULT_CHECK(RESULT,"VisionTechConfig")
Element
Description
RET
Return value
Type: BOOL
TRUE
: The image processing task has been exe-
cuted successfully.
FALSE
: An error occurred during execution of the
image processing task.
Image processing
result
The image processing result that is to be checked
Type: VTRESULT (IN)
DECL VTRESULT RESULT
RESULT = GET_VTRESULT("VisionTechConfig")
VT_RESULTCHECK2(RESULT,"VisionTechConfig")
The flag for which the program is to wait is the same flag that is set to
TRUE in the subprograms DO_GETVTRESULT and
DO_GETVTRESULTS.
Element
Description
Flag
Number of the flag for which the program is to wait
Type: INT (IN)
Summary of Contents for VisionTech 2.1
Page 6: ...6 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 10: ...10 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 18: ...18 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 26: ...26 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 28: ...28 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 32: ...32 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 36: ...36 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 50: ...50 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 78: ...78 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 82: ...82 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 90: ...90 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 92: ...92 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 94: ...94 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 96: ...96 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 98: ...98 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 106: ...106 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...
Page 109: ...109 109 Issued 11 10 2013 Version KST VisionTech 2 1 V1 KUKA VisionTech 2 1 ...