KEYENCE LK-CC100/DN100 User Manual

Page 28

Advertising
background image

2-14

2

2 Connecting to CC-Link

Setting and programming

The following settings and program are required to control the LK-CC100 using CC-Link.

„ Communication condition settings

Set the communication speed and slave ID (station number) on the LK-CC100 using the

STATION No. setting switch and B RATE setting switch.

• Slave ID (station number): set to the same number as the slave ID (station number)

assigned to the LK-CC100 in the CC-Link.

• Baud rate: Set to the same speed as the baud rate (communication speed) in the CC-

Link.

Refer to the manual for the CC-Link master station for details on setting the CC-Link

master station.

„ Data size settings

Set the write size and read size of the memory to be linked in the CC-Link using the MODE

setting switch. This is set as a combination of the "number of stations occupied" and the

"extended cyclic multiple". Use the table below to calculate.

Set the LK-CC100 communication speed and slave ID (station number).

Calculate and set the data size required for communication. Refer to
"Link" (Page 2-14) for details.
On the CC-Link master station, set the link area for the LK-CC100.

Create a program according to the settings.

Using handshake signals, create a program to receive command
signals and operation result data for commands from the host PLC.

Occupies 1 station

Occupies 2 stations

Occupies 3 stations

Occupies 4 stations

x1

Setting impossible

RX/RY: 64 bits
RWw/RWr: 16 bytes

RX/RY: 96 bits
RWw/RWr: 24 bytes

RX/RY: 128 bits
RWw/RWr: 32 bytes

x2

RX/RY: 32 bits
RWw/RWr: 16 bytes

RX/RY: 96 bits
RWw/RWr: 32 bytes

RX/RY: 160 bits
RWw/RWr: 48 bytes

RX/RY: 224 bits
RWw/RWr: 64 bytes

x4

RX/RY: 64 bits
RWw/RWr: 32 bytes

RX/RY: 192 bits
RWw/RWr: 64 bytes

RX/RY: 320 bits
RWw/RWr: 96 bytes

Setting impossible

x8

RX/RY: 128 bits
RWw/RWr: 64 bytes

RX/RY: 384 bits
RWw/RWr: 128 bytes

Setting impossible

Setting impossible

Set data size

Ladder program

Execute program

Set communication

conditions

Advertising