Yaskawa MP940 Reference Manual User Manual

Page 25

Advertising
background image

MotionSuite™ MP940 Machine Controller Reference Manual

Specifications and Functions

2-15

Ladder Command List

Type

Name

Symbol

Content

Pr

og

ra

m Co

ntr

ol

Com

man

ds

Sub-program
Reference

SEE

After “SEE”, designate the sub-program, or sub-sub-program
number to be referenced.
SEE H01

Motion Drawing
Reference

MSEE

After “MSEE”, designate the motion program number or status
work address to be referenced.
MSEE MPM001 DA00000

FOR expression

FOR
:
:
FEND

Repeat Execution Expression 1
FOR V = a to b by c
V : Either integer register I or J may be designated as desired.
a, b, c :Any desired integer value can be designated (b>a>0,
c>0)
FEND:END of FOR command

WHILE
expression

WHILE
:
ON/OFF
:
WEND

Repeat Execution Expression 2
WEND:END of WHILE-ON/OFF command

IF expression

IFON/
IFOFF
:
ELSE
:
IEND

Execution expression with conditions
IEND:END of IFON/IFOFF command

Drawing END

DEND

END of drawing (DWG)

Comments

“nnnnnnn” Characters surrounded by quotation marks (“ “) are treated as

comments.

Function I/F

FSTART

Function Reference Command

FIN

Function Input Command
Saves input data from a designated input register to the function
input register.

FOUT

Function Output Command
Saves output data from a designated output register to the func-
tion output register.

XCALL

Extended Program Reference Command

Direct I/O

Commands

Input Commands INS

INS MA00100 ————— ———|
Executes data input and storage by interrupt prohibit.

Output Com-
mands

OUTS

OUTS MA00100 —————

———

|

Executes data setting and output by interrupt prohibit.

Advertising