beautypg.com

Ed (edit mode), General – Yaskawa SMC–4000 User Manual

Page 107

background image

97

SMC–4000 User Manual

ED (Edit Mode)

[General]

DESCRIPTION:

The ED command puts the controller into the Edit subsystem. In the Edit subsystem, programs can be
created, changed or destroyed. The commands in the Edit subsystem are:

D

Deletes a line

I

Inserts a line before the current one

P

Displays the previous line

Q

Exits the Edit subsystem

Saves a line

Because the download time for a complete program is usually very short, Yaskawa recommends all editing
be performed by Yaskawa’s YTerm software. This command is primarily documented for it’s usefulness
when a command error occurs. _ED indicates the line that had the error.

ARGUMENTS: ED n

where

n specifies the line number to begin editing. The default line number is the last line of program space with
commands.

USAGE:

OPERAND USAGE:

_ED contains the line number of the last line to have an error. Very useful in tracing problems in the field.
_ED1 contains the thread that had an error.
_ED2 contains the instruction number that caused the error.
_ED3 contains the instruction after the line that caused the error.
XQ _ED1 _ED2, restart a thread

While Moving

No

Default Value

n/a

In a Program

No

Default Format

n/a

Command Line

Yes

Can be Interrogated

No

Used as an Operand

Yes