Siemens SIMATIC TIWAY 1 User Manual page 105

Unilink host adapter
Hide thumbs Also See for SIMATIC TIWAY 1:
Table of Contents

Advertisement

5.4.1
Allocate Source Id — 10
The ALLOCATE SOURCE ID command establishes a source identification
number that maintains the independence of task resources. This number is the
link between the host applications task and the associated macro resources.
This command can be issued at anytime after the Configure Adapter command,
code 20, has been processed. However, it must be issued before a macro can be
defined. Only thirty–two unique Source Ids may be active at a time. Memory
management is aided with Source Ids because they group resources so that
these resources can be released simultaneously. Once the resources are
released, the memory will be packed to free space for future memory allocation
requests.
Command:
Response:
Usage:
Modes:
Parameters:
ss
oo
UNILINK HOST ADAPTER
USER MANUAL
HOST COMMAND SET REFERENCE
10 ss oo
10 ss oo
OPERATION
MHIU, HIU
The Source Id. A unique number, ranging from 01 to FE (1 to 254
decimal), used to identify each task or process using the HIUs
resources.
Allocate/Deallocate Code
00 = Allocate the Source Id, clear all resources allocated to that
Source Id, if any, and put the Source Id in the active list.
01 = Deallocate the Source Id, clear all the resources allocated to
this Source Id, if any, and take the Source Id out of the active list.
5–20

Advertisement

Table of Contents
loading

Table of Contents