Siemens SIMATIC NETS7-1200 Operating Instructions Manual page 49

Telecontrol cp 1242-7
Hide thumbs Also See for SIMATIC NETS7-1200:
Table of Contents

Advertisement

Explanation of the formal parameters
The following table explains all the formal parameters for the TC_CON instruction.
Parameter
Declaration
REQ
INPUT
ID
INPUT
InterfaceID
INPUT
CONNECT
INOUT
ENO
OUTPUT
BUSY
OUTPUT
DONE
OUTPUT
ERROR
OUTPUT
STATUS
OUTPUT
CP 1242-7
Operating Instructions, 09/2011, C79000-G8976-C247-02
Data type
Possible values
BOOL
0, 1
CONN_OUC
1...07FF
HW_ANY
VARIANT
See also "TCON_...: SDTs for
telecontrol connection
establishment"
BOOL
0: Error
1: Error-free
BOOL
0: Execution of the instruction
not started, completed or
aborted
1: The instruction is executing
BOOL
0: -
1: The instruction executed
successfully
BOOL
0: -
1: Error
WORD
5.4 Configuring the telecontrol instructions
Description
The instruction is started and the status
h
Reference to the interface of the local
Display of the processing status of the
instruction
codes initialized on a rising edge.
Updating of the DONE, ERROR and
STATUS status codes when there is a
positive edge.
Reference to the relevant connection.
The ID is assigned.
The value of ID is also required by the
system data type (SDT) of the
CONNECT parameter.
CP 1242-7 (see STEP 7 > CP
configuration > Telecontrol interface >
"Hardware identifier")
Reference to a data block for connection
establishment.
The SDTs of the type TCON_ip_rfc,
TCON_IP_V4, TCON_phone or
TCON_WDC specify the structure of the
data block suitable for the relevant
connection.
In the SDTs, note the parameter
"ActiveEstablished" (active / passive
connection establishment).
Enable output
If there is a runtime error with the
instruction, ENO = 0 is set.
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 instruction.
Error code
For the meaning in conjunction with the
parameters DONE and STATUS, refer to
Codes of the instruction.
Status code
For the meaning in conjunction with the
parameters DONE and ERROR, refer to
Codes of the instruction.
Configuration
49

Advertisement

Table of Contents
loading

Table of Contents