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 #1323 background imageLoading...
Page #1323 background image
Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-129
U I 7.6; //Manual error acknowledgment
U M 1.0; //Error pending
R M 0.0; //Terminate job
Req := M0.0,
PIService
:=
PI.SELECT,
Unit := 1, // CHAN 1
Addr1 := STR.Path,
//Main-program
selection
//Addr1:=STR.Path
_WST,
//Addr2:=STR.PNam
e_WST,
Addr2 := STR.PNam
e,
//Workpiece-
program selection
Error := M1.0,
Done := M1.1,
State := MW2);
2.12.5 FB 5: GETGUD read GUD variable
Description of functions
The PLC user program can read a GUD variable (GUD = Global User Data) from the NCK or
channel area using the FB GETGUD. The FB is multi-instance-capable. Capital letters must
be used for the names of GUD variables. Every FB 5 call must be assigned a separate
instance DB from the user area. A job is started when FB 5 is called by means of a positive
edge change at control input "Req". This job includes the name of the GUD variable to be
read in parameter "Addr" with data type "STRING". The pointer to the name of the GUD
variables is assigned symbolically to the "Addr" parameter with
<DataBlockName>.<VariableName>. Additional information about this variable is specified in
parameters "Area", "Unit", "Index1" and "Index2" (see table of block parameters).
When parameter "CnvtToken" is activated, a variable pointer (token) can be generated for
this GUD variable as an option. This pointer is generated via the VAR selector for system
variables of the NC. Only this method of generating pointers is available for GUD variables.
Once a pointer has been generated for the GUD variable, then it is possible to read and write
via FB 2 and FB 3 (GET, PUT) with reference to the pointer. This is the only method by
which GUD variables can be read. When FB 2 or FB 3 is parameterized, only parameter
Addr1 ... Addr8 need to be parameterized for the variable pointer. GUD variable fields are an
exception. In these, Line1 .. Line8 must also be parameterized with the field index of this
variable.

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