Skip to main content
Skip table of contents

get_workpiece_weight()

Features

This function measures and returns the weight of the workpiece.

Caution

In the Non-FTS A model, this function cannot be used.

Return

ValueDescription

Positive value

Measured weight

Negative value

Error

Exception

ExceptionDescription

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

PY
weight = get_workpiece_weight()

Related commands

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.