EasyManua.ls Logo

Siemens S7-1200 - Page 542

Siemens S7-1200
1028 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
10.2 PROFINET
S7-1200 Programmable controller
542 System Manual, 03/2014, A5E02486680-AG
Table 10- 17 T_CONFIG instruction
LAD / FBD
SCL
Description
"T_CONFIG_DB"(
req:=_bool_in_,
interface:=_word_in_,
conf_Data:=_variant_in_,
done=>_bool_out_,
busy=>_bool_out_,
error=>_bool_out_,
status=>_dword_out_,
err_loc=>_word_out_);
Use the T_CONFIG instruction to change the IP
configuration parameters from your user program.
T_CONFIG works asynchronously. The execution
extends over multiple calls.
Table 10- 18 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 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 are assigned to the STATUS output parameter.
Table 10- 19 Condition codes for ERROR and STATUS
ERROR
STATUS
(DW#16#...)
Description
0 00000000 No error
Note: If the instruction executes successfully, the "no error" status may not be returned.
0
00700000
The job is not finished (BUSY = 1).
0
00700100
Start of job execution

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals