Send buffer capacity of the n-410 series, Communication format, Header/delimiter – KEYENCE N-410 User Manual
Page 101
![background image](/manuals/658143/101/background.png)
6-5
6-2
Details of Data Communication
S
6
Send Buffer Capacity of the N-410 Series
The N-410 Series device send buffer can hold up to 3000 items (up to 100 KB). If the buffer
capacity is exceeded, a buffer overflow error such as the one below will be sent to the host
computer and the error number "96" will display on the 7-segment.
Send the cancellation command (OVCLR) from the host computer to the N-410 Series in order to
cancel the buffer overflow error.
Communication Format
Data is sent in the following formats from the N-410 Series device.
When an ID number is appended
When an ID number is not appended
• mm = 00 to 31 : 00 . . . . . . . . . . .ID number of the N-410 Series device
01 to 31 . . . . . .ID numbers of the BL/SR/RF Series devices
• nnnn = The number of characters in the data (4 ASCII characters)
*The number of characters in the data: the total bytes of part 1 + part 2.
• Data = Read data
ERROR : A read error has occurred
e
: There is no data in the send buffer of a head
OVER
: A buffer overflow has occurred.
NC
: No head bears the specified ID number or communication has not been
established with that device.
ERRmm : Error code
Header/Delimiter
A header/delimiter can be selected from the following commands.
• Header :
/
/ None
• Delimiter :
/
/
It is also possible to change up to 5 free characters.
* A checksum is added between the data and a delimiter when setting it to add. (Refer to
Appendix 1-2)
Header
Delimiter
Data
nnnn
(1)
(2)
—
mm
%
P
Header
Delimiter
(Data)
nnnn
(1)
(2)
ESC
STX
CR
CR LF
ETX