EasyManuals Logo

Siemens CP 1242-7 GPRS V2 User Manual

Siemens CP 1242-7 GPRS V2
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #99 background imageLoading...
Page #99 background image
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
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.
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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CP 1242-7 GPRS V2 and is the answer not in the manual?

Siemens CP 1242-7 GPRS V2 Specifications

General IconGeneral
BrandSiemens
ModelCP 1242-7 GPRS V2
CategoryController
LanguageEnglish

Related product manuals