P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
Basic Functions
884
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Functions
AG_SEND, AG_RECV
The named functions correspond to the functions of the library "SIMATIC_NET_CP" of the S7-300 CPU in STEP
7. In general, these functions are valid for the online help of these functions.
The functions AG_SEND, AG_RECV can be used for data exchange with another station via the integrated "CP
840D sl". For the "AG Functions", there are 2 functions (AG_SEND, AG_RECV). A description of the functions is
provided in Chapter "Block descriptions [Page 925]".
13.8.8
Symbolic programming of user program with interface DB
General
The compiled UDT blocks from these two files are stored in the CPU program of the basic program.
A UDT is a data type defined by the user that can, for example, be assigned to a data block generated in the
CPU.
Symbolic names of virtually all the interface signals are defined in these UDT blocks.
The UDT numbers 2, 10, 11, 19, 21, 31, 71, 72, 73 are used.
Note
Other communication blocks (e.g. BSEND, USEND), which possess a CP343-1, are not
supported in SINUMERIK 840D sl.
Note
The basic program library on the CD supplied with the Toolbox for the 840D contains files
NST_UDTB.AWL and TM_UDTB.AWL.
)%
*(7
5HT
1XP9DU
$GGU
8QLW
&ROXPQ
/LQH
(UURU
1'5
6WDWH
)%
387
5HT
1XP9DU
$GGU
8QLW
&ROXPQ
/LQH
(UURU
'RQH
6WDWH
5'
6'