doc/manual/install.rst
author Edouard Tisserant
Thu, 25 Apr 2013 11:54:07 +0900
changeset 1067 4f460c1dffb5
parent 811 66a8812457d6
permissions -rw-r--r--
Added exception hook to Beremiz_service, so that exception go in PLC log. Extended Beremiz.py exception hook to threads. Stripped images embedded in Beremiz_service.py, user real images instead.
Beremiz installation 
====================

Windows
-------
Download installer, install. 

Linux
-----
Pre-requisites::

    # Ubuntu/Debian :
    sudo apt-get install python-wxgtk2.8 pyro mercurial
    sudo apt-get install build-essential bison flex python-numpy python-nevow

Prepare::

    mkdir ~/Beremiz
    cd ~/Beremiz

Get Source Code::

    cd ~/Beremiz
    
    hg clone http://dev.automforge.net/beremiz
    hg clone http://dev.automforge.net/plcopeneditor
    hg clone http://dev.automforge.net/matiec

Build MatIEC compiler::

    cd ~/Beremiz/matiec
    ./configure
    make

Build CanFestival (optional):: 

    # Only needed for CANopen support. Please read CanFestival 
    # manual to choose CAN interface other than 'virtual'::

    cd ~/Beremiz
    hg clone http://dev.automforge.net/CanFestival-3
    
    cd ~/Beremiz/CanFestival-3
    ./configure --can=virtual
    make

Launch Beremiz::

    cd ~/Beremiz/beremiz
    python Beremiz.py