Pepper Computer RS232, RS485 user manual SMDAC1StandBy Syntax

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 273
Image 273

Chapter 5 Analog Modules

SMART I/O User’s Manual

 

 

 

 

 

 

 

 

 

 

5.5.8.5 SMDAC1StandBy

Syntax

error_code SMDAC1StandBy(u_int8 PortNr);

Description

This function places the module connected on Port PortNr in standby mode where the outputs are disconnected from the screw terminal block.

Input

u_int8 PortNr

Output

error_code

Example

SM-Port number 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).

5

RetVal = SMDAC1StandBy(0);

 

 

 

 

October 01, 1996

©1996 PEP Modular Computers GmbH

Page 5 - 117

 

 

Page 273
Image 273
Pepper Computer RS232, RS485 user manual SMDAC1StandBy Syntax