For M580 PLC, the DAY_OF_WEEK EF is not available and the system word %SW49 is giving the Day of the week in UTC Time format. To get it in Local time you can import the attached DFB the output is giving the day of the week in the Local Time (defined by the Project Settings->General->Time (Time Zone))
- 1 = Monday
- 2 = Tuesday
- 3 = Wednesday
- 4 = Thursday
- 5 = Friday
- 6 = Saturday
- 7 = Sunday