P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1069
Axis selection extension
The Global_IN network must be modified if more than nine axes are selected. If other keys and LEDs are to be
used on the machine control panel here, proceed as follows:
1. The command UD DW#16#Value (comment: Clear all axis LEDs for display) deletes all defined LEDs for axis
selections. The bit mask is currently processing the nine axis selection LEDs.
2. The command UW W#16# (comment: ”Masking all the axis selection buttons” ) checks whether the direction
has changed. The bit string must be adjusted here.
3. The branch destination list (SPL) must be expanded with new jump labels. The new jump labels should be
inserted in descending order before label m009. The selection information should be extended for the new
jump labels, as described for labels m009 and m008.
13.13.30 FC 1005: AG_SEND transfers data to Ethernet CP
Function
The FC block AG_SEND transfers data to the Ethernet CP for transfer via a configured connection.
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".
Description of formal parameters
The following table shows the formal parameters of the function AG_SEND.
Note
The blocks are made available as STL sources if required. But they do not match the
current status of the block. Some details of the actual implementation in C have been
developed further. For this reason we recommend that you specify your additional
requirements for the blocks and that you pass these onto project management via the
sales department.
Signal
Typ
e
Type
Value range
Remark
ACT
I
BOOL
Job initiated
ID
I
INT
Connection ID
LADDR
I
WORD
Module start address (special
SINUMERIK feature; see
description below the table)
SEND
I
ANY
Specifies the address and length.
The address of the data area
alternatively refers to:
• Bit memory address area
• Data block area