Programming FCs (Functions) and FBs for S7 Ethernet CPs
155
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_SEND
/AG_LSEND functions.
Parameter Declara-
tion Type Possible
Values Remarks
ACT INPUT BOOL 0,1 If an FC is called with ACT=1, LEN bytes are
sent from the ISO transport data area specified
with the SEND parameter.
If an FC is called with ACT = 0, the status
codes DONE, ERROR and STATUS are
updated.
ID INPUT INT 1,2...64
(S7-400)
1,2...16
(S7-300)
The connection number of the connection is
specified in the parameter ID. (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.
SEND 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