Communication using serial commands, Connecting to a pc/plc link unit – KEYENCE LS-7000 User Manual

Page 146

Advertising
background image

7-4

Chapter 7 RS-232C

7

Communication using Serial Commands

To enable the LS-7000 Series to transmit measured values or allow setting changes,
connect a peripheral device, such as a PC or PLC link unit to the LS-7000 Series.

Connecting to a PC/PLC Link Unit

The following section provides information on how to connect PCs or PLC link units to the
LS-7000 Series. Use the dedicated OP-35382 cable (with 9-pin D-sub connectors) or the
OP-25253 (with 25-pin D-sub connectors) for connection.
When connecting the PLC link unit, refer to the operation manual of the PLC link unit for
necessary information.

Note:

The output of the LS-7000 Series under external synchronous control cannot
be connected to printers.

Connections

SD(TXD)

SD(TXD)

RD(RXD)

SG(GND)

RS(RTS)
CS(CTS)

DR(DSR)
CD(DCD)

ER(DTR)

RD(RXD)

SG(GND)

PC side

LS side

Signal

name

op-
35382

op-
25253

Environment Settings

Make the following environment settings according to the PC or PLC link unit to be
connected. Refer to RS-232C on page 5-7 for environment settings in detail.

Item

BAUDRATE

PARITY

STOPBIT

D-LENGTH

D-MODE

D-SEND

NONE/EVEN/ODD

1/2

7/8

NORMAL

OFF

Select the settings specified in this
table.

Set value

Remarks

1200/2400/4800/9600/19200

/38400/57600/115200bps

Make settings according to the
external device.

❈ When the D-MODE item is set to NORMAL, the Cr character will be selected for

delimiter insertion.

❈ When the D-SEND item is set to OFF, measured value output and setting changes

will be possible through RS-232C commands.

Advertising