Instance DB
S7-GRAPH for S7 300/400 Programming Sequential Control Systems
15-18
C79000-G7076-C526-01
Indicating the Modes
The modes component is saved in the instance DB as follows:
Structure
Name
Description
Length in
Bytes
MOPEDGE
System-internal
4
MOP
Changing modes and indicators
4
Example:
By setting MOP.MAN once, the mode changes to MANUAL. This can be set either
controlled by the program (for example action in the sequencer) or by the PG
function "Modify Variable" or using an operator panel.
Activation Time
The following component consists of a structure containing information about the
activation time calculation. This is only evaluated internally by the system.
Structure
Name
Description
Length in
Bytes
TICKS
System-internal
12
Group Bits
The last component of a sequencer status area contains group bits that monitor the
internal sequencer status. A structure is created as follows for these group bits:
Name
Description
Data
Type
Read
int.
Write Int.
Read
Ext.
Write Ext.
ERR_FLT
Group disturbance
BOOL
yes
no
yes
no
ERROR
Interlock error
BOOL
yes
no
yes
no
FAULT
Supervision error
BOOL
yes
no
yes
no
RT_FAIL
Group indication:
Runtime error
BOOL
yes
no
yes
no
NO_SNO
Selected step does not
exist
BOOL
yes
no
yes
no
NF_OFL
Too many steps to
activate or deactivate
BOOL
yes
no
yes
no
SA_OFL
To many active steps
BOOL
yes
no
yes
no