Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 114

Advertising
background image

6–60

Library of Routines

OC_ReadOutputImage

Publication 1747-6.5.3 June 1998

Example:

HANDLE

Handle;

WORD

outputdata[2];

int

retcode;

retcode = OC_ReadOutputImage( Handle, NULL, 6, 0, 2, outputdata );

/* Read slot 6 data, first 2 words, directly from the output image */
/* table to outputdata buffer */

Advertising
This manual is related to the following products: