Siemens SIMATIC NET S7-300 Manual page 212

Cps for industrial ethernet
Hide thumbs Also See for SIMATIC NET S7-300:
Table of Contents

Advertisement

7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
FC7 AG_LOCK - continued
Parameter Declaratio
n
ID
INPUT
LADDR
INPUT
LOCKED
OUTPUT
STATUS
OUTPUT
Condition Codes
The following table shows the STATUS code that must be evaluated by the user
program.
Table 7-4
AG_LOCK Condition Codes
STATUS
7000
CP is not processing a job
H
7001
FETCH active
H
7002
WRITE active
H
8183
FETCH/WRITE not configured for this connection (only with S7 -400)
H
8186
ID number not in permitted range (e.g. 1...64 with S7-400 Industrial Ethernet CPs)
H
80A4
The communication bus connection between the CPU and CP is not established. (Only
H
with newer CPU versions)
80B0
The module does not recognize the data record.
H
80B1
The specified length (in the LEN parameter) is incorrect.
H
80B2
The communication bus connection between the CPU and CP is not established.
H
80C0
The data record cannot be read.
H
80C1
The specified data record is currently being processed.
H
80C2
There are too many jobs pending.
H
80C3
CPU resources (memory) occupied.
H
80C4
Communication error (occurs temporarily and a repetition in the user program will often
H
remedy the problem).
80D2
Module base address incorrect.
H
A -212
Type
Possible
Values
INT
1,2...16 for
S7-300
1,2...64 for
S7-400
WORD
BOOL
0: not (yet)
locked
1: locked
WORD
see following
table
S7-CPs for Industrial Ethernet Configuring and Commissioning
Remarks
The connection number of the connection is
specified in the parameter ID. (See
Configuration Section 5.3.1)
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.
Shows the status of the access lock requested
on the specified FETCH/WRITE connection.
Status code
For meaning, refer to the table below.
Meaning
Release 01/2007
C79000-G8976-C182-07

Advertisement

Table of Contents
loading

Table of Contents