Program blocks
5.3 TC_CONFIG for changing configuration data of the CP
CP 1243-7 LTE
112
Operating Instructions, 04/2017, C79000-G8976-C381-03
Parameter
Declaration Data type
Possible values
Description
ERROR
OUTPUT
BOOL
0: -
1: Error
Error code
For the meaning in conjunction with the
parameters DONE and STATUS, refer to
Codes of the block.
STATUS
OUTPUT
WORD
Status code
For the meaning in conjunction with the
parameters DONE and ERROR, refer to
Codes of the block.
The codes BUSY, DONE and ERROR
The codes of DONE and ERROR are relevant only when BUSY = 0.
BUSY DONE
ERROR
Meaning
0
0
0
No job being executed
You will find all other code combinations of DONE and ERROR in the following table.
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 block call)
0
0
7001
H
Job processing started (first block call)
0
0
7002
H
Job processing already active (renewed block call when BUSY = 1)
0
1
80E0
H
Internal error
0
1
80E6
H
No query in progress (block 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.