Mitsubishi Melsec A User Manual page 81

Table of Contents

Advertisement

7. COMMUNICATION
WITH PROGRAMMABLE CONTROLLER CPU
/MELSEC
7.6 Readwrite of Sequence Program and TIC Set Values
This section describes procedures for reading and writing PC CPU
sequence programs and TIC set values from the AD51.
7.6.1 System subroutines and functions
The following system subroutines are used t o read and write se-
quence programs and TIC set values.
(1) System subroutines and functions
A m o u n t o f information
I t e m
Subroutine
I
I
Processing
procesed
per
PC
-
A051 tranraciion.
Main
Reads main sequence program.
Read
-
SAAR
0
0
Sequence
Sub
Readr rubsequence program.
program
64 atepr
Main
Writer main sequence program.
Write
-
SAAW
0
X
Sub
Writes subsequence program.
Read
SAPR
Reads parameters of PC CPU.
0
0
Parameter
Write
SAPW
Writer parameters
of
PC CPU.
128 byter
Analysis request
SAPS
Causer PC CPU t o
recognize
and
check rewritten parameterr.
Key :
0
Available
X Unavailable
For T I C o n l y
Table
7.2
System Subroutines and Functions
*
A subprogram may be written while a main program is running
and vice versa using appropriate control of
M9050
and
M9051.
(1) Sequence programs should be read and written in the
range set in the parameters. PC CPU data may be cor-
rupted i f programs are written outside the set range.
(2) An input data error is returned if the specified parameter
readtwrite capacity is outside the allowed range (16
bytes in the AOJ2CPU. 3K bytes in the A l , A2, and
A3CPUs).

Advertisement

Table of Contents
loading

Table of Contents