beautypg.com

KEYENCE LK-G Series User Manual

Page 139

background image

5-9

5

LK-G-M-NO5-E

5 RS-232C

Command details

This section describes the details of the incoming commands and the responses that are
sent when the incoming commands are properly processed.

Measurement value output

Outputs a measurement value.

Timing ON/OFF

Refer to "

Outline of the command format

" (page 5-5) for the response command when

an abnormality has occurred.
Refer to "Timing Chart" (page 5-21) for the response delay time of the response
command.

Incoming command

Response command

CR

OUT

number

0 : OUT1+OUT2
1 :

OUT1

2 :

OUT2

The same OUT number as that of the incoming command.

Measurement value format

Measurement value format

M

h

h

h

h

h h [ ,

h h h h h h h h ]

CR

h

h

a ,

M a

Incoming command

Response command

CR

T p , a

CR

T p

ON/OFF

number

0 : OFF
1 : ON

OUT number

0 : OUT1+OUT2
1 : OUT1
2 : OUT2

The same ON/OFF setting as that of

the incoming command.