If_Conf: Sdt For The Configuration Data Of The Cp - Siemens S7-1200 TELECONTROL Operating Instructions Manual

Hide thumbs Also See for S7-1200 TELECONTROL:
Table of Contents

Advertisement

Programming the program blocks

5.4 IF_CONF: SDT for the configuration data of the CP

The codes DONE, ERROR and STATUS
The following table shows the condition codes formed based on DONE, ERROR and
STATUS that must be evaluated by the user program.
DONE
ERROR
STATUS
1
0
0000
0
0
7000
0
0
7001
0
0
7002
0
1
80E0
0
1
80E6
0
1
80EB
0
1
80F6
0
1
80F7
5.4
IF_CONF: SDT for the configuration data of the CP
Structure of the system data type IF_CONF for the TC_CONFIG program block
The CONFIG parameter of the TC_CONFIG program block references the memory area
containing the configuration data of the CP to be modified. The configuration data stored in a
data block is described as a structure of the IF_CONF system data type (SDT).
To be able to use the (SDT IF_CONF there must already be configured values present in the
STEP 7 basic configuration of the CP.
IF_CONF is made up of a header followed by fields that correspond to the parameters or
parameter areas of the CP in the device properties of the STEP 7 project.
The CP configuration data to be modified is collected together as IF_CONF fields.
Parameters that will not be modified are ignored in the IF_CONF structure and remain as
they were configured in the STEP 7 project.
Creating the DB and the IF_CONF structures
You can create the parameters of the CP within the IF_CONF DB in one or more structures
each with one or more fields.
You will need to type in the data types of the fields using the keyboard. They are not
displayed in the selection list. The data types are not case-sensitive.
Follow the steps below to create IF_CONF:
100
Meaning
Job executed without errors
H
No job processing active (first block call)
H
Job processing started (first block call)
H
Job processing already active (renewed block call when BUSY = 1)
H
Internal error
H
No query in progress (block call not started)
H
Query temporarily rejected (the CP is currently being configured by STEP 7)
H
Format error of a parameter in the called data block (wrong length, wrong format or
H
invalid value)
Check the "IF_CONF" SDT.
Wrong ID in the parameter fields of the configuration data:
H
Check the "IF_CONF" SDT.
Operating Instructions, 10/2016, C79000-G8976-C311-02
CP 1242-7 GPRS V2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1200 - telecontrolCp 1242-7 gprs v2

Table of Contents