beautypg.com

3 command list – KEYENCE LS-5000 User Manual

Page 103

background image

Chapter 8 RS-232C I/O

97

8

8.3

Command List

This section lists all commands and describes each code.

1. Upper line: Character code, Lower line: ASCII code

Note: When the LS-5000 series receives a command other than those listed
above, it sends back the “ERRORCR” message ([E][R][R][O][R][CR]).

Function

Command received

1.

Description

[M][#][CR] (#:0 to 4)

Send a measured value once.

4DH#0DH

[N][#][CR] (#:0 to 4)

Send a measured value continuously.

4EH#0DH

[O][CR]

Stop continuous transmission of

4FH 0DH

meas

ured value.

[T][#][CR] (#:0 to 4)

Turns ON the synchronous input.

54H#0DH

[U][#][CR] (#:0 to 4)

Turns OFF the synchronous input.

55H#0DH

[Q][#][CR] (#:0 to 4)

Reset input.

51H#0DH

[V][#][CR] (#:0 to 4)

Auto-zero input.

56H#0DH

[W][#][CR] (#:0 to 4)

Resets the auto-zero input.

57H#0DH

[P][#][#][CR] (##:01 to 16) Program number is changed.

50H##0DH

[S][R][CR]

Read preset data.

53H 52H 0DH

[S][W] ... [CR]

Write preset data.

53H 57H ...0DH

Output of
measured value

Timing

Reset

Auto-zero

Program No.
Selection

Reading preset
data

Writing preset data