EasyManua.ls Logo

Siemens SIMATIC NET S7-300 - Page 218

Siemens SIMATIC NET S7-300
317 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
Loading...
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-218
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Paramete
r
Meaning / RemarkPossible
Values
TypeDeclarati
on
ERROR OUTPUT BOOL 0: No error
1: Error
Error code
For the meaning of this parameter in
conjunction with the DONE and STATUS
parameters, refer to the following table 7-6.
STATUS OUTPUT WORD See Table 7-6 Status code
For the meaning of this parameter in
conjunction with the DONE and ERROR
parameters, refer to the following table 7-6.
RESULT1 OUTPUT DWORD See Table 7-7 Information returned according to the
command sent to FC AG_CNTRL.
RESULT2 OUTPUT DWORD See Table 7-7 Only to be evaluated for S7-400:
Part 2 of information returned according to the
command sent to FC AG_CNTRL.
Condition Codes
The following table 7-6 shows the condition codes formed by the DONE, ERROR
and STATUS parameters that must be evaluated by the user program.
The command results must also be evaluated in the RESULT1/2 parameters
according to Table 7-7.
Table 7-6 AG_CNTRL Codes
DONE ERROR STATUS Meaning
1 0 0000H A job (CMD) was transferred successfully to the CP (for example
RESET) or a status was read successfully from the CP.
The RESULT1/2 parameters can be evaluated.
0 0 0000H There has been no block call yet or the block was called with
ACT=0.
0 0 8181H Job active
The block call must be repeated with the same parameters until
DONE or ERROR is signaled.
0 1
8183
H
No configuration or the service has not yet started on the Ethernet
CP.
0 1
8186
H
The ID parameter is invalid. The permitted ID depends on the
selected command; see CMD parameter in Table 7-7.
0 1
8187
H
The CMD parameter is invalid.
0 1
8188
H
Sequence error in the ACT control (Note: this code does not
occur in the product version of the CP / firmware).
FC10 AG_CNTRL - continued

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Related product manuals