EasyManuals Logo

Siemens SINUMERIK 808D ADVANCED Programming And Operating Manual

Siemens SINUMERIK 808D ADVANCED
270 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 #107 background imageLoading...
Page #107 background image
Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA1, 01/2014
107
Programming example
R1=$A_DBR[4]
;Reading a REAL value, offset 4 (starts at byte 4 of range)
The reading of variables generates a preprocessing stop (internal STOPRE).
Writing of PLC tags is generally limited to a maximum of three tags (elements).
Where PLC tags are to be written in rapid succession, one element will be required per write operation.
If more write operations are to be executed than there are elements available, then block transfer will be required (a
preprocessing stop may need to be triggered).
Example:
$A_DBB[1]=1 $A_DBB[2]=2 $A_DBB[3]=3
STOPRE
8.14
Program jumps
8.14.1
Unconditional program jumps
Functionality
NC programs process their blocks in the sequence in which they were arranged when they were written.
The processing sequence can be changed by introducing program jumps.
The jump destination can be a block with a
label
or with a
block number
. This block must be located within the program.
The unconditional jump instruction requires a separate block.
Programming
GOTOF label ;Jump forward (in the direction of the last block of the program)
GOTOB label ;Jump backwards (in the direction of the first block of the program)
Label ;Selected string for the label (jump label) or block number
See the following illustration for an example of unconditional jumps:

Table of Contents

Other manuals for Siemens SINUMERIK 808D ADVANCED

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 808D ADVANCED Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D ADVANCED
CategoryControl Unit
LanguageEnglish

Related product manuals