KEYENCE LS-5000 User Manual

Page 101

Advertising
background image

Chapter 8 RS-232C I/O

95

8

Operating Procedure
Example: Change the program number.

Reading Preset Data (Batch)

This function is used to store the LS-5000 series’ settings. (The preset data is sent
as binary code.) Use the "Writing Preset Data (Batch)" command ([S][W][CR])
when reloading the settings on the LS-5000 series .

Received command

Transmitted data

<When operation is normal>

<When an error occurs>

LS-5000 series

Measurement

is stopped

Measurement

is stopped

Sends back [E][R][R][O][R][CR]

Sends back [P][A][S][S][CR]

Personal computer

Sends [P] [0] [1] [CR]

Waiting to

receive data

End

Checks

if the program number

is between 1 and 16

Program No. 1 is selected

NO

YES

S

R

C

R

S

R

No. of data

Data 1

Data 2

Data n

53H 52H 01H CCH

* No. of data: 460 (bytes)

Check-

sum

C

R

Checksum range

• • • • •

E

R

R

O

R

C

R

Advertising