Delta Electronics AH500 Manual page 15

Motion control module
Hide thumbs Also See for AH500:
Table of Contents

Advertisement

A H 5 00 M o ti on C on tr ol M od ul e Ma nua l
2. Whenever an Ox motion subroutine is enabled, it is executed once. After O100 enables an Ox
motion subroutine, the execution of the Ox motion subroutine will start from the starting flag in
the Ox motion subroutine. After the ending instruction M2 in the Ox motion subroutine is
executed, the execution of the Ox motion subroutine will stop.
.
.
.
X0 .0
MOV
MOV 1 6# 10 0 0 SR 10 30
.
.
.
X0 .0 is ON .
.
.
.
MOVP K1 00 SR 10 20
MOVP K1 00 SR 10 21
.
.
.
If X0.0 is ON, the motion subroutine Ox10 will be enabled. After the ending instruction M2 in
Ox10 is executed, the execution of Ox10 will stop. (Ox10 is executed once. If Ox10 needs to be
executed again, X0.0 has to be set to ON.)
3. There are four methods of disabling an Ox motion subroutine.
 If the "RUN-STOP" switch of an AH500 series motion control module is turned form the
"RUN" position to the "STOP" position when the AH500 series motion control module is
powered, SM072 will be OFF, O100 will stop, and Ox motion subroutines will not be
executed.
 If an AH500 series motion control module is powered, users can use communication to set
SR1030 to 0, or to set SM072 to OFF, and to stop the execution of Ox motion subroutines.
 If an error occurs when an Ox motion subroutine is compiled or when an Ox motion
subroutine is executed, the execution of the Ox motion subroutine will stop automatically.
4. An Ox motion subroutine supports basic instructions, applied instructions, motion instructions,
and G-codes. Users can write a motion program according to their needs. They can control the
motion of the axes of an AH500 series motion control module by set the parameters of the axes.
 Basic instructions, applied instructions, motion instructions and G-codes must be used in
the motion subroutines Ox0~Ox99.
 Ox motion subroutines can call P subroutines. Please refer to section 1.3 for more
information.
5. The description of Ox motion subroutines is shown below.
Ox motion
subroutine
There are 100 Ox motion subroutines (Ox0~Ox99).
Enabling a Ox
(If an Ox motion subroutine is a ladder diagram in PMSoft, the starting flag
motion
in the Ox motion subroutine will be set automatically, and users do not
subroutine
have to write the starting flag.)
Disabling a Ox
Ending instruction M2 (If a Ox motion subroutine is a ladder diagram in
motion
PMSoft, the ending instruction M2 will be set automatically, and users do
subroutine
not have to write the ending instruction M2.)
1 - 6
1 6# 80 0 A SR 10 52
Se ttin g th e O x n um be r O x10 , an d se ttin g b it 1 5 to ON .
If X0 .0 i s O N, th e mo tio n su bro ut in e Ox1 0 w il l be en a bl ed .
Description

Advertisement

Table of Contents
loading

Table of Contents