Rockwell Automation Allen-Bradley ControlLogix 1756-MVI Programming Reference Manual page 95

Multi-vendor interface module
Hide thumbs Also See for Allen-Bradley ControlLogix 1756-MVI:
Table of Contents

Advertisement

MVIsp_OpenAlt
Example:
MVISPALTSETUP altsetup;
altsetup.baudrate = BAUD_9600;
altsetup.parity = PARITY_NONE;
altsetup.wordlen = WORDLEN8;
altsetup.stopbits = STOPBITS1;
altsetup.txquesize = DEFQSIZE;
altsetup.rxquesize = DEFQSIZE * 2;
if (MVIsp_OpenAlt(COM1, &altsetup) != MVI_SUCCESS)
{
printf("Open failed!\n");
} else {
printf("Open succeeded!\n");
}
See Also:
MVIsp_Open
Serial Port API
Publication 1756-RM004B-EN-P - October 2000
5-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents