Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-179
Description of formal parameters
The table below lists all formal parameters of the BHGDisp function:
Signal Type Type Value range Remarks
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 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 unsigned
Error Q Bool Conversion error, numerical
overflow or error in StringAddr
Ranges of values
Value ranges of data types
Data type Representable numerical range
BOOL 0, 1
BYTE 0 to 255
WORD 0 to 65535
INT - 32768 to + 32767
DWORD 0 to 9999999
DINT - 9999999 to + 9999999