Instruction manual
9. REAL & VIRTUAL MODE SWITCHING AND STOP/RESTART
9 − 6
9.3 Precautions When Switching between REAL and VIRTUAL Modes
The precautions when switching between the REAL and VIRTUAL modes are
described below.
(1) The SVST and CHGA/CHGV instructions are inoperative during
REAL/VIRTUAL mode switching processing (indicated by asterisks * in the
timing chart below). If one of these instructions is attempted at such a time, an
error will occur at the START point.
In order to execute the SVST and CHGA/CHGV instructions, M2043 and
M2044 should be used as an interlock function.
[Timing Chart]
REAL to VIRTUAL mode switching request
M2043
M2044
* REAL to VIRTUAL
mode switching
processing
VIRTUAL to REAL mode switching request
* VIRTUAL to REAL
mode switching
processing
REAL mode VIRTUAL mode REAL mode
[Program Example]
(a) Servo program START request at REAL mode
SVST J1 K0
START command
M2001 M2043 M2044
(b) Servo program START request at VIRTUAL mode
SVST J1 K2000
START command
M2001 M2043 M2044
REMARKS
1) For details regarding the SVST and CHGA/CHGV instructions, refer to the
Motion Controller (SV13/22 REAL Mode) Programming Manual (type A273UH
/A173UH) IB-0300028.
2) The M2043 and M2044 names are as follows.
• M2043........ REAL/VIRTUAL mode switching request flag
• M2044........ REAL/VIRTUAL mode status flag
(See Section 4.1)