![YASKAWA JEPMC-MP2300S-E User Manual Download Page 152](http://html.mh-extra.com/html/yaskawa/jepmc-mp2300s-e/jepmc-mp2300s-e_user-manual_907071152.webp)
5.2 User Programs
5.2.2 Motion Programs
5-20
A Way to Immediately Control a Motion Program from External Equipment
M-EXECUTOR has a function which allocates any register to an M-EXECUTOR control register.
Using this function allows you to automatically exchange data between an M-EXECUTOR control register and an I/O
register connected to an external equipment. This allows you to immediately control the motion program from the
external equipment.
The following figure shows a setting example in this method.
An allocation contact interlock is used to interlock the operation of a motion program. When setting an alloca-
tion register, be sure to set an allocation contact interlock.
It is processed, as shown below, by turning ON/OFF an allocation contact interlock:
• When an allocation contact interlock contact is ON, data is exchanged between an allocation register and M-EXECUTOR
control register at H scan cycle. Now, the motion program becomes executable.
• When an allocation contact interlock is OFF, data is not exchanged between an allocation register and M-EXECUTOR con-
trol register. Now, the motion program becomes unexecutable.
• When an allocation contact interlock is switched from ON to OFF while running a motion program, the running motion pro-
gram stops and an axis in operation also stops. Now, the motion program falls into the alarm “1Bh: Executing an emergency
stop command” state, and the status “Bit8: Program alarm is occurring” is turned ON.
Again, to execute a motion program, follow the procedure below for operation:
1. Switch the interlock contact from OFF to ON.
2. Turn ON a control signal “Bit5: Alarm reset request.”
3. Make sure that the status “Bit8: Program alarm is occurring” is turned OFF.
4. Turn OFF the control signal “Bit5: Alarm reset request.”
5. Turn ON a control signal “Bit0: Request for the program operation startup.”
MPM001
END
VEL [a1] 5000 [b1]..
FM
X
T10000000
;
IAC T25
;
IDC T30
;
MOV [a1] 300. [b1]..
MVS [a1] 200. [b1]..
.
.
.
.
Figure for allocating the M-E
X
ECUTOR register
Specify any registers for mapping register and
mapping interlock contact.
External equipment
- Upper PLC
- Touch panel
- Switch
- LED, etc.
Allocation register
External signal
- Program number
- Operation startup
- Pause
- Stop, etc.
Allocation
interlock
contact
Data is exchanged
at H scan cycle.
Program number
Status
Control signal
Override for interpolation
Reference of
M-E
X
ECUTOR
control register
Execution control using a
motion management function
Motion program
Summary of Contents for JEPMC-MP2300S-E
Page 14: ...MEMO ...
Page 24: ...MEMO ...
Page 114: ...MEMO ...
Page 132: ...MEMO ...
Page 154: ...5 2 User Programs 5 2 2 Motion Programs 5 22 2 Example using a ladder program ...
Page 156: ...5 2 User Programs 5 2 2 Motion Programs 5 24 2 Example using a ladder program ...
Page 190: ...MEMO ...
Page 280: ...MEMO ...
Page 300: ...7 3 Operation 7 3 5 How to Determine Input Error 7 20 Continued from the previous page ...
Page 310: ...MEMO ...