![Siemens MOBY I ASM 421 Technical Description Download Page 25](http://html.mh-extra.com/html/siemens/moby-i-asm-421/moby-i-asm-421_technical-description_377253025.webp)
ASM 421 Technical Description
6GT2 097-3AH00-0DA2
– 23 –
RD: 03/02
6GT2 002-0DA00
ASM 421 / V.24
Subject to change without notice!
6GT2 002-0DB00
ASM 421 / RS422
6GT2 002-0DC00
ASM 421 / TTY
J31069-D0142-U001-A0-7618
3.4.1
FORMAT
The FORMAT command erases the complete MDS. The directory, file allocation table (FAT) and system
area on the MDS will be re-created. Some counter contents in the system area will be retained. The cur-
rent counter contents can be interrogated by the MDS STATUS command.
Telegram to the file handler:
’I’
CC CI ADB DBN DBL
xx 00 0000
0001
0CH
Volume
MDS type
OPTIONS
INIT mode
INIT value
0
1
2/3
4
5
6/7
8/9
10
11/18
19
20
21
22
01H
=
62 bytes without ECC
81H
=
42 bytes
with
ECC
02H
=
62 bytes
without ECC
03H
=
128 bytes
without ECC
83H
=
112 bytes
with
ECC
04H
=
2045 bytes
without ECC
84H
=
1778 bytes
with
ECC
05H
=
8189 bytes
without ECC
85H
=
7154 bytes
with
ECC
06H
=
32765 bytes
without ECC
86H
=
28658 bytes
with
ECC
MDS name; 8 ASCII characters (20H-7EH)
0 =
Always read DIR and FAT completely
when this MDS enters the field.
The complete MDS will be erased
and written with this data if the
parameter ‘INIT mode’ has the value
‘L’.
’K’ =
Not initialized; only DIR and FAT will be
re-created on the MDS. The old user data
remains physically in memory.
‘L’ =
Initialized; the whole MDS will be written
with the data in ‘INIT value’.
’I’
0001
See table
in Chapter 1
0
0
0
0
7
6
5
4
3
2
1
0
Bit
1 =
Check sum mechanism enabled; DIR
and FAT are only read if the checksum
in the interface module does not
correspond with the checksum in the
MDS.
0 =
Complete old directory will be erased
(normal)
1 =
The old directory in the MDS will be
re-created in the MDS. The existing user
data lengths of the files remain unchanged.
The user data area will be over-written by
the specified data.
The directory to be formatted can also be
loaded into the ASM immediately before
the start of the format command by use of
the ’L’ command (this option is only
meaningful if the INIT mode parameter
(byte 21) is set to ’L’).
0 =
Complete MDS will be erased
1 =
DIR + FAT are erased; the user data is
preserved
0 =
Normal
1 =
The counters for write cycles or ECC offsets are
always retained. The counters are also retained even
when the system area is faulty (e.g., ECC error).
Acknowledgement:
’I’
CC Status ADB DBN DBL
00 xx 0000
0001
0
1
2/3
4
5
6/7
8/9
10
00
0001 00
Important: A new MDS must be formatted before being used in the system.