-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for separate input and output blocks #2
Comments
Some proposal was defined here: https://community.openhab.org/t/integrate-siemens-logo-plclogo-in-openhab-2/24272/72 |
* Optimized ThingHandler * Fixed virtual datapoint handling when loading values * Added jalousie channel type * Refactored RPC server * Refactored rpc server #2 * Fixed some type warnings * Added virtual datapoint for HMW-IO-12-Sw14-DR device * Initialize Thing even if it is offline * Removed unnecessary try finally blocks * Optimized trace logging Signed-off-by: Gerhard Riegler <[email protected]>
I just pushed an update on branch feature/plclogo that fixes this issue. Still lacking documentation but it basically works this way :
If If |
Just pushed refactored version of @lsibilla PR. New thing "pulse" was introduced. Documentation can be found below. New prebuilt version can be found here: https://github.com/falkena/binaries
If parameter Follow block names are allowed for pulse things:
Follow monitor block names are allowed for pulse things:
|
@falkena I'm confused... shouldn't the EDIT: I re-read @lsibilla comment above and I liked this logic better (maybe except naming): if |
@skazi0 Some background for this logic: There are network input blocks for Logo8. Follow situation: NI1 is mapped to VB0.0 in LogoSoft Comfort. I define follow thing: EDIT: Setting of NI-Blocks will be ignored by Logo:-( That's why i must go via VB-Memory blocks... |
@falkena hmmm... I still don't see how you want to use it. I was thinking about a following circuit: |
@skazi0 I think about the same circuit :-) You can do the same with "my" logic: |
@falkena your first thing definition (
IMO with the logic of "separate block for writing" it would be cleaner. The item would always represent state of PS. I have both pulse and refresh interval set to 100ms, I think this is the reason why I sometimes get the output to stick in ON position. What are the recommended timings in this kind of setups? |
@skazi0 About logic "separate block for writing": I can change it this way. Should be no huge problem. But we will loose a possibility simply send an pulse. This must be done via rules this case. |
I would expect |
Simulated your circle in LogoSoftComfort. I took 2 simple input blocks instead of netwotk one. Pulse on |
But with normal RS I need another button to turn |
Then use Pulse thing has the same behavior like "Digital input as Closer-Button" in LogoSoft Comfort.
Now: |
Now you can simplify your Logo Program :-) And it seems, we need a lot of different stuff :-) Currently, i write common things as far my time allows me :-) And currently i try to implement things mimics same as in LogoSoft Comfort. |
Hi @falkena,
Where is problem? |
Hi @petosak, Please, try Kind reagards, Alexander |
Hi @falkena , |
To avoid "proxy" items in openhab, it would be good if user can specify separate input and output blocks in one item.
The text was updated successfully, but these errors were encountered: