Edit-Notification Bit 2; Sample Program For Using The Acknowledge-Notification Bit; Edit-Notification Bit Of Byte 0 Of The Format Word - Siemens SIMATIC TD 200 User Manual

Operator interface
Hide thumbs Also See for SIMATIC TD 200:
Table of Contents

Advertisement

TD 200 Parameters and Messages
You can design your S7-200 program to take other actions as a result of setting the
acknowledge-notification bit. Figure D-13 shows how you can use the
acknowledge-notification bit. For this example, VB21 is assumed to be the most significant
byte of the first format word of the message.
Ladder Logic
Network #
V21.1
EN
IN
. . .
Figure D-13 Sample Program for Using the Acknowledge-Notification Bit

Edit-Notification Bit 2

The TD 200 sets the edit-notification bit to 1 after an edit. The CPU can read this
edit-notification bit value to recognize when an editable data value has been changed. The
program can then read and make use of the edited value.
Note
The edit-notification bit does not reset automatically when subsequent edits are performed.
If you want the TD 200 to detect and notify you of a second edit operation, you must
design your program to reset the edit-notification bit to zero. Figure D-14 shows the
placement of the edit-notification bit, located in byte 0 of the format word.
MSB
7 6
0
Figure D-14 Edit-Notification Bit of Byte 0 of the Format Word
If an embedded value is set to allow editing, you must design your S7-200 program to check
the edit-notification bit. When the embedded value is modified by the user, your program
must read the value and take any necessary action with it.
D-14
V21.1 1
R
LD
V21.1
R
V21.1,1
MOV_B
MOVB . . .
OUT
. . .
Format Word
Byte 0
Byte 1
Byte 2
MSB of
LSB of
MSB of
Format
Format
LSB
5
4
3
2
1
0
0
E P EN
AN
A
Statement List
// Resetting the acknowledge-notification
// bit and using it to enable the next
// message
// When the operator acknowledges the
// message, reset the bit and enable
// the next message
// Move ...
Optional Data Value
Byte 3
Byte 4
Data
EN– Edit-Notification
0 – Not edited
1 – Message edited
SIMATIC TD 200 Operator Interface
C79000-G7076-C205-04
Byte 5
LSB of
Data

Advertisement

Table of Contents
loading

Table of Contents