103BCommunication
10.2 PROFINET
S7-1200 Programmable controller
422
System Manual, 11/2011, A5E02486680-05
Table 10- 22 Data types for the parameters
Parameter and type
Data type
Description
REQ
Input
Bool
Starts the instruction on the rising edge.
INTERFACE
Input
HW_Interface
ID of network interface
CONF_DATA
Input
Variant
Reference to the structure of the configuration data;
CONF_DATA is defined by a System Data Type (SDT).
DONE
Output
Bool
0: Job has not yet started or is still running.
1: Job was executed without error.
BUSY
Output
Bool
0: The job is complete.
1: The job is not yet complete. A new job cannot be
triggered.
ERROR
Output
Bool
Status parameters with the following values:
0: No error
1: Error occurred during processing. STATUS provides
detailed information on the type of error.
STATUS
Output
DWord
Status information including error information. (Refer to
the Error and Status condition codes in the table below.)
ERR_LOC
Output
DWord
Fault location (field ID and subfield ID of the error
parameter)
The IP configuration information is placed in the CONF_DATA data block, along with a
Variant pointer on parameter CONF_DATA referenced above. The successful execution of
the T_CONFIG instruction ends with the handover of the IP configuration data to the network
interface. Errors, such as conflicts between IP addresses, are assigned to the diagnostic
buffer and written to the diagnostics buffer.
Table 10- 23 Condition codes for ERROR and STATUS
ERROR
STATUS
Description
0
00000000
No error
0
00700000
The job is not finished (BUSY = 1).
0
00700100
Start of job execution
0
00700200
Intermediate call (REQ irrelevant)
1
C08xyy00
General failure
1
C0808000
LADDR parameters for identification of the interface are invalid.
1
C0808100
LADDR parameters for identification of the interface have been assigned a non-supported
hardware interface.
1
C0808200
CONF_DATA parameter error: Data type of the Variant pointer does not match the data
type Byte.
1
C0808300
CONF_DATA parameter error: The area pointer is not in the DB of the Variant pointer.
1
C0808400
CONF_DATA parameter error: The Variant pointer is the wrong length.
1
C0808600
Reserved
1
C0808700
Inconsistency in the CONF_DATA data block length to the IP configuration
1
C0808800
The parameters of the CONF_DATA data block field_type_id are invalid. (Only
field_type_id = 0 is allowed.)