Allen-Bradley 1784-KTX Reference Manual page 83

Table of Contents

Advertisement

Appendix B
Programming Examples
UWORD
UWORD
UWORD
UWORD
UWORD
UWORD
UWORD
UWORD
UWORD
UWORD
UWORD
} OPERATING_STATUS;
/*===========================================================================
ADAPTER_CONFIG_INFO
– this structure contains information about each
============================================================================*/
typedef struct
{
UBYTE
UBYTE
UBYTE
UBYTE
UBYTE
UBYTE
} ADAPTER_CONFIG_INFO;
/*=============================================================================
ADAPTER_FAULT_INFO
– this structure contains fault configuration
==============================================================================*/
typedef struct
{
UBYTE
UBYTE
UBYTE
UBYTE
UBYTE
} ADAPTER_FAULT_INFO;
/*=============================================================================
ADAPTER_STATUS
– this structure contains all the configuration
==============================================================================*/
typedef struct
{
ADAPTER_CONFIG_INFO
ADAPTER_FAULT_INFO
UBYTE
} ADAPTER_STATUS;
/*=============================================================================
==============================================================================*/
typedef struct {
UBYTE
} SET_MODE_CMD;
typedef struct {
UBYTE
UBYTE
} SET_SCAN_LIST_CMD;
typedef SET_SCAN_LIST_CMD SCAN_LIST;
Allen-Bradley Parts
typedef struct {
UBYTE
B-4
unsolicited_bt:1;
bt_pending:1;
fault_exists:1;
fault_changed:1;
unsolicited_bt_read_reply:1;
unsolicited_bt_write_reply:1;
confirmation_queue_full:1;
unknown_interrupt_type:1;
host_dead:1;
cos_overrun:1;
undefined:2;
adapter on the Remote I/O link.
during an autoconfiguration and when the host
changes the scan list.
in_scan:1;
exists:1;
known:1;
size:2;
node_adapter:1;
undefined:2;
and operating information and for an adapter.
fault_group_number:4;
in_fault_group:1;
adapter_online:1;
adapter_group_faulted:1;
undefined:1;
and status information for an adapter.
COMMAND DATA STRUCTURES
scanner_mode;
count;
scan_list[64];
unused;
It is updated
adapter_config_info;
adapter_fault_info;
adapter_retry_count;

Advertisement

Table of Contents
loading

This manual is also suitable for:

1784-ktxd1784-kts

Table of Contents