I try to answer our questions as well I can..
net9.
*It is only for scaling/calculating time. This 100 is only a scaling factor. Tell me am I right ?? -> You are counting the pulses with Counter-1 (Z1), then you want to set time to timer which is number of pulses * 100ms. Let say it opposite: you have 123pulses and it should mean 12,3s -> factor = time
ulses = 12300:123=100
*IEC-timer max value is T#+24d20h31m23s647ms -> should be enough??
net10.
*M110.1 it is just some memory bit -> That inputparameter IN, starts the timer.
*_time value is calculated time value from net9.
and if im going to use one more setup of this what do i need to do then?Today 11:15 PM
Do you mean that sometimes i.e. 123pls is 12,3s and in the other case 123pls is 36,9s?? If, so -> replace constant factor by variable (merker or data word). Then you are able to change your factor on the fly..
Case Retentive timer value??
Do you mean, if your plc stops or power off + timer is running at that time, it should save the last state and when plc starts again it should continue from same state?? I don't think is it possible, but I can be wrong (95% NO). But the time value you can save if you are using the retentive memory areas. If you open Hardware configuration, CPU, properties, sheet "retentive memory" there you can set needed merker, timer and counter which should be on retentive memory area. Of course, the DB's save their states allways, unless somebody overwrites them ...
PS: Do you have some reason to change program from FB to FC ??
Let's hope that you can understand what I try explain. Read my message between the lines.