...
Create a new device | To create a new device, select [Tools] → [I/O Devices] or click the I/O Device Name: Give a device name. This name will be used in the tag configuration window of the database, accompanied by the ‘Station Name’. |
Select a network type | After selecting the [Ok] button in the previous step, the ‘Serial Communication Configuration’ dialog box will appear as shown in the following picture: In this window, set the ‘Device Type’ to ‘KEYENCE PLC (KV mode)’ and configure the remaining serial communication parameters. The parity is fixed as 'Even' forthe KV-10, KV-16, and KV-40 PLC modules. See the Communication Configuration section for more information. |
Create a station | Move to the [Station] tab of the ‘Serial Communication Configuration’ dialog box. In this dialog box, connected PLC stations can be configured and registered to the Xpanel. Each field can be configured with the following rules: Station Name: Give a name to the PLC. This name will be used in the tag database, accompanied by the ‘Device Name’. Station Type: Choose the station type based on the model of PLC and the desired connection method. Options include “KV-300 Multi-Drop (1:n)“, “KV-300 P2P (1:1)“, “KV-5/3000 Multi-Drop (1:n)“, and “KV-5/3000 Peer to Peer (1:n)“. See the Keyence PLC documentation for more information. Network ID: N/A Station No: Specify a decimal number between 0 and 9. 16-Bit Data Swap: N/A 32-Bit Data Swap: N/A Using Checksum: N/A Comm. Error Message pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds. This number must match the device configuration. See the Communication Configuration section for more information about the remaining parameters. |
Address Notation
Within Xpanel, Keyence device tags should be addressed using the following format:
Tag Type | Format | Example |
Analog | [Symbol][Address] | DM0012 |
Digital | [Symbol][Address] | R0215 |
Note: address numbers are in decimal, not hexadecimal format.
...
Symbol | Description | Address Range | Type | Access |
CC | Counter: Current Value | 0-249 | Analog | R/W |
CP | Counter: Preset Value | 0-249 | Analog | R/W |
C | Counter Contact | 0-249 | Digital | R/W |
CTHC | High Speed Counter: Current Value | 0 - 1 | Analog | R/W |
CTHP | High Speed Counter: Preset Value | 0 - 1 | Analog | R |
CTH | High Speed Counter: Contact | 0 - 1 | Digital | R |
CTCC | High Speed Counter Comparator: Current Value | 0 - 3 | Analog | R |
CTCP | High Speed Counter Comparator: Preset Value | 0 - 3 | Analog | R/W |
CTC | High Speed Counter Comparator: Contact | 0 - 3 | Digital | R/W |
TC | Timer: Current Value | 0-249 | Analog | R/W |
TP | Timer: Preset Value | 0-249 | Analog | R/W |
T | Timer: Contact | 0-249 | Digital | R/W |
TM | Temporary Data Memory | 0 – 31 | Analog | R/W |
DM | Data Memory | 0 - 1999 | Analog | R/W |
R | Relay (I/O, Internal AUX, Special AUX) | 0-17915 | Digital | R/W |
AT | Digital Trimmer | 0 - 1 | Analog | R |
The Keyence KV mode protocol does not support block data read and write functions. Because of this, double word (INT32, UINT32, BCD32, UBCD32, FLOAT) data types are not supported. When using this protocol, be sure to check your usage of double words, especially when using the following functions of Xpanel: - Recipe - XY / SPC / Scope Trend. |
---|
...