EasyManua.ls Logo

YASKAWA MP3000 Series - Page 379

YASKAWA MP3000 Series
435 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2.15 Using Message Functions
Using Function Codes
2-361
Ethernet Communications
The following example illustrates how the contents of hold registers are read by using function code 09
hex. In this example, 200 words of data are read from register MW0030000 in the remote station and
stored in registers in the local station starting at address GW0200000.
PARAM18
Remote CPU Module
Number
This parameter is used with the Extended MEMOBUS protocol. Set the
CPU number at the remote station.
PARAM20
Local Station Data
Address, Lower Word
Set the first register address to store the read data in the local station.
Specify a bit address for function codes 01 and 02 hex, and a word
address for function codes 03, 04, 09, and 0A hex.
PARAM21
Local Station Data
Address, Upper Word
PARAM22
Local Station Register
Type
Set the register type (M, G, or O) to store the read data in the local sta-
tion.
PARAM24 For system use
Set this parameter to 0 from a user program or by other means in the
first scan after the power is turned ON. Thereafter, do not change the
value of this parameter. This parameter is used by the system.
If the hold register offset parameters in the MSG-RCVE function are set to a non-zero value, the actual
addresses that are read in the remote station will be the sum of the remote station data addresses and
the value in the hold register offset parameters.
Continued from previous page.
MSG-SNDE Function Parameter Description
GW0200000
FFFFF hex (1048575)
MW03000
MW00000
12
13
14
10
11
15
16
17
18
19
20
21
22
0009 hex
0000 hex
7530 hex
0001 hex
0000 hex
0000 hex
0000 hex
00C8 hex
0000 hex
0000 hex
0D40 hex
0003 hex
0001 hex
GW0000000
30D40H(200000)
7530 hex (3000)
00C8 hex (200)
0001 hex
0000 hex
0000 hex
10
20
21
0000 hex
11
0000 hex
0000 hex
22
23
0000 hex
0000 hex
24
25
0000 hex
0000 hex
26
27
0000 hex
0000 hex
28
29
0000 hex
0000 hex
30
31
0000 hex
0000 hex
32
33
0000 hex
0000 hex
34
35
0000 hex
0000 hex
36
37
FFFF hex
000F hex
38
39
0000 hex
0000 hex
40
41
FFFF hex
001F hex
42
43
0000 hex
0000 hex
44
45
7FFF hex
0001 hex
46
47
1FFFFF hex (2097151)
17FFF hex
GW0200199
MW03199
MP3000-series Controller (Send: master)
MSG-SNDE Function
Parameter List
Use connection number 1.
FC = 09 hex:
Reads the
contents of
hold registers.
G registers
MP3000-series Controller (Receive: slave)
MSG-RCVE Function
Parameter List
Use connection number 1.
M registers
Remote station
data addresses
Data size: 200 words
M Register Writing Range High
G Register Writing Range High
O Register Writing Range High
Hold
Register
Offset
Local station
data addresses
Data size: 200 words
Data
Data
1 = G registers
Example of Addressing and Offset Addressing with Function Codes 01, 02, 03, 04, 09, or 0A Hex
Note

Table of Contents

Other manuals for YASKAWA MP3000 Series

Related product manuals