News:
Home
Help
Search
Login
Register
June 09, 2026, 02:16:17 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
»
General Category
»
DirectSOFT
»
Day of week
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Day of week (Read 36019 times)
b_carlton
Internal Dev
Hero Member
Posts: 606
Re: Day of week
«
Reply #15 on:
August 23, 2010, 10:50:32 AM »
This appears to have been done August 20th but there is no 'Day Of Week' (the low part of your V2052) set. it is left at zero (Sunday). The 20th was Friday so the low part should have been set to 5.
Logged
An output is a PLC's way of getting its inputs to change.
aw
Jr. Member
Posts: 11
Re: Day of week
«
Reply #16 on:
August 25, 2010, 10:46:53 AM »
But the sample program does not have it.
How to do it?
Logged
b_carlton
Internal Dev
Hero Member
Posts: 606
Re: Day of week
«
Reply #17 on:
August 25, 2010, 11:01:36 AM »
The documentation for the DATE instruction in the DL-205 manual shows the loading of the V registers including the day of week information. EXACTLY which 'sample program' are you referring to?
Logged
An output is a PLC's way of getting its inputs to change.
aw
Jr. Member
Posts: 11
Re: Day of week
«
Reply #18 on:
August 25, 2010, 12:28:10 PM »
Example program which my coworker took from tech website, probably EP-MISC-001
Logged
b_carlton
Internal Dev
Hero Member
Posts: 606
Re: Day of week
«
Reply #19 on:
August 25, 2010, 12:53:30 PM »
In that DST correction program the TIME command is being used not the DATE command.
«
Last Edit: August 25, 2010, 12:57:39 PM by b_carlton
»
Logged
An output is a PLC's way of getting its inputs to change.
aw
Jr. Member
Posts: 11
Re: Day of week
«
Reply #20 on:
August 26, 2010, 08:55:31 AM »
I know, but since there is no example program for setting the date, we followed the TIME program. Except the Day of week does not work.
Isn't the internal clock calculating it?
Logged
b_carlton
Internal Dev
Hero Member
Posts: 606
Re: Day of week
«
Reply #21 on:
August 26, 2010, 09:42:03 AM »
1. Follow the description for the DATE instruction in the CPU manual.
2. The DOW is not calculated. It is just incremented/cleared at midnight. You have to set it correctly either through Directsoft or via the DATE instruction.
Logged
An output is a PLC's way of getting its inputs to change.
aw
Jr. Member
Posts: 11
Re: Day of week
«
Reply #22 on:
August 26, 2010, 10:05:37 AM »
Thank you.
I was missing DOW setpoint from HMI. Now that I added it everything works.
Logged
Print
Pages:
1
[
2
]
« previous
next »
Host Engineering Forum
»
General Category
»
DirectSOFT
»
Day of week