EasyManua.ls Logo

Siemens SIMATIC NET S7-300 - Page 197

Siemens SIMATIC NET S7-300
317 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-197
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Note
In principle, it is possible to call the FC more than once within the CPU cycle to
speed up the handling of the job. Do not forget, however, that this increases the
load during the CPU cycle (the load differs depending on the CPU type)!
Explanation of the Formal Parameters
The following table explains all the formal parameters for the AG_SEND
/AG_LSEND functions.
Parameter Declaratio
n
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 5.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:
- Bit memory
- Data block area
FC5 AG_SEND / FC50 AG_LSEND - continued

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Related product manuals