Hello all, I am having troubel getting the day of week data out of the SFC1 and FC7 functions. I am able to get a number from FC7 but the number continuously counts up from -32000 to 32000 and then repeats. It takes only about 60 seconds for the cycle to repeat.
However, when I go into the simulator it workd fine. But is does not work in the actual plc. I believe I should get an integer between 1 and 7 depending of whick day of the week it is.
I have read though numerous posts on this subject but none of them concern the problem I am having.
Any ideas on why this is happenning, thanks, mrt19
However, when I go into the simulator it workd fine. But is does not work in the actual plc. I believe I should get an integer between 1 and 7 depending of whick day of the week it is.
I have read though numerous posts on this subject but none of them concern the problem I am having.
Any ideas on why this is happenning, thanks, mrt19