1 Basic differences

Functions

5V

5S

3V

Running Mode

Cyclic scan /Interrupt

Power supply

A:AC 220V;D:DC 24V

Output type

MT:Transistor

MT:Transistor;MR:Relay

MT:Transistor;MR:Relay

I/O

1212;1412;1616;2416;2424;3624;

0806;1208;1212;1412;

1616;2416;2424;3624;

0806;1208;1212;1412;

1616;2416;2424;3624;

Programming

Ladder

Execute Time

Basic 0.01-0.03μs

Basic 0.03-0.08μs

Basic 0.06μs/Applied instruction:1-10us

Program Capacity

512KB

16k

High Speed Pulse Output

≤1412MT and smaller: 4*200KHz;

≥1616MT and bigger:  8*200KHz。

MT/MR2H: 2* 200KHz;

MT4H: 4* 200KHz。

MT/2H: 2*100KHZ, or 4H: 4*100, single: 200kHZ

High speed counter Interrupt

100 channels

21channels

Timer Interrupt

100 channels,Support 0.1ms Interrupt

95 channels

X Interrupt

X0-X7 Rising & Falling

X0-X5 Rising & Falling

X0-X5 Rising & Falling

High speed counter Single Phase

≤1412 and smaller: 4*150KHz

≥1616 and bigger: 8*150KHz

≤1412 and smaller: 2*150KHz;4*10KHz

≥1616 and bigger: 6*150KHz

Hardware counter for the first two channels:2*200KHz;

Software counter for the first two channels:2*100KHz;

Software counter for back four channels:4*10KHz

High speed counter AB phase

≤1412 and smaller: 4*100KHz

≥1616 and bigger: 8*100KHz

≤1412 and smaller: 1*100KHz+2*10KHz

≥1616 and bigger: 3*100KHz

Hardware counter for the first two channels:2*100KHz;

Software counter for the first two channels:2*50KHz;

Software counter for back four channels:4*5KHz

Storage Type

FLASH

Serial Communication

COM1: RS422、RS485;COM2: RS485

1208 and smaller: COM1: RS422;COM2: RS485;

1212 and bigger: COM1: RS422、RS485;COM2:RS485

1208 and smaller: COM1: RS422;COM2: RS485;

1212 and bigger: COM1: RS422、RS485;COM2: RS485

BD board support

yes

yes

yes

Communication BD board

support LX5V-2RS485-BD and LX5V-ETH-BD

RS485 BD support, 3vp supports ethernet bd board

Expansion Module

yes √ (1212 and bigger can support)

yes √ (1212 and bigger can support)

Electronic CAM

√(2 sheets for switch)

√(2 sheets for switch)

N/A

S-type CAM

N/A

PLClink

N/A

Linear Interpolation

N/A

Circular Interpolation

N/A

sub-rotine

N/A

2 Software difference between 5S vs 5V

High speed counter configuration

5V as below

image-20220614151005-1.png

5S is as below

企业微信截图_16762524911554.png

More detail information,please check the product catalog

3 Functions that 3V has but 5V does not

BD board

LX5V does not support LX3V-2RS485-BD

LX5V does not support LX3V-ETH-BD

Analog BD board expansion address

Provides the function of analog board BD to modify parameters such as filtering. For specific functions, please refer to the below link:
1. LX3 series: 5-9 System-special address - Wecon (we-con.com.cn)
2. LX5 series: 15 Appendix - Wecon (we-con.com.cn) 15 Appendix - Wecon (we-con.com.cn)

PLDID

Program label function, when the label of the program corresponds to the label of the PLC, the ladder diagram can be uploaded and downloaded. Clearing the memory does not clear this tag either. It is mainly to limit the ladder diagram used by PLC.

Instructions

(1) NOP instruction (null instruction)

(2) TRAN instruction (SFC transfer begins)

(3) FEND instruction (main program ends)

(4) IRET instruction (interrupt return)

(5) SRET instruction (subroutine return)

(6) SPD instruction

(7) DRVI2 instruction

(8) PTO/DPTO instruction(envelope pulse command)

(9) DABS instruction

(10) RSLIST instruction

(11) CPAVL instruction(communication BD configuration)

Unsupported special register function (M8000, D8000)

Clock related

Clock function not supported by LX5V

M8014

Oscillation clock with 1 minute clock period

M8015

Clock stop and preset

M8016

Stop time to read the display

M8017

±30 seconds correction

M8018

install and examine

M8019

Real-time clock (RTC) error

High-speed counter ring counting function

M8099

High-speed ring counter count start

M8099

