Siemens 6AV6651-7KA01-3AA4 - S7-1200 + KTP400 Basic Starter Kit 6AV6651-7KA01-3AA4 Manuel D’Utilisation

Codes de produits
6AV6651-7KA01-3AA4
Page de 364
Easy to communicate between devices 
 
7.4 PROFINET and PROFIBUS instructions 
 
Easy Book 
132
 
Manual, 03/2014, A5E02486774-AF 
7.4 
PROFINET and PROFIBUS instructions 
PROFINET instructions 
The TSEND_C and TRCV_C instructions make PROFINET communications simpler by 
combining the functionality of the TCON and TDISCON instructions with the TSEND or 
TRCV instruction. 
●  TSEND_C establishes a TCP or ISO on TCP communication connection to a partner 
station, sends data, and can terminate the connection. After the connection is set up and 
established, it is automatically maintained and monitored by the CPU. TSEND_C 
combines the functions of the TCON, TDISCON and TSEND instructions into one 
instruction.    
●  TRCV_C establishes a TCP or ISO-on-TCP communication connection to a partner CPU, 
receives data, and can terminate the connection. After the connection is set up and 
established, it is automatically maintained and monitored by the CPU. The TRCV_C 
instruction combines the functions of the TCON, TDISCON, and TRCV instructions into 
one instruction.    
The TCON, TDISCON, TSEND and TRCV instructions are also supported. 
Use the TUSEND and the TURCV instructions to transmit or receive data via UDP. TUSEND 
and TURCV (as well as TSEND, TRCV, TCON, TDISCON) function asynchronously, which 
means that the processing of the job extends over several instruction calls. 
Use the IP_CONF instruction to change the IP configuration parameters from your user 
program. IP_CONF works asynchronously. The execution extends over multiple calls. 
PROFIBUS instructions 
The DPNRM_DG (read diagnostics) instruction reads the current diagnostic data of a DP 
slave in the format specified by EN 50 170 Volume 2, PROFIBUS. 
Distributed I/O instructions for PROFINET, PROFIBUS and AS-i 
You can use the following instructions with PROFINET, PROFIBUS, and GPRS. 
●  Use the RDREC (read record) and WRREC (write record) instructions to transfer a 
specified data record between a component, such as a module in a central rack or a 
distributed component (PROFIBUS DP or PROFINET IO). 
●  Use the RALRM (read alarm) instruction to read an interrupt and its information from a 
DP slave or PROFINET IO device component. The information in the output parameters 
contains the start information of the called OB as well as information of the interrupt 
source. 
●  Use the DPRD_DAT (read consistent data) and DPWR_DAT (write consistent data) 
instructions to transfer consistent data areas greater than 64 bytes from or to a DP 
standard slave. 
●  For PROFIBUS only, use the DPNRM_DG instruction to read the current diagnostic data 
of a DP slave in the format specified by EN 50 170 Volume 2, PROFIBUS.