Hi
I implemented a logging function in S7 STL and SCL both and both of them works as I wanted which is when I say log data, FC logs the number of data to a data block which has been created before.
My question is I used while loops in SCL to increase the index of the array in DB which helps me log the data.Does the CPU do all the logging in one cycle for SCL??
Generally if I implement a while or for loop in SCL or a use loop command in STL does the CPU finish the loops first or cycle???
Thanks
I implemented a logging function in S7 STL and SCL both and both of them works as I wanted which is when I say log data, FC logs the number of data to a data block which has been created before.
My question is I used while loops in SCL to increase the index of the array in DB which helps me log the data.Does the CPU do all the logging in one cycle for SCL??
Generally if I implement a while or for loop in SCL or a use loop command in STL does the CPU finish the loops first or cycle???
Thanks