EasyManuals Logo

Siemens SINUMERIK 808D Function Manual

Siemens SINUMERIK 808D
331 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #278 background imageLoading...
Page #278 background image
Function Manual
278 01/2017
23.10.8.2
Addressing NC variables
Addressing the NC variables starts with the path section
nck
.
This section is followed by the data address; its structure should be taken from the SINUMERIK 808D/SINUMERIK 808D
ADVANCED Parameter Manual.
Example:
<LET name = "tempStatus"></LET>
<OP> tempStatus ="nck/channel/state/chanstatus" </OP>
23.10.8.3
Generating NC/PLC addresses during the runtime
It is possible to generate an address identifier during runtime.
In this case, the content of a string variable is used as address in an operation statement as well as in the nc.cap.read and
nc.cap.write functions.
Observe the following for this type of addressing mode:
Write the variable names in quotation marks.
Use three ‚$’ characters as prefix for variable names.
Syntax:
"$$$variable name"
Example:
<PRINT name="var_adr" text="plc/DB9000.DBW%d"> 2000</PRINT>
<OP> "$$$var_adr" = 1 </OP>
23.10.8.4
Addressing drive components
Addressing the drive components starts with the path section
drive
.
Then the drive device is specified:
CU
- Control Unit
DC -
Drive Control
The parameter to be set is added to this section.
Drive component addresses are defined as follows:
do1: drive with address 11
do2: drive with address 12
do3: drive with address 13
do4: drive with address 14
do5: drive with address 15
Example:
<LET name="r0002_content"></LET>
<LET name="p1460_content"></LET>
<!— Reading of value r0002 on the CU of drive with address 11 ->
<op> r0002_content = "drive/cu/r2[do1]" </op>
<!— Reading of value r0002 on the CU of drive with address 15 ->
<op> r0002_content = "drive/cu/r0002[do5]" </op>
<!— Reading of value p1460 on dc of drive with address 12 ->
<op> p1460_content = "drive/dc/p1460[do2]" </op>

Table of Contents

Other manuals for Siemens SINUMERIK 808D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 808D and is the answer not in the manual?

Siemens SINUMERIK 808D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D
CategoryControl Unit
LanguageEnglish

Related product manuals