Fc1005: Ag_Send - Transfers Data To Ethernet Cp - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Axis selection extension
Global_IN network
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.
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.
13.17.30

FC1005: AG_SEND - transfers data to Ethernet CP

Function
The AG_SEND function block transfers the data to be transferred via a configured connection
to the Ethernet CP. Together with the AG_RECV function block, data exchange can be
established with another station via the integrated "CP 840D sl." This station must be
configured in STEP 7, "NetPro."
In the basic program, this function is available as a function block FC1005. This is roughly
equivalent to function block FC5 in the "SIMATIC_NET_CP" library.
The TCP, UDP, and ISO-on-TCP protocols are supported.
Note
Smaller volume of transmittable data with SINUMERIK CP and UDP or ISO-on-TCP protocol
For SINUMERIK CP, only 240 bytes can be transmitted when function block FC1005 and the
UDP or ISO-on-TCP protocol are used.
Description of formal parameters
Signal
ACT:
ID:
LADDR:
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Typ
Type
Value range
e
I
BOOL
0 (FALSE), 1 (TRUE)
I
INT
I
WORD
P3: Basic PLC program for SINUMERIK 840D sl
Description
Job initiation
1, 2, 3 ...16
Connection ID
-
Module start address
13.17 Block descriptions
1)
2)
1061

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents