Справочник Пользователя для Unitech Electronics Co. Ltd. MS842RBBT

Скачать
Страница из 127
 
- 89 - 
© 2017 unitech Electronics Co., Ltd. All rights reserved. 
unitech is a registered trademark of unitech Electronics Co., Ltd.
 
MS842RB User’s Manual 
 
 
4.8.2 Data Format Editor Commands 
When working with the Data Format Editor, a virtual cursor is moved along 
your input data string. The following commands are used to both move 
this cursor to different positions, and to select, replace, and insert data into 
the final output.     
4.8.2.1 Send Commands 
 Send all characters 
F1  Include in the output message all of the characters from the input 
message, starting from current cursor position, followed by an insert 
character. Syntax = F1xx where xx stands for the insert character’s 
hex value for its ASCII code. Refer to the
 
  Send a number of characters 
F2  Include in the output message a number of characters followed by an 
insert character. Start from the current cursor position and continue 
for “nn” characters or through the last character in the input message, 
followed by character “xx.” Syntax = F2nnxx where nn stands for the 
numeric value (00-99) for the number of characters, and xx stands 
for the insert character’s hex value for its ASCII code. Refer to the
 
, for decimal, hex and 
character codes. 
 
F2 Example: Send a number of characters 
 
Send the first 10 characters from the bar code above, followed by a 
carriage return. Command string:F2100D 
F2 is the “Send a number of characters” command 
10 is the number of characters to send 
0D is the hex value for a CR 
The data is output as: 1234567890