(0)| 12/9/2019 10:35 AM | |
|
Posts: 2 Rating:
|
Hi franta, i just could not figure out how counter value is assigned to VMx memory word. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 12/16/2019 09:29:16New subject after splitting |
|
| 12/9/2019 1:19 PM | |
|
Joined: 2/22/2008 Last visit: 4/25/2025 Posts: 2698 Rating:
|
See also example in attachment, how to use counter value and how not. The best way is always to use the parameters of the counter for the digital out, not any comparison outside with analog values, which do not match to counter values, because they have an other format. Regards, Scorp AttachmentCounter1.zip (415 Downloads) |
| 12/9/2019 2:31 PM | |
|
Joined: 12/18/2014 Last visit: 1/19/2026 Posts: 36482 Rating:
|
In attachment is a possible solution how to compare the counter values of two up/down Counters (by using Parameter VM Mapping). Compared to: AttachmentCompare_values_of_2_up-down_counter_0BA8.Standard.zip (479 Downloads) |
| 12/9/2019 3:34 PM | |
|
Joined: 2/22/2008 Last visit: 4/25/2025 Posts: 2698 Rating:
|
Nice version with 26 blocks, but i would prefer the attached version with 7 blocks. Attachment2CounterCompare.zip (483 Downloads) |
| 12/13/2019 11:59 PM | |
|
Posts: 2 Rating:
|
Thank you. However I found another way to do this, in a more human-readable way. Just use the gray connectors in diagram editor, to connect block parameters (after expanding each block). I attach a "heating control + setpoint" example, if could be useful to anyone. Cheers. Attachmenttest_temp.zip (529 Downloads) |
Follow us on