Code Monkey home page Code Monkey logo

plcopen's Introduction

PLCOpen Motion - Uranus

Uranus is a C++ library that implements the part 1 & 2 of PLCopen motion control standard.

Currently included function blocks

Function Block Description
MC_Power Controls the power stage (On or Off).
MC_Home Commands the axis to perform the «search home» sequence.
MC_Stop Commands a controlled motion stop and transfers the axis to the state ‘Stopping’.
MC_Halt Commands a controlled motion stop and transfers the axis to the state ‘StandStill’.
MC_MoveAbsolute Commands a controlled motion to a specified absolute position.
MC_MoveRelative Commands a controlled motion of a specified distance relative to the set position at the time of the execution.
MC_MoveAdditive Commands a controlled motion of a specified relative distance additional to the most recent commanded position.
MC_MoveVelocity Commands a never ending controlled motion at a specified velocity.
MC_ReadStatus Returns in detail the status of the state diagram of the selected axis.
MC_ReadMotionState Returns in detail the status of the axis with respect to the motion currently in progress.
MC_ReadAxisError Reads information concerning an axis, like modes, inputs directly related to the axis, and certain status information.
MC_EmergencyStop Commands the axis to stop immediately and transfers the axis to the state ‘ErrorStop’.
MC_Reset Makes the transition from the state ‘ErrorStop’ to ‘Standstill’ or ‘Disabled’ by resetting all internal axis-related errors.
MC_ReadActualPosition Returns the actual position.
MC_ReadCommandPosition Returns the command position.
MC_ReadActualVelocity Returns the actual velocity.
MC_ReadCommandVelocity Returns the command velocity.

Build & install commands

mkdir build
cd build
cmake ..
make
sudo make install

plcopen's People

Contributors

glassescat-wyx avatar i5cnc 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.