Siemens SINUMERIK 828D Function Manual page 1021

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Additional parameters
HHU
The pointer parameters for the input and output data of the handheld unit must be parameterized in the start OB
100 in FB 1, DB 7. Parameter "BHGIn" corresponds to the input data of the PLC from the handheld unit (data
received by PLC). Parameter "BHGOut" corresponds to the output data of the PLC to the handheld unit (data
transmitted by PLC). These two pointers must be set to the starting point of the relevant data area (which is also
parameterized in SDB 210 with an MPI link).
For operating a BHG a "2" is to be entered at FB 1 parameter BHG.
HT2
For using a HT2 a "5" is to be entered at FB 1 parameter BHG. The pointer parameter of the input and output
data are also to be supplied, as described above.
In the parameters BHGRecGDNo and BHGRecGBZNo the value is to be entered, which is configured at the S2
of the DIP-Fix-switch (rotary coding switch) of the connection module of the HT2.
Note
Numerical conversion
If the numerical converter is used to display information, then it is better to avoid performing a
conversion in every PLC cycle for the sake of reducing the PLC cycle time.
The conversion routine can be used independently of the display control. This is to be
queried in parameter row "0", although the convert parameter should be set. Consequently,
only the string is processed, and the converter routine is executed.
High display resolution
If, for example, the actual axis value is to be displayed with a higher resolution, the following
should be noted:
Variables will continue to be read with FB 2 or FB 5. REAL 2 is used instead of ANY pointer
BYTE 8 as the criterion for output as a 64-bit floating point number (e.g. P#M100.0 REAL 2).
When specifying the 64-bit floating point number on the HHU/HT2, an output format of up to
14 places, split freely between places before and after the decimal point, can be selected
instead of fixed formats.
Declaration of the function
STL representation
DATA_BLOCK "strdat"
STRUCT
disp:
STRING [32]:= 'character_line1 character_line2';
END_STRUCT;
BEGIN
END_DATA_BLOCK
FUNCTION FC 13 : VOID
VAR INPUT
Row :
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
// DB-Number defined in the symbol file
//32 characters are defined
BYTE ;
//Display line (see table)
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
1021

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents