12.07.2015 Views

Lists 11/2003 Edition

Lists 11/2003 Edition

Lists 11/2003 Edition

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>11</strong>.03 3 Variables3.1 Introduction3.1.3 Variable typesWithin each area the variables are generally stored in the form of structures orin arrays of structures (tables). The following information must therefore becontained in an address when accessing a variable:Area + area numberModuleVariable name (or column number)Line numberIt is generally possible to distinguish between three different variable types:1. Variables that consist of 1 line2. Variables that consist of several lines3. Variables that consist of several columns and linesSingle-line variablesEach of these variables consists of a single value. The following information isrequired when accessing a variable of this type:1. Area (and possibly area number)2. Module3. Variable namenumMachAxesNumber of existing machine axes- Word rMulti-line: noExample for reading the number of machine axes in channel 1:MMC102:/Channel/Configuration/numMachAxes[u1]MMC100/OP030:P_C_Y_numMachAxesPLC with NC-Var-Selector:Area:C[.]Module: YVariable: numMachAxesArea No. = 1© Siemens AG, <strong>2003</strong>. All rights reservedSINUMERIK 840D/840Di/810D SIMODRIVE 6<strong>11</strong> digital <strong>Lists</strong> (LIS) – <strong>11</strong>.03 <strong>Edition</strong> 3-339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!