Section 4. Legacy Commands
11
SWB - SWITCH B COMMAND
The SWB command controls the message format, shown in Table 4-2. The data for this
command consists of 8 ASCII bits (“0” = hex 30 and “1” = hex 31).
To execute, send the SWB command as follows:
SWB01010101<CR>
(with data)
or
SWB<CR>
(without data)
When sending data, all 8 bits must be provided. The MICRSafe will execute the
command but it will not reply. The new settings become effective immediately. To make
this command permanent, use the command SA (Save) described at the end of this
section.
If no data is sent, the MICRSafe responds with the current settings for SWB.
Table 4-2. SWB Command
BIT
PARAMETERS
7
6
5
4
3
2
1
0
0
<LF>: No
1
<LF>: Yes
0
<CR>: No
1
<CR>: Yes
0
<ETX>: No
1
<ETX>: Yes
0
<ESC>: No
1
<ESC>: Yes
0
<STX>: No
1
<STX>: Yes
0
Send Data After Error?: No
1
Send Data After Error?: Yes
0
Send Status After Data?: No
1
Send Status After Data?: Yes
0
0
0
0
0
0
Comm Mode: 0 - Data Only
1
0
0
0
0
0
Comm Mode: 1 - Data<CR>
0
0
0
0
0
1
Comm Mode: 2 - Data<LF>
0
0
0
0
1
1
Comm Mode: 3 - Data<CR><LF>
0
0
1
0
0
0
Comm Mode: 4 - <ESC>Data
0
0
1
0
1
0
Comm Mode: 5 - <ESC>Data<CR>
0
1
0
1
0
0
Comm Mode: 6 - <STX>Data<ETX>
1
0
0
0
0
1
Comm Mode: 7 - <STX>Data<ETX><LRC>
0
1
1
1
1
1
Comm Mode- 8 – All controls
0
0
0
1
0
1
Comm Mode- 9- Data<ETX><LF>
0
1
0
0
1
0
Comm Mode- 10- <STX>Data<CR>
Содержание MICRSafe
Страница 8: ...viii Figure 1 1 MICRSafe with 3 Track MSR...
Страница 12: ...MICRSafe with 3 Track MSR 4...
Страница 50: ...MICRSafe with 3 Track MSR 42...
Страница 52: ...MICRSafe with 3 Track MSR 44...
Страница 56: ......
Страница 68: ...MICRSafe with 3 Track MSR 60...
Страница 70: ...MICRSafe with 3 Track MSR 62...
Страница 78: ...MICRSafe with 3 Track MSR 70...