beautypg.com

Yaskawa MP940 User Manual

Page 36

background image

2.3 Function Lists

2-13

2

2.3.4 Ladder Instructions and Standard System Functions

The following table lists the ladder instructions and standard system functions.

Table 2.6 Ladder Instructions and Standard System Functions

Type

Name

Symbol

Description

Program Control
Instructions

CHILD DRAW-
ING CALL

SEE

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

MOTION PRO-
GRAM 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 Struc-
ture

WHILE

ON/OFF

WEND

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

IF Structure

IFON/IF-
OFF

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
CALL
FUNCTION IN-
PUT
FUNCTION
OUTPUT

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 In-
structions

INPUT
STRAIGHT

INS

INS MA00100 ─────○───┤
Executes the input and storage of data with interrupts disabled.

OUTPUT
STRAIGHT

OUTS

OUTS MA00100 ─────○───┤
Executes the setting and output of data with interrupts disabled.