Breadcrumbs

get_workpiece_weight()

Features

This function measures and returns the weight of the workpiece.

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

Return

Value

Description

Positive value

Measured weight

Negative value

Error

Exception

Exception

Description

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

Python
weight = get_workpiece_weight()

Related commands