Configuration
3.3 Configuring a CP 243-1 with STEP 7
CP 243-1
Operating Instructions, 03/2012, C79000-G8976-C244-02
57
Example
Below, you will find several examples of how different formatting instructions affect the
representation of a current value:
Current value
Formatting instruction
Output
(⃞ corresponds to a blank)
16#F4 in address VB0
%VB0:1.0I%
-12
16#F4 in address VB0
%VB0:6.0I%
⃞⃞⃞-12
16#F4 in address VB0
%VB0:6.3I%
⃞⃞⃞⃞-0.012
16#0C in address VB0
%VB0:2.0H%
16#0C
16#0C in address VB0
(16#00 for the next byte)
%VW0:4.0H%
16#000C
16#0C in address VB0
(16#00 for the next 3 bytes)
%VD0:8.0H%
16#0000000C
Examples of formatting for placeholder information in e-mails
Note
Integers with sign (format element I) and unsigned integers without sign (format element U)
can be interpreted as fixed point decimal numbers.
Example:
VD100 contains the fixed point number for the value to be interpreted 12345dec.
If the placeholder %VD100:2.3U% is used for this value in an e-mail, this value is transferred
in the e-mail as 12.345.
Calculation: Result = value / (10^number of desired places after the decimal point) → 12.345
=12345/10^3
Note
Received e-mails may also contain #### in the placeholder instead of the expected value.
This always happens when a placeholder could not be filled with a value that conformed to
the formatting instructions.
3.3
Configuring a CP 243-1 with STEP 7
STEP 7 Micro/WIN
You will find the supported versions of STEP 7 Micro/WIN 32 in the section Configuration
Содержание SIMATIC NET CP 243-1
Страница 6: ...Preface CP 243 1 6 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Страница 10: ...Table of contents CP 243 1 10 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Страница 104: ...Programming 4 5 ETHx_FTPC CP 243 1 104 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Страница 118: ...Diagnostics 5 2 Error messages of the CP 243 1 CP 243 1 118 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Страница 124: ...Certification CP 243 1 124 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Страница 138: ...Sample program CP 243 1 138 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Страница 142: ...Index CP 243 1 142 Operating Instructions 03 2012 C79000 G8976 C244 02 ...