4 response error code, 5 description of parameter setting commands, 3 command communication – KEYENCE BL-180 User Manual

Page 61: Saving/initializing settings/quitting setting mode

Advertising
background image

4.3 Command Communication

53

4.3.4

Response Error Code

When an incorrect command is sent to set parameters, the BL-180 sends back
data indicating the cause of the error (error code). For the commands correspond-
ing to the error codes, see the error code column given in the table on the follow-
ing pages.

4.3.5

Description of Parameter Setting Commands

Saving/Initializing Settings/Quitting Setting Mode

Error code

Cause of error

00

Undefined command.

01

Command format is incorrect.

02

Nothing corresponds to the number in the command.

03

“m” value (codes 1 to 4) is other than 0 to 3.

04

“Bar code type setting command” was not sent first.
Sending “No. of readable digits setting command” is invalid
for JAN code.

05

The number in the command is too long.

06

“hhh...” data is too short.

07

“n” value is not 0 or 1.

08

“n” value is exceeding the setting range.

09

“nnn” or “nn” value is exceeding the setting range.

10

“hhh...” is not specified in HEX (hexadecimal) code.

11

“hhh...=FF” cannot be set.

12

“hhh...” or “aaa...” contains more than the specified number
of characters.

13

Characters of “aaa...” are invalid.

14

Data in the EEPROM may be damaged. Perform initial
setup.

15

Error in the area storing initial settings.
Settings are automatically initialized.

17

\ is not followed by !, ? or \ in preset data. (See page 70.)

18

Two !s exist in preset data. (See page 20.)

99

The BL-180 may malfunction. Contact KEYENCE.

Function

Command being sent

Respons

e

Description

Error

Code

Saves settings in the EEP-
ROM.

SAVE

OK

See page 51.

-

Initializes settings.

DFLT

OK

Returns to the default-settings, and saves the set-
tings in the EEP-ROM.

00,05
14,15

Quits the setting mode.

SEND

OK

See page 51.

-

Advertising