0% found this document useful (0 votes)
13 views12 pages

LX3V-ETH-BD

The WECON LX3V-ETH-BD user manual provides installation instructions, key features, and communication protocols for the BD module, which supports a maximum of 8 connections and MODBUS-TCP. It includes detailed descriptions of the module's components, terminal functions, and Ethernet parameter settings, along with examples for configuring and using the device as both a MODBUS master and slave. Technical support information is also provided for users needing assistance.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views12 pages

LX3V-ETH-BD

The WECON LX3V-ETH-BD user manual provides installation instructions, key features, and communication protocols for the BD module, which supports a maximum of 8 connections and MODBUS-TCP. It includes detailed descriptions of the module's components, terminal functions, and Ethernet parameter settings, along with examples for configuring and using the device as both a MODBUS master and slave. Technical support information is also provided for users needing assistance.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

WECON

LX3V-ETH-BD
User manual

Website: http://www.we-con.com.cn/en
Technical Support: liux@we-con.com.cn
Skype: “fcwkkj” or “Jason.chen842”
Phone: 86-591-87868869
QQ Group: 465230233
Technical forum: http://wecon.freeforums.net/
LX3V-ETH-BD

1. The installation instructions


Before the installation make sure that the PLC host and the equipment connected to bd board have
been powered off. Please install the BD module in the corresponding position of the PLC, and lock the four
standard screws. In case of the dust interference, please cover BD right part by PLC’s cover.
Note:
1) Install the board firmly on the PLC. Poor contact may cause malfunction.
2) The suggested tightening torque is 0.3-0.6 N.m.
Warning:
1) Disconnect the power supply before installing/removing the board and wiring in case of electric
shock or product damage.
2) The After completing the installation and wiring, do not replace the PLC top cover before turning
on the power.
Supported version:
LX3VP:25103 , 16050;LX3VE:25201, 16050.
LX3VP:25105、16000 or higher version,LX3VE:25203, 16000 or higher version.

2. Key Features
1) Maximum number of connections 8, regardless of master and slave.
2) The current protocol only supports: MODBUS-TCP.

3. The shape and terminal description


1) The case of one BD board

2) The case of two BD board

1 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.


LX3V-ETH-BD

3) Light
POW: power light, normal state is always bright when
connected.
COM: the flicker frequency corresponds to communication with
plc.
DATA: data light blinks if the communication with network is ok
LINK: when connect to the network then the light is lit, if the
connect is not ok, there will be exterminated or chaotic situation.
Note:
When the power light and the com light blink simultaneously (1 Hz), that means the PLC does not
support Ethernet BD.

4. The use of instructions


4.1 RS instruction
Table 4- 1
Name Function 16 bit Pulsed Instruction format Steps

RS2 Transfer serial data √ No RS2 S m D n n1 11

Table 4- 2
Bit device Word device
Operand
X Y M S K H KnY KnM KnS T C D V Z
S √
m √ √ √
D √
n √ √ √
n1 √ √ √

1) S is the address of slave (high byte) and communication command (low byte, defined by MODBUS
protocol);
2) m is the starting address number of the slave;
D is the length of the data (read or write), the unit is word. (The specific setting is shown in the
following table 4-2);
Table 4- 2
Function code Length Length (HEX)
Write coils 1968 0x7B0
Read coils 2000 0x7D0
Write registers 123 0x7B
Read registers 125 0x7D

2 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.


LX3V-ETH-BD

3) n is the starting address of the storage unit for reading or writing data, occupying the subsequent
address unit, and the length is determined by the “D”;
4) n1 is the connection number corresponding to the Ethernet port connection number (specific
settings is shown as the following table 4-3).
Table 4- 3
Ethernet port 1 Connection number Ethernet port 2 Connection number
Connection 1 1000 Connection 1 1100
Connection 2 1001 Connection 2 1101

RS2 instruction
RS2 instruction

Connection 3 1002 Connection 3 1102


Connection 4 1003 Connection 4 1103
Connection 5 1004 Connection 5 1104
Connection 6 1005 Connection 6 1105
Connection 7 1006 Connection 7 1106
Connection 8 1007 Connection 8 1107
If n1 is set as k1002, then RS2 is configured for Ethernet port 1 , connection 3. When x1 is ON, the
data is shown as below.

The sending 00 03 00 00 00 06 01 030 00 64 00 04


Description: Read the data of the slave ranges from 100 to 103,
and transfer the data toD4,D5,D6,D7.

