DATESET (49)
DATESET (49)
ID 49
Application: |
PLC |
SIM |
Group: TIMERS AND COUNTERS
Short description:
Function that sets the date.
Inputs (4):
no. |
type |
impulse |
mark |
notes |
1 |
B |
no |
set |
set |
2 | I | no | day | days |
3 | I | no | month | months |
4 | I | no | year | years |
Outputs: none
Settings: none
Function operation:
The DATESET function sets the date in the DATE block in the format dd-mm-yy. When a high state appears on the set input, the values given at the day, month, year inputs are written to the DATE block (see DATE (46)). Entering invalid day, month, year values will not change the date. The day of the week is calculated automatically.
R registers and M markers used:
No. |
name |
description |
R - read, W -write |
R3750 |
Date_Year | Date - Year | |
R3751 | Date_Month | Date - Month | |
R3752 | Date_Day | Date - Day of the month | |
R3753 | Date_Day_of_Week | Date - day of the week (from 1 - Monday, to 7 - Sunday) | W |