Siemens SIMATIC TIWAY 1 User Manual page 129

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

Advertisement

1. Allocate two macro buffers. The trigger response buffer will be at least
2. Define one macro buffer with the following features.
3. Define the other macro buffer with the following features.
4. Issue the LINK MACRO command.
5. Enable the trigger macro for execution.
Example:
Allocate Source Id 21 —
Command: 10 21 00
Allocate two macro buffers —
Command: 13 21 0010 0020 0030 0010
Response: 13 21 01 02
UNILINK HOST ADAPTER
USER MANUAL
HOST COMMAND SET REFERENCE
Macro Linking Procedure
eight bytes in length for Primitive 20 and at least ten bytes for Primitive
A0. The action macro command buffer must be greater than or equal to
the size of the trigger macro response buffer plus 2 for Primitive 20 or
plus 4 for Primitive A0. The action response buffer must be at least four
bytes in length.
a. Either repetitive or non-repetitive.
b. No auto enable.
c.
Send Primitive macro type.
d. Either Primitive 20 or A0 with the length of data to transfer.
a. Non-repetitive.
b. No auto enable.
c.
Send Primitive macro type.
d. Either Primitive 30 or B0.
5–44

Advertisement

Table of Contents
loading

Table of Contents