PeterW
Member
I'm afraid your restricted with S5Time, if you wanted to have a smaller increment to change over a larger number, you would have to create your own timer by counting timed pulses.
I am not sure I understand.PeterW said:I'm afraid your restricted with S5Time, if you wanted to have a smaller increment to change over a larger number, you would have to create your own timer by counting timed pulses.
Yes, I've checked it's FC33.[email protected] said:Jacek,
Are you thinking FC33 ? Im tried it, This FC has output Time format. I need float.
[email protected] said:PeterW,
Im tried your code and anywhere is fault, output is uncorrect.
e.g
your code returned S5T#20s0ms = 6.710886e+008
my primary code returned S5T#20s0ms = 20.0
jacekd said:Yes, I've checked it's FC33.
The TIME format is in fact DINT number of miliseconds. You can convert it into REAL, divide by 1000. And it's done.
End of story.