Program blocks
5.3 TC_CONFIG for changing configuration data of the CP
CP 1243-7 LTE
Operating Instructions, 04/2017, C79000-G8976-C381-03
111
For detailed information on programming IF_CONF, refer to the section IF_CONF: SDT for
the configuration data of the CP (Page 113).
The INTERFACE parameter references the name of the interface of the mobile wireless CP.
You will find the name of the interface in the STEP 7 project in the standard tag table of the
station in the "System constants" tab under the entry with the value of the "Hardware
identifier" of the CP.
Call interface in FBD representation
Explanation of the formal parameters
The following table explains all the formal parameters for the TC_CONFIG instruction
Parameter
Declaration Data type
Possible values
Description
REQ
INPUT
BOOL
0, 1
The processing of the block is started
and the status codes initialized on a
rising edge.
Updating of the DONE, ERROR and
STATUS status codes when there is no
positive edge.
INTERFACE INPUT
HW_Interface
(WORD)
Reference to the interface of the local CP
CONFIG
INOUT
VARIANT
See also "IF_CONF: SDT for
telecontrol configuration data
Reference to the memory area with the
collected configuration data to be modi-
fied
ENO
OUTPUT
BOOL
0: Error
1: Error-free
Enable output
If there is a runtime error with the instruc-
tion, ENO = 0 is set.
BUSY
OUTPUT
BOOL
0: Execution of the instruction
not yet started, completed or
aborted
1: The instruction is executing
Condition code of the execution status of
the block
DONE
OUTPUT
BOOL
0: -
1: The instruction executed
successfully
This parameter indicates whether or not
the job was completed without errors.
For the meaning in conjunction with the
parameters ERROR and STATUS, refer
to Codes of the block.