ProSoft Technology MVI69-ADM User Manual

Page 9

Advertising
background image

MVI-ADM ♦ 'C' Programmable

Contents

'C' Programmable Application Development Module

Developer's Guide

ProSoft Technology, Inc.

Page 9 of 342

February 20, 2013

MVIbp_GetConsoleMode .......................................................................................................... 225

MVIbp_GetSetupMode .............................................................................................................. 226

MVIbp_GetProcessorStatus ...................................................................................................... 227

MVIbp_Sleep ............................................................................................................................. 228

MVIbp_SetConsoleMode ........................................................................................................... 229

8.7

Platform Specific Functions ................................................................................... 230

MVIbp_ReadModuleFile (MVI46) .............................................................................................. 230

MVIbp_WriteModuleFile (MVI46) ............................................................................................... 231

MVIbp_SetModuleInterrupt (MVI46) .......................................................................................... 232

9

Serial Port Library Functions

233

9.1

Serial Port API Initialization Functions .................................................................. 235

MVIsp_Open .............................................................................................................................. 235

MVIsp_OpenAlt .......................................................................................................................... 237

MVIsp_Close .............................................................................................................................. 239

9.2

Serial Port API Configuration Functions ................................................................ 240

MVIsp_Config ............................................................................................................................ 240

MVIsp_SetHandshaking ............................................................................................................ 242

9.3

Serial Port API Status Functions ........................................................................... 243

MVIsp_SetRTS .......................................................................................................................... 243

MVIsp_GetRTS .......................................................................................................................... 244

MVIsp_SetDTR .......................................................................................................................... 245

MVIsp_GetDTR .......................................................................................................................... 246

MVIsp_GetCTS .......................................................................................................................... 247

MVIsp_GetDSR ......................................................................................................................... 248

MVIsp_GetDCD ......................................................................................................................... 249

MVIsp_GetLineStatus ................................................................................................................ 250

9.4

Serial Port API Communications ........................................................................... 251

MVIsp_Putch .............................................................................................................................. 251

MVIsp_Getch ............................................................................................................................. 252

MVIsp_Puts ................................................................................................................................ 253

MVIsp_PutData .......................................................................................................................... 255

MVIsp_Gets ............................................................................................................................... 257

MVIsp_GetData ......................................................................................................................... 259

MVIsp_GetCountUnsent ............................................................................................................ 261

MVIsp_GetCountUnread ........................................................................................................... 262

MVIsp_PurgeDataUnsent .......................................................................................................... 263

MVIsp_PurgeDataUnread .......................................................................................................... 264

9.5

Serial Port API Miscellaneous Functions .............................................................. 265

MVIsp_GetVersionInfo ............................................................................................................... 265

10

CIP Messaging Library Functions

267

10.1

CIP Messaging API Files....................................................................................... 268

10.2

CIP API Architecture ............................................................................................. 269

10.2.1

Backplane Device Driver ....................................................................................... 269

10.3

CIP API Initialization Functions ............................................................................. 270

MVIcip_Open ............................................................................................................................. 270

MVIcip_Close ............................................................................................................................. 271

10.4

CIP Object Registration ......................................................................................... 272

MVIcip_RegisterAssemblyObj ................................................................................................... 272

MVIcip_UnregisterAssemblyObj ................................................................................................ 274

Advertising