Siemens Sinumerik 840D sl Programming Manual page 711

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Syntax
DEF INT <error>
DEF STRING[<n>] <output>
...
EXTOPEN(<error>,"<ExtG>",<machining mode>,<usage mode>,<write mode>)
...
<output>="output data"
WRITE(<error>,"<ExtG>",<output>)
...
EXTCLOSE(<error>,"<ExtG>")
Significance
EXTOPEN:
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
14.10 Output to an external device/file (EXTOPEN, WRITE, EXTCLOSE)
Command to open an external device/file
<error>: Parameter 1: Variable for returning the error value
By using the error value, it can be evaluated in the
program as to whether the operation was successful
and processing is then appropriately continued.
Type:
Values: 0
INT
No error
1
External device cannot be opened
2
External device is not configured
3
External device with invalid path
configured
4
No access rights for external device
5
Usage mode: External device already
"exclusively" occupied
6
Usage mode: External device already
being "shared"
7
File length longer than
LOCAL_DRIVE_MAX_FILESIZE
8
Maximum number of external devices
has been exceeded
9
Option for LOCAL_DRIVE not set
11
V.24 interface has already been
assigned with Easy-Message function
(only 828D)
12
Write mode: Data contradicts extdev.ini
16
Invalid external path has been
programmed
22
External device not mounted
Additional functions
711

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents