(0)| 8/9/2021 9:04 AM | |
|
Joined: 4/1/2019 Last visit: 10/27/2025 Posts: 105 Rating:
|
Morning, I would like to check the value of the bit 8 from the word of an array, How could I write it? Thank U all! |
| 8/9/2021 9:11 AM | |
|
Joined: 12/16/2012 Last visit: 9/8/2025 Posts: 655 Rating:
|
Hi! One solution would be a bitwise AND with a mask. |
This contribution was helpful to
|
|
| 8/9/2021 9:21 AM | |
|
Joined: 4/1/2019 Last visit: 10/27/2025 Posts: 105 Rating:
|
I dont know how to do it, could you show me an example please? |
| 8/9/2021 9:55 AM | |
|
Joined: 4/1/2019 Last visit: 10/27/2025 Posts: 105 Rating:
|
So, I guest something like this should work, isnt it? |
| 8/9/2021 11:03 AM | |
|
Joined: 2/11/2015 Last visit: 12/18/2025 Posts: 515 Rating:
|
Hi alvconsan, Try to write directly: PIW_PCD[0].%x0 without the DB instance on your code. |
| 8/9/2021 11:33 AM | |
|
Joined: 4/1/2019 Last visit: 10/27/2025 Posts: 105 Rating:
|
I think that is not posible, Im calling an structure from a FB where PIW_PCD[0] belongs |
Follow us on