KEYENCE LK-CC100/DN100 User Manual
Page 51

3-15
3
3 Connecting to DeviceNet
Setting and programming
The following settings and program are required to control the LK-DN100 using
DeviceNet.
Communication condition settings
Set the communication speed and slave ID (node address) on the LK-DN100 using the
Node Address switch and Data Rate setting switch.
• Slave ID (MAC ID): set to the same number as the slave ID (node address) assigned to
the LK-DN100 in the DeviceNet.
• Baud rate: Set to the same speed as the baud rate (communication speed) in the
DeviceNet. Refer to the manual for the DeviceNet master unit for details on setting the
DeviceNet master unit.
Data size settings:
• Write size: 16 words
• Read size: 42 words
Set the LK-DN100 communication speed and slave ID (node address).
Calculate and set the data size required for communication. Refer to
"Data size settings:".
On the DeviceNet master node, set the link area for the LK-DN100.
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.
Set data size
Ladder program
Execute program
Set communication
conditions