beautypg.com

KEYENCE SR-750 Series User Manual

Page 74

background image

74

E SR-750 UM

„

Forced trigger lock release

Send command

UNLOCK

Response

Normal process

OK, UNLOCK

Abnormal process ER, UNLOCK, ee

ee: Error code

• Releases trigger lock.

„

Obtaining forced trigger lock status

Send command RLOCK
Response

OK, RLOCK, nnnn
nnnn = forced trigger lock status
"LOCK" or "UNLOCK" is added.

Laser Pointer Control

The laser pointer for confirming a code position lights up or lights off using a
command.

„

Laser Pointer ON

Send command

LDON

Response

Normal process

OK, LDON

Abnormal process ER, LDON, ee

ee: Error code

„

Laser Pointer OFF

Send command

LDOFF

Response

Normal process

OK, LDOFF

Abnormal process ER, LDOFF, ee

ee: Error code

Tuning

„

Starting tuning

Send command TUNE, bb
Response

OK, TUNE

bb = 01 to 10: Reading bank number: 1 to 10

When tuning operation is complete, the result is output in the following formats.

Success : Tuning SUCCEEDED,Tms,00000x00
Failure : Tuning FAILED,Tms,00000x0y

Tms: Tuning time
x: Advice 0,1,2,4

0: No advice
1: Filter process change may be enabled.
2: Installation condition, lighting condition or marking

condition adjustments should be considered.

4: Brightness may be insufficient.

y: Failure factor 1,2

1: Code detection impossible
2: Unstable reading

• Tuning process starts.
• When tuning is successful, the result is saved to the specified bank (also saved

to the ROM).

„

Finishing tuning

Send command TQUIT
Response

OK, TQUIT

• Tuning process finishes.

„

Obtaining the alternate order

Send command

BANKORDER

Response

Normal process

OK, BANKORDER, bb/bb/bb/· · ·
bb: parameter bank number (01 - 10)

Abnormal process ER, BANKORDER, ee ee: Error code

• The parameter bank numbers to alternate are returned in turn.
• The parameter bank numbers are returned with the number of parameter bank

numbers registered with the SR-750 Series. (max. 16)

• If there is no parameter bank number to alternate, an error is returned.
• If Specify response character is set to "SR-600 compatible", bb/bb/bb· · ·

is returned for normal process and ERRee is returned for abnormal process.

"3-9 SR-600 Compatible Output Mode (Page 19)"

„

Initializing the parameter bank

Send command

BANKCLR, bb

bb: parameter bank number (00 - 10)
00 = Initialize all parameter banks
01 - 10 = Initialize specified
parameter banks only

Response

Normal process

OK, BANKCLR

Abnormal process ER, BANKCLR, ee ee: Error code

• If Specify response character is set to "SR-600 compatible", OK is returned for

normal process and ERRee is returned for abnormal process.

"3-9 SR-600 Compatible Output Mode (Page 19)"

Other Commands

„

Save settings

Send command

SAVE

Response

Normal process

OK, SAVE

Abnormal process ER, SAVE, ee

ee: Error code

• The SAVE command is sent to save in the memory the setting contents sent to

the SR-750 Series.

• The command setting is applied after the response of the SAVE command is

sent.

„

Obtaining configuration command status

Send command CMDSTAT
Response

OK, CMDSTAT, nnnn
nnnn = none

: No operation

wait

: Wait for the setting applied

update : Program updating

• Command to obtain configuration change status. This is used to check the

process status of a configuration command such as WN, WP, and WB.

• If Specify response character is set to "SR-600 compatible", nnnn is returned.

"3-9 SR-600 Compatible Output Mode (Page 19)"

„

Setting initialization

Send command

DFLT

Response

Normal process

OK, DFLT

Abnormal process ER, DFLT, ee

ee: Error code

• Resets the SR-750 Series to the default configuration.
• When the SR-600 compatible output mode is "Enabled", OK and ERRee are

returned for normal process and abnormal process respectively.

"3-9 SR-600 Compatible Output Mode (Page 19)"

When executing the script file - status confirmation
command

„

Obtaining the script processing time

Send command SCPTIME
Response

OK, SCPTIME, now=AAus, max=BBus, min=CCus
AA: Returns the most recent script processing time.
BB: Returns the maximum value of the processing time.
CC: Returns the minimum value of the processing time.

• Returns the processing time of script executed after power ON.

„

Script debug setting

Send command SCPDBG, n
Response

OK, SCPDBG
n=0: Script debug OFF
n=1: Script debug ON

• Sets whether to output debug from the script file to the command port or not.
• Setting the debug ON executes print(str) and outputs data.

„

Obtaining the script error results

Send command SCPERR
Response

OK, SCPERR, mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
mm… : Script error character string

• Returns the details of script error.