KEYENCE SR-750 Series User Manual

Page 73

Advertising
background image

73

E SR-750 UM

I/O Terminal Control

„

Input terminal status check

Send command

INCHK, m

Response

Normal process

OK, INCHK, n..
m = 1 - 2: Terminal number
n = OFF (input terminal OFF), ON (input terminal ON)

Abnormal process ER, INCHK, ee

ee: Error code

• Checks the input terminal status.
• If Specify response character is set to "SR-600 compatible", n(ON/OFF) is

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

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

„

Output terminal ON control (individual control)

Send command

OUTON, m

Response

Normal process

OK, OUTON
m = 1 - 3: Terminal number

Abnormal process ER, OUTON, ee

ee: Error code

• Controls the output terminal ON operations individually.

„

Output terminal OFF control (individual control)

Send command

OUTOFF, m

Response

Normal process

OK, OUTOFF
m = 1 - 3: Terminal number

Abnormal process ER, OUTOFF, ee

ee: Error code

• Controls the output terminal OFF operations individually.

„

Output terminal ON control (batch control)

Send command

ALLON

Response

Normal process

OK, ALLON

Abnormal process ER, ALLON, ee

ee: Error code

• Controls all output terminal ON operations.

„

Output terminal OFF control (batch control)

Send command

ALLOFF

Response

Normal process

OK, ALLOFF

Abnormal process ER, ALLOFF, ee

ee: Error code

• Controls all output terminal OFF operations.

* If Specify response character is set to "SR-600 compatible" with the output

terminal control, OK is returned for normal process and ERRee is returned for
abnormal process.

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

Soft Reset of the SR-750 Series

Resets the SR-750 Series using a command to the condition at power-on without
actually turning off the power.

Send command RESET
Response

OK, RESET

• The SR-750 Series is reset after outputting a response.
• If Specify response character is set to "SR-600 compatible", OK is returned.

Clearing the Send Buffer

All data in the send buffer of the SR-750 Series is deleted.

Send command BCLR
Response

OK, BCLR

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

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

Confirming the Read History

„

Read OK/error count history

Send command

NUM

Response

Normal process

OK, NUM, aaaaa, bbbbb, ccccc, ddddd, eeeee
aaaaa = 00000 - 65535 : Read (comparison) OK count
bbbbb = 00000 - 65535 : Comparison NG count
ccccc = 00000 - 65535 : Read error count
ddddd = 00000 - 65535 : Stable reading count
eeeee = 00000 - 65535 : Trigger input count

Abnormal process ER, NUM, ee

ee: Error code

• Checks the Read (comparison) OK count etc. since the unit was turned on.
• Turning the power off or sending a RESET command will reset the read history.
• This history does not include a count of OK/NG/ERR/TIMING results obtained

when registering preset data.

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

for abnormal process.

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

„

Bank count history

Send command NUMB
Response

OK, NUMB, BANK1, BANK2, · · ·BANK9, BANK10, TIMING


BANKn = Read OK count in BANKn: 0 to 4294967295
TIMING = Timing input count: 0 to 4294967295

• The count is reset at the following timings.

• When the RESET command is received
• At power OFF
• When the TIMING count value reaches the limit and returns to 0, the bank

count value is reset.

• Histories of unregistered banks are also output.

Image Scanning Control

„

Capture execution

Send command

SHOT, bb

bb: parameter bank number (01 - 10)

Response

Normal process

OK, SHOT, IMG_C_00_bb.(1)
(1) Extension (bmp or jpeg This is fixed to bmp

when saving into RAM.)

Abnormal process ER, SHOT, ee

ee: Error code

• Scans only once with the specified parameter bank.

Forced Control of Reading and Scanning Operations

„

Forced finishing of reading and scanning operations

Send command

CANCEL

Response

Normal process

OK, CANCEL

Abnormal process ER, CANCEL, ee

ee: Error code

• Command to force to finish of the running scanning operation (also reading

operation).

• When a CANCEL command is received during a start read command operation,

the SR-750 Series does not output a read error code.

„

Forced trigger lock

Send command

LOCK

Response

Normal process

OK, LOCK

Abnormal process ER, LOCK, ee

ee: Error code

• All reading and scanning operations are forced to stop.
• Until the trigger lock is released, reading and scanning operations cannot be

executed.

• Turning the power off or using the RESET command can also cancel the forced

lock.

Advertising