8ć33, Cmds.h, Bus.h – Rockwell Automation 6008-SV2R VMEbus remote I/O Scanner User Manual

Page 167: Utils.h

Advertising
background image

Chapter

Programming the Scanner

8

8Ć33

cmds.h

/*
**
** CMDS.H –– function prototypes for cmds.c
**
*/

void

wakeup

(channel far *);

int

setup

(channel far *, setup_data far *);

int

autocfg

(channel far *, link_config far *);

int

scanlist

(channel far *, scanlist_data far *);

int

faultgroup

(channel far *, fdg_data far *);

int

setmode

(channel far *, int);

int

linkstatus

(channel far *, link_config far *);

void

reset

(channel far *);

void

read_input_word

(channel far *, int, int, unsigned short far *);

void

write_output_word

(channel far *, int, int, unsigned short);

int

queue_oneshot_bt

(channel far *, bt_data far *);

int

configure_continuous_bt

(channel far *, bt_data far *);

int

oneshot_bt_complete

(channel far *, bt_data far *);

int

continuous_bt_update

(channel far *, bt_data far *);

bus.h

/*
**
** BUS.H –– prototypes for bus utility functions
**
*/

void init_bus_ops

(void);

void map_channel

(channel far *);

void unmap_channel

(channel far *);

int wait_for_cmdcmpl

(channel far *);

utils.h

/*
**
** UTILS.H –– prototypes for utility functions
**
*/

void assert_cmd

(channel far *);

void read_csa

(channel far *, csa_data far *);

int lock_gda

(channel far *);

void unlock_gda

(channel far *);

int lock_conbt_entry

(btentry far *);

void unlock_conbt_entry

(btentry far *);

void print_link_config

(channel far *, link_config far *);

void print_bt_data

(bt_data far *);

void blockcpy

(void far *, void far *, size_t);

int sv2_lock

(unsigned short far *);

Advertising
This manual is related to the following products: