C h a p t e r 3 D e v i c e s
3 - 3 3
Tuning t he X
devices ON/OFF
SM304
If SM304 in an AH500 series motion control module is ON, the X devices in
the AH500 series motion control module can be turned ON/OFF by means of
PMSoft.
In te rru pt
reg iste r
SR400 and SR401
1. SR400 is an interrupt register. If users set a bit in SR400 to ON, an
interrupt will be enabled.
Bit
Interrupt
Interrupt number
0 Time
interrupt
I0
1
External terminal X0.8
I1
2
External terminal X0.9
I2
3
External terminal X0.10
I3
4
External terminal X0.11
I4
5
External terminal X0.12
I5
6
External terminal X0.13
I6
7
External terminal X0.14
I7
8
External terminal X0.15
I8
2. If an interrupt enabled is a time interrupt, users can write the cycle of the
interrupt into SR401.
3. There are two types of interrupts.
External interrupt: If an interrupt is triggered by the rising edge/falling
edge of a pulse received through an external terminal, the execution
of the present program will stop, and the interrupt will be executed.
After an interrupt is executed, the program which is executed before
the interrupt is triggered will be executed.
Time interrupt: The execution of the present program stops at regular
intervals. Whenever the execution of the present program stops, an
interrupt is executed.
Clearing the
If users want to clear the M-code in SR703, they have to set SM1050 to
OFF.
M-c ode w
is ex ecu e
hich
t d
If an M code in an Ox motion subroutine is executed, SM1050 will be ON.
The M-code which is executed is stored in SR703.
SM1050 and SR703
R eady flag
SMmn48
(SM1048, SM1148,
…...SM2548)
1. Every motion axis uses a ready flag. The first axis uses SM1048, the
second axis uses SM1148, the third axis uses SM1248, the fourth axis
uses SM1348, ……, the fifteenth axis uses SM2448, and sixteenth axis
uses SM2548. Users can use the ready flags to judge whether the axes
operate.
2. Description of the ready flag for the first axis: Before the first axis
operates, SM1048 is ON. When the fisrt axis operates, SM1048 is OFF.
After the first axis finishes operating, SM1048 is ON.
Summary of Contents for AH500
Page 9: ...viii...
Page 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Page 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Page 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Page 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Page 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Page 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Page 436: ...Chapter 8 Electronic Cam 8 17...
Page 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Page 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Page 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Page 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...