note

Obsolete knowledge is moved to the Legacy knowledge base

Obsolete knowledge is moved to the Legacy knowledge base

Application

Is there an easy way to exchange data between a RevPi device and a Raspberry Pi?

Yes, use SSH keys and execute the commands on the remote device over the network.

https://revolutionpi.com/forum/viewtopic.php?t=4224

How do I write/run a custom C-program that runs as the main control program?

I want to create a gateway application that exchanges data between HTTP and Modbus TCP slave, how does it work?

Is there a simple example of how I can control the LEDs of a Revolution Pi device directly from a Python program?

I would like to use a python program to read all inputs and write the read values from inputs back on the 8 analog outputs. Is there sample code on it?

I want to write a code by using a keyboard input to control an output using a variable “LM”, how do I do that?

You may need to save your PiCtory change and perform a driver reset, then you should be able to access the variable “LM” like so:

piTest -w LM,1

Or via Python and the popular Revolution PiModIO2 library. See the “BitMirror” forum for examples:

https://revolution.kunbus.de/forum/viewtopic.php?f=6&t=2535&p=9196&hilit=bitmirror#p9196

Can I access the process image with .NET?

Yes, but this application is beyond the reach of KUNBUS.

https://github.com/FrankPfattheicher/RevolutionPi

Boot

How can I automatically boot into the graphical desktop without having to log in?

Would it be possible to use the Revolution Pi in kiosk mode?

https://revolutionpi.com/forum/viewtopic.php?t=4221

eMMC

There was an abort when creating an image. Can I still log in again?

Would it be possible to enhance security to prevent my data from being stolen from the storage, i.e., by encrypting the eMMC storage?

Cron Jobs

I would like to define a cronjob. What is the best way to do this?

Take a look here

https://crontab.guru/

Logging

I am having an issue, a flood of "piControl: piControlI/O:missed x cycles" in the journalctl and dmesg logs, what can I do?

Fieldbus

I am using RevPi Connect 4. Can I use PROFINET on the controller with the existing 2x network ports without gateways?

I am using the Bullseye image, and my Modular Gateway is no longer recognized, what can I do?

Update your system, i.e. via “sudo apt update && sudo apt upgrade”

I would like to use the Revolution Pi Con CAN module without CODESYS, is this also possible?

Fetch repository fails, what can I do?

Have a look at the follwing link: https://revolutionpi.com/forum/viewtopic.php?t=4107

I want to use Controller Area Network (CAN) what device(s) can I use?

I need an EtherCAT master for our test field setup. I wonder if we should take a Revolution Pi as a speedy solution for this?

To receive data from a PLC via EtherCAT, do I need the EtherCAT extension module in addition to the Revolution Pi Connect + or can the whole thing be set up without the EtherCAT module?

Would it be possible to use the Revolution Pi Connect as an Ethernet/IP Master?

Yes, thanks to a soft PLC this is possible, e.g., with CODESYS:

I use a Modbus RTU with the uModbus library. Now there are communication errors at irregular intervals. What can I do?

Can I operate several Modbus RTU masters, simultaneously?

There are Modbus registers which can be read but not written. What am I doing wrong?

If it is about Holing Register, the behavior is correct.

How can I transfer PROFIBUS data with a Modular Gateway PROFIBUS?

Would it be possible to operate a Revolution Pi device as a PROFIBUS master instead of a slave?

Can I operate a PROFINET controller with the Revolution Pi Core/Connect/Compact/Flat?

Yes, this is possible. e.g., with CODESYS

Certification

Where can I find the UL certification for the RevPi Core S?

Take a look at the forum entry in the link below:

https://revolutionpi.com/forum/viewtopic.php?t=4012

Cloning

I copied an image and have network issues on both devices, what can I do?

Is there a way to automate the process for producing devices?

I have around 50 Revolution Pi Core 3+ here with me. Is there a way to replicate these settings and software onto all other Revolution Pi's that I have?

CODESYS

Can somebody propose a working solution to access the PLC running CODESYS over the internet?

License

Are licenses to be considered when Revolution Pi products are used in commercial applications outside KUNBUS?

I have purchased a Revolution Pi feat. CODESYS. Now I lost the CODESYS license because I reflashed the image, what can I do?

Please send us the following information to support@kunbus.com

We’ll restore your CODESYS license.

Commissioning

Are the installation clearances always to be observed, even for individual modules (Core, Connect, etc.)?

