Technical data

Contents
4 VIPA GmbH CP486 00/14
6.3.3.10 Open File 131
6.3.3.11 Commit File 131
6.3.3.12 Close File 132
6.3.3.13 Delete File 132
6.3.3.14 Rename File 133
6.3.3.15 Set File Pointer 134
6.3.3.16 Get File Pointer 134
6.3.3.17 Read File or Device 135
6.3.3.18 Write File or Device 136
6.3.3.19 Get Date 137
6.3.3.20 Get Time 137
6.3.3.21 Program Execute 138
6.3.3.22 Get MS-DOS Version 139
6.3.3.23 Get Detailed Error Information 140
6.3.3.24 General Interrupt 143
6.3.4 Demo Program: Get Time of CP486 from PLC 144
6.4 CP486 Jobs for PLC (Functions for Bank 2, 3 and 7) 145
6.4.1 Overview 145
6.4.2 Driver Functions via Software Interrupt 146
6.4.2.1 CP Status Call 146
6.4.2.2 Read a Single Element from the PC 147
6.4.2.3 Read a Block from the PC 148
6.4.2.4 Write a Variable to the PC 149
6.4.2.5 Write a Block to the PC 150
6.4.2.6 Read Job Status 151
6.4.2.7 Abort All Jobs of a Bank 153
6.4.2.8 Read Status of Process Image 154
6.4.2.9 Read Area of Process Image 155
6.4.2.10 Error Numbers of CP for Banks 2, 3 and 7 156
6.4.3 Interface for Turbo-Pascal (from Version 4.0) 157
6.4.3.1 Function CP Status Call 157
6.4.3.2 Read a Single Element from the PC 158
6.4.3.3 Read a Block from the PC 159
6.4.3.4 Write a Single Element to the PC 160
6.4.3.5 Write a Block into the PC 161
6.4.3.6 Read Job Status 162
6.4.3.7 Abort All Jobs of a Bank 163
6.4.3.8 Read Status of Process Image 164
6.4.3.9 Read Area of Process Image 164
6.4.3.10 Constants 165