EasyManuals Logo

Siemens MCP 398C Function Manual

Siemens MCP 398C
2184 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 #1537 background imageLoading...
Page #1537 background image
Detailed description
2.14 Programming tips with STEP 7
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
263
The modified version of the program call starts from here.
Here the call in OB 100 is displayed.
CALL FB 2, DB 110 (
Req := FALSE,
NumVar := 2, //Read 2 variables
Addr1 := NCVAR.C1_RP_rpa0_0
Line1 : W#16#1
Addr2 := NCVAR.C1_RP_rpa0_0
Line2 . W#16#2
RD1 := P#M 4.0 REAL 1,
RD2 := P#M 24.0 REAL 1,
Here the call still remaining in OB 1 is displayed.
CALL FB 2, DB 110 (
Req := M0.0,
Error := M1.0,
NDR := M1.1,
State := MW 2,
Note
Owing to this measure, a shorter cycle time is achieved in OB 1, because the static
parameter values need not be copied in the instance DB in each OB-1 cycle.
The savings of this variant:
The cyclic copying effort of 3 integer values and 4 ""ANY" parameters with respect to the
instance DB, which results from 3 time loading of a constant in the instance data block. In
case of each "ANY" transfer, constants are loaded in the data block 4 times with subsequent
transfer.

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals