Yaskawa MotionSuite Series Machine Controller Software Manual User Manual

Page 283

Advertising
background image

MotionSuite™ Series Machine Controller Software Manual

Chapter 8: Ladder Programming

8-35

Program the inputs of the integer form (defined by I-VAL), 32-bit integer form
(defined by L-VAL), and real number form (defined by F-VAL) as follows:

m. Select the FOUT command.

n. Input the register number.

Program the inputs of the integer form (defined by I-REG), 32-bit integer form
(defined by L-REG), and real number form (defined by F-REG) as follows:

o. Select the FOUT command.

p. Input the register number.

5. MOVW, XCHG Command Input

Commands such as MOVW and XCHG require two or more operands. At command
input the cursor moves to the first operand input position. Command input is com-
pleted by inputting the necessary operands in sequence. The following program exam-
ple is given:

a. Select the MOVW command. The cursor moves to the first operand input posi-

tion. The MOVW command changes rows and is displayed on the far left.

1 0003

MW00010

IN-2 OUT-2

FIN

1 0003

MW00010

IN-2 OUT-2

FIN

⇒WM00011

1 0005

MW00020

IN-3 OUT-3

FIN

========>

=========>

1 0005

MW00020

IN-3 OUT-3

FIN

========>

=========> MW00021

1 0002

MOVW

MW00020

⇒WM00011

W= 00010

1 0002

MOVW

W=

Advertising