beautypg.com

5 allocate network manager buffers, Host command set reference – Siemens SIMATIC TIWAY 1 User Manual

Page 146

background image

HOST COMMAND SET REFERENCE

UNILINK HOST ADAPTER

5–61

USER MANUAL

5.6.5

Allocate Network Manager Buffers — 34

The ALLOCATE NETWORK MANAGER BUFFERS command specifies the
number of Network Manager buffers to allocate to a specific HIU when the HIU
is brought online. This command can be issued for any HIU at any time if the
number of Network Manager buffers allocated by the background monitor is set
to zero. Otherwise, this command can only be issued before the Network
Manager is enabled. This command can only be issued once per HIU, and the
buffers allocated will remain allocated until the Network Manager adapter is
reset. The Network Manager may not be able to allocate the number of NM
buffers requested because of memory limitations. The actual number of NM
buffers allocated is returned in the response.

In addition, you can specify whether the HIU has disconnect permission.
Disconnect permission allows an HIU to take a secondary device offline when
the DISCONNECT SECONDARY command or disconnect macro is processed.
If the HIU does not have disconnect permission, the secondary will be removed
from the HIUs secondary log, but the secondary will remain online. Specifying
this ability here takes precedence over the background monitor defaults
specified in the CONFIGURE NETWORK MANAGER command.

Command:

34 aa nn dd

Response:

34 aa mm

Usage:

CONFIGURATION

Modes:

NM

Parameters:

aa

the HIU address to allocate NM buffers for.

nn

The number of NM buffers to allocate ranging from 01 to FF hex.
The average number of buffers allocated to each HIU for a
multiple host network should range between 5 to 10 buffers.

dd

Set to 01 to allow the HIU to issue the disconnect command.
When set to 00 it will prevent the HIU from issuing the
disconnect command.

mm

The number of NM buffers allocated to the HIU. This value may
be less than the number requested in the command and will be 00
if no buffers were allocated because there was no buffer memory
available.