Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

OSCAT_BASIC CALENDER DUT No longer compiles....

S1ack
2020-08-31
2020-09-01
  • S1ack

    S1ack - 2020-08-31

    Did some preliminary work back in SP15, perhaps even in SP14. Using OSCAT_BASIC for sunrise and sunset calculations. Now, in SP16 I am getting errors on compile related to Type CALENDER (from BASIC).

    Looking in the old project which complies without error in SP16....

    Looking in the new project....The type structure has changed, yet the library versions are the same (for OSCAT_BASIC)....

    It's obvious I do not understand how this stuff happens.
    But what is the resolution here?

     
  • i-campbell

    i-campbell - 2020-09-01

    LDT and LTOD are now keywords for long date and time and long time of day.

    @annD has uploaded new versions to their forum. You would need to sign in.

    alternatively you can edit your library yourself. Change the library version number, and change the variable names throughout the project from the reserved keywords to something else.

     
    πŸ‘
    1

Log in to post a comment.