Time Data Write Request - Mitsubishi Electric Melsec Q Series User Manual

Profibus-dp master module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

7
PROGRAMMING

7.6.3 Time data write request

This section explains the request and response formats of the time data write request.
(1) Request format
Buffer memory address
26784(68A0
)
H
26785(68A1
)
H
26786(68A2
)
H
26787(68A3
)
H
26788(68A4
)
H
26789(68A5
)
H
26790(68A6
)
H
26791(68A7
)
H
26792(68A8
)
H
Table7.49 Request Format
Set a request code.
Set value: 1602
H
Set the year.
Set value: 1984 to 2036
Set the month.
Set value: 1 to 12
Set the day.
Set value: 1 to 31
Set the hour.
Set value: 0 to 23
Set the minute.
Set value: 0 to 59
Set the second.
Set value: 0 to 59
Set 1/1000 second.
Set value: 0 to 999
Set the clock status.
b15 b14
to
b10 b9
b8
6)
5)
0
1) Set the synchronous setting with the time master.
0 : Not synchronize the time setting with that of the time master.
1 : Synchronize the time setting with that of the time master.
2) Set the time resolution (minimum unit).
00 : 1ms
01 : 10ms
10 : 100ms
11 : 1s
3) Set summer or winter time.
0 : Set winter time.
1 : Set summer time.
4) Set advance notice of summer/winter time switching.
0 : Not switch between summer and winter times in an hour
1 : Switches between summer and winter times in an hour
5) Set the time difference (the time to be added or subtracted).
The value, 0 means "No addition or subtraction".
Set value: 0 to 31 (Unit: x 0.5 hours)
6) Set the time calculation method.
0 : Adds the time difference
1 : Subtracts the time difference
7.6 Program Example for Time Control over DP-Slaves
7.6.3 Time data write request
Description/Set value
b7 b6 b5
b4
b3 b2 b1
b0
4) 3)
0
2)
0
1)
1
2
3
4
5
6
7
8
7
- 54

Advertisement

Table of Contents
loading

Table of Contents