Technical data
Linkage with PLC
CP 486 ⋅ 00/14 VIPA GmbH 135
6.3.3.17 Read File or Device
Parameterization of FB5: F-Nr 63 ($3F hex)
DOSP handle of the file
Parameterization of FB6: ZT/N no. of DB for data to be read
ZANF target position in DB
ZLAE number of data words to be read (2)
Content of DB: DW1 A-NR F-Nr
DW2 number of words being read
DW3 data word 1
DW4 data word 2
...
The number of words to be read from the file is not allowed to be higher than 504, otherwise the
function is aborted with errors.
An exchange of bytes in a data word or doubleword is not provided in this function. All data are
transferred unchanged from the CP486 to the PC. In most of the cases it is delt with ASCII-files
where an exchange is proved anyway to be not necessary. If required, the exchange must be done on
the AT or PLC side, depending on the demands.