EasyManuals Logo

Siemens SIMATIC NET S7-300 User Manual

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
Page #217 background imageLoading...
Page #217 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-217
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
The reset ID (bit 15 in RESULT1) is set on the CP. If there is a status query later, it
is therefore clearly recognizable whether the connection has been reset due to a
reset job. The reset ID is cleared on the CP only after this status query (or as a
result of an explicit CN_CLEAR_RESET command)
Notice
The block must be called with ACT = 1; if it is called with ACT=0, there is no
function call and the block is exited again immediately.
Since the job result of FC10 is obtained synchronous to the call, it can be called
again in the same cycle.
Explanation of the Formal Parameters
The following table explains all the formal parameters for the AG_UNLOCK
function:
Paramete
r
Declarati
on
Type Possible
Values
Meaning / Remark
ACT INPUT BOOL 0,1 The FC must be called with ACT=1.
If it is called with ACT=0, there is no function
call and the block is exited again immediately.
ID INPUT INT 1, 2, .., n,
or
0
The connection number of the connection is
specified in the parameter ID. The connection
number can be found in the configuration. n is
the maximum number of connections and is
dependent on the product (S7-300 or
S7-400).(See also Configuration Section
5.3.1)
If the call addresses all connections (_ALL
function with CMD 3 or 4), 0 must be specified
as the ID.
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.
CMD INPUT INT See Table 7-7 Command to FC AG_CNTRL.
DONE OUTPUT BOOL 0:
Job still being
processed or
not yet
triggered
1:
Job executed
This parameter indicates whether or not the job
was completed without errors.
For the meaning of this parameter in
conjunction with the ERROR and STATUS
parameters, refer to the following table.
Note:
If DONE=1, RESULT can be evaluated
FC10 AG_CNTRL - continued

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC NET S7-300 and is the answer not in the manual?

Siemens SIMATIC NET S7-300 Specifications

General IconGeneral
Product Type DesignationSIMATIC NET S7-300
MountingDIN rail mounting
Protection ClassIP20
CPU ModelsVarious models available (e.g., CPU 312, CPU 314)
Communication InterfacesMPI, PROFIBUS DP
Power Supply24 V DC power supply required. Different power supply modules available.
I/O ModulesDigital input modules, digital output modules, analog input modules, analog output modules
ProgrammingSTEP 7 software
Supply Voltage24V DC or 120/230V AC (depending on model)
Digital InputsAvailable via digital input modules
Digital OutputsAvailable via digital output modules
Analog InputsAvailable via analog input modules
Analog OutputsAvailable via analog output modules
Communication FunctionsMPI, PROFIBUS DP, Ethernet (depending on model)
ProtocolsMPI, PROFIBUS DP, TCP/IP (depending on model)
Operating Temperature0°C to 60°C
Storage Temperature70 °C
MemoryDepends on CPU model (e.g., 32 KB to 1.5 MB)

Related product manuals