Host command set reference – Siemens SIMATIC TIWAY 1 User Manual
Page 130
Advertising

HOST COMMAND SET REFERENCE
UNILINK HOST ADAPTER
5–45
USER MANUAL
Define macro 01 as a repetitive send Primitive 20 to read a block of data from
secondary 05 —
Command: 14 21 01 05 01 50 03E8 0006 20 01 0008 0001
Define macro 02 as send Primitive 30 to write the block of data to secondary 06
—
Command: 14 21 02 06 01 00 0000 0006 30 01 0008 0000
Setup the link between macro 01 and 02 —
Command: 1C 21 01 02 01
Enable macro 01 (the trigger) —
Command: 16 21 01 01
The information will be transferred between secondary 05 and 06 at one second
intervals. To stop the transfer, disable macro 01 —
Command: 16 21 01 00
and terminate the link —
Command: 1C 21 01 02 00
Advertising