EasyManuals Logo

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 #1298 background imageLoading...
Page #1298 background image
Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
2-104 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Call example
Writing of three channel-specific machine data of channel 1:
Select the three data with NC VAR selector and store in the file DB120.VAR:
Area Block Name Type Byte S7 Name
C[1] RP rpa[5] double 4 rpa_5C1RP
C[1] RP rpa[11] double 4 rpa_11C1RP
C[1] RP rpa[14) double 4 rpa_14C1RP
Entry NCVAR for DB 120 with the S7 SYMBOL Editor:
Symbol Operand Data type
NCVAR DB120 DB120
File DB120.AWL must be compiled and transferred to the PLC.
Call and parameterization of FB 3 with instance DB 111:
DATA_BLOCK DB 111 //Unassigned user DB, as instance
for FB 3
FB 3
BEGIN
Function FC "VariablenCall": VOID
END_DATA_BLOCK
U I 7.7; //Unassigned machine control panel
key
S M 100.0; //Activate req.
U M 100.1; //Done completed message
R M 100.0; //Terminate job
U I 7.6; //Manual error acknowledgment
U M 102.0; //Error pending
R M 100.0; //Terminate job
Call fb 3, db 111(
Req := M 100.0,
NumVar := 3, //Write 3
variables
Addr1 := NCVAR.rpa_5C1RP,
Addr2 := NCVAR.rpa_11C1RP,
Addr3 := NCVAR.rpa_14C1RP,
Error :=
M102.0,
Done := M100.1,
State := MW104,
SD1 := P#DB99.DBX0.0 REAL 1,
SD2 := P#DB99.DBX4.0 REAL 1,
SD3 := P#M110.0 REAL 1);

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