Hi
I'm using siemens step7 for the first time and would like to use indexed addressing to check or set a signal state in an array of boolean, can anyone help?
e.g. I have an integer variable called Fred and an array of booleans called Harry[0-31]. Fred gets set to a number in the program and I want to check if Harry[Fred] is set, how do I do this?
In RSlogix this would simply be for example N7:[N10:3] but in S7 the help files just refer to checking I/O and fixed pointers and as you might guess I'm having a spot of bother.
Thanks in advance for any pointers (no pun intended)
PLCdave
I'm using siemens step7 for the first time and would like to use indexed addressing to check or set a signal state in an array of boolean, can anyone help?
e.g. I have an integer variable called Fred and an array of booleans called Harry[0-31]. Fred gets set to a number in the program and I want to check if Harry[Fred] is set, how do I do this?
In RSlogix this would simply be for example N7:[N10:3] but in S7 the help files just refer to checking I/O and fixed pointers and as you might guess I'm having a spot of bother.
Thanks in advance for any pointers (no pun intended)
PLCdave