21
For example:
write the device ID for the device: WSMQL16012019101, and read the device ID
through instructions
Write ID:
Serial port sending: Write Device ID: WSMQL16012019101.
The serial port returns: Write Device ID: WSMQL16012019101.
Read ID:
Serial port sending:
Read Device ID.
Serial port return:
Device ID: WSMQL16012019101
Note:
1.
There is "." after the instruction as the end mark.
2.
When the ID is not written, the device ID is read and "Device ID: NULL" is returned.
3. If the write instruction ID data does not meet the requirements or the instruction format is wrong,
the write instruction will not return and the write will fail.
Users can also read the DeviceID operation by reading the following setting codes, and return:
DeviceID: ID number.
Read device ID
6. Data Edition
In actual applications, in order to facilitate data classification and processing, sometimes it is
necessary to edit the read data before outputting.
Data editing includes:
•
Add prefix (Prefix)
•
Add suffix (Suffix)
•
Data segment interception of decoded data
•
Output barcode Code ID
•
Decoding failure characteristic output information
(RF information)
•
Add ending character (Tail)
The output data format after processing:
(Prefix) (Code ID) (Data) (Suffix) (Tail)