Siemens Simantic Net NCM for Industrial Ethernet S7 User Manual

Page 172

Advertising
background image

Programming FCs (Functions) and FBs for S7 Ethernet CPs

172

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.

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

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

Advertising