4 register designation – Yaskawa MP2300S Basic Module User Manual

Page 173

Advertising
background image

5.3 Registers

5.3.4 Register Designation

5-40

5.3.4 Register Designation

Registers can be specified directly by register number or by symbol (register name). A combination of both of these
register designation methods can be used in ladder programs.
When using the symbol specification method, the relationship between symbols and register numbers must be defined.
The following table shows the register specification methods.

Designation

Method

Designation Example for Each Data Type

Register
Number
Direct
Designation

Bit register:

MB00100AX

Integer register:

MW00100X

Double-length integer register:

ML00100X

Real number register:

MF00100X

Address register:

MA00100X

X: When specifying subscripts, subscript i or j is added after the register number.

Symbol
Designation

Bit register:

RESET1-A.X

Integer register:

STIME-H.X

Double-length integer registers:

POS-REF.X

Real number registers:

IN-DEF.X

Address registers:

PID-DATA.X

8 alphanumeric characters max.

X: When specifying subscripts, a period (.) is added after the symbol (8 alphanu-
meric characters max.) and then a subscript i or j is added.

T

V

Di

rect Designation

Register Number

Register No.: No.

Bi

t No.

Subsc

ript

Subsc

ript i or j can be specified

When T = B (bit register) (hexadecimal: 0

to F)

Register number allocated for V

(

decimal/hexadecimal)

Register type

(D

WG: S, M, I, O, C, #, or D)

(Fu

nction: S, M, I, O, C, #, D, X, Y, Z, or A)

D

ata type allocated by V (B, W, L, F, or A)

X X X X X X X X

Symbol:

Symbol name .

Subscript

Subscript i or j can be specified

Required if using subscripts

Alphanumeric characters or symbols

English characters or symbols
(Symbol names cannot start with numerals.)

Name for registers: 8 characters max.

Symbol
Designation

Advertising