Skip to Content
MaintainedWandelscriptExamples

Wandelscript examples

Play around with our simple Wandelscript examples and copy-paste them into Robot Pad. Make yourself familiar with the syntax and structure of Wandelscript. Find the complete example collection  on GitHub.

Examples that require replacing sample values with your actual cell values, e.g. robot controllers, I/Os, etc., are marked with prerequisites below the code.

Below most of the examples, you’ll find a button that directs you to the corresponding quickstart section for more information.

Just copy and paste

Blending

Bottle opener

This example requires you to add the TCP Bottle_opener_s to your robot in Setup.

Expressions

Functions

Functional poses

Controller specific

Read pose

Prerequisite: Replace robot with the controller id.

With I/Os

Asynchronous write

Prerequisite:

  • I/O has to be defined in your cell. Replace tool_out[0] with the I/O.
  • Replace controller with the controller id.

Find edge from 4 poses

Prerequisite:

  • Ensure that start_left, end_left, start_right and end_right can be reached collision-free by the robot.
  • Replace controller with the controller id.
  • I/O has to be defined in your cell. Replace 10020#0009 with the I/O.
Last updated on