Matchu04
Lifetime Supporting Member
After a previous post I have been trying my best to set up a simple s7 IEC timers within a FB (Timings) and then use it from a FC (FC1). I have managed to set up the the timers within a stat parameter within the fb and then created the DB1 for that fb.
I have called the FB within OB1, but when I come to use timer from fc 1 say, and called it "TMR".Timer1 it doesnt like it.
The other thing Im not 100% is how to load the timers with the time values I require. would I load the values in the FB that i have created the timers in, but then wouldnt the value be over written every time fb timings is called?
Please help driving me nuts!!
I have called the FB within OB1, but when I come to use timer from fc 1 say, and called it "TMR".Timer1 it doesnt like it.
The other thing Im not 100% is how to load the timers with the time values I require. would I load the values in the FB that i have created the timers in, but then wouldnt the value be over written every time fb timings is called?
Please help driving me nuts!!