Skip to main content

Installing the Operating System

In order to install CODESYS Control for <device> SL on your device or hardware, you need a Linux operating system.

Caution

Pay attention to the manufacturer-specific instructions.

  1. Install the Linux operating system on the memory card of your device according to the description on the homepage of the manufacturer.

    The operating system is installed on the memory card.

  2. Start the device with the memory card.

    The operating system is running and is ready to use.

Device-specific settings

If the BeagleBone is directly connected to your local system by a USB cable, then the default IP address is 192.168.7.2.

  1. Make sure that the WAGO controller is powered up and connected to your network. The network cable which connects the controller to the CODESYS engineering platform has to be inserted into the X1 socket. The X2 socket is used for fieldbuses.

  2. When using an Ethernet fieldbus, you need to set the Ethernet interfaces of the PFC100/200 to "Separated". Type in the IP address of the device into your browser.

    The "Web-based Management" page for the device opens.

    _pfc_img_wbm_1.png
  3. Click the NetworkingTCP-IP menu command.

    If you are prompted to provide user login data, then type in the user name admin and password wago.

  4. In Switch Configuration, select the Separated option and click Submit to confirm.

    _pfc_img_wbm_2.png
  5. Close the browser.

. Note about Web-Based Management:
  • Changing the active partition is not yet possible in the current version of CODESYS Control for PFC100/200 (menu item: "Mass Storage").

  • The licensing information in the InformationController DetailsLicense Information menu item refers to the preinstalled WAGO controller, not the CODESYS Control for PFC100/200.

  • The settings for the firewall (PLC Runtime and PLC WebVisu) also refer to the preinstalled WAGO controller, not the CODESYS Control for PFC100/200.

    If the firewall should be configured for CODESYS Control for PFC100/200, then "user filters" can be used for manual configuration.

. Information about the network adapter:
  • For Ethernet-based fieldbuses, the runtime automatically uses the second network interface ("X2" or "br1"). Settings in the Ethernet adapter and EtherCAT configurator for the used network interface are overwritten.

Configuring the Raspberry Pi

  1. Execute the sudo raspi-config command in a console or via SSH (for example, using the Putty tool).

    Note: As of Debian version 8 ("Jessie"), there is also a graphical configuration interface with the same settings.

    The configuration tool starts.

    _rbp_expanded_file_system.png
  2. Select the 1 Expand Filesystem command.

  3. Optional:

    Select the 8 Advanced Options command and specify a unique name for the Raspberry Pi.

  4. Optional:

    Select the 5 Enable Camera command.

    The camera is operational.

  5. Exit the configuration tool and restart.

Activating the I²C, SPI, and 1-Wire peripheral interfaces

  1. Edit the /boot/config.txt file with a text editor (for example, using sudo nano /boot/config.txt). Pay attention to the permissions.

  2. Check your configuration and adjust it if necessary.

    The following lines are included (and not commented out with #):

    dtparam=i2c_arm=on
    dtparam=spi=on
    dtoverlay=w1-gpio-pullup,pullup=1

    Note: I²C, SPI, and 1-Wire peripheral interfaces are optional.

Activating the camera

  1. Execute the sudo raspi-config command in a console or via SSH (for example, using the Putty tool).

  2. Select the 5 Enable Camera command.

  3. Execute the following commands:

    sudo apt-get update
    sudo apt-get dist-upgrade
    sudo rpi-update
    git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git
    cd RPi_Cam_Web_Interface
    chmod u+x RPi_Cam_Web_Interface_Installer.sh
    ./RPi_Cam_Web_Interface_Installer.sh install
  4. Start a web browser and open http://<network address>.

    If the installation is successful, then the RPi Cam Control user interface will load and you can use the camera.