Yes, we recommend these minimum clearances to ensure sufficient air flow around the enclosure when the Revolution Pi modules are mounted on a top-hat rail.

Excessive temperatures can damage your module.

Make sure that the ambient temperature in the control cabinet is less than 55 °C.

https://revolutionpi.com/tutorials/din-rail-mounting/?noredirect=en_US

Communication

I would like to use an HDMI touchscreen monitor. Are there any recommendations?

Can I tap into an existing serial communication?

Demo

I want to start a simple Webcam Stream to monitor a process. It’s works with Raspberry Pi 4 but not with Revolution Pi Core S Module 8 GB. How can I do?

Are there any examples of how to implement interrupts in the Revolution Pi?

Unfortunately, there is no implementation which interest as possible, Our source code is public. The interfaces are documented and freely available in our GitHub repository:

https://github.com/RevolutionPi

https://revolutionpi.com/tutorials/video-tutorials/?noredirect=en_US#VT16

How to read the value come from X2 connector of Revolution Pi Connect with Python?

Is there a C# library available to access the process image?

Distribution

Would it be possible to boot Ubuntu on a RevPi device?

Yes, see here ​RevPi3 on Ubuntu - Revolution Pi Forum

Documentation

Are CAD models of the products available?

https://revolutionpi.com/tutorials/downloads#stepdaten

What is the Export Control Classification Number (ECCN) for the Revolution Pi Connect module (PR100337)?

Are there user manuals?

Does KUNBUS also provide macros for EPLAN P8?

I would like to rebuild the top hat rail setup from Dirk's video tutorials – are there dimensions for this?

Where can I find photos of the Revolution Pi from bottom, top, rear, and right?

Take a look at the online shop, rotate the modules, and you can grab yourself pictures, i.e., via https://getsharex.com/

I/O

Would it be possible to operate negative switching outputs?

https://revolution.kunbus.de/forum/viewtopic.php?f=3&t=478&p=1888

Login

What is the default login and password on the default image?

Use "pi/raspberry". Please note that if you want to log in with a keyboard and HDMI screen, the default layout is English (QWERTY).

I can't log on to the shell - what am I doing wrong?

How do you log in to the system? Possibly via HDMI screen and USB keyboard? Then it may be due to the English keyboard layout of the target system. So QWERTZ or QWERTY.

I am unable to login via SSH, but I am able to log in via Web Status, what can I do?

https://revolutionpi.com/forum/viewtopic.php?t=4112#p14625

Where to find the credentials for the Revolution Pi Connect module?

It should be printed on the side of the device.

Hardware

Are the Modular Gateway devices all slaves? How can a PROFINET Master be operated with the Revolution Pi?

Yes, the Modular Gateway modules do not have master/controller functionality. They function as slaves.

Yes, you can run a PROFINET Master not with the Modular Gateways but, e.g., with CODESYS:

Are the devices that are compatible with the Revolution Pi Core also compatible with the Revolution Pi Connect?

I am interested in the M-Bus module, is there any information?

Network

How do I set the hostname?

Please try to set the hostname with:

sudo raspi-config

How can i change the Mac address permanently?

RevPi Core / Core 3(+) / Core S (until Revision 1.0) / RevPi Compact / RevPi Connect (+) / RevPi Connect S / RevPi Connect SE:

The mac address is set during factory reset and can be changed afterwards by modifying the file /boot/config.txt. The dtparams eth0_mac_* (and eth1_mac_* on Connect and compact) are read from the kernel driver.

RevPi Core S (starting with Revision 1.1) / RevPi Core SE / RevPi Connect 4:

The mac address is written into an eeprom, which is attached to the ethernet controller. The mac address can be changed (written into the eeprom) with the tool /usr/sbin/revpi-set-mac (part of package revpi-tools).

NOTE: The mac address for wlan0 and eth0 on Connect 4 are set differently, as the controllers are directly attached to the compute module. These mac addresses are set via an udev rule. See section revpi_connect4 in file /lib/udev/rules.d/50-revpi.rules

How to configure connect 4 to a Wi-Fi Network?

Please refer to this article Revolution Pi Connectivity .

How to set a static IP address under Bullseye?

The dhcpcd is no longer used since the Bullseye release and the NetworkManager is used instead. You can find more details on the changeover in the release notes of the first Bullseye image. The IP must therefore be configured in the NetworkManager. If you activate the dhcpcd, it gets in the way of the NetworkManager.What knowledge can we derive from it?

