Programming the program blocks
5.3 TC_CONFIG for changing configuration data of the CP
CP 1242-7 GPRS V2
Operating Instructions, 10/2016, C79000-G8976-C311-02
99
Explanation of the formal parameters
The following table explains all the formal parameters for the TC_CONFIG instruction
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
INTERFACE INPUT HW_Interface
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-
ENO OUTPUT BOOL 0: Error
1: Error-free
Enable output
If there is a runtime error with the instruc-
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
ERROR OUTPUT BOOL 0: -
1: Error
Error code
For the meaning in conjunction with the
parameters DONE and STATUS, refer to
STATUS OUTPUT WORD Status code
For the meaning in conjunction with the
parameters DONE and ERROR, refer to
The codes BUSY, DONE and ERROR
The codes of DONE and ERROR are relevant only when BUSY = 0.
You will find all other code combinations of DONE and ERROR in the following table.