<< Click to Display Table of Contents > Control Characters USC-2 |
![]() ![]() ![]() |
The control characters for the communication via the Flash Control Interface (FCI) of the USC-2 card depend on the interface (Telnet or RS-232) and on the defined communication mode (A, B or C). The control characters define what is necessary to send to the card and also the return from the card (refer to the see tables 3 and 4). With the FCI commands LFLF and CRCR you can choose the mode. Here are some important notes:
•Default mode of the USC-2 card is mode A, but mode C is recommended, to avoid communication problems when SAMLight is running.
•Mode B cannot be stored on the USC-2 card.
•Starting SAMLight enables LFLF.
•Closing SAMLight restores previous LFLF sate.
•Starting PCMode (visible server) disables LFLF and CRCR.
•Switching CRCR on enables LFLF as well.
•Switching CRCR off disables LFLF as well.
•Switching LFLF off disables CRCR as well.
Telnet interface |
||||||
---|---|---|---|---|---|---|
Mode |
Command to USC-2 card |
Return from USC-2 card |
||||
Name |
LFLF |
CRCR |
New line |
End of command |
New line |
End of return |
A |
0 |
0 |
N/A [a] |
<LF><CR> [b] |
<CR><LF> [c] |
<CR><LF> [c] |
B |
1 |
0 |
N/A [a] |
<LF><CR> |
<CR><LF> |
<CR><LF><CR><LF> |
C |
1 |
1 |
N/A [a] |
<LF><CR> |
<CR> |
<CR><CR> |
Table 3: Telnet new line, end of command and end of return control characters.
RS-232 interface |
||||||
---|---|---|---|---|---|---|
Mode |
Command to USC-2 card |
Return from USC-2 card |
||||
Name |
LFLF |
CRCR |
New line |
End of command |
New line |
End of return |
A |
0 |
0 |
N/A [a] |
<CR> [d] |
<CR> [c] |
<CR> [c] |
B |
1 |
0 |
<CR><LF> [e] |
<CR><CR> [f] |
<CR> |
<CR><CR> |
C |
1 |
1 |
<CR><LF> [e] |
<CR><CR> [f] |
<CR> |
<CR><CR> |
Table 4: RS-232 new line, end of command and end of return control characters.
[a]: For all modes via Telnet and normal mode via RS-232: It is not possible to send multiline strings.
[b]: For mode A via Telnet: Following end of command characters are possible:
•<LF><CR>
•<CR>
[c]: For mode A via both interfaces: New line and end of return cannot be distinguished.
[d]: For mode A via RS-232: Following end of command characters are possible:
•<CR>
•<LF>
[e]: For mode B and C via RS-232: Following new line characters are possible:
•<CR><LF>
•<LF><CR>
[f]: For mode B and C via RS-232: Following end of command characters are possible:
•<CR><CR>
•<LF><LF>
•<CR><LF><CR>
•<LF><CR><LF>
As long as SAMLight is running, the RS-232 interface is disabled (exception: JobIOSelect mode during SAMLight start). [since 3.8.5_82] |
---|