Technical data
Linkage with PLC
CP 486 ⋅ 00/14 VIPA GmbH 125
6.3.3.3 Get Disk
The function outputs the number of the current (default) disk drive. The corresponding disk
drive character "A", "C", ... is filed to byte 6.
Parameterization of FB5: F-Nr 25 ($19 hex)
Parameterization of FB6: ZT/N no. of DB for disk drive data
ZANF position of data word in DB
ZLAE length of drive data in the DB in words (1)
Content of DB: DW1 A-NR F-Nr
DW2 number of words being read
DW3 drive character drive number
Parameter
Disk drive no.: 0 A:
1B:
.. ..
Attention:
For this function drive number 0 corresponds to drive A:, composite to other functions like "get
current directory".