Siemens SIMATIC NETS7-1200 Operating Instructions Manual page 58

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

Advertisement

Configuration
5.4 Configuring the telecontrol instructions
Parameter
Declaration
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.
The codes DONE, ERROR and STATUS
The following table shows the condition codes formed based on DONE, ERROR and
STATUS that must be evaluated by the user program.
DONE
ERROR
STATUS
1
0
0000
0
0
7000
0
0
7001
0
0
7002
0
1
8086
0
1
80E4
0
1
80E6
58
Data type
Possible values
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
Meaning
No job being executed
Meaning
Job executed without errors
H
No job processing active (first instruction call)
H
Job processing started (first instruction call)
H
Job processing already active (renewed instruction call when BUSY = 1)
H
Illegal value for ID
H
Unknown ID:
H
First call TC_CON.
No query in progress (instruction call not started)
H
Description
Display of the processing status of the
instruction
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.
Operating Instructions, 09/2011, C79000-G8976-C247-02
CP 1242-7

Advertisement

Table of Contents
loading

Table of Contents