![Siemens MOBY I ASM 421 Technical Description Download Page 22](http://html.mh-extra.com/html/siemens/moby-i-asm-421/moby-i-asm-421_technical-description_377253022.webp)
ASM 421 Technical Description
6GT2 097-3AH00-0DA2
– 20 –
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.2
Telegram format
The user communicates with the file handler via telegrams. Telegrams from the user are checked, inter-
preted and processed by the file handler. The user then receives an acknowledgement telegram contain-
ing user data and status information.
The following schematic shows the general telegram format:
Telegram heading (always present)
res.
ABS
res.
EMPF
res.
LFN
CC
CI
Command
ADB
DBN
DBL
User data
0
1
2/3
4/5
6/7
8/9
10
reserved for sender identifier*
(MOBY I: code ’F’ is reserved for STG )
reserved for receiver recognition*
(presently always 00)
reserved for sequence number
(The file handler transmits the parameter LFN from the command in the
acknowledgement. It is not evaluated by the file handler)
Command code:
’I’
:
FORMAT
(Format)
’B’
:
CREATE
(Open file)
’Q’ :
QUEUE-WRITE
(Set up complete data carrier)
’W’ :
WRITE
’U’
:
UPDATE
(Write complete file)
’R’
:
READ
’D’
:
DELETE
’Y’
:
ATTRIB
(Set access rights for a file)
’C’
:
COVER
(Protect MDS structure)
’G’ :
DIR
(Read file directory)
’N’
:
NEXT
(Process next MDS)
’X’
:
RESET
(Reset file handler)
’F’
:
MDS-STATUS
(Request MDS status)
’S’
:
ASM-STATUS
(ASM status request)
’L’
:
LOAD
(Transmit directory to ASM)
’M’ :
MOVE
(Read MDS directory out from ASM)
’T’
:
TRACE
(absolute read)
’H’
:
Start-up message from ASM
’Z’
:
Special telegram (ANW message)
Command index
’I’
:
MOBY I command from ASM
xx
:
MOBY I status byte: acknowledgement from ASM
The user data depends on the command (see 3.4)
Length of user data following (dual)
Current data block number (dual)
Total number of data blocks to be transmitted (dual)
7
6
5
4
3
2
1
0
reserved
(always 00)
1 = Command terminated with error; the user
data contains error information.
1 = Only with ECC: data from the MDS has been
corrected and is OK.
1 = The RAM battery is poor or exhausted (always set for
EEPROM MDS).
1 = Aux. battery is poor or exhausted (only valid for
MDS 507; otherwise always 1).
1 = WARNING: MDS was outside the transmission window during
command processing.
1 = WARNING: File read had length = 0.
1 = An MDS with a new directory has entered: the bit is set when the file handler
has carried out a read operation on the complete MDS directory. In some
applications, the new directory can be backed up by the MOVE command.
The result of the last command will be delayed by the directory operation.
* The file handler interchanges sender and receiver identifiers.