Issued: 11.10.2013 Version: KST VisionTech 2.1 V1
11 Programming
11
Programming
11.1
Note on programming
11.2
Subprogram VT_INIT
Description
The subprogram VT_INIT initializes the EKI channel. The configuration file is
transferred. VT_INIT is executed in the advance run.
Syntax
VT_INIT
("
Name of the configuration file
")
Explanation of
the syntax
Example
11.3
Subprogram VT_OPENCONNECTION
Description
The subprogram VT_OPENCONNECTION opens an EKI connection to the
server. The configuration file is transferred. VT_OPENCONNECTION is exe-
cuted in the advance run.
Syntax
VT_OPENCONNECTION
("
Configuration file
")
Explanation of
the syntax
Example
11.4
Subprogram VT_TASKTRIGGER
Description
The subprogram VT_TASKTRIGGER requests acquisition and processing of
the images. The configuration file and the name of the image processing task
are transferred. VT_TASKTRIGGER triggers an advance run stop.
Syntax
VT_TASKTRIGGER
("
Configuration file
", "
Image processing task
")
Explanation of
the syntax
VisionTech is programmed using not KRL commands, but subpro-
grams.
The default configuration file has the name “VisionTechConfig”.
Element
Description
Configuration file
Name of the configuration file
Type: CHAR (IN)
VT_INIT("VisionTechConfig")
Element
Description
Configuration file
Name of the configuration file
Type: CHAR (IN)
VT_OPENCONNECTION("VisionTechConfig")
For this subprogram, the same base and the same tool files must be
used as for model generation. The result is calculated relative to the
base for model generation.
Element
Description
Configuration file
Name of the configuration file
Type: CHAR (IN)
Image processing
task
Name of the image processing task to be executed
Type: CHAR (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 ...