Siemens Simantic Net NCM for Industrial Ethernet S7 User Manual
Page 170
Programming FCs (Functions) and FBs for S7 Ethernet CPs
170
SIMATIC NET NCM S7 for Industrial Ethernet
C79000-G8976-C129–06
Parameter Declara-
tion
Type
Possible
Values
Remarks
ID
INPUT
INT
1,2...16 for
S7-300
1,2...64 for
S7-400
The connection number of the connection is
specified in the parameter ID. (see
Configuration Section 4.3.1)
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.
LOCKED
OUTPUT
BOOL
0: not (yet)
locked
1: locked
Shows the status of the access lock requested
on the specified FETCH/WRITE connection.
STATUS
OUTPUT
WORD
see following
table
Status code
For meaning, refer to the table below.
Condition Codes
The following table shows the STATUS code that must be evaluated by the user
program.
Table 5-4
AG_LOCK Condition Codes
STATUS
Meaning
7000
CP is not processing a job
7001
FETCH active
7002
WRITE active
8183
FETCH/WRITE not configured for this connection
8186
ID number not in permitted range (e.g. 1...64 with S7-400 Industrial Ethernet CPs)