6 registers, 1 register designation methods – Yaskawa MP940 User Manual
Page 81
Basic System Operation
3.6.1 Register Designation Methods
3-34
3.6 Registers
This section explains the types of register used by MP940 user programs and how these regis-
ters are used.
3.6.1 Register Designation Methods
Registers can be designated by direct designation of the register number or by symbolic des-
ignation. These two types of register designation can be used together in the same user pro-
gram. When symbolic designation is used, the correspondence between the symbols and the
register numbers is defined in the symbol table that is described later.
The following table shows the register designation methods.
Table 3.11 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 num-
ber.
Symbol Designation
Bit registers: RESET1-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 symbol.
→
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)