Siemens SINUMERIK 840D sl Function Manual page 1014

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

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
to the right within the string is specified by parameter "StringAddr". The number of written
characters is shown in the parameter table.
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 axis value is to be displayed with a higher resolution, the following must
be observed:
● The variables are read as before with FB2 or FB5. Instead of anypointer BYTE 8 as criterion
for output as 64-bit floating point number, REAL 2 is used (e.g.: P#M100.0 REAL 2).
● When specifying the 64-bit floating point number on the HHU/HT 2, you can select the
output format with up to 14 places, distributed freely before and after the decimal point,
instead of fixed, specified formats.
HHU output signals
Byte 1 is used by the HHU output signals and the character specifications are used by the
block FC13. These may not be written by the PLC user program.
Relevant FB1 parameters
Handheld unit HHU
In OB100, the FB1 parameters must be set for the input and output data of the handheld unit:
● 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).
The 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.
The FB1 parameter "HHU" = 2 must be set for operating an HHU.
HT 2 handheld terminal
If HT 2 is used, FB1 parameter "HHU" = 5 must be set. The parameters of the input and output
data must be set, as described in the above paragraph "Handheld Unit HHU".
The value that was configured at S2 of the DIP-Fix switch (rotary coding switch) of the
connecting module of the HT 2 must be assigned to the parameters "BHGRecGDNo" and
"BHGRecGBZNo".
1014
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents