Siemens S7-1200 System Manual page 542

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Communication
10.2 PROFINET
Table 10- 17 T_CONFIG instruction
LAD / FBD
Table 10- 18 T_CONFIG data types for the parameters
Parameter and type
REQ
Input
INTERFACE
Input
CONF_DATA
Input
DONE
Output
BUSY
Output
ERROR
Output
STATUS
Output
ERR_LOC
Output
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#...)
0
00000000
0
00700000
0
00700100
542
SCL
"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_);
Data type
Bool
HW_Interface
Variant
Bool
Bool
Bool
DWord
DWord
Description
No error
Note: If the instruction executes successfully, the "no error" status may not be returned.
The job is not finished (BUSY = 1).
Start of job execution
Description
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.
Description
Starts the instruction on the rising edge.
ID of network interface
Reference to the structure of the configuration data;
CONF_DATA is defined by a System Data Type (SDT).
0: Job has not yet started or is still running.
1: Job was executed without error.
0: The job is complete.
1: The job is not yet complete. A new job cannot be
triggered.
Status parameters with the following values:
0: No error
1: Error occurred during processing. STATUS provides
detailed information on the type of error.
Status information including error information. (Refer to
the Error and Status condition codes in the table below.)
Fault location (field ID and subfield ID of the error
parameter)
System Manual, 03/2014, A5E02486680-AG
S7-1200 Programmable controller

Advertisement

Table of Contents
loading

Table of Contents