EasyManuals Logo

Siemens SINUMERIK 828D Function Manual

Siemens SINUMERIK 828D
1799 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 #971 background imageLoading...
Page #971 background image
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
971
Any errors are displayed via the output parameters "Error" and "State".
Declaration of the function
Note
In order to read a double variable from the NCK without adapting the format, an ANY pointer
of the REAL 2 type must be specified in the target area for read data (e.g.: P#M100.0 REAL
2). If the basic program recognizes REAL 2 as the target type when reading a "double"
variable, the data is applied to the PLC data area as a 64-bit floating point number.
FB 5 can only write GUD variables if basic program parameter "NCKomm" has been set to
"TRUE" (in OB 100: FB1, DB7; see "FB 1: RUN_UP Basic program, startup section [Page
925]").
FUNCTION_BLOCK FB 5 //Server name
KNOW_HOW_PROTECT
VERSION : 3.0
VAR_INPUT
Req : BOOL;
Addr: ANY ; //Variables name string
Area BYTE ; //Area: NCK = 0, channel = 2
Unit : BYTE ;
Index1: INT; //Field index 1
Index2: INT; //Field index 2
CnvtToken: BOOL; //Conversion into 10-byte token
VarToken ANY ; //Struct with 10 bytes for the variable token
END_VAR
VAR_OUTPUT
Error : BOOL;
Done : BOOL;
State : WORD ;
END_VAR
VAR_IN_OUT
RD: ANY ;
END_VAR
BEGIN
END_FUNCTION_BLOCK

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals