Hi,
I program S7-300 CPUs but I'm not skilled in it yet.
Now I'm facing the problem with comparing static array values with dynamically changing values in a DB.
I need it for evaluating errors of Simotion Safety unit.
The codes of errors are stored in the array and the DB is a buffer of errors of the SSU. If a new fault occurs, the DB is changed.
I don't need to compare the whole DB with the array in one cycle.
I know I should use the pointers but don't know how exactly.
How to reveal the cell of array by means of indirect addressing? How to increase the "cell number" in a loop?
Does anyone know or can paste a link with help?
Thanks a lot
I program S7-300 CPUs but I'm not skilled in it yet.
Now I'm facing the problem with comparing static array values with dynamically changing values in a DB.
I need it for evaluating errors of Simotion Safety unit.
The codes of errors are stored in the array and the DB is a buffer of errors of the SSU. If a new fault occurs, the DB is changed.
I don't need to compare the whole DB with the array in one cycle.
I know I should use the pointers but don't know how exactly.
How to reveal the cell of array by means of indirect addressing? How to increase the "cell number" in a loop?
Does anyone know or can paste a link with help?
Thanks a lot