Minor Update:
- Access to the RevPi core temperature via
.devices.core.temperature
- Troubleshooting when using
simulator=True
on instantiation
RevolutionPi with Python3!
Minor Update:
.devices.core.temperature
simulator=True
on instantiationVersion 2.0.2 is stable!
After many test hours and a few minor improvements, RevPiModIO 2 is now FINAL! 😀
INFOS about the new version will be available soon!
In addition to the new, simplified syntax, we have added a new parameter “delay” for .reg_event (...)
and the new function .reg_timerevent (...)
.
After many months of development and new features, we have now released the final version!
RevPiModIO Version 1
In addition to a few refinements and a bugfix with the byte order of the default values, this version is worthy to get the version number 1 😀
This version is still maintained, but we have learned by the development and the version 2 is in the starting holes! Look at the new syntax, which also offers many advantages in an interactive Python shell on the RevPi!
There is a new update for the use of the analog module AIO.
With this update you can program more PLC with less Python code.
We introduce: cycleloop(cyclefunction)
cycleloop
reads the inputs, executes the passed function and writes the outputs in the set cycle time “auto_refresh
“..devices.cycleloop(cyclefunction)
in your program, it blocks at this point and cyclically executes the function “cyclefuntkion
“. To this function an instance of class RevPiCycletools() is passed, which includes tools such as clock markers, edge flags, or timer objects..handlesignalend(cleanupfunc)
auto_refresh
) is exceeded, you will get a warning – each time!auto_refresh
values greater than 1000 milliseconds could produce errors with .wait(...)
and mainloop()
.cleanup()
or .exit()
Today we publish an update!
rpi.devices["dio"]["Counter_1"].signed = True
rpi.devices[ "dio"][ "Counter_1"].value
This version has a few small bug fixes, which occur under certain conditions.
RevPiModIO(monitoring=True)
NOTE: RevPiModio.devices.wait(…) Function is no longer compatible with previous versions!
We reworked our RevPiModIO module! This gives us better performance at .readprocimg () / .writeprocimg () and consumes fewer resources.
The RevPiModio.devices.wait (…) function has been completely rewritten. The old version had a return value of only True or False. It was not possible to evaluate the different cancel conditions, but this is urgently needed.
The Returned value is now an int() value! Values less than or equal to 0 are a successful wait, values greater than 0 are triggered abort conditions, such as the exitevent or the timeout.
More detailed in our Documentation.
In addition, all RevPiModIO.devices [0]. * Procimgdev () functions have been removed as they have been marked as superfluous. Alternatively, the function can be performed by parameter transfer of the device to RevPiModIO.devices. * Procimg (device).You could also submit a list here RevPiModIO.devices. * Procimg ([device1, device2]).
More detailed in our Documentation.
The Kunbus GmbH will now publish their new Jessie – Image for the Revolution Pi! Our RevPiModIO has been adapted for the new image and is now released for both versions (wheezy and jessie)!
BUGFIXES: This version also includes bug fixes and should be imported by everyone (regardless of the Jessie image)!
In addition, we are proud to announce that our module in the Jessie Image can be obtained via the Kunbus Repositories! So the installation and the update is easily made!
# Update first pi@RevPi ~/ $ sudo apt-get update # And install easily pi@RevPi ~/ $ sudo apt-get install python3-revpimodio
The updates will of course be automatically imported, if you update your RevPi.