GithubHelp home page GithubHelp logo

ethoeng / pycon2019-plc-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonemo/pycon2019-plc-demo

0.0 1.0 0.0 58 KB

Scripts and PLC programs from my talk at PyCon 2019

License: MIT License

Python 100.00%

pycon2019-plc-demo's Introduction

What is this?

This repo contains scripts and Programmable Logic Controller (PLC) programs from my talk at PyCon 2019.

All information about this talk, including slides and a link to the video recording, are available on my website: https://jonasneubert.com/talks/pycon2019.html

Contents

I prepared various demos for this talk, each consisting of a ladder logic program for the Automation Direct Productivity1000 PLC as well as Python code. Some demos share a PLC program. Not all demos included in this repo appeared in the talk.

Each folder contains a separate Readme file with information on what the demo was and how to use it.

PLC and Programming Software

The demos in this talk are about working with a PLC, i.e. a piece of hardware separate from your computer. There exists no simulator for the brand of PLC I used in the talk, i.e. you can only use the code in this repo if you have an Automation Direct Productivity1000 PLC.

The bill of materials for the PLC used in the talk is this:

Description Part No Link Quantity Unit Price
CPU Unit P1-540 Link 1 $171.00
Power Supply P1-01AC Link 1 $37.50
Digital Input Module P1-08ND3 Link 1 $34.50
Digital Output Module P1-08TD2 Link 1 $34.00
Spring Clamps P1-10RTB-1 Link 1 $5

To connect it all together, you will also need wires, terminal blocks, fasteners, maybe a DIN rail. I do not currently have a wiring diagram available.

To edit the PLC program and "download" it to the PLC you will need the free "Productivity Suite" software. You can download it here: https://support.automationdirect.com/products/p3000.html

pycon2019-plc-demo's People

Contributors

jonemo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.