Chapter 4: Operation Mode
DFS150-485 2D Fixed Scanner User Guide
4-5
4.3 Slave Modbus Mode
All parameters can only be set in this mode. The function code includes 0x03 - Read Holding
Registers, 0x06 - Preset Single Register, and 0x10 - Preset Multiple Registers.
Refer to Table 8.
Register Map
to set the parameters.
This mode provided the register for the master device to confirm the status. The barcode
length of the latest data can be obtained by the register. If the length of reading command
exceeds the real length of the barcode, response will add zero padding. After set the parameters,
user can reboot DFS150-485 with software reset command. The details of status of barcode and
software reset please refer to Table 6. Registers in Slave Modbus Mode.
In this mode, parameters setting and reading command allows for 10 registers (Words) Max
at once. The reading length of barcode should smaller than 120 chars.
Figure 13. Slave Modbus barcode sample