Siemens SINUMERIK 840D sl Function Manual page 1474

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Detailed description
2.12 Block descriptions
Example
FUNCTION FC 12: VOID
VAR_INPUT
END_VAR
VAR_TEMP
END_VAR
BEGIN
L Chan;
+ 21;
T ChanDB;
TO DB[ChanDB];
// Auxiliary-function change signals are now scanned, etc.
END_FUNCTION
2.12.19
FC 13: BHGDisp Display control for handheld unit
Description of Functions
This block carries out the display control of the handheld unit (HHU). The information to be
output on the display is stored as 32 characters in string data ChrArray. A fixed text
assignment of 32 characters is, therefore, required for this string when the data block is
created. Variable components within this string can be inserted by means of the optional
numerical converter, 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. 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).
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.
200
Chan:
BYTE ;
ChanDB:
INT ;
BE;
//Event control of auxiliary functions
//Parameter is supplied by basic program
//Channel index no., (0,1,2,..)
//Channel DB offset
//Save channel DB no.
//Channel DB is opened indirectly
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents