Delta Electronics AH500 Manual page 472

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

Advertisement

 M-codes
Instruction code
M0~M65535
Description:
 M102 indicates the end of O100, and M02 indicates the end of a motion subroutine. Users
should avoid using M102 and M02.
 M-codes are used in motion subroutines, If an M-code is executed, the M-code will be
stored in SR703, and SM1050 will be automatically set to ON. If SM1050 is OFF, the
execution of an M-code is complete.
 If an M-code is executed, SM1050 will be ON, and the M-code will be stored in SR703.
Users can set control conditions in O100 by means of this character.
When M50 is executed, Y0.8 is ON. The execution of M50 will be complete after one
second. O100 is shown below.
 M codes can be used in two modes. If an M-code forms a line, it is used in after mode. If
an M-code is in back of a motion instruction, it is used in with mode. The difference is
described below.
After mode: An M-code forms a line.
Timing diagram:
After G01 is executed, the M-code M100 will be started automatically, and SM1050 will
be automatically turned ON. If users want to stop M100, they have to turn SM1050 OFF.
If they want to start the M-code again, they can create a program that starts the M-code
again.
Operand
None
G01
X500.0
M100
Th e e xecu tio n o f G0 1 is comp le te .
G01
M100
SM1050
Ch ap te r 9 Mu ltia xial In terp ola tion
Function
M-code instructions
Y300.0
F5000
9 - 2 3

Advertisement

Table of Contents
loading

Table of Contents