EasyManua.ls Logo

YASKAWA MP3000 Series - Page 384

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-366
The following example illustrates how the contents of non-consecutive hold registers are written by using
function code 0E hex. In this example, data stored in registers IW0002000, IW000200A, and IW0002014
in the local station are written to registers MW0001000, MW0001010, and MW0001020 in the remote sta-
tion. The remote station address table starts at register GW0200000 in the local station.
The remote station address table contains a one-word address specifier for each data item, as illustrated
below.
PARAM20
Local Station Data
Address, Lower Word
These parameters are used to offset the address for reading data from
registers in the local station for writing in the remote station. Data will
be read from the addresses that are the sum of each address specified in
the remote station address table and the local station data address.
PARAM21
Local Station Data
Address, Upper Word
PARAM22
Local Station Register
Type
Set the register type (M, G, I, O, or S) of the data to be written that is
stored in the local station.
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 written to in the remote station will be the sum of the specified data addresses and
the value in the hold register offset parameters.
Continued from previous page.
MSG-SNDE Function Parameter Description
MW
MW+1
MW+2
MW+n-1
Remote Station Address Table
Address setting 1
Address setting 2
Address setting 3
Address setting n
n data items
Remote Station Address Table When Using Function Code 0E Hex
GW0200000
03E8 hex
FFFFF hex(1048575)
MW0000000
12
13
14
10
11
15
16
17
18
19
20
21
22
000E hex
0000 hex
0D40 hex
0001 hex
0000 hex
0003 hex
0001 hex
0003 hex
0000 hex
0000 hex
1C18 hex
0000 hex
0002 hex
GW0000000
1C18 hex
30D40 hex(200000)
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
GW0200002
03F2 hex
03FC hex
0003 hex(3)
IW02000
IW00000
IW01C18
IW0200A
IW02014
+3F2 hex
+3FC hex
3E8 hex
3F2 hex
3FC hex
MW0001000
MW0001010
MW0001020
03F2 hex(1010)
03FC hex(1020)
+3E8 hex
MP3000-series Controller (Send: master)
MP3000-series Controller (Receive: slave)
MSG-RCVE Function
Parameter List
Use connection number 1.
Hold Register Offset
M registers
Data 1
Data 2
Data 3
M Register Writing
Range Low
M Register Writing Range High
G Register Writing Range High
O Register Writing Range High
MSG-SNDE Function
Parameter List
Use connection number 1.
FC = 0E hex: Writes
to non-consecutive
hold registers.
Remote Station
Data Address
Data size: 3 items
I registers
Local station
data addresses
Data 1
Data 2
Data 3
1 = G registers
2 = I registers
G registers
Remote
Station
Address
Table
Example of Addressing and Offset Addressing with Function Code 0E Hex
Note

Table of Contents

Other manuals for YASKAWA MP3000 Series

Related product manuals