EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK ONE MCP 2400.4c

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
1734 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 #804 background imageLoading...
Page #804 background image
1.9.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 List Manual
NC Variables and Interface Signals.
Example:
<LET name = "tempStatus"></LET>
<OP> tempStatus ="nck/channel/state/chanstatus" </OP>
1.9.3 Channel-specific addressing
If no channel number is defined in the address token, access is always to Channel 1 of the
operating software.
If it is necessary to read data from a specific channel, the identifier u (Unit) with the desired
channel number is added to the address.
Example:
nck/Channel/MachineAxis/actFeedRate[3]
nck/Channel/MachineAxis/actFeedRate[u1, 3]
1.9.4 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="DB9000.DBW%d"> 2000</PRINT>
<OP> "$$$var_adr" = 1 </OP>
Generating user dialogs
1.9 Addressing components
Easy XML
86 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals