Siemens SINUMERIK 840Di Function Manual page 1104

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
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 module 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 which 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 module. These may not be written by the PLC user program.
2-192
Chan:
ChanDB:
BE;
//Event control of auxiliary
functions
BYTE ;
//Parameter is supplied by basic
program
INT ;
//Channel no. (0, 1, 2, etc.)
//Channel DB offset
//Save channel DB no.
//Channel DB is opened indirectly
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Power Line Basic PLC Program (P3)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents