Search found 322 matches

by RevPiModIO
03 Apr 2022, 10:04
Forum: RevPiModIO
Topic: Warning: Device offset ERROR in piCtory configuration!
Replies: 2
Views: 3709

Re: Warning: Device offset ERROR in piCtory configuration!

I think you are using a revpimodio version older than 2.5.8 on your first (running) device. The device offset checks was added in 2.5.8. The config.rsc section (generated by piCtory) for the MIO device may be wrong. I would like to investigate your config.rsc file. Background: RevPiModIO gets the de...
by RevPiModIO
11 Mar 2022, 15:17
Forum: RevPiModIO
Topic: RevPiModIO: RuntimeWarning: cycle time of 20 ms exceeded
Replies: 2
Views: 5945

Re: RevPiModIO: RuntimeWarning: cycle time of 20 ms exceeded

Hi saardrimer!

Your cycle loop function takes to long to execute - Maybe because of a .sleep or .wait or things like that. If you are using the cyclelooop, the cycle function must return in the given cycle time.

Do you have a code example you are using?
by RevPiModIO
11 Mar 2022, 15:14
Forum: RevPiModIO
Topic: runtime errors
Replies: 1
Views: 3578

Re: runtime errors

Hi johnruk4670! That will happen, if your event function takes more time than the internal cycle time. If you register an event function it must be executed within a cycle, otherwise the functions will overlap. Example: You push a button, the function will start work, take 1 second. In that second y...
by RevPiModIO
11 Mar 2022, 15:06
Forum: RevPiModIO
Topic: PLC program remote start/stop
Replies: 3
Views: 4847

Re: PLC program remote start/stop

Hi Zsolt.

At the moment a start / stop of the program is only possible via XML-RPC call... But I think a signal for start/stop or something like that will be cool!

I'll add that on github.
by RevPiModIO
15 Jul 2021, 09:01
Forum: RevPiModIO
Topic: RevPi AIO sampling rate for 8ms in python
Replies: 3
Views: 6315

Re: RevPi AIO sampling rate for 8ms in python

Hi Daisuke! The cycleloop function will cycle the given function itself, in the default of 50ms, which will override your 8 ms. You can set other cycle time intervals in the function call of cycleloop: import datetime import revpimodio2 rpi = revpimodio2.RevPiModIO(autorefresh=True ) rpi.handlesigna...
by RevPiModIO
22 Jun 2021, 09:21
Forum: RevPiModIO
Topic: RevPi Python PLC Commander öffnet Logdateien nicht mehr oder stürzt ab
Replies: 9
Views: 4987

Re: RevPi Python PLC Commander öffnet Logdateien nicht mehr oder stürzt ab

Hi Leute! Ich habe das Gefühl, dass es etwas mit dem Freeze-System zu tun hat. Das ist das System, welches aus dem Python Programm ein Windows-Programm mit allen abhängigkeiten packt... Bei einem Kollegen mit Windows-Rechner hatte ich ein Problem mit der "RevPi Suche" entdeckt. Als wir das...
by RevPiModIO
22 Jun 2021, 09:06
Forum: RevPiModIO
Topic: Unstable led A1 and A2
Replies: 1
Views: 2086

Re: Unstable led A1 and A2

Hi LorenzB! That is because of a multi use of RevPiModIO. In your program you have three instances of RevPiModIO. Each instance want so set the buffer to the process image. So if the LED is off in instance A and on in instance B they will force the value on each refresh. The solution is to only use ...
by RevPiModIO
16 Jun 2021, 09:47
Forum: RevPiModIO
Topic: Dateien wieder löschen
Replies: 2
Views: 2386

Re: Dateien wieder löschen

Moin hanber! Dann ein herzliches Willkommen in der Community ;) Die Löschfunktion ist abhängig von der RevPiPyLoad-Version auf dem Revolution Pi! Ich habe es vielleicht etwas ungünstig implementiert, wenn du mit der Maus über den Löschen-Button stehen bleibt, müsste eigentlich ein kleines Tool-Tip e...
by RevPiModIO
13 Jun 2021, 21:55
Forum: RevPiModIO
Topic: RevPi Python PLC Commander öffnet Logdateien nicht mehr oder stürzt ab
Replies: 9
Views: 4987

Re: RevPi Python PLC Commander öffnet Logdateien nicht mehr oder stürzt ab

Hi Leute! Hier einmal die neue Version vom Commander mit einigen Verbesserungen. Wäre schön, wenn ihr die Log-Funktion einmal testen könntet. Ich bekomme den Fehler nicht nachgestellt, habe aber in der Blockgröße mal eine Änderung gemacht. Änderungen: https://github.com/naruxde/revpicommander/commit...