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 #234 background imageLoading...
Page #234 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-234
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Parameter Declaration Type Remarks
LADDR INPUT WORD Module base address
When you configure the CP with STEP 7 HW
Config, the module base address is displayed in
the configuration table. Specify this address here.
Do not modify the parameter until the job is
completed (DONE=1 or ERROR=1).
DONE OUTPUT BOOL Reports the (positive) completion of a job.
ERROR OUTPUT BOOL This indicates that the job could not be executed
error-free.
STATUS OUTPUT WORD This parameter supplies detailed information about
the execution of the job. Status codes can be
returned during execution of the job (DONE=0 and
ERROR=0).
Evaluating Status Codes
Remember that the status codes DONE, ERROR, STATUS are updated at each
block call.
The following table shows the condition codes formed by the DONE, ERROR and
STATUS parameters that must be evaluated by the user program.
Table 7-10 Codes for PN_InOut (FB88) and PN_InOut_Fast (FB90)
DONE
ERROR STATUS Meaning
1 0 0000H Job completed without error.
0 0 0000H No job being processed; the block can be called
0 0 8181H Job active.
or
(only with FB90) : Connection establishment to addressed
module active (see also information under 8090H ).
0 1 8183H (S7-300 only)
The service has not yet started; data acceptance is not yet
possible.
0 1 8184H Bad instance DB, generally triggered by illegal writing of the
instance DB by the user program.
or
(only with FB90)
Bad send or receive job.
0 1 8085H (only with FB90)
Bad interface DB.
FB88 PN_InOut / FB90 PN_InOut_Fast - 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