3 the macro commands, Operation and application – Siemens SIMATIC TIWAY 1 User Manual
Page 44

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 another’s 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 Macro Commands
Macros are defined and maintained with the following commands.
D ALLOCATE SOURCE ID
D ALLOCATE MACRO STORAGE BUFFERS
D DEFINE MACRO
D GATHER MACRO RESPONSE
D ENABLE/DISABLE MACRO EXECUTION
D INITIALIZE MACRO RESPONSE BUFFER
D LINK MACRO