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 #1279 background imageLoading...
Page #1279 background image
Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-85
Output parameters
The output parameters in FB 1 provide the PLC user with information about the control
system configuration. These data can also be accessed in the cyclic program section.
There are two access options:
1. Direct access to the DB 7 data block (instance of the FB 1) in symbolic format (e.g.,
L gp_par.MaxChan; in this case, gp_par is the symbolic name of the DB 7).
2. Assignment of a flag; during parameterization of the FB 1, the data element is assigned
to the relevant parameter (e.g., MaxChan:=MW 20) Information about the maximum
number of channels can then be polled in memory word 20 in the rest of the user
program.
Note
An additional SDB 210 must be generated via the STEP7 NetPro tool for the operator
components connected on the MPI interface.
The corresponding procedure is explained in the Installation and Start-up Guide. For
more information about the assignment of MCP and HHU parameters, see "MCP/HHU
configuration".
840D declaration
Code Comment
FUNCTION_BLOCK FB 1
VAR_INPUT
MCPNum: INT:= 1; //0: No MCP
//1: 1 MCP (default)
//2: 2 MCPs
MCP1In: POINTER; //Start addr. input signals MCP 1
MCP1Out: POINTER; //Start addr. output signals MCP 1
MCP1StatSend: POINTER; //Status DW for sending MCP 1
MCP1StatRec: POINTER; //Status DW for receiving MCP 1
MCP1BusAdr: INT:= 6; //Default
MCP1Timeout: S5TIME:= S5T#700MS;
MCP1Cycl: S5TIME:= S5T#200MS;
MCP2In: POINTER; //Start addr. input signals MCP 2
MCP2Out: POINTER; //Start addr. output signals MCP 2
MCP2StatSend: POINTER; //Status DW for sending MCP 2
MCP2StatRec: POINTER; //Status DW for receiving MCP 2
MCP2BusAdr: INT ;
MCP2Timeout: S5TIME:= S5T#700MS;
MCP2Cycl: S5TIME:= S5T#200MS;

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