![Denso Keyence Vision XG Series Manual Download Page 28](http://html.mh-extra.com/html/denso/keyence-vision-xg-series/keyence-vision-xg-series_manual_2483252028.webp)
28
画像処理システム/XGシリーズ
<ImplVar>
.ExecuteCommandAsync
Usage
Execute a specified non-procedure command asynchronously.
To obtain the return value or the execution result of this command, use
GetCommandResult command.
Syntax
<ImplVar>
.ExecuteCommandAsync (
<Non-procedural command>
)
Argument:
<Non-procedural command> Specify the character string of the
command.
Return value:
None
Description
For the supported non-procedural commands, refer to the reference manual of
V-Works for XG ActiveX control for XG series.
To obtain the return value or the
execution result of this command, use GetCommandResult command.
Example
Non-procedural command R0: The following shows an example of entering run mode.
Dim caoCtrl as Object
Dim vntResult as Variant
caoCtrl=cao.AddController("XG","CaoProv.KEYENCE.VWXG", "", "conn=eth:192.168.0.10")
vntResult = caoCtrl.ExecuteCommand("R0")
'Enter run mode
'Obtain the return value of ExecuteCommandAsync command
vntResult = caoCtrl.GetCommandResult