KEYENCE LK-CC100/DN100 User Manual

Page 29

Advertising
background image

2-15

2

2 Connecting to CC-Link

Memory allocation example

This example shows how to make the following settings.

Memory allocation

This example assumes the CC-Link master station has the following memory allocation

settings.

Operation

This example performs the following measurements and control inputs.

• Measurement acquisition from OUT1 to OUT4

• Control inputs for OUT1 to OUT4

• Program change

• The data memory allocated in the PLC must be set larger area than the CC-Link communication

size.

• For example, to communicate X bytes from the PLC to the LK-CC100, and Y bytes from the LK-

CC100 to the PLC, allocate X bytes or more PLC data memory for output, and Y bytes or more for
input. Otherwise, an error will occur if not enough memory is allocated.

KEYENCE PLC

Mitsubishi Electric
PLC

Device units

RX (remote input) refresh device

R32000

X1000

Bits

RWw (remote register) refresh
device

DM10700

D1000

Words (16
bits)

RX (remote output) refresh device

R33000

Y1000

Bits

RWr (remote register) refresh device

DM10500

D2000

Words (16
bits)

Reference

Advertising