5 c variables (c registers), 6 d variables (d registers) – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 185

Advertising
background image

5.2 Using Variables

5 -15

5.2.5 C Variables (C Registers)

J

Overview

With C registers, the data created in the constant table can be referenced only by programs.
Writing is not possible.

J

Description

C registers are designated as follows:

CW00000 to CW4095

C registers cannot be written from programs.

J

Programming Examples

Using Variables in Operations

D

Bit Designation

MB001000 = CB001001;

D

Integer Designation

MWC00100 = CW00100;

D

Double Integer Designation

MLC00100 = CL00100;

D

Real Number Designation

MF00100 = CF00100;

5.2.6 D Variables (D Registers)

J

Overview

D variables can be used only by the relevant program using specific internal registers for each
motion program.

J

Description

D registers are designated as follows:

DW00000 to DW16383 (maximum)

The D register can be used as a variable for each type of operation and substituted for the opera-
tion result, or specified as the variable for the positioning coordinate value or the speed. The
variable number is expressed as a decimal.

The size is specified in the program configuration definition (Properties). (Default: 32 words)

5

Advertising
This manual is related to the following products: