in location

OR

I'm looking for

  • Wholesalers
    • Uncheck All Check All
  • EXPERTISE
    • Expand
    • Expand
    • Expand
    • Uncheck All Check All
  • Switchboard Manufacturers
    • Uncheck All Check All
OR

The best way to see what Clipsal electric products can do for your home is seeing them in action at a Clipsal Powerhouse Display Centre.

Product stock may vary according to location. If you're after a specific product range, please check with your chosen location before visiting.

10 Results
    Load More Load Complete
    Change Location

    Can I set the Magelis date using scripting in Vijeo Designer?

    Yes, you can set the Magelis date using scripting in Vijeo Designer. By using the Sys.setDate command.
    Function

    Changes the date on the target machine.

    You can also change the date from the Configuration menu, but using scripts makes it possible to change the date while still running Vijeo-Designer Runtime.

    Format

      • public static boolean Sys.setDate(int year4, int month, int day);
    Parameters
          • Parameter
          • Description
          • int year4
          • First parameter defines a four-digit year. Acceptable values are 1980 to 2037.
          • int month
          • Second parameter defines the one- or two-digit month. Acceptable values are 1 to 12.
          • int day
          • Third parameter defines the one- or two-digit day. Acceptable values are 1 to 31.
    Use  1 as any of the parameters to ignore that parameter.

    Example:

      • Sys.setDate(2003, 12, -1); // set the year to 2003, month to 12, and do not change the day

      • For the month and day parameters, use only single digits for the numbers 1 to 9. Using two digits, such as "08" or "09", may produce unexpected results.
    Return Value
          • Value
          • Description
          • false
          • Failed to set the date on the target machine. Usually indicates invalid parameters, but may also indicate a communication error.
          • true
          • Successfully set the date on the target machine.

    Didn’t find what you were looking for?

    Try Searching Again View Our Categories

    Need further assistance?

    Our Customer Care department provides total customer service solutions for our residential, industrial and commercial applications.

    Get Assistance