Automatic number allocation to all registers – Yaskawa MP900 Series Machine Controller for Standard Operation User Manual
Page 379

Ladder Logic Programming
7.2.6 Symbol Definition Tab Page
7-12
7
register data with a data size of 1. Therefore, the register numbers will be DW00000,
MF00002, and MW00001 respectively, if the register numbers are automatically allo-
cated by setting the first D register number to 0 and the leading M register number to 1.
1 In step 1., the register type (DW, MW, etc.) is also entered in the No. of Register column. Nothing
needs to be entered in the No. of Register column if operands have been specified in symbol input
mode in the program window. In the Size column, enter a decimal value corresponding to the size of
the register type (in word units for word type, and bit units for bit type). Enter AUTO in the Range col-
umn.
2 If no data is entered in the No. of Register column, and automatic register number allocation is exe-
cuted, the result will be the same as if DW was entered. Automatic register number allocation is exe-
cuted in the order of bit, integer, double-length integer, and real number data.
Automatic Number Allocation to All Registers
The procedure to automatically allocate symbols to S, I, O, M, D, C, and # register numbers
starting from any number is outlined below.
1. Enter the symbol definition data for which register numbers are to be automatically allo-
cated. Select "AUTO" as the range.
2. Select Data (D), Auto Number (A), and then AUTO (A) from the programming menus.
3. The Automatic Symbol Assignment (AUTO) Window will be displayed. Enter the lead-
ing register number, and click the Set Button.
The register numbers will be automatically allocated and displayed.
For example, if the data size settings are two words for DATA1, one word for DATA3,
and one word for DATA4, DATA1 will take two words and the register numbers will be
MW00010, MW00012, and MW00013 respectively.
No.
Symbol Name
No. of Register
Size
Range
01
DATA1
DW00000
H0001
AUTO
▼
02
DATA2
MF00002
H0001
AUTO
▼
03
DATA3
MW00001
H0001
AUTO
▼
04
▼
No.
Symbol Name
No. of Register
Size
Range
01
DATA1
MF00010
H0002
AUTO
▼
02
DATA2
MF
H0001
AUTO
▼
03
DATA3
MW00012
H0001
AUTO
▼
04
DATA4
MW00013
H0001
AUTO
▼
05
▼
INFO