P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1070
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
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.
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".
LEN
I
INT
Number of bytes, which should be
sent with the job from the data area
DONE
O
BOOL
Job successfully completed
ERROR
O
BOOL
Error display
STATUS
O
WORD
Status display
Note
With the function AG_SEND, parameter ACT must be TRUE until a result is signaled in
DONE or ERROR.
Signal
Typ
e
Type
Value range
Remark
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...