
3-14
IM 05P07A01-01EN
15 Writing to multiple I relays
Function
Data is written to I relays continuously for the specified number of relays from the
specified relay number.
• The maximum number of relays that can be written at a time is 256.
• 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).”
• The data to be written is one bit for each I relay.
The bit indicates: 1 = ON and 0 = OFF. The LSB of the first written data item indicates
the status of the write start I relay.
The status of 8 I relays is represented by one byte. If the maximum number of I relays
is exceeded by the last written data, the exceeding part of the data item 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
(0x0F)
I relay start
No.
Number of I
relays
Byte count
(Note 1)
Number of bytes in RTU mode
None
1
1
2
2
1
Number of bytes in ASCII
mode
1
2
2
4
4
2
Continuation of message
Write data
• • •
Write data
Error check
Message
end mark
(CR+LF)
1
• • •
1
2
None
2
• • •
2
2
2
Note 1: When the byte count is assumed to be “N,” N = Number of write I relays / 8 (however, N =
N + 1 when the remainder is not zero).
Response (during normal operation)
Element
Message
start mark
(:)
Address No.
(ADR)
Function code
(0x0F)
I relay start
No.
Number of
I relays
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...