Pepper Computer RS485, RS232 user manual SMADAC1Operate Syntax

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 272
Image 272

SMART I/O User’s Manual

Chapter 5 Analog Modules

 

 

 

 

 

 

 

 

 

 

5.5.8.4 SMADAC1Operate

Syntax

error_code SMDAC1Operate(u_int8 PortNr);

Description

This function powers up the outputs as they are disconnected from the screw terminals by default. This is the software control of the software switch shown in the schematics earlier in this section of the manual.

Input

u_int8 PortNr

Output

error_code

Example

SM-Port to be accessed

SUCCESS

if module was not initialised

E_SEEK

E-BMODE

if the module is unknown

or standard OS-9 error code (refer to the OS-9 Technical Manual Error Codes Section).

RetVal = SMAC1Operate(0);

 

 

 

 

Page

5 - 116

©1996 PEP Modular Computers GmbH

October 01, 1996

 

 

 

Page 272
Image 272
Pepper Computer RS485, RS232 user manual SMADAC1Operate Syntax