Hi,
I'm using LogixPro Simulator, and I'm experimenting with BSL.
I know how BSL works, but what I am trying to do is access the value of an individual bit which should be either 1 or 0.
Say, I am using #B3:6 to store the data and the length is 16. Then I insert a 1, a 0, and a 1 into it using BSL. The data on #b3:6 looks like
0000000000000101 - converted to decimal that is 5.
How do I access the value at index 2 on #B3:6? I want to know when that value turns into a 1. If I use the notation B3:6/2, every comparison I use treats it like a 5.
I'm using LogixPro Simulator, and I'm experimenting with BSL.
I know how BSL works, but what I am trying to do is access the value of an individual bit which should be either 1 or 0.
Say, I am using #B3:6 to store the data and the length is 16. Then I insert a 1, a 0, and a 1 into it using BSL. The data on #b3:6 looks like
0000000000000101 - converted to decimal that is 5.
How do I access the value at index 2 on #B3:6? I want to know when that value turns into a 1. If I use the notation B3:6/2, every comparison I use treats it like a 5.