106
Modbus Slave (RTU Mode)
Section 11-1
Function Code 0F: Write multiple internal bits
■
Commands
■
Responses
The response will be the command message with the data from the number of
bytes to byte n removed.
PT slave
address
Function
code
0F hex
First
address,
upper byte
First
address,
lower byte
Number of
bits to write,
upper byte
Number of
bits to write,
lower byte
Number of
bytes
Data byte 1
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
• • • • • • • • • •
Data byte n
Error check,
upper byte
Error check,
lower byte
1 byte
1 byte
1 byte
PT slave
address
Function
code
0F hex
First
address,
upper byte
First
address,
lower byte
Number of
bits to write,
upper byte
Number of
bits to write,
lower byte
Error check,
upper byte
Error check,
lower byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
Item
Function
PT slave address Specify the slave address of the PT to which to send the message.
For slave address 20, specify 14 hex.
Function code
Specify 0F hex.
First address
Specify the internal bit address to write in hexadecimal.
For GR12F, specify 00 hex, CF hex.
Number of bits to
write
Send the number of the internal bits to write with the upper bytes
first, followed by the lower bytes. To write 20 bits, specify 00 hex,
14 hex.
Number of bytes
Specify the number of bytes from data byte 1 to data byte n.
Data bytes 1 to n
Send the ON/OFF status of the internal bits starting from the first
bit in units of 8 bits. LSB of byte 1 is the status of the first internal
bit. Status is sent in units of 8 bits. Set bits in byte n that do not
correspond to specified bits to 0.
Error check
The CRC-16 values are sent and received.
Summary of Contents for NV3Q Series
Page 1: ...Cat No V105 E1 02 Programmable Terminals NV Series NV3W NV4W NV3Q HOST CONNECTION MANUAL ...
Page 2: ......
Page 3: ...NV Series NV3W NV4W NV3Q Programmable Terminals Produced December 2009 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 16: ...xvi ...
Page 20: ...xx ...
Page 68: ...44 S7 200 Series Section 5 1 ...
Page 69: ...45 SECTION 6 Connecting to LG PLCs 6 1 MASKER K Cnet Series 46 6 1 1 Connection Method 46 ...
Page 72: ...48 MASKER K Cnet Series Section 6 1 ...
Page 76: ...52 FA M3 Series Section 7 1 ...
Page 110: ...86 Web Controller Series Section 9 3 ...
Page 120: ...96 Modbus RTU Mode Temperature Controller Section 10 3 ...
Page 142: ...118 Modbus Connections Section 12 5 ...
Page 144: ...120 Revision History ...