Siemens SIMATIC TIWAY 1 User Manual page 114

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

Advertisement

HOST COMMAND SET REFERENCE
oo
The macro options byte, which is bit mapped as follows:
MSB
0
1
2
3
4
0 = Set Exception Flag On First Response
1 = Do Not Set Exception Flag On First Response
0 = Do Not Freeze Macro and Response On
1 = Freeze Macro and Response On Exception
0 = Non–repetitive Macro
1 = Repetitive Macro
0 = Leave Macro Disabled
1 = Automatically Enable For Execution
Figure 5–7 Macro Options Byte
Bit 0 when set to a one will automatically enable the
macro for execution and will reset the MRSW to zero.
When Bit 0 is set to zero, the MRSW will be set to 8001
hex, indicating that the macro is disabled. If you set Bit 0
to one (auto-enable) and the associated secondary device
is not in the secondary log, the ERROR RESPONSE will
be returned indicating that the secondary is offline.
Bit 1 when set to a one defines the macro to be repetitive
and when set to a zero defines the macro to be
non-repetitive. Repetitive macros are
reissued by the HIU as long as they are enabled. Each
new response is compared to and stored in place of the
previous response. If a difference is found between the
two responses, the macro's exception flag is set.
Non-repetitive macros are only issued once after they
are enabled. When the macro response is received, the
non-repetitive macro sets its exception flag and
automatically disables itself.
LSB
5
6
7
Bits 4–7 Are Unused
Exception
5–29
automatically
UNILINK HOST ADAPTER
USER MANUAL

Advertisement

Table of Contents
loading

Table of Contents