You can write a small function to convert: FUNCTION R_Time : VOIDVAR_INPUT In : REAL;END_VARVAR_OUTPUT Out : TIME;END_VAR Out := DINT_TO_TIME(REAL_TO_DINT(In * 1000));END_FUNCTION Suggestion To thank Quote Answer This contribution was helpful to 3 thankful Users phucxdtd...
Msg 242, Level 16, State 3, Line 3 The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. Okay, Sergiy, you had me nervous for a bit with this one. Then I took a closer look and I saw what the problem was with Mr. Celko's cod...
Besides copying ISO image to MOV on Mac, this Mac DVD ripper constantly upgrades to support to rip copy protected DVD on Mac, thus you would not miss any movies published by Disney, Warner, etc. It also allows you to rip DVD to AVI, MP4, FLV, iPhone, iPad, iPod, etc with high vid...
If you use a timer from the APL library (Timer_P), then its Ti input is set in REAL format. You can write a small function to convert: FUNCTION R_Time : VOIDVAR_INPUT In : REAL;END_VARVAR_OUTPUT Out : TIME;END_VAR Out := DINT_TO_TIME(REAL_TO_DINT(In * 1000));END_FUNCTION...