Configuration and operation
4.9 STEP 7 configuration
CP 1242-7 GPRS V2
68 Operating Instructions, 10/2016, C79000-G8976-C311-02
With the ARRAY data type, contiguous memory areas up to a size of 64 bytes can be
transferred. The following S7 data types are compatible components of ARRAY:
● Byte, USInt (total of up to 64 per data block)
● Int, UInt, Word (total of up to 32 per data block)
● DInt, UDInt, DWord (total of up to 16 per data block)
If the array is modified later, the data point must be recreated.
Time stamps are transferred in UTC format (48 bits) and contain the time difference in
milliseconds since 01.01.1970.
Status IDs of data points
Status IDs of data points
Along with the value of a data point, status identifiers of the data point are transferred in
every frame. They can be evaluated by the communications partner.
The status bits are converted to the OPC quality code as follows by TCSB.
● Quality = BAD, if:
NON_EXISTENT or OVER_RANGE = 1
● Quality = UNCERTAIN, if:
RESTART or CARRY or SB = 1
● Quality = GOOD, if:
Bits 1, 2, 3, 5 and 6 = 0
For the meaning of the status bits, see below. The entries in the table row "Meaning" relate
to the entry in the table row "Bit status".
Table 4- 2 Bit assignment of status byte 0
- NON_
SB LOCAL_
FORCED
CARRY OVER_
RANGE
RESTART ONLINE
- Data point
does not
exist or S7
address
unreachable
Substitute
value
(Bit is not
set.)
Counted
value over-
flow before
reading the
value
Limit value
of the ana-
log value
prepro-
cessing
overshot /
Value not
updated
after start
Value is
valid, CPU
in RUN
1 1
(irrelevant)
1 1 1 1