LX6V-8HC

Version 2.1 by Iris on 2025/11/11 14:11

 

  1. Introduction

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps5.jpg

LX6V-8HC (8-channel high-speed counting module), used for AB phase (1/2/4) times frequency, single-phase, pulse + direction pulse acquisition, supports up to 200kHz signal input, suitable for Wecon LX6V-EM□-ECAT remote I/O coupler.

✎Note: LX6V-EM□-ECAT firmware version that supports this module is V2.013 and above, the corresponding XML file version is 1.2 and above.

  1. Device specifications and wiring description
    1. Appearance and size

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps6.jpg

①: 8HC LED; ②: Terminal; ③: Extension module interface; ④: Mounting holes, two places (φ4.5); ⑤: DIN rail clip


    1. Terminal description

The 8HC expansion module terminal are arranged as follows:

Module modelTerminal arrangement
LX6V-8HCfile:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps7.jpgfile:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps8.png
SymbolDescriptionSymbolDescription
S/SCounter input common terminal●N/A
DI0CH0 counter input signal ADI10CH4 counter input signal A
DI1CH0 counter input signal BDI11CH4 counter input signal B
DI2CH1 counter input signal ADI12CH5 counter input signal A
DI3CH1 counter input signal BDI13CH5 counter input signal B
●N/A●N/A
DI4CH2 counter input signal ADI14CH6 counter input signal A
DI5CH2 counter input signal BDI15CH6 counter input signal B
DI6CH3 counter input signal ADI16CH7 counter input signal A
DI7CH3 counter input signal BDI17CH7 counter input signal B
Input signalSingle phase counting modePulse + directional modeEncoder AB phase modeCW/CCW mode
Counter input signal APulse inputPulse inputA phase inputNot supported
Counter input signal BNormal inputDirection inputB phase inputNot supported

    1. Installation

Please install the end cover on the right side of the last expansion module, align it with the module interface slot and connect it, as shown in the figure below:

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps9.jpg


    1. Indicator

The 8HC expansion module indicator is shown below:

IndicatorDescription
PWR

Power indicator

  1. Lights on: The module is powered on normally;
  2. Lights out: The module is not powered on or the module is abnormal.
LINK

Communication indicator

  1. Lights on: Data interaction is normal;
  2. Lights out: Data interaction is abnormal or stopped.
Channel indicator

When input ON, lights on;

When input OFF, lights out.

  1. Parameter specification
    1. Input specification
ItemDigital input
Input circuit compositionfile:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps10.pngfile:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps11.png
Input signal voltageDC 24 V ± 10%
Input signal current7 mA / DC24 V (Input current when input standard 24 V)
Input ON currentAbove 3.5 mA
Input OFF currentBelow 1.5 mA
Input response timeAbout 0.2 ms
Input signal formContact input, support NPN, PNP input.
Circuit insulationTransformer isolation
Action displayWhen input ON, lights on;

    1. Environmental specification
ItemSpecification parameter
Usage environmentNo corrosive, combustible gas, no large amount of conductive dust
Environment temperature

Working temperature: 0℃ to 55℃

Storage temperature: -20℃ to 70℃

Environment humidity

Working humidity: 10% to 90% RH (no condensation)

Storage humidity: ≤90% RH (no condensation)

InstallationBy snap mounting on DIN46277 (width: 35mm) guide rail or directly mounted in the positioning hole
Vibration resistanceAccording to JISC0040 standard
InstallationFrequencyAccelerationAmplitude

X, Y, Z

10 times in each of three directions (80 minutes in each direction)

DIN rail installation10 to 57 Hz--0.035 mm
57 to 150 Hz4.9 m/s²--
Direct installation10 to 57 Hz--0.075 mm
57 to 150 Hz9.8 m/s²--
Shock resistanceCompliant with JISC0041 standard (147 m/s², action time 11 ms, apply sine half-wave pulse three times in X, Y and Z directions)
EMC immunity levelZone B (IEC 61131-2)
Altitude requirements≤ 2000 m (80 kPa)
Protection levelIP20
GroundingNot co-located with the strong current system

    1. Software specifications
ItemDigital input
Input port filtering time

Normal input supports 0 ms to 64 ms (10 ms: Default setting), every 4 DI points are grouped together and share a common set of filtering parameters;

High-speed input supports 0 to 17 us filtering time.

Input port anomaly detection and indicationN/A
Input channel logic level configurationNot support
Independent channel enable configurationNot support
Diagnostic reporting function configurationNot support
I/O mappingSupports three I/O mapping methods: bit access, byte access, and word access
  1. Usage

