![Siemens MOBY I ASM 421 Скачать руководство пользователя страница 42](http://html.mh-extra.com/html/siemens/moby-i-asm-421/moby-i-asm-421_technical-description_377253042.webp)
ASM 421 Technical Description
6GT2 097-3AH00-0DA2
– 40 –
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.13
ATTRIB
The ATTRIB command enables access rights to be assigned to individual files. Together with the access
rights that can be set for each ASM with the DIL switches, each user can individually set the desired ac-
cess rights. The access rights from the DIL switch and ATTRIB command should be ‘ORed’ together, i.e.
both access rights must be correct in order to carry out the command.
Telegram to the file handler:
’Y’
CC CI
ADB
DBN DBL
xx
00
0000
0001
0
1
2/3
4
5
6/7
8/9
10
0001
09
’I’
F.name
11/18
19
Attribute
Assigning or changing access rights for this file
00H: no attribute for the data entered or delete existing attribute
01H: attribute “read only”
The file can only be read (no DELETE or WRITE or
UPDATE permissible).
02H: attribute “write once”
The file can be written once and then only read
(DELETE or WRITE or UPDATE not permitted).
04H: attribute “fixed length”
The length of the file cannot be changed by write
commands such as UPDATE, WRITE or APPEND
(i.e., the checksum in the system area is not changed
by a write access to this file.
05H: Same as 01H
When other access rights are specified in the ATTRIB
command, this is rejected with error message D005.
File name; 8 ASCII characters (20H-7EH)
Acknowledgement:
’Y’
CC Status ADB
DBN DBL
00
xx
0000
0001
0
1
2/3
4
5
6/7
8/9
10
0001
00
00
Example:
DIL Switch:
DELETE
(all commands allowed)
Attribute of file “EXAMPLE”:
02H
(write once)
The file “EXAMPLE” can be read and can be written once. Deletion of the file is not possible. However, the
MDS can be completely erased with the FORMAT command.