Precautions For Creating Program - Mitsubishi Electric A1SD75P1-S3 User Manual

Positioning module
Table of Contents

Advertisement

6 SEQUENCE PROGRAM USED FOR POSITIONINGCONTROL

6.1 Precautions for creating program

The common precautions to be taken when writing data from the PLC CPU to the
AD75 buffer memory are described below.
(1) Reading/writing the data
(2) Programming with the A0J2CPU
[An,AnN,AnA,AnUCPU,A0J2HCPU]
(3) Restrictions to No. of FROM/TO commands executed in one scan
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Setting the data explained in this chapter (various parameters, positioning data,
positioning start information) should be set using the AD75 software package.
When set with the sequence program, many sequence programs and devices
must be used. This will not only complicate the program, but will also increase
the scan time.
When rewriting the positioning data during continuous path control or continuous
positioning control, rewrite the data four positioning data items before the actual
execution. If the positioning data is not rewritten before the positioning data four
items earlier is executed, the process will be carried out as if the data was not
rewritten.
When using the AD75 with the A0J2CPU, there are commands that cannot be
used, such as TOP/FROMP.
Change these as shown below.
X0
TOP
H0
K50 D1
X1
SET M1
M1
FROMP
H0
K50 D5
X3
TO
H0
K50 K10 K1
The FROM/TO command (during 16-bit data transmission) and DFRO/DTO
command (during 32-bit data transmission) that can be executed with one PLC
CPU scan using the AD75 are as follow.
(a) With the 1-axis and 2-axis module, the FROM/TO command and
DFRO/DTO command can be executed up to ten times per axis.
6 - 2
[A0J2]
X0
K1
M0
X1
M1
K1
M2
X3
MELSEC-A
PLS M0
TO
H0
K50 D1
K1
SET M1
PLS M2
FROM
H0
K50 D5
K1
MOV K10 D0
TO
H0
K50 D0
K1

Advertisement

Table of Contents
loading

This manual is also suitable for:

A1sd75p2-s3A1sd75p3-s3Ad75p1-s3Ad75p2-s3Ad75p3-s3

Table of Contents