Configuration
5.4 Configuring the telecontrol instructions
CP 1242-7
Operating Instructions, 09/2011, C79000-G8976-C247-02
61
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
Meaning
1
0
0000
H
Job executed without errors
0
0
7000
H
No job processing active (first instruction call)
0
0
7001
H
Job processing started (first instruction call)
0
0
7002
H
Job processing already active (renewed instruction call when BUSY = 1)
0
1
80E6
H
No query in progress (instruction call not started)
0
1
80EB
H
Query temporarily rejected (the CP is currently being configured by STEP 7).
0
1
80F6
H
Format error of a parameter in the called data block (wrong length, wrong format or
invalid value)
Check the "IF_CONF" SDT.
0
1
80F7
H
Wrong ID in the parameter fields of the configuration data:
Check the "IF_CONF" SDT.
5.4.6
Other error messages
Other error messages
The following error messages are used for diagnostics purposes. You can obtain more
information from the Siemens hotline.
DONE ERROR STATUS
Meaning
0
1
80E0
H
Internal error
5.4.7
TCON_...: SDTs for the telecontrol connection establishment
Parameter assignment of the system data types for the TC_CON instruction
To configure a telecontrol connection using the TC_CON instruction, the CONNECT
parameter of the instruction is used for the connection description.
The connection description is specified by the structure of the system data type (SDT). The
structure of the relevant SDT contains the parameters necessary to establish the connection
with the remote communications partner.
For different connection types that depend on the remote communications partner, the
following SDTs are used:
●
TCON_ip_rfc for ISO-on-TCP connections to IPv4 stations
●
TCON_IP_V4 for UDP connections to IPv4 stations (sending only)