ASM 421 Technical Description
6GT2 097-3AH00-0DA2
– 27 –
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.4
WRITE/UPDATE
Telegram to the file handler:
’W’
CC CI ADB DBN DBL
xx 00 0000
ADB
DBL File name
Start addr.
Length
Data
0
1
2/3
4
5
6/7
8/9
10
11/18
19/21
22/24
25..254
File name; 8 ASCII characters (20H-7EH)
The file must already be entered in the directory.
Offset address within the file:
000000
→
Normal write command for the complete file.
xxxxxx
→
Only part of the existing file is to be overwritten. The start
address must remain within the bounds of the existing
file.
FFFFFF
→
The automatic append function is activated by the start
address –1. New data will be appended to the existing
file.
User data in any format
Total length of data to be written (no. of bytes in hex
format)
’I’
0001
Length of the data following in the telegram
Number of command segments for the write command. The
user must calculate ADB correctly.
’U’
’W’
→
WRITE: All or only part of a file can be written with the write
command. If only part of the file is written, old file data will
remain at the beginning or end of the file.
’U’
→
UPDATE: The UPDATE command always writes a complete file.
The start address must always be given a value of 000000. If the
new file data is shorter than the old data, the new file has the
length of the new data. The memory already reserved for this
file nevertheless remains.
Acknowledgement:
’W’
CC Status ADB DBN DBL
00 xx 0000
ADB
0
1
2/3
4
5
6/7
8/9
10
00
0001 00
’U’