Instruction format:
00 03(numbers of transmission), means has sent 3 times;
00 06(the length of Modbus instruction, like 01 03 00 64 00 04;
01 03(station number and function code); 00 64(starting address0; 00 04(the length of address)

4.2 CPAVL Instructions


Table 4- 4
Name Function 16 bit Pulsed Instruction format Steps

CPAVL Communication port parameters √ No CPAVL S D M 11

Table 4- 5
Bit device Word device
Operand
X Y M S K H KnY KnM KnS T C D V Z
S √
D √
M √ √

3 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.


LX3V-ETH-BD

1) S is the starting address of the D device parameter table ranges from D0 to D7999. ( try to store in
the latched area in case of data loss).
2) D is the starting address of the M device parameter table ranges from M0 to M3071. ((try to store
in the latched area in case of data loss).
3) M is the connection number, set the number according to the Ethernet port. ( See the table
below for specific settings).
Table 4- 6
Connection number description
port Connection number
CPAVL
Ethernet port 1 1000
instruction
Ethernet port 2 1100
Note:
Only need one CPAVL instruction to configure multiple connections. The RS instruction needs to be
used for the corresponding connection

5. Ethernet parameter settings


The parameters of LX3V-ETH-BD module are configured by the CPAVL instruction. The specific address
of the D device and M device in the CPAVL instruction is shown in the following table.

5.1 D Device
Table 5- 1
Word Read or
D device Description Others
address write
S+0 Version R
S+1 IP Section 1 R/W
S+2 IP Section 2 R/W
IP for BD module
S+3 IP Section 3 R/W
S+4 IP Section 4 R/W
S+5 Port Default value is K502 R/W
S+6 Gateway section 1 R/W
S+7 Gateway section 2 Parameters R/W
Gateway
S+8 Gateway section 3 for BD R/W
S+9 Gateway section 4 module R/W
S+10 Subnet mask section 1 R/W
S+11 Subnet mask section 2 R/W
Subnet mask
S+12 Subnet mask section 3 R/W
S+13 Subnet mask section 4 R/W
S+14 MAC section 1 R
S+15 MAC MAC section 2 R
S+16 MAC section 3 R
4 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.
LX3V-ETH-BD

S+17 MAC section 4 R


S+18 MAC section 5 R
S+19 MAC section 6 R
S+20 Reserved R/W
When plc serves as slave, and there is no
Total disconnect
communication within specific time, then
S+21 time R/W
the communication will be disconnected.
*1
Unit: S (seconds), Default: 0 (10 seconds)
Number of
S+22 R/W
connections (max 8)
S+23 Protocol Communication protocol R/W
S+24 IP section 1 R/W
S+25 IP section 2 R/W
Slave IP
S+26 IP section 3 R/W
S+27 IP section 4 R/W
S+28 Port Default is K502 R/W
S+29 Reserved R/W
Parameters
Command send
S+30 Default is 0.1 ms for R/W
interval
connection 1
S+31 Reserved R/W
When plc serves as slave, and there is no
communication within some time, then
S+32 Disconnect time R/W
the communication will be disconnected.
Unit: S (seconds), Default: 0 (10 seconds)
S+33 Reserved R/W
S+34 Timeout R/W
S+35 Protocol Communication protocol R/W
S+36 Slave IP IP section 1 R/W
S+37 IP section 2 R/W
S+38 IP section 3 R/W
S+39 IP section 4 R/W
S+40 Port Default is K502 Parameters R/W
S+41 Reserved for R/W
Command send connection 2
S+42 Default is 0.1 ms R/W
interval
S+43 Reserved R/W
S+44 Reserved R/W
S+45 Reserved R/W
S+46 Timeout R/W

5 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.


LX3V-ETH-BD

S+47 …… …… …… ……
*1. Disconnect time : only LX3VP(25105,16003)and LX3VE(25203,16003)or higher version can
support this function.
Disconnect time : When plc serves as slave, and there is no communication within specific time(it can
be configured in the program), then the communication will be disconnected.
When the disconnect time of each slave device is non-zero, then the "disconnect time" of each slave
device is used.
When the disconnect time of each slave device is non-zero, and the "total disconnect time" is not zero,
then the "total disconnect time" is used.

1) IP, gateway, subnet mask settings example


For example the IP address is 192.168.1.35, set as follows:
Word address Decimal Hexadecimal
1 192 C0
2 The IP address of BD 168 A8
3 module 1 01
4 35 23

MAC display description: 192.168.1.35 51-5b-a8-59-55-68 dynamic

2) Number of connections
The maximum number of connections is 8
The setting of connection number: The number of settings should be the same as the number of
connections.
If the connection number is exceeded, user will get error code in D8067 (means the value is exceeded)
3) Protocol setting
Table 5- 2
Protocol Value
MODBUS-RTU Slaves 02H
MODBUS-RTU Main site 20H
When LX3V-ETH-BD serves as a slave, user could switch the master equipment.
The specific situation is: when the Ethernet BD serves as a slave, and reach the number of of
connection, one of the master equipment is disconnected, user could connect another master device.
Note:
No need to configure IP address when LX3V-ETH-BD serves as a slave.

