Configuring A Cp 243-1 With Step 7 - Siemens CP 243-1 Operating Instructions Manual

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

Advertisement

Example
Below, you will find several examples of how different formatting instructions affect the
representation of a current value:
Current value
16#F4 in address VB0
16#F4 in address VB0
16#F4 in address VB0
16#0C in address VB0
16#0C in address VB0
(16#00 for the next byte)
16#0C in address VB0
(16#00 for the next 3 bytes)
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
and programming (Page 32).
CP 243-1
Operating Instructions, 03/2012, C79000-G8976-C244-02
Formatting instruction
%VB0:1.0I%
%VB0:6.0I%
%VB0:6.3I%
%VB0:2.0H%
%VW0:4.0H%
%VD0:8.0H%
3.3 Configuring a CP 243-1 with STEP 7
Output
(⃞ corresponds to a blank)
-12
⃞⃞⃞-12
⃞⃞⃞⃞-0.012
16#0C
16#000C
16#0000000C
Configuration
57

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents