1) overview, 2) format, 3) programming examples – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 223: 2) format (3) programming examples

Advertising
background image

8 Command Reference

8.4.14 Single-block Signal Disabled (SNGD)/Single-block Signal Enabled (SNGE)

8-116

8.4.14 Single-block Signal Disabled (SNGD)/Single-block Signal Enabled (SNGE)

(1) Overview

The Single-block Signal Disabled command (SNGD) and the Single-block Signal Enabled command (SNGE) are
used to specify whether to disable or enable the single step operation when debugging a program.
Regardless of the single-block operation mode setting, the blocks enclosed between SNGD and SGNE com-
mands are executed continuously without single-block stops.

Single-block operation mode
In single-block operation mode, a stop is executed for each block.

(2) Format

(3) Programming Examples

The programming example of SNGD and SNGE commands is shown below.

In the above example, the blocks 1 to 3 enclosed between SNGD and SNGE commands are executed contin-
uously without single-block stops regardless of the single-block operation mode setting.

Motion Programs

Sequence Programs

Applicable

Not applicable

TERMS

SNGD;

Blocks to be continuously executed

SNGE;

MVS [A1]0 [B1]0;

MVS [A1]100 [B1]200; “ 1 ”
MB000101 = 1; “ 2 ”
MB000102 = 1; “ 3 ”

MB000103 = 1;

EXAMPLE

SNGD;

SNGE;

Advertising