
LX3V-ETH-BD
3
FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO., LTD.
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
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.
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
Operand
Bit device
Word device
X
Y
M
S
K
H
KnY
KnM
KnS
T
C
D V
Z
S
√
D
√
M
√
√
RS
2
in
str
uc
tio
n
RS
2
in
str
uc
tio
n
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.