Ring count configuration

X0~X5 pulse capture function

M8170

X000 pulse capture

M8171

X001 pulse capture

M8172

X002 pulse capture

M8173

X003 pulse capture

M8174

X004 pulse capture

M8175

X005 pulse capture

4 3V and 5V incompatible functions

(These can be automatically converted in the future)

General register

register

LX3V

LX5V

Remarks

Input

X0~X377

X0~X1777

 

Output

Y0~Y377

Y0~Y1777

 

Auxiliary

M0~M3071

M0~M7999

 

Status

S0~S999

S0~S4095

 

Timer

T0~T255

T0~T511

 

counter

C0~C199

C0~C255

 

Double word counter

C200~C219

LC0~LC99

Non-power-down save

Double word counter

C220~C234

LC100~LC255

Power-down save

High-speed counter

C235~C255

HSC0~HSC7

Check the high-speed input function

Data Register

D0~D7999

D0~D7999 (R0~R29999)

 

Pointer P

P0~P127

P0~P4095

 

Instruction I

I0~I8xx

None

 

constant

K, H, E

K, H, E

 

Incompatible part

1. T250~T255 of LX3V are 100ms timers, while T250~T255 of LX5V are 10ms timer.

2. C200~C234 of LX3V are double word counters, LX5V is changed to single word, and LC0~LC255 are added as double word counters.

3. LX3V's high-speed counters C235~C255 are no longer used. In LX5V, the high-speed counter type is configured through the configuration table, and HSC0~HSC7 is selected as the high-speed input counter according to the channel. See the high-speed input function for details.

4. CJ instruction uses pointer P63 to jump directly to END instruction in 3V,  but P63 of LX5V is a normal label.

5. Pointer I is cancelled in LX5V, please check the programming mode for details.

Programming method

Subroutine

(For details, please refer to LX5V Programming Manual Chapter 1.4-Subroutine Branch)

Use of LX3V subroutines
1652684087594-147.png

Use of LX5V subroutines

Add new subroutine: project management -> subroutine -> right click -> new

1652684473552-267.png

Subroutine can be directly used in the main program by calling its name.

1652684829740-769.png

Interrupt

(For details, please refer to LX5V Programming Manual Chapter 1.4-Branch)

LX3V interrupt

The interrupt program is under FEND and returns with IRET. The meaning of the specific interrupt is distinguished by the pointer I number.(Refer to EI/DI instruction in 3V)

The 1ms interrupt program of LX3V is as follows:

1652685542135-419.png

LX5V interrupt

Add new interrupt: Project Management -> program->Interrupt -> New

1652685665041-340.png

Interrupt configuration: select interrupt mode

1652685809566-630.png

Instructions

OUT instruction

Double word counter

LX3V: OUT C200 KXXX

LX5V: OUT LC0 KXXX

The C200~C219 of LX3V are converted to LC0~LC19 of LX5V (Un-power-down save).

The OUT C220~C234 of LX3V is converted to OUT LC100~LC114 of LX5V (Power-down save).

CALL instruction

LX3V: OUT C200 PXXX

LX5V: OUT LC0 subroutine name(See LX5V programming manual for details)

CJ instruction

LX5V does not support CJ P63 to jump directly to the END instruction.

LX5V does not support CJ instructions to jump into subroutines and interrupts.

DI, EI instructions

There is no need to connect the contact before the DI instruction of LX3V.

1652687225743-267.png

The contact must be connected before the DI instruction of LX5V. 

1652687930224-987.png

DHSCS instruction

LX3V: calls interrupt using IXX

1652688357931-327.png

LX5V: calls interrupts by using the interrupt program name

1652688536392-339.png

CPAVL instruction

CPVAL is used to configure communication BD boards in 3V. LX5V does not currently support it.

CPVAL is used to switch electronic cam table in LX3V. LX5V uses ECAMCUT instruction(Refer to Chapter 9.1 of LX5V Programming Manual for details).

TRH instruction

LX3V: input parameters are floating

LX5V: input parameters are integer

ASC instruction

 LX3V: input strings don't need double quotes

1652689598958-799.png

 LX5V: input strings need double quotes

1652689626279-240.png

5 High-speed input function

Use on LX3V

Find the high-speed input counter you need to use according to the following table:

1652689864332-317.png

Through special registers, configure the functions such as frequency multiplication and counting direction.

Use the OUT instruction to start the high-speed counter counting.

1652690126303-800.png

Use on LX5V

According to channel, select the HSC register to use:

1652692297496-626.png

Configure the high-speed counter mode through the host computer configuration table: