Minor update:
- Access to the RevPi core temperature via
.core.temperature
- Troubleshooting when using
simulator=True
on instantiation - Improved performance during instantiation
RevolutionPi with Python3!
Minor update:
.core.temperature
simulator=True
on instantiationWe’re testing the mainloop() here. Continue reading “Events with the mainloop()”
We use RevPiModIODriver() to develop a driver for a virtual device in piCtory. Continue reading “Driver for Virtual Device out of piCtory”
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!
This example introduces you to the cyclic programming with RevPiModIO and the cycleloop(...)
! The program also uses the handlesignalend(…) function to catch the “end of program” signal and exit the program cleanly. Continue reading “Cyclic with little python code”
We have the analog module AIO on our Revolution Pi! Continue reading “Everyone wants digital – we do analog!”
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()