Network port not available – how can I use it?

How can I configure two different networks on the Revolution Pi?

I have a Revolution Pi Connect and would like to use the two Ethernet sockets on the device as a switch. Is it possible and how?

Yes, it is possible. You can combine the two ports into one bridge. The necessary steps can be found here:

https://github.com/RevolutionPi/revpi-ansible-recipes/blob/master/roles/network-bridge/README.md

Is there a default IP address after booting?

I am using a Revolution Pi Flat module. How can I check if the Eth0 interface is working or defective?

Node-RED

How can I convert Sensor data in Node-RED?

You can see an Example, how to convert data from a pressure sensor. The sensor has a range from 1V to 5V and a measuring range from 0kPa to 2kPa.

See here: Sensordaten umrechnen - Revolution Pi Forum

OPC

Our PLC can possibly be activated as an OPC server, can the Revolution Pi Connect work as an OPC client?

Performance

Can I modulate a signal with the maximum cycle time of the Revolution Pi DIO bridge, around ~2.5ms?

How can the cycle time of the PiBridge be measured?

Would it be possible to read Revolution Pi Analog Input in microvolt?

Would it be possible to down clock the CPU frequency of a Revolution Pi Module?

I heard the CM3 module has only one gigabyte of RAM, is that true?

Would it be possible to connect multiple Revolution Pi Core modules with the PiBridge?

Yes, this is technically possible, but without official support. The two network interfaces “pileft” and “piright” are available in the system. Via these two interfaces, a network can be configured between two communication partners that are connected via the PiBridge.

Revolution Pi Core #1

Right PiBridge

Left PiBridge

Revolution Pi Core #2

Network Interface

piright

pileft

Take a look at Tutorial 07 – Static IP Address: https://revolutionpi.com/tutorials/video-tutorials/?noredirect=en_US#VT7

Can Revolution Pi retain the last value state when power rev pi is off?

PiBridge

I have questions about PiBridge communication, where can I find details about this?

Take a look at the PiBridge driver source, it's pretty well commented.

I am curious about the RSC files, is there a documentation?

https://revolution.kunbus.com/tutorials/was-ist-pictory-2/tabellarische-auflistung-aller-json-attribute-einer-rsc-datei-compact/?noredirect=en_UShttps://revolution.kunbus.de/forum/viewtopic.php?f=9&t=2583#p9416

Real time

The pl011_pio_tx process generates a CPU load of consistently about 20%. Is this behavior plausible?

How can I create a real-time program?

RS485

What is the maximum baud rate for RS485?

Security

I want a Trusted Platform Module (TPM) what device can I use?

Software

When I log in to WebStatus I get an error message after a short time, what am I doing wrong?

If you have upgraded your system, you are probably missing the correct web server configuration:

https://revolutionpi.com/forum/viewtopic.php?p=15669#p15669

I cannot log in to WebStatus, error message "ERROR: There is no enough free disk space - click for support". What can I do?

https://revolutionpi.com/forum/viewtopic.php?t=4260

How to easily upgrade from Buster to Bullseye?

# update Buster to latest patch leven
sudo apt update
sudo apt upgrade

# update repositories (buster -> bullseye)
sudo sed -i -e 's/buster/bullseye/g' /etc/apt/sources.list
sudo sed -ie 's/buster/bullseye/g' /etc/apt/sources.list.d/{raspi,revpi}.list

# fetch package list from updated repositories
sudo apt update

# install dependencies
sudo apt install libgcc-8-dev gcc-8-base

# remove webstatus due to conflicts (will be reinstalled later)
sudo apt remove revpi-webstatus

# perform upgrade stage 1
sudo apt upgrade

# reinstall webstatus
sudo apt install revpi-webstatus revpi-webstatus-redirect pictory

# perform upgrade stage 2
sudo apt full-upgrade

# Enable network manager instead of dhcpcd
curl https://gist.githubusercontent.com/nbuchwitz/06876674ebd0b2bab429f1a8506271a1/raw/303d71dab0b839a7057def34b71d7183d6b2e135/migrate-to-nm.sh -o /tmp/migrate-to-nm.sh
cat
bash /tmp/migrate-to-nm.sh

# ensure that local network configuration is migrated, if something else than dhcp is used !

# reboot RevPi
sudo reboot

Are there integrated development environments available?

