Siemens SIMATIC TIWAY 1 User Manual page 112

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

Advertisement

HOST COMMAND SET REFERENCE
5.4.5
Define Macro — 14
The DEFINE MACRO command defines or redefines a macro command in the
specified macro buffer. Macros must be disabled and unlinked before they can
be redefined. The macro command can be redefined by reissuing this command,
and the new macro will replace the old and all outstanding responses will be
discarded. The exception flag is reset each time this command is processed.
Command:
14 ss bb aa tt (oo eeee pppp...)
Response:
14 ss bb
Usage:
OPERATION
Modes:
MHIU, HIU
Parameters:
ss
The Source Id number.
bb
The buffer number to store this macro command in. This number
was previously assigned with the ALLOCATE MACRO
STORAGE BUFFERS command.
aa
The secondary device address to send the macro command to.
tt
This parameter defines the macro type from the following values:
01 = Send Primitive. This macro type sends the TIWAY I
Primitive data stored in the macro command buffer to the
secondary and gathers a response in the background mode. The
optional parameters following the 'tt' are only used with this
macro type.
5–27
UNILINK HOST ADAPTER
USER MANUAL

Advertisement

Table of Contents
loading

Table of Contents