User Manual Host Adapter SIMATIC TIWAY 1

OPERATION
AND
APPLICATION
UNILINK HOST
ADAPTER 2–34
USER MANUAL
The UNILINK Host Adapter also supports multiprocessing in host computer
applications through the host assigned Source Identification number. This
number associates each host task with corresponding macros, preventing one
task from interfering with anothers resources. Up to thirty-two independent
host
tasks can be in use at any one time, each assigned a unique value, from 1 to
254. The Source ID can also be used in single task environments to group
related
subtasks and gather their responses.
2.10.3
The Macr
o Commands
Macros are defined and maintained with the following commands.
ALLOCA
TE SOURCE ID
ALLOCA
TE MACRO STORAGE BUFFERS
DEFINE MACRO
GA
THER MACRO RESPONSE
ENABLE/DISABLE MACRO EXECUTION
INITIALIZE MACRO RESPONSE BUFFER
LINK MACRO