Skip to content

Zeugwerk/FlyingSaw-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flying saw

Flying saw is a PLC utilizing Zeugwerk Framewerk. This demo application showcases how to implement a flying saw using the MoveInterpolatedPositionAsync method of Zeugwerk Framework's axis interface. A python visualization provides a visual representation of real-time control.

In the demo, you can see three gears:

  • In the Visualization, boxes spawn every 0.5s to 4s from the left whenever the conveyer is moving
  • A sensor detects the boxes and set a digital input to true whenever it is blocked by a box
  • The PLC picks up the signal and adds a 'box' object to a ringbuffer, which contains the timestamp of the boxes arrival
  • The gripper will handle all boxes in the PLCs ringbuffer consecutively. It follows the boxes trajectory for 1.5s before moving to the next box in the ringbuffer

Requirements

To run this application, ensure you have the following installed:

Visualization

To run the Visualization in Windows a python distribution has to be installed (Anaconda or Miniconda is recommended). With an installed python distribution, execute the following commands in the Visualization folder to prepare a virtual environment for python and install all requirements

pip install virtualenv
virtualenv venv
venv\Scripts\activate
pip install -r requirements.txt

Activate the PLC and run the Visualization with

python main.py

You can use the Servicepanel, which is integrated into Zeugwerk Creator to control the PLC.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published