procet
Member
Not sure if this is possible but thought I would put it out there. Using Rockwell Studio 5000, is it possible to shift the address of an array being read by the program automatically if variables in the field change? For example: Product travels down the line and takes 100 seconds to go from point A to point B. A COP instruction shifts the associated DINT value of the product through an array, called Array[200], and at Array[100] the value is then read and used for further calculations in the PLC. Then a process change is made in the middle of the night and the operator changes the time for the product to get from A to B to 85 seconds. Is it possible for the program to change where it reads the array, going from Array[100] to Array[85], without programmer intervention?