
3-12
IM 05P07A01-01EN
05 Writing to an I relay
Function
Data is written to the specified I relay No.
• The number of relays that can be written at a time is 1.
• For details on the response format at an error, see “● Response in an error state” in
“3.1.3 Configuration of Responses (response from UTAdvanced).”
• When data outside the setting range of parameters is set, the response is a normal
response, but the data is not written.
• Broadcasting can be specified. No response is returned when broadcasting is
specified.
Message (during normal operation)
Element
Message
start mark
(:)
Address No.
(ADR)
Function code
(0x05)
I relay
No.
Write data
Error
check
Message
end mark
(CR+LF)
Number of bytes in RTU mode
None
1
1
2
2
2
None
Number of bytes in ASCII
mode
1
2
2
4
4
2
2
Response (during normal operation)
Element
Message
start mark
(:)
Address No.
(ADR)
Function code
(0x05)
I relay
No.
Write data
Error
check
Message
end mark
(CR+LF)
Number of bytes in RTU mode
None
1
1
2
2
2
None
Number of bytes in ASCII
mode
1
2
2
4
4
2
2
06 Writing to a D register
Function
Data is written to the specified D register No.
• The number of registers that can be written at a time is 1.
• For details on the response format at an error, see “● Response in an error state” in
“3.1.3 Configuration of Responses (response from UTAdvanced).”
• When data outside the setting range of parameters is set, the response is a normal
response, but the data is not written.
• Broadcasting can be specified. No response is returned when broadcasting is
specified.
Message (during normal operation)
Element
Message
start mark
(:)
Address No.
(ADR)
Function code
(0x06)
Register
No.
Write data
Error
check
Message
end mark
(CR+LF)
Number of bytes in RTU mode
None
1
1
2
2
2
None
Number of bytes in ASCII
mode
1
2
2
4
4
2
2
Response (during normal operation)
Element
Message
start mark
(:)
Address No.
(ADR)
Function code
(0x06)
Register
No.
Write data
Error
check
Message
end mark
(CR+LF)
Number of bytes in RTU mode
None
1
1
2
2
2
None
Number of bytes in ASCII
mode
1
2
2
4
4
2
2
3.1 Modbus Communication
Summary of Contents for UTAdvanced Series
Page 17: ...Blank Page...
Page 77: ...Blank Page...
Page 285: ...Blank Page...
Page 325: ...Blank Page...
Page 467: ...Blank Page...
Page 557: ...Blank Page...
Page 825: ...Blank Page...
Page 861: ...Blank Page...
Page 863: ...Blank Page...
Page 865: ...Blank Page...