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.

3 Variables <strong>11</strong>.033.7 Tool and magazine data3.7.<strong>11</strong> Area T, Mod. TPM: Magazine data: Multiple assignment oflocation dataOEM-MMC: Linkitem/Tool/Magazine/...The data module TPM is organized as a two-dimensional variable array.(ParameterNo = 1: Specifies the magazine number with which a relationshipexists.ParameterNo = 2: Distance (in locations) between the internal location and themagazine change position (cf. magazine number for 1st parameter) with whicha relationship will be established. It contains information about possible multipleassignments. The column index is the magazine number.For location P with location number p in magazine MP (= column index)numPlaceMulti times the multiple assignments to other magazines which arepossible are stored with the associated distances to the change positions ineach of the magazines. The offset for row index zi for a location number p iscalculated according to the following rule: zi = (p-1) * numPlaceMulti *numPlaceMultiParams + ParameterNo.Determining the distance between the load position and the change position:The value 9999 (magazine no. load position) must be specified for the variablemultiPlace in the column. The LocationNo (p) for the line is the number of theload position. The line for the first assignment is calculated with Parameter = 1.When reading the variable, the system can thus read the magazine numberlinked to the intended change position. If this magazine number is correct, it ispossible to read the number of locations between the load position and thechange position with the variable multiPlace with the next higher line number. Ifthe magazine number read was incorrect, the following magazine assignmentmust be read with the line number increased by numPlaceMulti.multiPlace$TC_MDP1[n,m]...$TC_MDP2[n,m] n=MagNo m=SlotNoP1: Distance between change position of magazine n and location m of 1st internal magazine (load magazine, 9999)($TC_MDP1)P2: Distance between change position of magazine n and location m of 2nd internal magazine (buffer magazine,9998) ($TC_MDP2)Attention: This variable is called "dummy" in the non-Windows-MMC and PLC !- UWordMulti-line: yes (LocationNo - 1) * numPlaceMulti *numPlaceMultiParams+ParameterNonumPlaceMulti * numPlaceMultiParams *magNrPlacesIn this case, numPlaceMulti andnumPlaceMultiParams are otherOPI variables from module Y.© Siemens AG, <strong>2003</strong>. All rights reserved3-546 SINUMERIK 840D/840Di/810D SIMODRIVE 6<strong>11</strong> digital <strong>Lists</strong> (LIS) – <strong>11</strong>.03 <strong>Edition</strong>

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

Saved successfully!

Ooh no, something went wrong!