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

Page 143

Advertising
background image

OC_WriteModuleFile

Library of Routines

6–89

Publication 1747-6.5.3 June 1998

Example:

HANDLE

Handle;

WORD

filedata[2];

int

retcode;

filedata[0] = 0x55AA;
filedata[1] = 0xAA55;

retcode = OC_WriteModuleFile( Handle, FILTYP_M0, filedata, 6, 3, 2 );

/* Writes words 3 and 4 from module in slot 6 */

Advertising
This manual is related to the following products: