17 COMMUNICATING USING 1C FRAMES
17.5 Read and Write Extended File Register
373
17
Device number (address) specification using AnA/AnUCPU common commands
By using AnA/AnU common command function, the extended file register of block number 1 to 256 can be accessed
regardless of each block number by specifying the address from device number '0' of the block number '1' as a device
number. (Access with the consecutive device number of extended file register using usable number of blocks 8192 points.)
■Device number calculation method
The calculation formula of the head device number to be specified by AnA/AnUCPU common commands is as follow:
(When specifying the device number 'm' (0 to 8191) of n block (more than 1) from the head of the block.)
Head device number = (n - 1) 8192 + m
■Range of device number that can be specified
The range of device number that can be specified are as follows.
0 to (number of available blocks 8192) - 1
A device number is not assigned to a block number which does not exist in the memory cassette. As shown below, the device
numbers are automatically assigned by skipping block numbers that do not exist in the memory cassette.
The following table shows the range of device numbers to be specified when using AnA/AnUCPU common commands for 28
blocks per each block.
Device number Position of target block Device number Position of target block
0 to 8191 First block R0 to R8191 114688 to 122879 15th block R0 to R8191
8192 to 16383 2nd block R0 to R8191 122880 to 131071 16th block R0 to R8191
16384 to 24575 3rd block R0 to R8191 131072 to 139263 17th block R0 to R8191
24576 to 32767 4th block R0 to R8191 139264 to 147455 18th block R0 to R8191
32768 to 40959 5th block R0 to R8191 147456 to 155647 19th block R0 to R8191
40960 to 49151 6th block R0 to R8191 155648 to 163839 20th block R0 to R8191
49152 to 57343 7th block R0 to R8191 163840 to 172031 21st block R0 to R8191
57344 to 65535 8th block R0 to R8191 172032 to 180223 22nd block R0 to R8191
65536 to 73727 9th block R0 to R8191 180224 to 188415 23rd block R0 to R8191
73728 to 81919 10th block R0 to R8191 188416 to 196607 24th block R0 to R8191
81920 to 90111 11th block R0 to R8191 196608 to 204799 25th block R0 to R8191
90112 to 98303 12th block R0 to R8191 204800 to 212991 26th block R0 to R8191
98304 to 106495 13th block R0 to R8191 212992 to 221183 27th block R0 to R8191
106496 to 114687 14th block R0 to R8191 221184 to 229375 28th block R0 to R8191
0
8191
8192
16383
16384
24575
24576
Area of
block No.1
Area of
block No.2
Block No.3 to 9 do not exist
Area of
block No.10
Area of
block No.11
to
to
to
to
Device
number