The Keyence KV-X PLC features the Universal Library with an innovative motor control method, supports IEC 61131-3, the international standard for PLC programming, and is equipped with an operation logging function that records "all variables/all devices/camera/events" upon a fault. The following section describes how to configure the parameters of the Solidot discrete I/O XBF4-EC04 Coupler on the Keyence KV-X platform.
1. Configuring the slot model
example:
XBF interface 1 is connected to 2 I/O modules, models XBF2E-0808A (DIP switch 0) and XBF2E-0016A (DIP switch 4)
XBF interface 2 is connected to 1 I/O module, model XBF2E-0808A (DIP switch 1)

additional notes:
The XBF4-EC04 Coupler has 4 XBF interfaces, providing a total of 64 slots. Each XBF interface supports up to 16 I/O modules connected in series (I/O module DIP switch station addresses 0 ... F, which must not be duplicated). A single Coupler can be expanded with up to 32 XBF series I/O modules.
Slots 1-16: XBF interface 1
Slots 17-32: XBF interface 2 Slots 33-48: XBF interface 3 Slots 49-64: XBF interface 4
II. Input/output address Mapping
1. Output address Mapping

2. Input address Mapping

III. Introduction to configuration parameters
1. Digital input Filter parameters
The digital input filter prevents the program from responding to unexpected fast changes in the input signal, which may be caused by switch contact bounce or electrical noise. The digital input filter supports per-module configuration; each module can be configured individually, but channels cannot be configured individually.
The digital input filter FilterTime is currently set to 3 ms by default. The settable range is no filtering, 0.1 ms, 0.2 ms, 0.5 ms, 1 ms, 2 ms, 3 ms (factory setting), 4 ms ... 18 ms, 19 ms, 20 ms. When configured to 3 ms, noise within 3 ms can be filtered out. An input filter time of 3 ms means that a single signal must persist for 3 ms when changing from "0" to "1", or from "1" to "0", in order to be detected, while a single high pulse or low pulse shorter than 3 ms will not be detected.
Function description: When the input filter is configured to 1 ms, noise within 1 ms can be filtered out. As shown in the figure below, when a 250 µs signal is input, it will be regarded as an invalid signal; a single high pulse or low pulse shorter than 1 ms will not be detected; signals of 1 ms and above can be acquired.

2. Digital output Clear/Hold parameters
The Clear/Hold function applies to modules with output channels. It configures the output mode of the output channels when the module is in the Non-OP state (stopped operation or coupler Ethernet cable disconnected). This parameter supports the following output states:
Clear output: When communication is disconnected, the module output channels automatically clear the output, i.e. output 0.
Output Valid value: When communication is disconnected, the module output channels continuously output the valid value, i.e. output 1.
Hold Last output value: When communication is disconnected, the module output channels hold the last output value.
The digital Clear/Hold function supports module-wide configuration (template mode) and single-channel configuration (single-channel mode). Any channel can be configured using single-channel mode, or set to template mode; single-channel mode has higher priority than template mode. The specific configuration method is shown in the table below. The default is module-wide Clear output.
Clear/Hold parameters of the digital output module | ||||
Parameter name | Parameter description | Parameter value | Parameter value description | Default Value |
TemplateMode | template mode | 1 | PresetLow clears the output, i.e. outputs 0 | 1 |
2 | PresetHigh output valid value, i.e. outputs 1 | |||
3 | KeepMode retains the previous output value. | |||
Channel x | single-channel mode | 0 | TemplateValue template mode value, i.e. single-channel mode is not enabled | 0 |
1 | PresetLow clears the output, i.e. outputs 0 | |||
2 | PresetHigh output valid value, i.e. output 1 | |||
3 | KeepMode retains the previous output value. | |||
4. Example: Configuration parameter operations
1. Communication command at initialization — right-click to add


Name | Value | |
0 x 2nn0:00 | ModulenConfig | Total number of parameters:m |
0 x 2nn0:01 | Parameter 1 name | Setpoint/default value |
0 x 2nn0:02 | Parameter 2 name | Setpoint/default value |
…… | … | …… |
0 x 2nn0:m | ParametermName | Setpoint/default value |
nn is the slot number, starting from 0 x 00, maximum 0 x 3F, corresponding in sequence to the expansion I/O modules; m is the m-th parameter of the module
2. Configure DI Filtering parameters

Default is 3 ms; select as required


3. Configure DO output Clear/Hold parameters

Default is Template mode with output clear; select as required

Template mode (default 1):
1: Clear output
2: All outputs 1
3: Hold last output
single-channel mode (default 0):
0: Template mode, single-channel mode disabled
1: single-channel Clear output
2: single-channel output 1
3: single-channel hold last output

4. Baud rate setting: Bus Baud rate

Default is 6 MHz; can be modified as required

The above is the configuration method for the Solidot discrete I/O XBF4-EC04 Coupler on the KEYENCE KV-X series. If you have any questions, please feel free to contact us — we will be glad to be of service!