Coder Social home page Coder Social logo

alfredtyaga / real_canopen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from klauer/real_canopen

0.0 0.0 0.0 2.15 MB

LCLS-II Resistive Element Adjustable Length (REAL) heater controller / PWM CANopen slave

Makefile 0.67% C 35.49% Objective-C 11.07% C++ 1.11% Python 51.59% HTML 0.05% Shell 0.02%

real_canopen's Introduction

LCLS-II REAL Heater Control

AT90CAN128 (AST-CAN485 board)-based project that interfaces with a Beckhoff PLC via CANopen, controlling 32 PWM outputs using PCA9685 16-channel 12-bit PWM chips.

Object Dictionary

The CANopen object dictionary is provided as both .od and .eds (what Beckhoff TwinCAT3 expects).

Building

The provided Makefile and Atmel Studio 7 project should work directly.

Uploading

A couple tweaks to the Makefile: 1. Change the ARDUINO_ROOT path to point to where you have it installed 2. Change the COM_PORT to the appropriate device

Will also allow you to upload using avrdude like so:

$ make all upload

CANopen library

This repository, in the interests of making a focused and easily compilable example for the AST-CAN485, includes a vendored copy of canfestival-3-asc.

It currently corresponds with the changeset 968:1a25f5151a8d (2018/5/11) from its bitbucket hg repository.

Python

Located in canfestival/objdictgen:

The object dictionary editor program, based on wxPython, still runs on Python 2.7. It requires wxPython 3, which is not available via pip.

To get this working with conda:

$ conda create -n canfestival python=2.7 wxpython==3
$ cd canfestival/objdictgen
$ source activate canfestival
$ pythonw objdictedit.py ../../real_objdict.od

Links

Project template canfestival-3-asc repository AST-CAN485 product page AST-CAN485 schematic AST-CAN485 hookup guide

real_canopen's People

Contributors

klauer 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.