Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Timer for counting how long a full pallet would take. The value is presented in the RUN screen

2. Shim paper routine

The entry point of a user defined shim paper routine is the onSheet callback. Put your code here to define a robot trajectory suitable for inserting shim papers between layers.

...

URP’s is added outside the program and called on from the onSheet Callback

Image Removed

PutShimPaperToLeftPallet.URP: Customize your own movements for placing paper onto the pallet

Image Removed

...

For better readability, we have extracted the shim paper logic into two separated subprograms:

  • get the shim paper from the tray, and

  • put the shim paper on the pallet.

Image Added

Picking shim paper from a tray is common for both left and right pallets

...

Moving the shim paper to each pallet may be impemented separately

3. Change optimizer parameters for the next box

The entry point for changing optimizer parameters is typically the onNextTask callback, which is executed before all calculations begin.

...


4. Custom path

Control the robot motion directly when specfic events occur.

Please note: due to the parallel processing architecture in Pally, it is not possible to move the robot directly in the onNextTask callback: the robot may be still moving back from the previous target position when the new calculations start. Trying to move the robot would cause “Another thread is controlling the robot” error followed by protective stop. When using custom path towards the pick position follow these steps:

  • set MovePerformed = True in the onNextTask callback in advance, but

  • move the robot to the MoveTarget position only in beforeGrab

The MoveTarget variable is not yet valid in the onNextTask callback.

...