13.13.31 Fc 1006: Ag_Recv Receives Data From The Ethernet Cp - Siemens SINUMERIK 828D Function Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Typ
Signal
e
LEN
I
DONE
O
ERROR
O
STATUS
O
When using the functions AG_SEND and AG_RECV, data is transported to the communication partner via the
Ethernet bus of the CP. The communication partner is configured in STEP 7 in the "NetPro" tool.
The special feature when calling the functions involves the specification of parameter "LADDR" at the named
blocks. In the case of SINUMERIK 840D sl, value W#16#8110 must be connected to parameter "LADDR".
In the basic program, this function is available under the FC number 1005 (this FC corresponds to the FC number
FC 5 in the library "SIMATIC_NET_CP").
The block can also be used in a SIMATIC-CPU 3xx with CP343-1.
The protocols TCP and UDP are supported. TCP is the preferred protocol.
Note
With the function AG_SEND, parameter ACT must be TRUE until a result is signaled in
DONE or ERROR.

13.13.31 FC 1006: AG_RECV receives data from the Ethernet CP

Function
The FC block AG_RECV receives data transferred via a configured connection from the Ethernet CP.
The specified functions correspond to the functions of the library "SIMATIC_NET_CP" of the S7-300 CPU in
STEP 7. In general, the online help of these functions applies for these functions and therefore a detailed
description is not provided here.
The functions AG_SEND, AG_RECV can be used for data exchange with another station via the integrated "CP
840D sl".
1070
Type
Value range
INT
BOOL
BOOL
WORD
Remark
Number of bytes, which should be
sent with the job from the data area
Job successfully completed
Error display
Status display
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents