Siemens CP 243-1 Operating Instructions Manual page 56

S7-200 industrial ethernet
Hide thumbs Also See for CP 243-1:
Table of Contents

Advertisement

Configuration
3.2 Value ranges of the configuration data
The percent character (%) indicates the beginning and the end of a placeholder. The colon
(:) separates the address from the formatting instructions. The period (.) separates the
places before the decimal point and the places after the decimal point within the formatting
instructions.
Note
Use the notation %% to represent individual % characters in a text message.
Example:
Required text: "The fill level is specified in %"
Text you enter: "The fill level is specified in %%"
The address element specifies the address, the data type and the size of the embedded data
value (for example VD100, VW50 or MB20). The permitted data types are input, output, bit
memory, special memory bits, variables and analog input. The CP 243-1 supports both the
German designations of these data types (E, A, M, SM, V and AE) and the international
notations (I, Q, M, SM, V and AI).
Each of these data types can be addressed as byte, word and double word. The size of the
address depends on the type of data or the type of S7-200 CPU used. (A CPU 226XM
provides a variable memory area of 10240 bytes.)
The element "places_before_decimal_point" defines the minimum number of digits that are
shown to the left of the decimal point. This value should be high enough to hold the expected
data value range and, where necessary, a sign.
If there are not enough places specified in the element "places_before_decimal_point" to
completely represent a current value, this value is still shown completely. The specified
format is ignored in this case. If the representation of a current value requires fewer places
than specified in the element "places_before_decimal_point," the remaining places are
padded with blanks. The valid range for the element "places_before_decimal_point" is
between 1 and 10.
The element "places_after_decimal_point" defines the number of digits shown to the right of
the decimal point. If a data value to the right of the decimal point contains zeros, these are
represented as defined by the element "places_after_decimal_point". If the element
"places_after_decimal_point" is zero, the value is shown without decimal point. The valid
range for the element "places_after_decimal_point" is between 0 and 10.
The format element specifies the format for representing the embedded value. The following
characters are permitted in the format element:
I,i:
U,u:
H,h:
F,f:
56
Integer with sign
Unsigned integer
Hexadecimal
Floating point/real
Operating Instructions, 03/2012, C79000-G8976-C244-02
CP 243-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents