beautypg.com

2 global variables and local variables, Register designation and data type, Jglobal variables – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 174

background image

Variables (Registers)

5.1.2 Global Variables and Local Variables

5 -4

Register Designation and Data Type

[MW00100]

[MW00101]

[MW00102]

[MW00103]

[MB00103A]

[MB001006]

[MF00100]

[ML00100]

[MF00102]

[ML00102]

F E D C B A 9 8 7 6 5 4 3 2 1 0

5.1.2 Global Variables and Local Variables

J

Global Variables

Global variables can be used in common by ladder logic programs, user functions, and the
drawings in motion programs. In other words, the calculated results for a given ladder logic
program can be used by other user functions and motion programs. The global variable size
is stored by the system for each variable. (See the following illustration.)

Ladder

logic

programs

User

functions

Motion

programs

Global variables

SV registers

1,024 words

Monitor

parameters

Setting

parameters

M registers

32,768 words

I registers

2048 words

+

O registers

2048 words

+

C registers

4,096 words

Figure 5.1

Global Variables (MP930)

5

This manual is related to the following products: