EasyManua.ls Logo

YASKAWA MP3000 Series - Page 385

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-367
Ethernet Communications
Function Codes: 4341 and 4349 Hex
Function: Reads data from a data address in the remote station specified with a 32-bit address.
The specified size of data is read from specified registers in the remote station and stored in regis-
ters in the local station.
The following parameters need to be set in the MSG-SNDE function.
The following example illustrates how the contents of multiple registers are read by using function code
4349 hex. In this example, 1,000 words of data are read starting from register OW10100 in the remote sta-
tion and stored in registers in the local station starting at address MW0010000.
MSG-SNDE Function Parameter Description
PARAM10 Connection Number Set the connection number that determines the remote station.
PARAM11 Option Not used.
PARAM12 Function Code Set the function code for the function to use.
PARAM14
Remote Station Data
Address, Lower Word
Set the first address to read from in the remote station. Specify a bit
address for function code 4341 hex, and a word address for function
code 4349 hex.
PARAM15
Remote Station Data
Address, Upper Word
PARAM16
Remote Station Register
Type
Set the register type (M, G, I, O, or S) to read from in the remote sta-
tion.
PARAM17 Data Size
Set the size of the data to read.
Specify the size in bits for function code 4341 hex, and in words for
function code 4349 hex.
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 code 4341 hex, and a word address
for function code 4349 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.
MW0010000
FFFFF hex(1048575)
OW10100
OW00000
12
13
14
10
11
15
16
17
18
19
20
21
22
4349 hex
0000 hex
0100 hex
0001 hex
0000 hex
0001 hex
0003 hex
03E8 hex
0000 hex
0000 hex
2710 hex
0000 hex
0000 hex
2710 hex(10000)
10100 hex
03E8 hex(1000)
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
MW0010999
OW104E7
MW0000000
MP3000-series Controller (Send: master)
MP3000-series Controller (Receive: slave)
MSG-SNDE Function
Parameter List
Use connection number 1.
FC = 4349 hex:
Reads the contents
of registers.
M registers
MSG-RCVE Function
Parameter List
Use connection number 1.
O registers
Remote Station Data Address
Data
Data size: 1,000 words
Output register offset
M Register Writing Range High
G Register Writing Range High
O Register Writing Range High
3 = O registers
Local station
data addresses
Data size: 1,000 words
Data
0 = M registers
Example of Addressing and Offset Addressing with Function Code 4314 or 4349 Hex

Table of Contents

Other manuals for YASKAWA MP3000 Series

Related product manuals