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)
REQ
CH
UNIT
SLOT
TIME
(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
(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.
6F8C0845
Input Argument
BOOL type
Execution enabled
WORD type
Channel No.
WORD type
Unit No.
WORD type
Slot No.
Data
Time set
structural type
Time structure
YEAR
INT type
MONTH INT type
DAY
INT type
HOUR
INT type
MIN
INT type
SEC
INT type
•
Enter a numeric value in 2 digits of BCD for each time element.
DN_TIMESET
REQ
DONE
CH
ERR
UNIT
STATUS
SLOT
TIME
Output Argument
DONE
BOOL type
ERR
BOOL type
STATUS
WORD type
For description of completion status, see
Section 4.5.
Calendar data (year)
Calendar data (month)
Calendar data (day)
Calendar data (hour)
Calendar data (minute)
Calendar data (second)
4.3 Requests to the DN611
Completed
Error
Completion status
85
4