Siemens Simantic Net NCM for Industrial Ethernet S7 User Manual
Page 164

Programming FCs (Functions) and FBs for S7 Ethernet CPs
164
SIMATIC NET NCM S7 for Industrial Ethernet
C79000-G8976-C129–06
Explanation of the Formal Parameters
The following table explains all the formal parameters for the AG_RECV /
AG_LRECV function.
Parameter Declara-
tion
Type
Possible
Values
Remarks
ID
INPUT
INT
1,2...16
The connection number of the ISO transport
connection is specified in the ID parameter (see
Configuration Section 4.3.1)
LADDR
INPUT
WORD
Module base address
When you configure the CP with STEP 7
hardware configuration, the module base
address is displayed in the configuration table.
Specify this address here.
RECV
INPUT
ANY
Specifies the address and length.
The address of the data area refers to one of
the following:
– Process image area
– Bit memory
– Data block area
Note on length:
Performance is improved in transfer of data
records up to 212 bytes if you also restrict the
length to 212 with the RECV parameter.
NDR
OUTPUT
BOOL
0: –
1: new data
This parameter indicates whether new data
were received.
For the meaning of this parameter in
conjunction with the ERROR and STATUS
parameters, refer to the following table.
ERROR
OUTPUT
BOOL
0: –
1: error
Error code
For the meaning of this parameter in
conjunction with the DONE and STATUS
parameters, refer to the following table.
STATUS
OUTPUT
WORD
see following
table
Status code
For the meaning of this parameter in
conjunction with the NDR and ERROR
parameters, refer to the following table.