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

Siemens SINUMERIK ONE MCP 2400.4c Function Manual

Siemens SINUMERIK ONE MCP 2400.4c
2050 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 #1169 background imageLoading...
Page #1169 background image
Detailed description
2.14 Useful tips on programming with STEP 7
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-257
2.14 2.14 Useful tips on programming with STEP 7
2.14.1 General
General
Some useful tips on programming complex machining sequences in STEP7 are given in the
following. This information concentrates mainly on the handling of data type POINTER and
ANY. Detailed information about the structure of data types POINTER and ANY can be
found in Chapter "CPU register and storage of data" in STEP7 manual "Designing user
programs".
2.14.2 Copying data
High-speed copying
The following is an example of how to copy data at high speed from one DB into another.
Code Comment
// DB xx.[AR1] is the source
// DI yy.[AR2] is the destination
OPEN DB 100; //Source DB
LAR1 P#20.0; //Source start address on data byte 20
OPEN DI 101; //Destination DB
LAR2 P#50.0; //Destination start address on data byte 50
//AR1, AR2, DB, DI loaded beforehand
L 42; //Transfer 84 bytes
M001:
L DBW [AR1,P#0.0]; //Copy word-oriented
L DBW [AR1,P#0.0];
T DIW [AR2,P#0.0];
+AR1 P#2.0;
+AR2 P#2.0;
TAK;
LOOP M001;

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