Siemens SIMATIC TIWAY 1 User Manual page 47

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

Advertisement

If this command is accepted, the UNILINK Host Adapter will echo back this
same command string, otherwise the ERROR RESPONSE will be returned.
Source Ids can also be used to group network responses, such as the status of
each device. Only one Source Identification number is allocated with each
command sent to the UNILINK Host Adapter.
All existing macro buffers for the Source
Identification number will be cleared when the
ALLOCATE
processed.
abnormally
additional
resources remain allocated, but unused. Make
sure that your application programs use
unique Source Identification numbers.
2.10.4.2
Allocate The Macro Buffers
Use the ALLOCATE MACRO STORAGE BUFFERS command, code 13, to
define and specify the length for both the macro command buffer and the macro
response buffer. The UNILINK Host Adapter will return the buffer number
assigned by the HIU. Store the buffer number in your application program for
later reference. If you specify more than one buffer pair in the command, more
than one buffer number will be returned in the response. Be sure to allocate a
sufficient length of memory for both the macro command buffer and the macro
response buffer.
OPERATION AND APPLICATION
WARNING
SOURCE
This
terminated
resources
2–37
ID
command
prevents
a
task
from
allocating
while
the
is
that
original
UNILINK HOST ADAPTER
USER MANUAL

Advertisement

Table of Contents
loading

Table of Contents