SMART I/O User's Manual
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
RetVal = SMAC1Operate(0);
Page 5 - 116
SM-Port to be accessed
SUCCESS
E_SEEK
E-BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
Chapter 5 Analog Modules
if module was not initialised
if the module is unknown
October 01, 1996
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?