
—
PLC Communication Settings
—
M2M Gateway PLC Communication Settings
—
57
—
7.
Serial Connection with KEYENCE PLC
The following is a setting example for Serial communication with the KEYENCE PLC KV-5000.
The serial communication unit [KV-L21V] is provided and the Modbus protocol is used for
communication.
* KEYENCE original communication protocol is not supported as of August 2018.
See below for the configuration example regarding communication conditions
* Addresses listed above are Modbus addresses. The details between the Modbus address and
the KEYENCE device address are explained in the PLC settings.
RS-232C Communication Cable Connection - an example
Use the cross-cable for RS-232C to connect. Please check the KEYENCE manual for the further
information.
- M2M Gateway
- PLC
COM B port
RS-232C
Modbus protocol
KEYENCE KV-5000
Communication Unit: KV-L21V
Baud Rate : 9600
Data Length : 8
Stop bits : 1
Parity
: Even
Sum check : No
Station number : 1
Device type : HoldingResister
Access range : 03E9h - 03F2h
Access cycle : 1 sec
Device type : Coil
Access range : 03E9h - 03F2h
Access cycle : 500 ms.