5-12
IM 77C01H01-10EN
5.2 Message and Response
06 Writes data into D register
Function
This function code writes data into a specified D registers number.
• The maximum number of D registers to be written into at a time is 1.
• For the format of response in the event of failure, see subsection 5.1.4.
• Broadcast addressing is possible (by setting “00” to the station number).
Message (for normal operation)
Element
Start of
Message Mark
(:)
Station
Number
(ST-NO)
Function Code
(06)
D-Register
Number
(Upper Digit)
D-Register
Number
(Lower Digit)
Number of bytes
in RTU mode
None
1
1
1
1
Number of bytes
in ASCII mode
1
2
2
2
2
Message (continued)
Write Data
(Upper Digit)
Write Data
(Lower Digit)
Error Check
End of
Message Mark
(CR + LF)
1
1
2
None
2
2
2
2
Response (for normal operation)
Element
Start of
Message Mark
(:)
Station
Number
(ST-NO)
Function Code
(06)
D-Register
Number
(Upper Digit)
D-Register
Number
(Lower Digit)
Number of bytes
in RTU mode
None
1
1
1
1
Number of bytes
in ASCII mode
1
2
2
2
2
Response (continued)
Write Data
(Upper Digit)
Write Data
(Lower Digit)
Error Check
End of
Message Mark
(CR + LF)
1
1
2
None
2
2
2
2
Example (ASCII mode)
Write “0001” into the D0062 (start of optional integration) at station number 11. (D register
specification is “61.”)
[Message] [:]0B06003D0001B1[CR][LF]
“0B”: station number 11, “06”: function code 06, “003D”: D register specification 61, “0001”:
Data 0001, and “B1”: error check
* Numbers in quotation marks are hexadecimal.
The following response is returned with respect to the above message.
[Response] [:]0B06003D0001B1[CR][LF]
The frame same as the message is returned.
Summary of Contents for UPM100
Page 2: ......
Page 14: ...Blank ...
Page 58: ...Blank ...
Page 74: ...Blank ...
Page 82: ...Blank ...
Page 86: ...Blank ...
Page 100: ...Blank ...
Page 102: ...Blank ...
Page 103: ......
Page 104: ......