12/15/2021 11:11 PM | |
Joined: 2/22/2018 Last visit: 6/17/2022 Posts: 7 Rating:
|
Hi, When having a power cut, obviously I lose the value of the UP/Down Counter, as a solution I have tried without success to do it via node red, detecting when the logo8 starts and then injecting a numerical data to the initial value parameter. Is there any other solution to maintain the counter value in the event of a power outage? I attach a node-red code also the logo program with a failed example of counter value rewriting by inject in the db1.dw16, where I have the initial value of the counter Thanks a lot for your time Attachmentmee.zip (107 Downloads) |
12/16/2021 4:36 AM | |
Joined: 12/18/2014 Last visit: 12/3/2023 Posts: 31538 Rating:
|
You must set the retentivity in the block properties of the counter. |
12/16/2021 12:39 PM | |
Joined: 2/22/2018 Last visit: 6/17/2022 Posts: 7 Rating:
|
Thanks a Lot!! |
This contribution was helpful to
1 thankful Users |
Follow us on