6 registers, 1 register designation methods – Yaskawa MP930 User Manual

Page 87

Advertising
background image

Basic System Operation

3.6.1 Register Designation Methods

3 -28

3.6 Registers

This section explains the types of register used by MP930 user programs and how these registers
are used.

3.6.1 Register Designation Methods

Registers can be designated by direct designation of the register number or by symbolic desig-
nation. These two types of register designation can be used together in the same user program.
When symbolic designation is used, the correspondence between the symbols and the register
numbers is defined in the symbol table that is described later.

Table 3.12 shows the register designation methods.

Table 3.12 Register Designation Methods

Designation Type

Description

Direct Register
Number
Designation

Bit registers:

MB00100Ax

Integer registers:

MW00100x

Double integer registers:

ML00100x

Real # registers:

MF00100x

Address registers:

MA00100x

x: For subscripts, add the subscript i or j after the register number.

Symbol Designation Bit registers:

RESET-A.x

Integer registers:

STIME-H.x

Double integer registers:

POS-REF.x

Real # registers:

IN-DEF.x

Address registers:

PID-DATA.x

Address registers are designated using up to 8 alphanumeric characters.

x: For subscripts, add a period (.) and then the subscript i or j after the sym-
bol.

J

Direct Register Number Designation

Register number: V T

No.

[Bit No.]

[Subscript]

Can designate the subscript i or j.

When T = B (bit) (hexadecimal, 0 to F)

Register No. for V (decimal or hexadecimal)

Data type of V (T: B | W | L | F | A)

Type of register

Drawing: (V: S | M | I | O | C | # | D)

Function: (V: S | M | I | O | C | # | D | X | Y | Z | A)

3

Advertising