DATE (46)
DATE (46)
ID 46
Application: |
PLC |
SIM |
Group: TIMERS AND COUNTERS
Short description:
Function that returns a date.
Inputs: none
Outputs (4):
no. |
type |
impulse |
mark |
notes |
1 |
I |
no |
d |
days |
2 | I | no | m | month |
3 | I | no | y | years |
4 | I | no | DOW | Day Of Week |
Settings:
See DATESET (49)Function operation:
The DATE function stores the date in the format dd-mm-yy along with the day of the week. The function returns d, m, y, DOW on the outputs; days, months, years and the day of the week. The date is set using the DATESET block (49).
R registers and M markers used:
No. |
name |
description |
R - read, W -write |
R3750 |
Date_Year | Date - year | R |
R3751 | Date_Month | Date - month | R |
R3752 | Date_Day | Date - day of the month | R |
R3753 | Date_Day_of_Week | Date - day of the week (from 1 - Monday, to 7 - Sunday) | R |