beautypg.com

Command communication format, Command communication format -14, Header/delimiter – KEYENCE N-410 User Manual

Page 110: Response error code

background image

6-14

S

er

ia

l Com

m

u

n

icat
ion

6

6-5

Setting Commands for the N-410 Series

Command communication format

Header/Delimiter

When the command format is

+

, the response format is

+

.

When the command format is

, the response format is

.

*

can be added at the end of the command. However,

is not added to the response.

* When

is added before the command being sent, the data in the receive buffer of the N-

410 Series is cleared by

. However,

is not added to the response.

Response error code

The N-410 Series device returns the following error codes when receiving an incorrect command.

Error response...ERR** (where ** = error code)

Command

Response

Command

CR

Response

CR

STX Command ETX

STX

Response ETX

Command CR

Response CR

STX Command ETX

STX

Response ETX

LF

LF

ESC

ESC

ESC

Error codes

Error name

Meaning

ERR91

Command abnormality

A command that was not saved was received.

ERR92

Parameter abnormality

An erroneous parameter (setting value) was received.

ERR93

Mode abnormality

An invalid command for the current mode was received.

ERR94

EEPROM abnormality

The contents of the EEPROM may have been corrupted.
Initialize the settings.

ERR95

Unable to receive

Commands cannot be received because the device is in
multi-head mode.