EasyManua.ls Logo

Siemens SIMATIC NET S7-300 - Page 234

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-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

Related product manuals