RMA
Member
I'm trying to use FB58 for a temperature control loop for the first time and I can't persuade it to accept an input for the CYCLE and CYCLE_P parameters.
I'm calling the block in OB35 and CYCLE should therefore be 100 ms. According to the Help file this parameter is a REAL (which strikes me as a bit odd) so I tried entering 1.000000e+001 but no joy the input data remains red. I've also tried 0.1 s, as shown in the Help file as being the default, as well as S5T#100ms. No joy, all remain red.
Can some kind soul please show me how this input needs to be formatted!
Cheers
Roy
Edit: Just had a look in the IDB and sure enough the default values of 0.1s for CYCLE and 0.2s for CYCLE_P are present as REALS. So I highlighted the 0.1s value and copied it into the CYCLE parameter of FB58 - no change, as before it remains red.
I guess if the worst comes to the worst, I can change the value directly in the DB, but it seems a bit odd!
I'm calling the block in OB35 and CYCLE should therefore be 100 ms. According to the Help file this parameter is a REAL (which strikes me as a bit odd) so I tried entering 1.000000e+001 but no joy the input data remains red. I've also tried 0.1 s, as shown in the Help file as being the default, as well as S5T#100ms. No joy, all remain red.
Can some kind soul please show me how this input needs to be formatted!
Cheers
Roy
Edit: Just had a look in the IDB and sure enough the default values of 0.1s for CYCLE and 0.2s for CYCLE_P are present as REALS. So I highlighted the 0.1s value and copied it into the CYCLE parameter of FB58 - no change, as before it remains red.
I guess if the worst comes to the worst, I can change the value directly in the DB, but it seems a bit odd!
Last edited: