Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
200
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Example
FUNCTION FC 12: VOID
//Event control of auxiliary functions
VAR_INPUT
Chan:
BYTE ;
//Parameter is supplied by basic program
END_VAR
VAR_TEMP
ChanDB:
INT ;
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
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.
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...