7
PROGRAMMING
(3) Program example
Figure 7.19 Program Example for Time Control Function (Time Data Write Request)
7
- 57
7.6 Program Example for Time Control over DP-Slaves
7.6.4 Program example
Request code is set
(1602
Year is set. (2005)
Month is set. (July)
Day is set (1st).
Hour is set. (10 o'clock).
Minute is set. (0 minutes).
Second is set. (0 seconds)
1/000 second value is set. (0)
Clock status is set. (0)
Time control is executed.
Reads the response
code and error code
Processing for normal
completion
Time control completion
processing
Processing for failed
completion
Time control completion
processing
)
H