Wecon LX3V-ETH-BD User Manual Download Page 3

LX3V-ETH-BD

2

FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.

3) Light

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

Operand

Bit device

Word device

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

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.

Summary of Contents for LX3V-ETH-BD

Page 1: ...X3V 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 freeforu...

Page 2: ...ause 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 Th...

Page 3: ...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 th...

Page 4: ...onnection 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 a...

Page 5: ...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...

Page 6: ...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 S 30 Command send interval Default is 0 1 ms R W S 31 Reserved R W S 32 Disconnect time When plc serves as slave...

Page 7: ...92 168 1 35 set as follows Word address Decimal Hexadecimal 1 The IP address of BD module 192 C0 2 168 A8 3 1 01 4 35 23 MAC display description 192 168 1 35 51 5b a8 59 55 68 dynamic 2 Number of conn...

Page 8: ...t flag D 10 Reserved connection 2 Configuration D 11 Instruction execution D 12 Instruction execution state D 13 Communication error flag D 14 Reserved D 15 Reserved D 16 Reserved D 17 Reserved D 18 R...

Page 9: ...rd 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 Co...

Page 10: ...he slave is 192 168 1 11 Configure Port number as 502 Configure timeout as 100ms Station number 01 function code 10 write word The start address for writing is 1 The length of address is 1 Write the d...

Page 11: ...2 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 slav...

Page 12: ...error 44 9 Send timeout 45 10 19 interaction error between host and bd board 46 47 Error code display description Table 7 2 Address Display value description D8063 Expansion port 1 Conn 1 10000 error...

Reviews: