Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
205
Description of formal parameters
The table below lists all formal parameters of the BHGDisp function:
Signal I/O Type Value range Remark
Row I BYTE 0-3 Display line
0: No display output
1: Line 1
2: Line 2
3: Line 1 and line 2
ChrArray I STRING >= string[32] This string contains the
entire display content
Convert I BOOL Activation of numerical conversion
Addr I POINTER Points to the variable
to be converted
DataType I BYTE 1-8 Data type of variable
1: BOOL, 1 character
2: BYTE, 3 characters
3: CHAR, 1 character
4: WORD, 5 characters
5: INT, 6 characters
6: DWORD, 7 characters
7: DINT, 8 characters
8: REAL, 9 characters
(see parameter Digits)
StringAddr I INT 1-32 Address within variable ChrArray
Digits I BYTE 1-4 Relevant only for data type REAL
with sign
1: 6.1 digits unsigned
2: 5.2 digits unsigned
3: 4.3 digits unsigned
4: 3,4 digits without sign
indicate number of digits without
the sign
Error A BOOL Conversion error, numerical
overflow or
error in StringAddr