The LX6V-8HC module requires the Wecon LX6V-EM□-ECAT remote I/O coupler module for use.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps12.png

After connecting the coupler to Wecon 6 and AC series PLC, the methods of using the LX6V-8HC are as follow.


    1. Use on LX6V and LX6S with EtherCAT coupler 




              1. First add EtherCAT device
  1.  Manual add

According to steps ① to ④ in the figure below, right-click EtherCAT, and click [New] -> [Import], import the ESI device description file of the deviceNote.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps13.jpg

✎Note: Log in the Wecon support center (https://docs.we-con.com.cn/bin/view/Expansions/4%20Download/01%20Expansion%20Module/) to obtain the WECON_LX6V_EM_ECAT_1.3.xml 文件.

After the import is completed, select the coupler according to the module model and position of the current module connected (take LX6V-EMB-ECAT as an example).

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps14.png

  1.  Scan to add

EtherCAT's device scanning supports direct scanning after connecting or unloading the device.

  • Select the EtherCAT label, right-click the mouse button and select the scanning device in the pop-up menu.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps15.png

  • Click the "Scan the device" button in the pop-up window. If the PLC is not connected, an error will be prompted, as shown below;

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps16.png

  • After waiting for the scan to complete, the scanned slave devices can be seen in the left side view.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps17.png

  • Click [Copy all] to update the scanned devices to the currently configured configuration list, and then click [Save] to update the scanned devices to the configuration list of the project. After saving, click [Close] to update to the configuration list.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps18.png

✎Note: Close the window if it is not saved, the scanned devices will not be added to the configuration list of the project!

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps19.png







              1. Configuration module

Right-click the currently added coupler to add the LX6V-8HC module mounted to the current coupler.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps20.png

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps21.png

✎Note: When the configuration module is inconsistent with the actual mounted module, an error will be reported that the OP cannot be successful.


    1. Use on 6C and AC60 with EtherCAT coupler




              1. Install device description file

The first-time use requires installation of the slave device description XML file.

(Log in the Wecon support center (https://docs.we-con.com.cn/bin/view/Expansions/4%20Download/01%20Expansion%20Module/) to obtain the Wecon_LX6V_EM_ECAT_1.3.xml file.)

Operation steps: Open the CODESYS software -> [Tool] -> [Device Repository]-> [Install], select the coupler xml device description file, complete the installation.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps22.png

 file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps23.png

✎Note: Only XML description files version 1.2 and above support the LX6V-8HC module!







              1. Add EtherCAT master device

[Device] -> [Add device] -> [Fieldbus] -> [EtherCAT] -> [EtherCAT Master or EtherCAT Master SoftMotion].

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps24.png







              1. Add coupler and external expansion module
  1.  Manual add

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps25.png

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps26.png

✎Note: The actual connected module type must be consistent with the configuration type, otherwise it cannot run!

  1.  Scan to added

Right-click to select scanning device-> copy module to project.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps27.png







              1. Configure startup parameters and IO mapping

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps28.png

No error is reported after compilation, just download the program and run it.

  1. Example
    1. Use on LX6V and LX6S with EtherCAT coupler
  • As shown in the figure below, configure the CH0 counting mode as single-phase counting and the counting type as incremental counting. Detailed parameter configuration instructions can be found in [6 Object dictionary];

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps29.png

  • Create I/O mapping variables for the count value, speed value, and command value respectively

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps30.png

  • Configure IO mapping;

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps31.png

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps32.png

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps33.png

  • The ladder diagram enable counter, download the ladder diagram, and set M0.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps34.png


    1. Use on LX6C and AC60 with EtherCAT coupler
  • First configure the Counter mode and Counter type in the startup parameters. As shown in the figure below, configure the CH0 counting mode as single-phase counting and the counting type as incremental counting. For detailed parameter configuration, please refer to [6 Object Dictionary];

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps35.png

  • New mapping variable on the program page;

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps36.jpg

  • Map the new created variable in program page to module I/O mapping interface in turn, download and run it.

file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml16196\wps37.png

  1. Object dictionary
ModelIndexSub-indexDescriptionTypeRange

Read-write

Support

DefaultName
LX6V-8HC16#800016#01

Counter mode.

1: AB phase 1 time frequency;

2: AB phase 2 times frequency;

3: AB phase 4 times frequency;

4: Pulse + Direction;

5: Single phase count.

Others: Normal input

UINT80 to 255W/R0CH0 counter mode
16#02UINT80 to 255W/R0CH1 counter mode
16#03UINT80 to 255W/R0CH2 counter mode
16#04UINT80 to 255W/R0CH3 counter mode
16#05UINT80 to 255W/R0CH4 counter mode
16#06UINT80 to 255W/R0CH5 counter mode
16#07UINT80 to 255W/R0CH6 counter mode
16#08UINT80 to 255W/R0CH7 counter mode
16#800116#01

Count type.

bit0-Counting direction.

0: Up count;

1: Down count.

bit1-Count mode.

0: Linear mode

1: Rotation mode.

UINT80 to 255W/R0CH0 counter type
16#02UINT80 to 255W/R0CH1 counter type
16#03UINT80 to 255W/R0CH2 counter type
16#04UINT80 to 255W/R0CH3 counter type
16#05UINT80 to 255W/R0CH4 counter type
16#06UINT80 to 255W/R0CH5 counter type
16#07UINT80 to 255W/R0CH6 counter type
16#08UINT80 to 255W/R0CH7 counter type
16#800216#01Maximum count valueINT32-2147483648 to 2147483647W/R2147483647CH0 maximum counter value
16#02INT32-2147483648 to 2147483647W/R2147483647CH1 maximum counter value
16#03INT32-2147483648 to 2147483647W/R2147483647CH2 maximum counter value
16#04INT32-2147483648 to 2147483647W/R2147483647CH3 maximum counter value
16#05INT32-2147483648 to 2147483647W/R2147483647CH4 maximum counter value
16#06INT32-2147483648 to 2147483647W/R2147483647CH5 maximum counter value
16#07INT32-2147483648 to 2147483647W/R2147483647CH6 maximum counter value
16#08INT32-2147483648 to 2147483647W/R2147483647CH7 maximum counter value
16#800316#01Minimum count valueINT32-2147483648 to 2147483647W/R-2147483648CH0 minimum counter value
16#02INT32-2147483648 to 2147483647W/R-2147483648CH1 minimum counter value
16#03INT32-2147483648 to 2147483647W/R-2147483648CH2 minimum counter value
16#04INT32-2147483648 to 2147483647W/R-2147483648CH3 minimum counter value
16#05INT32-2147483648 to 2147483647W/R-2147483648CH4 minimum counter value
16#06INT32-2147483648 to 2147483647W/R-2147483648CH5 minimum counter value
16#07INT32-2147483648 to 2147483647W/R-2147483648CH6 minimum counter value
16#08INT32-2147483648 to 2147483647W/R-2147483648CH7 minimum counter value
16#800416#01

Input frequency measure time

Unit: ms

UINT160 to 32767W/R200CH0 pulse rate test time (ms)
16#02UINT160 to 32767W/R200CH1 pulse rate test time (ms)
16#03UINT160 to 32767W/R200CH2 pulse rate test time (ms)
16#04UINT160 to 32767W/R200CH3 pulse rate test time (ms)
16#05UINT160 to 32767W/R200CH4 pulse rate test time (ms)
16#06UINT160 to 32767W/R200CH5 pulse rate test time (ms)
16#07UINT160 to 32767W/R200CH6 pulse rate test time (ms)
16#08UINT160 to 32767W/R200CH7 pulse rate test time (ms)
16#800516#01

High speed input filtering time

(unit: 0.01 us)

UINT160 to 1700W/R200CH0 and CH1 filtering time (0.01 us)
16#02UINT160 to 1700W/R200CH2 and CH3 filtering time (0.01 us)
16#03UINT160 to 1700W/R200CH4 and CH5 filtering time (0.01 us)
16#04UINT160 to 1700W/R200CH6 and CH7 filtering time (0.01 us)
16#05

Normal input DI0 to DI7

bit0 to bit7 filtering time (unit: 0.1 ms)

UINT160 to 640W/R108HC ordinary IO CH0 bit0 to bit7 filtering time (0.1 ms)
16#06

Norma input DI10 to DI17

bit0 to bit7 filtering time (unit: 0.1 ms)

UINT160 to 640W/R108HC ordinary IO CH1 bit0 to bit7 filtering time (0.1 ms)
16#A00016#00Module status informationUINT16--R--Module status
16#01Version codeUINT16--R--Version
16#02Error statusUINT16--R--Run status
16#03Channel statusUINT32--R--Channel status
16#600016#01

Channel status

bit0: Current counting direction.

0: Up count;

1: Down count.

bit1: Current counting mode.

0: Linear mode;

1: Rotation mode.

bit2: When the value is 1, it means that the linear mode count value has exceeded the maximum set value.

bit3: When the value is 1, it means that the linear mode count value has fallen below the minimum set value.

bit5: Actual pulse direction.

0: Forward direction;

1: Reverse direction.

UINT32--R0CH0 encoder counter status
16#02UINT32--R0CH1 encoder counter status
16#03UINT32--R0CH2 encoder counter status
16#04UINT32--R0CH3 encoder counter status
16#05UINT32--R0CH4 encoder counter status
16#06UINT32--R0CH5 encoder counter status
16#07UINT32--R0CH6 encoder counter status
16#08UINT32--R0CH7 encoder counter status
16 # 600116#01

Channel error code.

0: No error;

1: The current position in linear mode exceeds the maximum count value;

2: The current position in linear mode is lower than the minimum count value;

3: The startup parameter is not set correctly;

4: The preset position is illegal and exceeds the counting range.

UINT16--R0CH0 channel fault code
16#02UINT16--R0CH1 channel fault code
16#03UINT16--R0CH2 channel fault code
16#04UINT16--R0CH3 channel fault code
16#05UINT16--R0CH4 channel fault code
16#06UINT16--R0The QPS Exceeds Maximum Limit 5
16#07UINT16--R0CH6 channel fault code
16#08UINT16--R0CH7 channel fault code
16#600216#01Current channel positionINT32-2147483648 to 2147483647W/R0The QPS Exceeds Maximum Limit 5
16#02INT32-2147483648 to 2147483647W/R0CH1 encoder present position
16#03INT32-2147483648 to 2147483647W/R0CH2 encoder present position
16#04INT32-2147483648 to 2147483647W/R0CH3 encoder present position
16#05INT32-2147483648 to 2147483647W/R0CH4 encoder present position
16#06INT32-2147483648 to 2147483647W/R0CH5 encoder present position
16#07INT32-2147483648 to 2147483647W/R0CH6 encoder present position
16#08INT32-2147483648 to 2147483647W/R0CH7 encoder present position
The QPS Exceeds Maximum Limit 516#01Channel input pulse frequencyINT32-2147483648 to 2147483647W/R0CH0 pulse rate
16#02INT32-2147483648 to 2147483647W/R0CH1 pulse rate
16#03INT32-2147483648 to 2147483647W/R0CH2 pulse rate
16#04INT32-2147483648 to 2147483647W/R0CH3 pulse rate
16#05INT32-2147483648 to 2147483647W/R0CH4 pulse rate
16#06INT32-2147483648 to 2147483647W/R0CH5 pulse rate
16#07INT32-2147483648 to 2147483647W/R0CH6 pulse rate
The QPS Exceeds Maximum Limit 5INT32-2147483648 to 2147483647W/R0CH7 pulse rate
16#600416#01Input channels DI0 to DI7UINT80 to 255W/R--Digital input CH0-8bit
16#02Input channels DI10 to DI17UINT80 to 255W/R--Digital input CH1-8bit
16#700016#01

Control commands.

bit0-Counter enabled.

0: prohibit;

1: Enabled.

bit1-Internal clearing: Perform clearing on the rising edge.

bit2-internal default enabled: Set a preset value on the rising edge.

UINT32--W/R--CH0 encoder counter command
16#02UINT32--W/R--CH1 encoder counter command
16#03UINT32--W/R--CH2 encoder counter command
16#04UINT32--W/R--CH3 encoder counter command
16#05UINT32--W/R--CH4 encoder counter command
16#06UINT32--W/R--CH5 encoder counter command
16#07UINT32--W/R--CH6 encoder counter command
16#08UINT32--W/R--CH7 encoder counter command
16#700116#01Preset positionINT32-2147483648 to 2147483647W/R0CH0 preset command value
16#02INT32-2147483648 to 2147483647W/R0The QPS Exceeds Maximum Limit 5
16#03INT32-2147483648 to 2147483647W/R0The QPS Exceeds Maximum Limit 5
16#04INT32-2147483648 to 2147483647W/R0CH3 preset command value
16#05INT32-2147483648 to 2147483647W/R0CH4 preset command value
16#06INT32-2147483648 to 2147483647W/R0CH5 preset command value
16#07INT32-2147483648 to 2147483647W/R0CH6 preset command value
16#08INT32-2147483648 to 2147483647W/R0CH7 preset command value
  1. Version record
Current version: REV1.0
Version codeModify contentRevision date
V1.0The first release24 October 2025