EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 828D

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 #1020 background imageLoading...
Page #1020 background image
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1020 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
13.13.20 FC 13: BHGDisp Display control for handheld unit
Function
This block carries out the display control for the handheld unit (HHU or HT2). The information to be output on the
display is stored as 32 characters in string data ChrArray (these are 64 characters when using an HT2). A fixed
text assignment of 32 or 64 characters is, therefore, required for this string when the data block is created.
16 characters are sent to BHG/HT2 for each job, which lasts for several OB 1-cycle. The assignment of the
characters in ChrArray to each line is unique. For line 1 the characters 1 to 16 and for the line 2 the characters 17
to 32 of the string data ChrArray are transferred. In addition, for HT2 the line 3 with the characters 33 to 48 and
line 4 made of characters 49 to 64 are shown.
The block checks, whether the minimum length of the ChrArray is available for operating the BHG or the HT2. If
less characters are present in the string data than are to be displayed, then the line is filled with blanks.
By setting parameter Row to 0, it is possible to suppress the display (e.g. if several variables in one or several
PLC cycles need to be entered in the string without any display output). If several lines are to be updated
"simultaneously" (transfer of the characters to the lines lasts for several OB 1 cycles) (Parameter Row>1), then
the lines are updated one by one each with 16 characters per line.
Variable portions within the string can be inserted by means of the numerical converter functionality (optional).
For the numeric converter the parameter "Convert" must be set to TRUE. The variable to be displayed is
referenced via the pointer Addr. Parameter "DataType" contains the format description of this parameter (see
parameter table). The number of bytes of the variable is linked to the format description. The address justified to
the right within the string is specified by parameter "StringAddr". The number of written characters is shown in the
parameter table.
Signals
Byte 1 is supplied by the output signals of the HHU and the character specifications are supplied by the block.
These may not be written by the PLC user program.
END_VAR
BEGIN
L Chan; //Channel index no., (0,1,2,..)
+ 21; //Channel DB offset
T ChanDB; //Save channel DB no.
TO DB[ChanDB]; //Channel DB is opened indirectly
// Auxiliary-function change signals are now scanned, etc.
BE;
END_FUNCTION

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
BrandSiemens
ModelSINUMERIK 828D
CategoryControl Systems
LanguageEnglish

Related product manuals