RPiBoot.exe aborts the installation with a “TrustedPublisher” error, what can I do?

I can't find the link to the rpiboot tool on your website. Where can I download it?

The tool is from the Raspberry Pi Team and can be downloaded on their website.

Website: https://www.raspberrypi.com/documentation/computers/compute-module.html#windows-installer

GitHub Link: https://github.com/raspberrypi/usbboot

How can I install OpenVPN Client?

sudo apt update && sudo apt install openvpn

Can I use TeamViewer, and what happened to TeamViewer-Revolution Pi?

TeamViewer-Revolution Pi has moved to a new product called TeamViewer-IOT. Take a look at Video Tutorial 24.1 – TeamViewer IoT for a brief introduction.

https://revolution.kunbus.com/tutorials/video-tutorials/?noredirect=en_US

I would like to confirm that we can program G Code on Revolution Pi?

I want to use OpenPLC and I heard that is possible, is this information true?

I would like to use the robotics programming language ROS for a project. How can I implement this with a Revolution Pi product?

Please take a look here, maybe you get your answers for installing ROS

https://revolution.kunbus.de/forum/search.php?keywords=ros&sid=642735a3d64404db2e3586ae95bdd512

Our image is derived from Raspbian, perhaps you get further instructions here http://wiki.ros.org/Installation

Or here https://www.ros.org/support/.

SPI

Can I use the Con CAN SPI interface for my application?

https://revolution.kunbus.de/forum/viewtopic.php?f=14&t=2539

Temperature

Would it be possible to read the same PT100 thermistor with two Revolution Pis? How are the internal resistances of the pins for RTD measurement?

The resistance between the pins is 100kOhm. The resistance between the RTD pins of the two Revolution Pis is also 100 kOhm. The PT100 has a maximum of 3kOhm. You can calculate the influence of 100kOhm on 3kOhm with an error calculation.

Time

How can I update the time on the RevPi module?

pi@RevPi99988:~ $ sudo service systemd-timesyncd status
● systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2023-08-04 13:57:10 UTC; 8min ago
       Docs: man:systemd-timesyncd.service(8)
   Main PID: 5912 (systemd-timesyn)
     Status: "Initial synchronization to time server 46.4.54.78:123 (0.debian.pool.ntp.org)."
      Tasks: 2 (limit: 2139)
        CPU: 149ms
     CGroup: /system.slice/systemd-timesyncd.service
             └─5912 /lib/systemd/systemd-timesyncd

Aug 04 13:57:09 RevPi99988 systemd[1]: Starting Network Time Synchronization...
Aug 04 13:57:10 RevPi99988 systemd[1]: Started Network Time Synchronization.
Aug 04 13:57:10 RevPi99988 systemd-timesyncd[5912]: Initial synchronization to time server 46.4.54.78:123 (0.debian.pool.ntp.org).
sudo timedatectl set-timezone UTC

How do I set up my time-server

USB

Is there a way to ensure that the USB devices are always represented with the same device file names?

I have connected several USB serial adapters to a RevPi module, but only one of them is displayed in the /dev/serial/by-id path and only /dev/serial/by-path/ is generated. What can I do so that both devices are displayed?

Watchdog

I am new to the RevPi Connect 4 Module and the watchdog functionality. Do you have an example?

https://revolutionpi.com/forum/viewtopic.php?t=4058#p14414

My Revolution Pi device continues to restart, what can I do about it?

Web Status

I can't log into Revolution Pi Web Status, the page continues to reload, what can I do?

We just uploaded a fixed version of RevPi-tools (2.0.1-1). After an update via “sudo apt update && sudo apt upgrade” everything should work as expected.

https://revolutionpi.de/forum/viewtopic.php?t=3732#p13466

Wireless

I can't connect to a Wi-Fi network with the RevPi Connect 4, what can I do?

Please check if the Wi-Fi network is compatible (WPA3 is not compatible).

Is a Revolution Pi module able to send an SMS?

Is there also a wireless connection to integrate a Revolution Pi into our network, e.g., 4G Wi-Fi, UMTS, etc.?

I would like to use a compatible Wi-Fi dongle, do you have recommendations?

Yes, just take a look at these pages

https://www.raspberrypi.org/forums/viewtopic.php?t=62982

The Wi-Fi USB dongle MAC address changes every power cycle, what can I do?

Verwandte Artikel

The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.

Verwandte Vorgänge