Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual

Page 8

Advertising
background image

Publication 2098-PM001E-EN-P — July 2002

vi Table of Contents

Analog Output Attributes . . . . . . . . . . . . . . . . . . . . . . . 2-48

long AnalogOutputSetVoltage(long channel, float voltage); . . . 2-48

Digital Input Status . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48

long InputGetAll(void); . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48
long InputGetState(long channel); . . . . . . . . . . . . . . . . . . . . . 2-49

Digital Output Attributes . . . . . . . . . . . . . . . . . . . . . . . 2-49

long OutputSetState(long channel, long state); . . . . . . . . . . . . 2-49

Digital Output Services. . . . . . . . . . . . . . . . . . . . . . . . . 2-50

long OutputSetAllOff(void); . . . . . . . . . . . . . . . . . . . . . . . . . . 2-50
long OutputSetAllOn(void); . . . . . . . . . . . . . . . . . . . . . . . . . . 2-50
long OutputToggle(long channel); . . . . . . . . . . . . . . . . . . . . . 2-50

Digital Output Status . . . . . . . . . . . . . . . . . . . . . . . . . . 2-51

long OutputGetAll(void); . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-51
long OutputGetState(long channel); . . . . . . . . . . . . . . . . . . . . 2-51

Latch Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-52

Latch Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-52

long LatchGetAutoMode(long channel); . . . . . . . . . . . . . . . . . 2-52
long LatchGetCount(long channel); . . . . . . . . . . . . . . . . . . . . 2-53
long LatchGetOutput(long channel);. . . . . . . . . . . . . . . . . . . . 2-53

Latch Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-54

long LatchOnIndex(long channel, long encoder, long rising); . 2-54
long LatchOnInput(long channel, long input, long rising);. . . . 2-55
long LatchReset(long channel); . . . . . . . . . . . . . . . . . . . . . . . 2-55
long LatchSetAutoMode(long channel, long mode); . . . . . . . . 2-56

Latch Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-56

long LatchTriggered(long channel); . . . . . . . . . . . . . . . . . . . . 2-56

Non-Volatile Array Functions . . . . . . . . . . . . . . . . . . . . . . . 2-57

Non-Volatile Array Attributes . . . . . . . . . . . . . . . . . . . . 2-57

float FloatArrayGetElement(long element); . . . . . . . . . . . . . . . 2-57
long FloatArraySetElement(long element, float data);. . . . . . . . 2-57
long LongArrayGetElement(long element); . . . . . . . . . . . . . . . 2-57
long LongArraySetElement(long element, long data); . . . . . . . 2-58

Non-Volatile Array Services . . . . . . . . . . . . . . . . . . . . . 2-58

long FloatArraySelect(char* name);. . . . . . . . . . . . . . . . . . . . . 2-58
long LongArraySelect(char* name);. . . . . . . . . . . . . . . . . . . . . 2-58

Appendix A

Updates to the Motion Library for Ultraware Release 1.5 . . . A-1
Updates to the Motion Library for Ultraware Release 1.4 . . . A-1
Updates to the Motion Library for Ultraware Release 1.3 . . . A-1
Updates to the Motion Library for Ultraware Release 1.2 . . . A-2

Index

Advertising