beautypg.com

3 mrsw termination codes, Error codes and diagnostics – Siemens SIMATIC TIWAY 1 User Manual

Page 170

background image

ERROR CODES AND DIAGNOSTICS

UNILINK HOST ADAPTER

6–7

USER MANUAL

6.3

MRSW TERMINATION CODES

The following lists the Macro Response Status Word (MRSW) termination codes
that will be set when a macro has completed execution either successfully or by
an exception. The adapter will optionally return the MRSW when you issue the
GATHER MACRO RESPONSE command, code 15.

CODE MEANING

8000

The requested macro buffer is undefined.

8001

The macro was disabled by either defining it as not enabled in the
DEFINE MACRO command or explicitly disabling it with the
ENABLE/DISABLE MACRO command.

8002

An exception occurred for this macro and it has been frozen.

8003

This non-repetitive macro has completed execution.

8004

This connect secondary macro has completed execution.

8005

This disconnect secondary macro has completed execution.

8010

This macro is disabled because the associated secondary is offline; no
exception occurred before it went offline, so there is no new buffer data.

8011

This macro was disabled because the associated secondary is offline;
the exception flag was set prior to being disabled.

8012

This macro is disabled because the HIU was reinitialized (the network
was reset); no exception occurred before being disabled.

8013

This macro is disabled because the HIU was reinitialized (the network
was reset); an exception did occur before being disabled.

8014

This macro is disabled because the HIU was disconnected from the
network; no exception occurred before being disabled.

8015

This macro is disabled because the HIU was disconnected from the
network; an exception occurred before being disabled.

8016

This macro is disabled because another direct command or macro was
issued to disconnect the secondary from the network.