Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
202 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Description of formal parameters
The table below lists all formal parameters of the BHGDisp function:
Signal Type Type Range of values 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]
[DBName].[VarName]
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, B#16#13 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)
B#16#13: String, up to 32
characters, Addr must be a
pointer to a STRING.
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 the sign
position specifications are to be
indicated without the sign
Error A BOOL Conversion error, numerical
overflow or
error in StringAddr