Could I declare my own variable???

Options
I want to create a variable VAR Time mytimer:=0  will it work?

Comments

  • DenisFR
    DenisFR ✭✭✭
    Options
    Hello,
    Time is not a valid data type.
    To declare your own type use ALIAS (to copy from other type) or RECORD to make a new structured data type.
    You can check valid data type in "RAPID Instructions, Functions and Data types" help.

    In your case, you should use clock data to use with ClkReset, ClkStart, ClkStop, and ClkRead.

  • ollitap
    Options
    Agreed and thank you