Global and local variables -4 – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual

Page 176

Advertising
background image

MotionSuite™ Series Machine Controller Programming Manual

Chapter 5: Variables (Registers)

5-4

5.1.2

Global and Local Variables

!

!

!

! Global Variables

The global variables can be used in ladder programs, user functions, and motion programs.
In other words, a result calculated in a ladder program can be used for user function or a
motion program. The size of each global variable is secured in the system.

Register Designation and Data Type

[MW00100]

[ML00100]
[MF00100]

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

[MW00101]

[MW00102]

[MW00103]

[ML00102]
[MF00102]

[MB001006]

[MB00103A]

Ladder

Program

User

Functions

Motion

Program

Global Variables

S

Register

1024 Words

M

Register

32768 Words

I

Register

896 Words +

Monitoring

Parameters

O

Register

896 Words +

Setting

Parameters

C

Register

4096 Words

Figure 5.1: Global Variables

Advertising