Siemens SINUMERIK 840D sl Function Manual page 496

Special functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

TE1: Clearance control
11.7 Function-specific display data
OPI variable
Proceed as follows to define the OPI variables.
1. Create the CLC-specific definition file: CLC.NSK
Note:
We recommend that you create the file in the \OEM directory rather than in the \MMC2
directory so that it is not overwritten when a new software version is installed.
2. Define the CLC-specific OPI variables.
Add the following line to the CLC.NSK file:
LINK("CLC" ,200,"2 1 1 1 1F# /NC 5 0 1",100)
3. Create/expand the user-specific definition file: USER.NSK
See 1.: Note
4. In file USER.NSK, supplement the call of the CLC-specific definition file: CLC.NSK. To do
this, insert the following line:
CALL(CLC.NSK)
Using LinkItem
In order to use the OPI variables in a DDE control, the "LinkItem" property of the DDE control
must be set in accordance with the following example:
label1.LinkItem = "CLC[u1,1,9](" "!d%15.4lf" ")"
The format string can be modified if necessary.
The following code lines provide an example of how the variables supplied by means of
NCDDE access can be distributed on a field of labels:
For i = 0 To 8
label2.Caption[ i ] = Trim$(Mid$(label1.Caption, 1 + 15 * i, 15) )
Next
496
Function Manual, 09/2011, 6FC5397-2BP40-2BA0
Special Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents