3 advanced programming, Advanced programming – Yaskawa MP900 Series Motion Programming Manual User Manual
Page 91

3 -1
3
Advanced Programming
This chapter describes the high-level control commands, and speed and ac-
celeration/deceleration commands, used for motion control, and describes
the programming methods used.
3.1 High-Level Control Commands
3
-2
. . . . . . . . . .
3.1.1 SECOND IN-POSITION CHECK (PFN)
3
-2
. . . . . . . . .
3.1.2 SET SECOND IN-POSITION RANGE (INP)
3
-4
. . . . .
3.1.3 IGNORE SINGLE-BLOCK SIGNAL (SNG),
SINGLE-BLOCK SIGNAL DISABLED/ENABLED
(SNGD/SNGE)
3
-6
. . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.4 USER FUNCTION CALL (UFC)
3
-8
. . . . . . . . . . . . . . .
3.1.5 I/O VARIABLE WAIT (IOW)
3
-16
. . . . . . . . . . . . . . . . . . .
3.1.6 SUBROUTINE CALL (MSEE)
3
-17
. . . . . . . . . . . . . . . . .
3.1.7 SUBROUTINE RETURN (RET)
3
-18
. . . . . . . . . . . . . . . .
3.1.8 ONE SCAN WAIT (EOX)
3
-19
. . . . . . . . . . . . . . . . . . . . .
3.1.9 Branching Commands: IF...ELSE...IEND
3
-20
. . . . . . . .
3.1.10 Repeat Commands: WHILE...WEND
3
-21
. . . . . . . . . .
3.1.11 Parallel Execution Commands
(PFORK, JOINTO, PJOINT)
3
-23
. . . . . . . . . . . . . . . . .
3.1.12 Selective Execution Commands
(SFORK, JOINTO, SJOINT)
3
-27
. . . . . . . . . . . . . . . . .
3.2 Speed and Acceleration/Deceleration
Commands
3
-29
. . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.1 ACCELERATION TIME CHANGE (ACC)
3
-29
. . . . . . . .
3.2.2 DECELERATION TIME CHANGE (DCC)
3
-31
. . . . . . .
3.2.3 S-CURVE TIME CONSTANT CHANGE (SCC)
3
-32
. . .
3.2.4 SET SPEED (VEL)
3
-34
. . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.5 INTERPOLATION FEED SPEED RATIO SETTING
(IFP)
3
-36
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.6 MAXIMUM INTERPOLATION FEED SPEED
(FMX)
3
-37
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.7 INTERPOLATION ACCELERATION TIME CHANGE
(IAC)
3
-39
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.8 INTERPOLATION DECELERATION TIME CHANGE
(IDC)
3
-41
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3