6 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.


LX3V-ETH-BD

5.2 M Device
Bit address Description
D+0 Reserved
D+1 Instruction execution
D+2 Instruction execution state
D+3 Communication error flag
D+4 Reserved connection 1
D+5 Reserved Configuration
D+6 Reserved
D+7 Reserved
D+8 Reserved
D+9 Timeout flag
D+10 Reserved
D+11 Instruction execution
D+12 Instruction execution state
D+13 Communication error flag
D+14 Reserved connection 2
D+15 Reserved Configuration
D+16 Reserved
D+17 Reserved
D+18 Reserved
D+19 Timeout flag
D+20 … …

5.3 Special device description


When BD board is properly installed and there is no problem with BD board, user could check the BD
Board model in D8170 and D8171.
Table 5- 3
Special address Description
D8170 Expansion port 1 BD Board Model
D8171 Expansion port 2 BD Board Model

7 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.


LX3V-ETH-BD

Note:
The special device could display all BD board model. As the picture shown above, the Ethernet BD
model is HFF20(K -224)according to the position.

6.Examples
6.1 MODBUS Master
1) Ethernet parameter setting

Configure the IP address as 192.168.1.36

Configure port as 502

Configure gateway as 192.168.1.1

Configure subnet mask as 255.255.255.0

Connection number is 2

8 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.


LX3V-ETH-BD

2) The parameter setting of two devices connected with the LX3V-ETH-BD

The protocol of device 1: Modbus master

The IP of the slave is 192.168.1.35


Configure Port number as 502
Configure timeout as 100ms

The protocol of device 2: Modbus master

The IP of the slave is 192.168.1.11

Configure Port number as 502


Configure timeout as 100ms

Use the Ethernet port 1, and the parameter


table start from D300 and0 M300

3) Send and receive data to two connected devices


 Device 1

Station number 01, function code 10(write word)


The start address for writing is 1
The length of address is 1

Write the data of D600 to address 1 in device 1


that is connected with Ethernet port 1

 Device 2

Station number 01, function code 0F(write word)


The start address for writing is 2
The length of address is 10

Write 10 data starting from D800 to the 10


address starting from address 2 in device 2 that
is connected with Ethernet port 1
9 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.
LX3V-ETH-BD

6.2 MODBUS Slave


1) The parameter setting of LX3V-ETH-BD:

IP is 192.168.24.155

Port is 502

Gateway is 192.168.24.1

Subnet mask is 255.255.255.0

The connection number is 5


The protocol of device1 is Modbus slave
The protocol of device2 is Modbus slave
The protocol of device3 is Modbus slave
The protocol of device4 is Modbus slave
The protocol of device5 is Modbus slave

Use the Ethernet port 1, and the parameter


table start from D300 and M300

10 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.


LX3V-ETH-BD

7.Error Code Description


If an error occurs in the module communication, the special address M8063 is set to 1, and the special
address D8063 will display the error code.
Table 7- 1
Value Description Value Description
0 MODBUS Slave address is set incorrectly 20 Ethernet disconnected
Lan cable disconnect (Yellow LED
1 Data frame length is incorrect 21
and green LED extinguished)
2 wrong address 22 Ethernet connection failed
3 CRC Verification error (No CRC check) 23 Ethernet connection timeout
Error 4 Command code is not supported 40
code 5 Accept timeout 41
6 data error 42
7 Buffer overflow 43 Interaction error between host and
8 Frame error 44 bd board
9 Send timeout 45
interaction error between host and bd 46
10-19
board 47
Error code display description
Table 7- 2
Address Display value description
Expansion port 1 Conn 1 10000+ error code
Expansion port 1 Conn 2 10100+ error code
Expansion port 1 Conn 3 10200+ error code
Expansion port 1 Conn 4 10300+ error code
Expansion port 1 Conn 5 10400+ error code
Expansion port 1 Conn 6 10500+ error code
Expansion port 1 Conn 7 10600+ error code
Expansion port 1 Conn 8 10700+ error code
D8063
Expansion port 2 Conn 1 20000+ error code
Expansion port 2 Conn 2 20100+ error code
Expansion port 2 Conn 3 20200+ error code
Expansion port 2 Conn 4 20300+ error code
Expansion port 2 Conn 5 20400+ error code
Expansion port 2 Conn 6 20500+ error code
Expansion port 2 Conn 7 20600+ error code
Expansion port 2 Conn 8 20700+ error code

Example: D8063 display 10121(means Ethernet is disconnected in Expansion port 1 connection 2.


11 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy