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 #220 background imageLoading...
Page #220 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-220
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Commands and Evaluating the Job Results
The following table shows you the possible commands and the results that can be
evaluated in the RESULT1/2 parameters.
Table 7-7 Commands to FC AG_CNTRL
CMD
Meaning
0 NOP – no operation
The block executes without a job being sent to the CP.
RESULT (for CMD = 0) Meaning
Parameter Hex value/range
RESULT1 0000 0001
H
Executed without error
RESULT2 0000 0000
H
Default
CMD Meaning
1 CN_STATUS – connection status
This command returns the status of the connection selected with the ID.
The CP is selected in the LADDR parameter.
If bit 15 (reset ID) is set, this is automatically reset (this action corresponds to the
CN_CLEAR_RESET job - see CMD = 5).
RESULT (for CMD = 1) Meaning
Parameter Hex value/range Bit/valu
e
RESULT1 0000 000*
H
Bits 0-3: Codes for the send direction
(excluded values: 0x2)
Bit 0 Connection Type
0 No send and receive connection
1 Connection reserved for send and
receive jobs
Bit 1 Status of current job
0 No send job being executed
1 Send job being executed
Bits 2+3 Previous job:
00 No information available on previous
send job
01 Previous send job completed
successfully
10 Previous send job not completed
successfully
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