6/27/2012 12:09 AM | |
Joined: 12/20/2008 Last visit: 8/25/2022 Posts: 556 Rating: (236) |
I want to compare two counter values, or one counter value against a number how do I compare the values. |
6/27/2012 9:39 AM | |
Posts: 148 Rating: (14) |
by using output "CV" {Current counter value, hexadecimal number} or "CV_BCD" {Current counter value, BCD coded} I have attached Sample program comparing counter value if it greater than 4 Attachmentcounter.zip (697 Downloads) |
This contribution was helpful to2 thankful Users |
5/19/2014 8:32 PM | |
Posts: 3 Rating: (0) |
That example uses MW, but what if I want to use a variable from a “Variable Declaration Table”, which variable-type fits both counter and compare function? |
5/19/2014 8:42 PM | |
Posts: 3 Rating: (0) |
You clearly understood the question, how about an answer? What data type fits both? |
5/19/2014 8:52 PM | |
Posts: 8946 Rating: (999) |
INT |
Follow us on