Search found 322 matches

by RevPiModIO
13 Sep 2020, 08:36
Forum: RevPiModIO
Topic: Node Red MQTT set not working...ish
Replies: 1
Views: 2833

Re: Node Red MQTT set not working...ish

Hi cataliz3er! If you are using RevPiModIO in your python program, it takes the complete control of the process image! So it forces the io states to the process image, which are set in the program! If you use MQTT or other programs parallel to the python program to set outputs, your python program w...
by RevPiModIO
08 Sep 2020, 09:42
Forum: RevPiModIO
Topic: Abfrage RevPiStatus (digitaler Input Stecker X2) mit Python
Replies: 5
Views: 5684

Re: Abfrage RevPiStatus (digitaler Input Stecker X2) mit Python

Moin Juerge_G! Da ist leider noch ein kleiner Fehler im Programm. Und den X2 kannst du direkt über das .core Objekt abfragen: # -*- coding: utf-8 -*- import revpimodio2 rpi = revpimodio2.RevPiModIO(autorefresh=True) rpi.handlesignalend() while not rpi.exitsignal.wait(0.5): # Just print value every 5...
by RevPiModIO
08 Sep 2020, 08:24
Forum: RevPiModIO
Topic: S7 Kommunikation mit RevPi7
Replies: 7
Views: 8820

Re: S7 Kommunikation mit RevPi7

Moin Simon! Ich glaube da ist noch ein Mapping-Fehler drin :( Der "Dienst" RevPi7 ließt in deiner Konfiguration Daten aus der SPS und schreibt diese in den Input_1 - _4. Das macht er in der angegebenen Zeit, also alle 1000 Millisekunden. Diese Daten werden von RevPi7 also auch immer übersc...
by RevPiModIO
23 Aug 2020, 15:11
Forum: Hardware
Topic: Cycletime wird bei EINEM Eingangssignal angemeckert
Replies: 2
Views: 2465

Re: Cycletime wird bei EINEM Eingangssignal angemeckert

Hi M2669A! Benutzt du Python und revpimodio2? Dann dann müsstest du mal schauen, was passiert, wenn der eine Eingang geschaltet wird. Also was dann für ein code ausgeführt wird. Bei der Warnung handelt es sich wirklich nur um eine "Warnung", dass dort im Quelltext wohl etwas länger dauert,...
by RevPiModIO
08 Aug 2020, 07:05
Forum: RevPiModIO
Topic: Manage inputs/outputs with RevpPi Connect+ and DIO module
Replies: 2
Views: 4129

Re: Manage inputs/outputs with RevpPi Connect+ and DIO module

Hi Theo! If you use autorefresh=True, the internal buffer will be synced automatically in the given cycletime. Your Python program will destroy itself after the change of a2green (it is the last line) and will never sync the new value to the process image! In your case, just add the line "rpi.e...
by RevPiModIO
03 Aug 2020, 22:22
Forum: Software
Topic: .py-Datei ausführen RevPi
Replies: 2
Views: 3538

Re: .py-Datei ausführen RevPi

Alternativ könntest du (wenn keine GUI da drin ist) mit revpipyload! Da kannst du die per GUI übertragen und der Dienst führt sie automatisch bei Systemstart aus und überwacht sie.

https://revpimodio.org/revpipyplc/

Gruß, Sven
by RevPiModIO
03 Aug 2020, 22:19
Forum: Software
Topic: Mauszeiger ausblenden oder in der unteren rechten Ecke positionieren
Replies: 4
Views: 4060

Re: Mauszeiger ausblenden oder in der unteren rechten Ecke positionieren

Schaue dir auch mal das Paket "unclutter" an!

Kannst du über "apt-get install unclutter" installieren und parametrieren über /etc/default/unclutter. Das könnte das einfachste sein!

Gruß, Sven
by RevPiModIO
08 Jul 2020, 17:58
Forum: RevPiModIO
Topic: DIO module simulation
Replies: 10
Views: 18160

Re: DIO module simulation

Hi sofiene!

Do you like to beta test the new Software with the simulator function? There are some things to to, but I think I could release a beta next week...
by RevPiModIO
03 Jul 2020, 07:50
Forum: RevPiModIO
Topic: DIO module simulation
Replies: 10
Views: 18160

Re: DIO module simulation

Oh, I see! This function will be added in RevPiPyControl. In the next release, you can select a piCtory file and use the "PLC watch mode". The system will create a "process image" on your local machine, which you can use with RevPiModIO(procimg="filename", configrsc=&qu...
by RevPiModIO
25 Jun 2020, 19:28
Forum: RevPiModIO
Topic: DIO module simulation
Replies: 10
Views: 18160

Re: DIO module simulation

At the moment not as fine as is should be :D You can "sudo apt-get install revpipyload" on your Revolutoin Pi and set the XML-RPC service on. At the new version just run "sudo revpipyload_secure_installation" and say YES to "allow from local network" and YES to "se...