Siemens S7-1200 TELECONTROL Operating Instructions Manual page 99

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

Advertisement

Explanation of the formal parameters
The following table explains all the formal parameters for the TC_CONFIG instruction
Parameter
Declaration
REQ
INPUT
INTERFACE
INPUT
CONFIG
INOUT
ENO
OUTPUT
BUSY
OUTPUT
DONE
OUTPUT
ERROR
OUTPUT
STATUS
OUTPUT
The codes BUSY, DONE and ERROR
The codes of DONE and ERROR are relevant only when BUSY = 0.
BUSY
DONE
ERROR
0
0
0
You will find all other code combinations of DONE and ERROR in the following table.
CP 1242-7 GPRS V2
Operating Instructions, 10/2016, C79000-G8976-C311-02
Data type
Possible values
BOOL
0, 1
HW_Interface
(WORD)
VARIANT
See also "IF_CONF: SDT for
telecontrol configuration data
BOOL
0: Error
1: Error-free
BOOL
0: Execution of the instruction
not yet started, completed or
aborted
1: The instruction is executing
BOOL
0: -
1: The instruction executed
successfully
BOOL
0: -
1: Error
WORD
Meaning
No job being executed
5.3 TC_CONFIG for changing configuration data of the CP
Description
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.
Reference to the interface of the local CP
Reference to the memory area with the
collected configuration data to be modi-
fied
Enable output
If there is a runtime error with the instruc-
tion, ENO = 0 is set.
Condition code of the execution status of
the block
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.
Error code
For the meaning in conjunction with the
parameters DONE and STATUS, refer to
Codes of the block.
Status code
For the meaning in conjunction with the
parameters DONE and ERROR, refer to
Codes of the block.
Programming the program blocks
99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1200 - telecontrolCp 1242-7 gprs v2

Table of Contents