6F8C0845
85
4.3 Requests to the DN611
4
4.3.7
Time setting request
(1) Function
This request sets the time in the DN611. The time thus set is used for event history
data. When the DN611 is in down mode or initialize mode, this function cannot be
used.
(2) Diagrammatic representation (Function block)
(3) Description of operation
(a) When REQ is TRUE, the module specified by CH, UNIT, and SLOT executes the
time setting request.
(b) After completion of time setting request processing, DONE is turned TRUE.
(c) If time setting request processing is not completed in 2 seconds or more due to
an error or the like, ERR and DONE are turned TRUE.
(d) Completion status is output to STATUS.
(e) If REQ is FALSE, both DONE and ERR turn FALSE.
(f) When this function block is started (when REQ is turned TRUE), keep REQ
TRUE till DONE becomes TRUE.
(4) Time set
Time structure
YEAR
INT type
Calendar data (year)
MONTH
INT type
Calendar data (month)
DAY
INT type
Calendar data (day)
HOUR
INT type
Calendar data (hour)
MIN
INT type
Calendar data (minute)
SEC
INT type
Calendar data (second)
• Enter a numeric value in 2 digits of BCD for each time element.
(5) Others
• The time thus set is updated by the timer in the DN611, and may deviate from the
time of the S controller. It is recommended that the time be adjusted once a day.
Input Argument
Output Argument
REQ
BOOL type
Execution enabled
DONE
BOOL type
Completed
CH
WORD type
Channel No.
ERR
BOOL type
Error
UNIT
WORD type
Unit No.
STATUS
WORD type
Completion status
SLOT
WORD type
Slot No.
For description of completion status, see
Section 4.5.
TIME
Data
structural type
Time set
DN_TIMESET
CH
REQ
DONE
UNIT
TIME
SLOT
ERR
STATUS