
Instance DB
S7-GRAPH for S7-300/400 Programming Sequential Control Systems
C79000-G7076-C526-01
15-15
Index Name
Description
Data
Type
Length
in Bytes
Read
int.
Write Int.
Read
Ext.
Write
Ext.
S0X
Array_2 of the steps to be
deactivated
BYTE
S_CNT+2 no
no
no
no
S1X
Array_2 of the steps to be
activated
BYTE
S_CNT+2 no
no
no
no
S_DISPLAY
Copy of the output parameter
S_NO (can also be evaluated if
the minimum parameter set
option is selected)
INT
2
yes
no
yes
no
S_SEL_OLD System-internal
INT
2
no
no
no
no
S_DISPIDX
System-internal
BYTE
1
no
no
no
no
T_DISPIDX
System-internal
BYTE
1
no
no
no
no
Length of the Index Arrays
The length of the index arrays TVX to S1X is obtained as follows:
l = (maximum number of elements) + 2
The index arrays are structured as follows:
Array[0]
=
Index of the first free position in the array
Array[1] - Array[n-2]
=
Entries
Array[n-1]
=
0 (indicates the end of the array)
New entries are added at the end. When entries are removed, the array is shifted
together. This means that, for example, in the array of active steps (SAX), the step
that is active longest has the lowest index.