
LX3V-ETH-BD
4
FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.
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
CPAVL
instruction
port
Connection number
Ethernet port 1
1000
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
address
D device
Description
Others
Read or
write
S+0
Version
Parameters
for BD
module
R
S+1
IP for BD module
IP Section 1
R/W
S+2
IP Section 2
R/W
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
Gateway section 1
R/W
S+7
Gateway section 2
R/W
S+8
Gateway section 3
R/W
S+9
Gateway section 4
R/W
S+10
Subnet mask
Subnet mask section 1
R/W
S+11
Subnet mask section 2
R/W
S+12
Subnet mask section 3
R/W
S+13
Subnet mask section 4
R/W
S+14
MAC
MAC section 1
R
S+15
MAC section 2
R
S+16
MAC section 3
R