INTP-311 (MM_GET_POS,XX) Uninitialized data is used

You are currently viewing the documentation for a pre-release version (2.2.0). To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Problem

When calling MM_GET_POS or MM_GET_JPS, the error "Uninitialized data is used" is returned for the program.

Possible Causes

The number of vision points or waypoints sent by the vision system does not match the number of times the MM_GET_POS or MM_GET_JPS command is called. For example, the vision system only sends one waypoint, but the robot program calls MM_GET_POS twice, as shown in the following code.

CALL MM_GET_POS(1,60,70,80) ;
CALL MM_GET_POS(2,61,71,81) ;

Solutions

Remove any extra MM_GET_POS or MM_GET_JPS commands to ensure the number of vision points or waypoints matches the number of calls.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.