EasyManua.ls Logo

YASKAWA MP3000 Series - Page 391

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-373
Ethernet Communications
Function Code: 31 Hex
Function: Writes to the fixed buffer in a Mitsubishi PLC, or to the file memory in a TEKT PLC.
The specified size of data is read from registers in the local station and written to registers in the
remote station.
The register address in the remote station cannot be specified.
The following parameters need to be set in the MSG-SNDE function.
The following example illustrates how data is written to fixed buffers by using function code 31 hex. In
this example, 1,000 bits of data starting from register GW0500000 in the local station are written to fixed
buffers in the remote station.
MSG-SNDE Function Parameter Description
PARAM10 Connection Number Set the connection number used to determine 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 write to in the remote station.
PARAM15
Remote Station Data
Address, Upper Word
Not used.
PARAM16
Remote Station Register
Type
Not used.
PARAM17 Data Size Set the size of the data to write. (Specify the size in words.)
PARAM18
Remote CPU Module
Number
Not used.
PARAM20
Local Station Data
Address, Lower Word
Set the first register address in the local station where the data to be
written is stored. (Set the word 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.
GW0500000
12
13
14
10
11
15
16
17
18
19
20
21
22
0031 hex
0000 hex
0000 hex
0001 hex
0000 hex
0000 hex
0000 hex
03E8 hex
0000 hex
0000 hex
A120 hex
0007 hex
0001 hex
GW0000000
7A120 hex(500000)
3E8 hex(1000)
GW0500999
FC=31 hex
MP3000-series Controller (Send: master)
Device form other manufacturer (Receive: slave)
Registers
The register address that is
written to depends on the slave.
Data
Data size: 1,000 words
If the data is received by an MP3000-series Machine Controller,
the data will be written to the M registers. Specify the register to
write to by using the hold register offset parameters.
MSG-SNDE Function
Parameter List
Use connection number 1.
G registers
Local station
data addresses
Data size: 1,000 words
Data
1 = G registers
Example of Addressing and Offset Addressing with Function Code 31 Hex

Table of Contents

Other manuals for YASKAWA MP3000 Series

Related product manuals