How can we help you today?

How to get the week number of the year by program in M580 application ?

For M580 PLC, the WEEK_OF_YEAR EF is not available and the system word %SW70 is giving the week of the year in UTC Time format. To get it in Local time you can import the attached DFB the output is giving the week of the year  in the Local Time (defined by the Project Settings->General->Time (Time Zone)).
The value is decimal from 1 to 52.

DFB in attachment

Schneider Electric Canada

Attachment(s)
week_of_the_year.zip [933 Bytes]
Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:

Need help?

Need help?

Product Selector

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Get a Quote

Start your sales inquiry online and en expert will connect with you.

Where to buy?

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Center

Help Center

Find support resources for all your needs, in one place.

  • Help and Contact Center
  • Contact Sales
  • Find our Offices
  • Where to Buy
  • Careers
  • Company Profile
  • Investors
  • Newsroom
  • Report a Misconduct
  • Product Documentation
  • Product Selectors
  • Software and Firmware
  • Product Substitution and Replacement
  • Blog
  • Events
  • Schneider Electric Community
  • Sustainability
  • Legal Information
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings