• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Type cast from real to time

    Mervis
    2
    2
    773
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jvdlaer last edited by

      I am using Mervis and:
      I want to type cast from a real to time (seconds).

      Tried to_time, and gor the following message:
      Error L513 Ph_Dosering L513//L513//Ph_Dosering 21 2 expression with type 'real' doesn't fit the generic constraint 'ANY_DURATION' for the input parameter 'in1' in a call to the 'to_time'

      Any advise?

      Thanks.

      Jan

      T 1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators @jvdlaer last edited by

        @jvdlaer MULTIME function block shoudl be the way

        1 Reply Last reply Reply Quote 0
        • First post
          Last post