beautypg.com

A.2.1 ladder instruction list – Yaskawa MP920 User's Manual Design User Manual

Page 528

background image

A.2 Motion Commands, Ladder Instructions, and Standard System Functions

A-13

A

A.2

Motion Commands, Ladder Instructions, and Standard

System Functions

The motion commands, ladder instructions, are explained and standard system functions

A.2.1

Ladder Instruction List

The following table shows a list of the ladder instructions and standard system functions.

Type

Name

Symbol

Description

Program
Control
Instructions

CHILD DRAWING
CALL

SEE

Designate the child drawing number or the grandchild draw-
ing number to be called after SEE.
SEE H01

MOTION
PROGRAM CALL

MSEE

Designate the motion program number and the MSEE work
register address to be called after MSEE.
MSEE MPM001 DA00000

FOR Structure

FOR
:
:
FEND

Repeats execution statement 1
FOR V = a to b by c
V: Can designate any integer register I or J.
a, b, c: Can designate an any integer value
(b > a > 0, c > 0).
FEND: End of FOR instruction.

WHILE Structure

WHILE
:
ON/OFF
:
WEND

Repeats execution statement 2
WEND: End of WHILE-ON/OFF instruction

IF Structure

IFON/IFOFF
:
ELSE
:
IEND

Conditional execution statement
IEND: End of IFON/IFOFF instruction

DRAWING END

DEND

End of drawing (DWG)

COMMENT

“nnnnnnn”

A character string enclosed in quotation marks is treated as a
comment.

FUNCTION
Interface

FSTART

Calls a function.

FIN

Function input instruction
Stores input data from the designated input register in the
function input register.

FOUT

Function output instruction
Stores output data from the function output register in the
designated output register.

XCALL

Calls an extension program.

Direct I/O
Instructions

INPUT STRAIGHT INS

Executes the input and storage of data with interrupts dis-
abled.

OUTPUT
STRAIGHT

OUTS

Executes the setting and output of data with interrupts dis-
abled.

INS MA00100

OUTS MA00100