beautypg.com

2 remote control function – KEYENCE LS-5000 User Manual

Page 96

background image

Chapter 8 RS-232C I/O

90

8

8.2

Remote Control Function

You can control the LS-5000 series remotely by sending an ASCII command from
external equipment, such as a personal computer.

Character codes corresponding to the ASCII command can be used for remote
control.

Measured Value Output

RS-232C command list I

1. Upper line: Character code, Lower line: ASCII code (Hex)

Note 1: "#" is a character code between 0 and 4, or the ASCII code corresponding
to the character code.

0: Outputs data from all output numbers.
1 to 4: Outputs data from the specified output number (OUT1 to OUT4).

Note 2: When the ASCII (character) command given in command list I is received,
the measured value is sent either once or continuously.

Operating Procedure

Example: Send the measured value from OUT No. 1 once.

Function

command received

1.

Description

[M] [#] [CR]

Send a measured value once.

4DH#0DH

[N] [#] [CR]

Send a measured value continuously.

4EH#0DH

[O] [CR]

Stop continuous transmission of

4FH 0DH

meas

ured value.

Output of
measured value

LS-5000 series

During

measurement

During

measurement

Sends the measured

value once

Personal computer

Sends [M] [1] [CR]

End

Waiting to

receive data