First check the device screen / DIP switches / label and manual. If nothing, use a laptop + USB-RS485 and scan: try common baud rates (9600, 19200) and parities, reading from ID 1 upward with a short timeout.
๐ง Applies to: Modbus RTU devices. Scan with the device connected alone.
A device answers only when ID, baud and parity are all right. There are only a few common combinations, so trying them one by one with a tool and listening for a reply works.
One combination returns correct values: that is its setting.
If the scan finds nothing, check wiring (A/B) and power, then the device vendor.
What went wrong?
Still stuck? Ask the community.
This answer is for learning and field guidance. Menus and limits differ by brand / model: check the device's official manual before final work.