Data types, Jprogramming examples – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 154

Advertising
background image

4.5 Data Operations

4 -21

Data Types

Bit (B)

Integer (W)

Double

Integer (L)

Real

Number (F)

Constant

Source
Leading
Register

No

Yes

No

No

No

Destination
Leading
Register

No

Yes

No

No

No

Number of
Blocks to be
Moved

No

Yes

No

No

Yes

J

Programming Examples

Type

Motion Program

Ladder Logic Program

B

W

BLK MW00100 DW00100 W10;

COPYW MW00100⇒DW00100 W=10

L

F

Example: MW00100 to MW00109 are moved to MW00200 to MW00209.

BLK MW00100 MW00200 W10;

S
S
S
S
S
S
S
S
S
S
S
S
S

1234H
1235H
1236H

123DH

123CH

S
S
S
S
S
S
S
S
S
S
S
S
S

MW00100
MW00101
MW00102

MW00109

MW00108

S
S
S
S
S
S
S
S
S
S
S
S
S

1234H
1235H
1236H

123DH

123CH

S
S
S
S
S
S
S
S
S
S
S
S
S

MW00200
MW00201
MW00202

MW00209

MW00208

Source

Destination

Even if the source and destination overlap, the source data block will be moved to the destination without alter-
ation.

4

A

EXAMPLE

"

INFO

Advertising
This manual is related to the following products: