1.4 Data Configuration
Note
The VR200 identifies an LF as the end of a text when receiving data (and sends a CR and LF as the terminator when sending data). As shown in the example in Figure 1.6, when a CR and LF are used as the terminator, the CR is ignored. Take care when communicating with a PC, since some PCs may not send the LF character depending on the mode when the PRINT command, etc. is invoked.
1.4.3 Input Buffer
The input buffer of the VR200 recorder is a rotary buffer. The rotary buffer outputs a text on a
Start 1
End 1
T |
|
e |
|
xt |
|
1 | Start 2 |
| |
e | End 2 |
T |
|
x |
|
t |
|
2 |
|
Start 3
T e x t
3
End 3
Figure 1.7 Rotary Buffer
1.4.4 Buffer Overflow
As described already, the input buffer is necessary for data communication. The capacity, however, is limited (256 bytes for a
To prevent buffer overflow, confirm the status of the VR200 using the ESC S command immediately after a command has been sent (from the PC).
Note
A PC may not be able to send the ESC S command after having sent the LF or FM command.
After receiving the ESC S command, the VR200 outputs its status to the PC. This is done in the following sequence. The VR200 first stores the ESC S command in the input buffer, then this command is read from the buffer. Consequently, the VR200 outputs its status to the PC. If the PC does not send the next command until it receives the VR200 status, the next command will be always received without fail, since there must be a space in the input buffer of the VR200.
1 INSTALLING THE
1 - 5