19
Example: Set the custom suffix to "CODE":
1. Check the character table to get the hexadecimal value corresponding to the 4 characters
of "CODE": 43, 4F, 44, 45;
2. Read the "Enable Setting Code" (if it is already turned on, you can ignore it);
3. Read the "modify suffix content" setting code;
4. Read the following data codes: "4", "3", "4", "F", "4", "4", "4", "5";
5. Read the "Save" setting code;
5.8 Terminator
The terminator is used to mark the end of a piece of complete data information, and is used
to indicate the complete end of a data output. The terminator is 1
-
7 characters.
5.8.1 Add terminator
Choose to read the following setting codes, you can make the reading module add the end
character, or no longer add the end character.
*
Add terminator
No add terminator
5.8.2 Modify the terminator
Read the following setting codes, you can quickly set the terminator to 0x0D or 0x0D, 0x0A.
*Set the end of addition to 0x0D
Set the end of addition to 0x0D 0x0A
Read the "modify end character" and combine to read the data code to modify the character
content of the end character.
When modifying the terminator, use 2 hexadecimal values to represent the characters, and
read 2 or 4 values sequentially to represent 1 character or 2 characters. Refer to Appendix C for
the hexadecimal conversion of characters.
Modify the terminator