Listener-talker functions – KEYENCE LS-3100/3100W Series User Manual

Page 79

Advertising
background image

73

Listener-talker
Functions

Setting Functions and
Outputting Measured
Values or Other Data

By sending commands from an external device (computer, etc.) to the LS
controller, you can remotely set the various functions, or output measured
values or other data from the LS controller.
* For sending commands, ASCII character codes can be used.

The commands and formats are the same as those for the RS-232C.
See section "RS-232C" in this manual.

The following commands can be used on the GP-IB in addition to those for
the RS-232C.

CHAPTER 6 Optional Interface Boards

Command

Description

ES

Transmits EOI (End of Identify) simultaneously when the
delimiter is transmitted.

EO

Transmits EOI (End of Identify) only.

ER

Cancels EOI (End of Identify) transmission.

QS

Enables SRQ (Service Request) transmission.

QR

Disables SRQ (Service Request) transmission.

K1

Outputs measured value of CH1 once when "GET" is
received.

K2

Outputs measured value of CH2 once when "GET" is
received.

K3

Outputs measured value of CH1 once and then that of CH2
once when "GET" is received.

Talk Only Mode

To set the LS controller to the talk only mode, set the 3rd DIP switch from
the left (3 in the figure) on the back panel to ON.
When the LS controller is set to the talk only mode, it only talks, continu-
ously outputting the preset values. The listener function does not work.

Note that outputs are sent only through CH1 when the LS controller is in the
talk only mode.

• When the power is turned ON, "ES", "QR", and "K1" (see the table above)

are set.

• When "SRQ" transmission is enabled, bits DIO7 and DIO1 are set to "1" if

the transmitted command has a syntax error.

Format:

Commands for setting functions CR *

With the RS-232C the delimiter for data output from the LS controller is
"CR". However, the delimiter varies according to the setting when the GP-IB
is used.

* The delimiter for commands sent from an external device (computer, etc.)

to the LS controller can be any of "CR", "LF", "CR + LF" and "EOI".

1

3

5

6

7

8

4

ON

2

08.10.1, 10:57 AM

73

Advertising