Programming; Melsec Commands - YASKAWA MP920 User Manual

Machine controller
Table of Contents

Advertisement

7.8.3

Programming

218IFA Programming Suggestions
The 218IFA communicates with the MELSEC Controller that performs Extended MEMO-
BUS and MELSEC message conversion processing. Thus there is no need for the MELSEC
message configuration to be recognized by the user application. The user can easily commu-
nicate with the MELSEC Controller by using the MSG-SND function to specify MELSEC
under Protocol Type in the 218IFA Connection Parameter Window.
Refer to the list of MELSEC commands for the commands that are used by the MSG-SND
function, and the MEMOBUS commands corresponding to the MELSEC commands.
For example, MEMOBUS command 01 or 02 will correspond to MELSEC command 00
(reads bit devices in 1-bit units).
MELSEC Programs
The Ethernet Module (AJ71E71) must be initialized by the MELSEC ladder logic program.
Refer to the procedure for refreshing other nodes in the MELSEC manual, and create a lad-
der logic program for initial processing.
7.8.4

MELSEC Commands

The following table shows the common MELSEC ACPU commands that are supported by
the MP900-Series 218IFA Module, and the corresponding MEMOBUS command numbers.
Command
00H
Reads bit devices in 1-point units
01H
Reads bit devices in 16-point units
Reads word devices in 1-point units
02H
Writes bit devices in 1-point units
03H
Writes bit devices in 16-point units
Writes word devices in 1-point units
04H
Randomly specifies, sets, and resets bit devices and device
numbers in 1-point units
05H
Randomly specifies, sets, and resets bit devices and device
numbers in 16-point units
Randomly specifies, sets, and resets word devices and device
numbers in 1-point units
06H
Sets the bit devices to be monitored in 1-point units
Table 7.8 Common MELSEC ACPU Commands
Description
7-39
7.8 Connections with MELSEC
Qty
218IFA
*
Support
256 points
Yes
128 words
No
(2,048 points)
256 points
Yes
256 points
Yes
40 words
No
(640 points)
256 points
Yes
80 points
No
40 words
No
(640 points)
40 points
Yes
40 points
No
MEMOBUS
7
Command
01H/02H
03H/04H/
09H/0AH
05H/0FH
06H/0BH/10H
0EH

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents