Siemens SIMATIC S5 CP 523 Manual page 84

Serial i/o module
Hide thumbs Also See for SIMATIC S5 CP 523:
Table of Contents

Advertisement

CP 523
"KG", "KG." and "KG,", data format
If you configure the "KG" or "KG." data format, 13 characters are printed out. In the case of "KG"
and "KG,", a comma is printed out and in the case of "KG." a decimal point.
"KGa.b" data format
You can set the following parameters:
Specify the total number of characters to be printed with "a".
The sign and the decimal point each count as one character.
Configure the number of places after the point with "b".
The variable value is not changed here, in contrast to the "KFa.b" data format.
In the case of data format "KFa,b", a comma (between thousands) is printed out and, in the
case of "KFa.b", a decimal point.
Table 6-13. Value Ranges for the Number of Characters to be Printed and Decimal Places
Characters to be Printed "a"
Decimal Places
Errors occurring when configuring the "KGa,b" format have the following effects:
If you specify values for "a" and "b" outside the value range, the spaceholder is treated as text
and printed as configured.
If you configure "a" with a value too small for the variable values to be printed, "?" characters
will be printed instead of the variable value.
Number to be
Represented
3,141593E+01
Number to be
Represented
3,141593E+01
EWA 4NEB 811 6044-02a
1...9
"b"
0
Table 6-14. Typical "KGa.b" Data Format Printouts
KG9,0
KG9,4
31
Configuration
KG4,1
KG3,1
31,4
3...9
4...9
5...9
1
2
Configuration
KG9,6
31,4159
31,415930
KG1,0
31
?
Print Mode
6...9
7...9
3
4
5
KG6,3
KG5,4
31,416
8...9
6
'KG 5,4'
6-29

Advertisement

Table of Contents
loading

Table of Contents