2 communicating with the plc, 1 setting the plc communication parameters, Setting the serial port – KEYENCE KV Series User Manual

Page 160

Advertising
background image

Chapter 4 Monitor

2-136

4

COM Port

Select the COM port number connected to the cable. The initial value is
"COM1". "COM port" refers to a serial port, and the RS-232C interface is
used for communication. Only one COM port may be provided in some
personal computers.

Baud Rate

Select the baud rate from "AUTO", "9600", "19200" and "38400" (some of
them may not be available in some personal computers). The default value
is "AUTO". "Baud rate" refers to the communication speed, and indicates the
number of bits which can be transferred in a second. As the baud rate value
becomes larger, communication is performed at a higher speed. Normally
"AUTO" should be selected.

4.2

Communicating with the PLC

This section describes how to transfer ladder programs created using the editor to
the PLC and how to transfer programs from the PLC.

4.2.1

Setting the PLC communication parameters

File

Communication Setup Set PLC Communication Parameters

Before communicating with the PLC, the COM port and the baud rate (communica-
tion speed) on the personal computer connected to the PLC should be set.
To set these parameters, open the monitor from the editor.

1. Select "File", "Communication Setup" and "Set PLC Communication Parameters"

from the menu on the editor screen.

• The monitor is displayed.

2. Select "Serial Port" from the monitor’s "Settings" menu.

The "Set Communication Parameters" dialog box is displayed.
For the setting procedure, refer to "Setting the serial port" below.

3. When the communication port is set, the monitor mode is automatically selected.

To continue edits, select "Editor" from the "File" menu or click the

button.

Setting the serial port

Settings

Serial Port

To set the serial port, perform the following procedure while the monitor is stopped
(while communication is not being performed).

1. Select "Serial Port" from the "Settings" menu.

The "Set Communication Parameters" dialog box is displayed.

2. Set the COM port and the baud rate (communication speed) to be used.

3. Click the [OK] button to register the setting. To cancel the setting, click the

[Cancel] button.

KVSKA Chap 04.P65

08.3.11, 11:30 AM

136

Advertising