Skip to main content
Skip table of contents

motion_pause()

Features

This function pauses the motion being performed. Only the motion currently being performed is paused, and other functions that operate asynchronously are not affected.Pause the motion being performed. Only the motion currently being performed is paused, and other functions that operate asynchronously are not affected.

Parameters

None

Return

ValueDescription

0

Success

Negative value

Error

Exception

ExceptionDescription

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

PY
amovej([0, 0, 90, 0, 90, 0], 60, 30)
wait(1)
motion_pause()
wait(1)
motion_resume()

Related commands

JavaScript errors detected

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

If this problem persists, please contact our support.