Using Function Codes - YASKAWA MP3000 Series User Manual

Machine
Hide thumbs Also See for MP3000 Series:
Table of Contents
2.15 Using Message Functions

Using Function Codes

Function Code
01 or 02 hex
03, 04, 09, or 0A hex
05 or 0F hex
06, 0B, or 10 hex
Function Code
03 or 09 hex
0B or 10 hex
Function Code
Using Function Codes
This section describes the use of the message function for each function code.
Function Codes: 01, 02, 03, 04, 09, and 0A Hex
Function: Reads data.
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.
MSG-SNDE Function Parameter
PARAM10
PARAM11
PARAM12
PARAM14
PARAM15
PARAM16
PARAM17
2-360
Function Codes for the QnA-compatible 3E Frame Protocol
Reads bit devices in units of one point.
Reads word devices in units of one point.
Writes bit devices in units of one point.
Writes word devices in units of one point.
0E hex
Writes word devices in units of one point.
0D hex
Reads word devices in units of one point.
08 hex
Performs a loopback test.
Function Codes for the FINS Protocol
Reads CIO Area bits, Work Area bits, Holding Area bits, and Auxiliary Area bits by
01 hex
word.
Reads from the DM Area in units of one word.
Writes to CIO Area bits, Work Area bits, Holding Area bits, and Auxiliary Area bits by
0F hex
word.
Writes to the DM data memory in units of one word.
0D hex
Reads non-consecutive words from the DM Area.
Function Codes for the TOYOPUC Protocol
31 hex
Writes to the file memory by word.
Connection Number
Option
Function Code
Remote Station Data
Address, Lower Word
Remote Station Data
Address, Upper Word
Remote Station Register
Type
Data Size
Function
Function
Function
Set the connection number used to determine the remote station.
This parameter is used with the QnA-compatible 3E Frame protocol
and the FINS protocol. Refer to the section for each protocol for
details.
Set the function code for the function to use.
Set the first address to read from in the remote 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.
Not used.
Not used.
Set the size of the data to read.
Specify the size in bits for function codes 01 and 02 hex, and in words
for function codes 03, 04, 09, and 0A hex.
Description
Continued on next page.
Table of Contents
loading

This manual is also suitable for:

Mp2000 series

Table of Contents