IM 05C01E22-10E
4-6
16
Writes data into D registers.
●
Function
This function code writes data into successive D registers by the number of specified D registers from
a specified D register number.
• The maximum number of D registers into which data is written at a time is 32.
• For the format of response in the event of failure, see subsection 4.2.4.
• Lets you specify broadcast (by setting “00” to the address number).
●
Message (for normal operation)
End of Message
Mark
(CR + LF)
None
2
Byte
Count
1
2
Data
(Upper Digit)
1
2
Data
(Lower Digit)
1
2
Error
Check
2
2
Number of
D Registers
(Upper Digit)
1
2
2
1
Number of
D Registers
(Lower Digit)
…
…
…
Massage (continued)
Element
Number of bytes in
RTU mode
Number of bytes in
ASCII mode
Start of
Message
Mark (:)
None
1
Address
Number
(ADR)
1
2
Function Code
(10)
1
2
D-Register Start
Number
(Upper Digit)
1
2
2
1
D-Register Start
Number
(Lower Digit)
●
Response (for normal operation)
Element
Number of bytes in
RTU mode
Number of bytes in
ASCII mode
1
Number of D
Registers
(Upper Digit)
2
Start of
Message
Mark (:)
None
1
Number of D
Registers
(Lower Digit)
1
2
Error
Check
2
2
Address
Number
(ADR)
1
2
None
End of Message
Mark
(CR + LF)
2
Function Code
(10)
1
2
D-Register Start
Number
(Upper Digit)
1
2
2
1
D-Register Start
Number
(Lower Digit)
Response (continued)
●
Example: Setting a alarm-1 setpoint of 80, and a alarm-2 setpoint of 70 to UT150L with address
number 02.
The following message writes values 80, and 70 in this order in the ASCII mode, starting at the
proportional band (D0101) of address number 02.
[Message] [
:
: ]0210006400020400500046EE[CR][LF]
Start of message mark
“02”: address number 02, “10”: function code 16, “0064”: starts register address 0101, “0002”:
number of D registers 2, “04”: byte count, “0050”: alarm-1 setpoint 80, “0046”: alarm-2 setpoint 70,
and “EE”: error check
* Numbers in quotation marks are hexadecimal.
The following response is returned with respect to the above message.
[Response] [
:
: ]02100064000288[CR][LF]
Number of D registers: 2
Summary of Contents for UT150L
Page 1: ...User s Manual Model UT150L Communication Functions IM 05C01E22 10E IM 05C01E22 10E 3rd Edition...
Page 2: ......
Page 8: ...IM 05C01E22 10E vi Appendix Table of ASCII Codes Alphanumeric Codes App 1 Revision Record i...
Page 12: ...IM 05C01E22 10E 1 4...
Page 14: ...IM 05C01E22 10E 2 2...
Page 38: ...IM 05C01E22 10E 3 24...
Page 48: ...IM 05C01E22 10E 4 10...
Page 54: ...IM 05C01E22 10E 6 2...
Page 56: ...IM 05C01E22 10E App 2...
Page 58: ......
Page 59: ......