49
49
E
Read the file directory from the Handy Programmer. Two files are stored in the Handy Pro-
grammer.
The host sends
'D D' BCC (44 Hex)
The Handy Programmer
acknowledges with
<ACK> '0'
The host sends
<STX>
The Handy Programmer sends
'0002MUSTER1_00270005 MUSTER2_00350012 EOT'
BCC (04 Hex)
Data within angle brackets are control characters.
Values inside apostrophes represent the respective character(s) in ASCII code.
1) The Quit command is not permitted at this point.
2) <ACK> '0' is returned as acknowledgement if there is no error, or <NAK> + 'Error No.' if an error occurs.
This command is used to read the file directory stored in the Handy Programmer.
Task
Data Flow
Command End
Acknowledge 2)
Start transmission
Data
End
Read
directory
from Handy
Programmer
from host
system to BIS
'D'
BCC
<STX>
from BIS to
host system
<ACK>'0' or
<NAK> + Error-No.
D1 D2 D3 ... Dn BCC
1)
1)
Telegram example:
Read file directory
from Handy
Programmer
with BCC block check
Working with files over the serial interface
Telegram Structure and Examples
Read file directory
from Handy
Programmer to PC /
Laptop
*) A space _, used for filling out the file name must also be accounted for in the BCC.
C-810-0-003-0_826044_E_0510.p65
50
50
E
Delete file MUSTER1 from the directory in the Handy Programmer.
The host sends
'E MUSTER1_ \' BCC (5C Hex)
File name (filled out to 8 bytes) *)
The Handy Programmer acknowledges with
<ACK> '0'
Data within angle brackets are control characters.
Values inside apostrophes represent the respective character(s) in ASCII code.
1) The Quit command is not permitted at this point.
2) <ACK> '0' is returned as acknowledgement if there is no error, or <NAK> + 'Error No.' if an error occurs.
3) If the file name is shorter than 8 characters, it must be filled out to 8 characters using spaces (20Hex).
This command is used to delete a file stored in the Handy Programmer.
Task
Data Flow
Command Dateiname 3)
End
Acknowledge 2)
Delete a file in
the Handy
Programmer
from host system to BIS
'E'
'D7 ... D0'
'MUSTER_ _'
BCC
from BIS to host system
<ACK>'0' or
<NAK> + Error-No.
1)
Telegram example:
Delete file in Handy
Programmer
with BCC block check
Working with files over the serial interface
Telegram Structure and Examples
Delete a file in the
Handy Programmer
*) A space _, used for filling out the file name must also be accounted for in the BCC.