akira
ab2703a4d3
feat: Add context manager for ios
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-10-27 15:42:18 +02:00
akira
9a90efeaf2
chore: Increase to RC1 of upcoming Release 2.7.0
2023-10-27 15:42:18 +02:00
akira
ecf91f56db
style: Format everything with black (100 characters per line)
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-10-27 15:42:18 +02:00
akira
8a8873e54a
feat: Import DeviceType on module level
...
DeviceType can be used for advanced search filters in combination with
RevPiModIOSelected.
Signed-off-by: Sven Sager <akira@narux.de >
2023-09-15 16:35:00 +02:00
akira
9ad8ae0055
feat: Add new and missing ProductTypes to pictory.py module
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-09-15 16:35:00 +02:00
akira
acc59ccaa5
chore: Release 2.6.1
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-09-09 11:55:49 +02:00
akira
b02c4011d7
fix: Changed misleading text of a ProcimgWriter warning
...
If the IOs cannot be written quickly enough by the ProcimgWriter,
this indicates high system utilization. The cycle function itself
would trigger a different message through the lck_refresh lock.
Signed-off-by: Sven Sager <akira@narux.de >
2023-09-09 11:11:57 +02:00
akira
521a0eb589
fix: Wrong values in buffer with autorefresh and shared_procimg active
...
When using `autofresh` in combination with `shared_procimg`, the
outputs were written to the process image, but kept with old values
in the local buffer. A query to a set output could therefore display
an incorrect value under certain circumstances.
Closes : #25
Signed-off-by: Sven Sager <akira@narux.de >
2023-08-18 08:33:34 +02:00
akira
1afe16053d
fix: Set shared_procimg value is stored in the device
...
Classes have accessed a global shared_procimg value during
instantiation. However, this value is managed directly for each
device individually. There can be no global value.
Signed-off-by: Sven Sager <akira@narux.de >
2023-08-17 12:28:45 +02:00
akira
596658d656
fix: autorefresch with shared_procimg writes all outputs automatic
...
Fixes the bug that with automatic process image update and
shared_procimg, outputs of devices are also written without automatic
update enabled.
Signed-off-by: Sven Sager <akira@narux.de >
2023-08-17 12:28:45 +02:00
akira
70a0721680
style: With shared_procimg, save changed outputs in set instead of list
...
In sets, elements can only occur once. Therefore, no `if` statement
has to check whether the element is already included in the list.
Signed-off-by: Sven Sager <akira@narux.de >
2023-08-17 12:28:42 +02:00
akira
4cb0194f23
chore: Release 2.6.0
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-06-28 16:03:04 +02:00
akira
82311c9b00
fix: Colors of LEDs are now controlled correctly
...
The wrong colors of the LEDs on the RevPi Connect 4 were controlled when
using the A* properties.
Signed-off-by: Sven Sager <akira@narux.de >
2023-06-28 15:34:54 +02:00
akira
6f4777317e
fix: Changed DevSelect from namedtuple to a class
...
The class can be used for filtering devices and provides the user with
more extensive documentation.
Signed-off-by: Sven Sager <akira@narux.de >
2023-06-09 08:11:12 +02:00
akira
1de435b17f
fix: Adjustment of the inheritance of devconfigure
...
When switching to the modular approach, the addresses of a core were
accidentally adopted as a global configuration.
Signed-off-by: Sven Sager <akira@narux.de >
2023-06-08 19:01:48 +02:00
akira
40ada14b07
chore: RC version 2.6.0rc6
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-06-08 14:31:03 +02:00
Nicolai Buchwitz
7d7efd12a9
feat: Add support for RevPi Connect 4
...
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de >
2023-06-08 14:23:16 +02:00
akira
c8b42b5202
fix: Add modular design for RevPiStatus byte
...
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de >
2023-06-08 14:23:08 +02:00
Nicolai Buchwitz
77c58f468b
docs(Connect): Fix typo in wgtoggle docstring
...
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de >
2023-05-24 20:50:30 +02:00
akira
207a8e92e8
Add __about__.py to handle version number of project in one place
2023-05-13 11:57:04 +02:00
akira
3771a7847e
Replaces Master-Slave with Client-Server
...
Expunging all occurrences of inappropriate language of the query and
response paradigm of PLC communications. We are familiar with the Modbus
terminology and fully support this change.
https://www.modbus.org/docs/Client-ServerPR-07-2020-final.docx.pdf
2023-02-07 09:38:11 +01:00
akira
7d482d498c
Change license from LGPLv3 to LGPLv2 after approval of all contributors
...
https://github.com/mindstorm38 approved license change
https://github.com/nbuchwitz approved license change
2023-02-03 12:10:43 +01:00
akira
8ddb323f24
Update documentation
2023-01-31 20:05:04 +01:00
akira
05e4ff96ca
Code and project cleanup
2023-01-20 17:08:35 +01:00
akira
1b7397e608
Improved device search function and create run_net_plc shortcut
2023-01-20 12:31:59 +01:00
akira
c7b2e59063
Merge branch 'feature/deviceselect' into srclayout
...
# Conflicts:
# src/revpimodio2/modio.py
# src/revpimodio2/netio.py
2023-01-20 11:18:08 +01:00
akira
1057e6daa4
Reorder package to src-layout.
...
Move package to src directory and update project base files for build
process.
2023-01-19 13:20:26 +01:00