beautypg.com

8 initialize macro response buffer, Host command set reference – Siemens SIMATIC TIWAY 1 User Manual

Page 121

background image

HOST COMMAND SET REFERENCE

UNILINK HOST ADAPTER

5–36

USER MANUAL

5.4.8

Initialize Macro Response Buffer — 17

The INITIALIZE MACRO RESPONSE BUFFER command sets the MRSW to
the value specified. This will cause the exception flag to be set only when the
response differs from this defined response. The macro must be disabled and the
exception flag cleared before this command will be accepted.

Command:

17 ss bb tt rrrr...

Response:

17 ss bb

Usage:

OPERATION

Modes:

MHIU, HIU

Parameters:

ss

The Source Id number.

bb

The macro buffer number in which to store this predefined
response.

tt

This parameter will automatically enable the macro for execution
when set to 01, otherwise the parameter should be set to 00.

rrrr

The predefined macro response data.