EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 902

Siemens SIMATIC S7-1200
1614 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...
Communication
11.2 PROFINET
S7-1200 Programmable controller
902 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 11- 44 T_CONFIG 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 struct containing up to four
System Data Types (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 location within the
CONF_DATA structure)
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.
The status and error messages of the instruction "T_CONFIG" are output at the parameters
STATUS and ERR_LOC:
The cause of the error is output at the parameter STATUS.
The location of the error that occurred is output at the parameter ERR_LOC. The
following options are available here:
16#0000_0000: No error or error when calling the instruction (for example, errors
when assigning parameters to the instruction or in communication with the PROFINET
interface).
16#0001_0000: Error with the configuration data in the parameters of the system data
type IF_CONF_HEADER.
16#0001_000x: Error in the configuration data in the parameters of system data type
IF_CONF_V4 or IF_CONF_NOS or IF_CONF_NTP (x specifies the position of the bad
sub-block in the T_CONFIG structure. If the T_CONFIG structure contains, for
example, a sub-block for the IP address and a sub-block for the station name, and the
error is located in the sub-block for the station name, ERR_LOC has the value
0001_0002.)

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals