Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual

Page 28

Advertising
background image

MotionSuite™ Series Machine Controller Programming Manual

Chapter 1: Motion Programmming Outline

1-19

b. Variables

The following types of variables exist for use in motion programs. Use them
according to the application.

(Ex.) MB001001=1;

MW00100=1234;
ML00100=12345678;
MF00100=1234.5678;

Types of Variables and Tabulation Method

Type

Variable

Type

Data Type

BIT

WORD

LONG

FLOAT

Global
Variables

S Register

SB

SW

SL

SF

M Register

MB

MW

ML

MF

I Register

IB

IW

IL

IF

O Register

OB

OW

OL

OF

C Register

CB

CW

CL

CF

Local Variables

D Register

DB

DW

DL

DF

M B 1 2 3 4 5 F

Bit Position: Enabled only with bit data
Variable Address: B, W, L, F
Data Type: B, W, L, F
Variable Name: S, M, I, O, C, D

Advertising