Siemens SIMATIC NET S7-300 Manual page 242

Cps for industrial ethernet
Hide thumbs Also See for SIMATIC NET S7-300:
Table of Contents

Advertisement

7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
FC11 PNIO_SEND - continued
Condition Codes
The following table shows the condition codes formed by the DONE, ERROR and
STATUS parameters that must be evaluated by the user program.
Note
For entries coded with 8Fxx
Standard and System Functions reference manual. The chapter describing error
evaluation with the RET_VAL output parameter contains detailed information.
To find out which SFCs are used and are relevant for error evaluation, display the
properties dialog of the FC described here in the "Calls" tab.
Table 7-11 Condition Codes PNIO_SEND
DONE
ERROR
0
0
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
A -242
in STATUS, refer to the information in the STEP 7
H
STATUS
S
8180
Data transfer active;
H
or
S
The CP is in STOP mode
0000
New data transferred without error.
H
S
8183
PROFINET IO configuration missing;
H
or
S
wrong CPLADDR;
or
S
The CP is in STOP mode
Extra in device mode:
S
The connection between PROFINET IO controller and
PROFINET IO device is down,
or
S
PROFINET IO controller not reachable
or
S
Total lengths (configuration and LEN parameter) are not
consistent.
8184
System error or illegal parameter type<F 9>.
H
8185
LEN parameter longer than SEND source area.
H
8F22
Area length error reading a parameter (e.g. DB too short).
H
8F23
Area length error writing a parameter (e.g. DB too short).
H
8F24
Area error reading a parameter.
H
8F25
Area error writing a parameter.
H
8F28
Alignment error reading a parameter.
H
8F29
Alignment error writing a parameter.
H
8F30
Parameter is in the write-protected 1st act. data block.
H
Meaning
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07

Advertisement

Table of Contents
loading

Table of Contents