Figure 32: Modbus ® Server State Diagram - ABB 266 MODBUS User Manual

2600t series pressure transmitters
Hide thumbs Also See for 266 MODBUS:
Table of Contents

Advertisement

®
Set MODBUS
®
The MODBUS
address can be set or modified using any one of the following methods:
The HMI can be used to directly change the MODBUS
HMI menu structure (page 79), for the menu structure.
If a single device is connected to the MODBUS
®
MODBUS
address to MODBUS
Address 0 writes).
This method allows for plug/play capability into an existing system. A special set of MODBUS
to change the device address. The MODBUS
the Transducer ID / Serial number register using the device address that it wants to assign. However, the value written must
match the device's Transducer ID for the device to accept the assignment and acknowledge the command. The Master has
three out comes after making the request:
-
The Slave answers correctly. The Master changed the device address successfully.
-
The Slave did not answer and the communication timed-out. The Master did not change the device address,
leaving the device without a Transducer ID or an identification on the bus.
-
The Slave replied with a negative acknowledgement (NACK) and the device address did not change. The Master
could not reassign the device address because the device address already exists, but does not match the
Transducer ID of the device. Reassigning the device address to an existing address would create a duplicate,
therefore no device address change occurred.
To use Method C, the MODBUS
work. The shaded areas are the adjustments.
In Figure 32, MODBUS® Server state diagram, the "Request Process" must perform a custom "put" operation. The operation
compares the data buffer received to the target device Transducer ID. If the data matches, the device modifies the MODBUS
address register to the device address sent in the request frame. NOTE: The data in the Transducer ID register remains
unchanged.
Exception 1
Exception 2
My Device Address
Yes
MB Server Sends mb_exception_rsp
38 | 266 MODBUS® multivariable transmitter User manual 2105216 Rev. AB
device address
®
register 503. The device supports the global MODBUS
®
Master performs the simplest part of these operations, it just has to write to
®
Server state processing of request packets needs a couple of adjustments to allow this to
Entry
[2] Function code
Supported
No
[3,4] Start Register Address
And
Start + Quantity [5,6]
Valid
No
[1] My Address
OR
(Function == 16 AND Start Address ==
No
Request Process
No
Exception 4
No
Figure 32: MODBUS
®
address to the application requirements. See Appendix A,
®
Master, the device address can be modified by writing the correct
Yes
Yes
Transducer ID)
Yes
Yes
MB Server Sends mb_rsp
Exit
®
Server state diagram
4 Transmitter start up
®
write sequence (MODBUS
®
operations are used
®
®

Advertisement

Table of Contents
loading

Table of Contents