VWorks software calls the
RobotMove method when a robot is about to move away from its current location and to a new location.
VWorks software passes a RobotMove XML element into the
sXML parameter of the
RobotMove method. This XML element provides information about the robot that is about to move away from its current location and to a new location.
The RobotMove element has the following attributes:
The following sample code is a RobotMove XML element that is received by the plugin from
VWorks software as a string in the
sXML parameter of the
RobotMove method.
VWorks software tells the plugin that the robot named
Phantom Robot ‑ 1 moved from the location named
Stage on the device named
PlatePad ‑ 1 to the location named
Hole on the device named
WasteBin ‑ 1.
The plugin returns a HookResults XML block in the sResultXML parameter of the
RobotMove method. For information about the structure and contents of this XML block, see
“HookResults XML block” .
The following sample code is a HookResults XML block that is returned to VWorks software by the plugin as a string in the
sResultXML parameter of the
RobotMove method. The plugin tells
VWorks software to write the following Info-type message to the Main Log: