3 smrel1deinit, Smart i/o user’s manual, Chapter 4 digital modules – Pepper Computer Modular Computers RS485 User Manual

Page 128

Advertising
background image

SMART I/O User’s Manual

March 12, 1996

©1996 PEP Modular Computers GmbH

Page 4 - 40

Chapter 4 Digital Modules

4.3.8.3 SMREL1DeInit

Syntax

error_code SMREL1DeInit(u_int8 PortNr);

Description

This function deinitializes the SM-REL1 Module on the port PortNr by

freeing the resources tied up with this module and setting all relays to

OPEN, all LEDs to OFF and setting the ext. Vcc line to input.

Input

u_int8 PortNr

SM-Port number to de-initialize

(from 0 to 10)

Output

error_code

SUCCESS

E_BMODE

if the module is unknown

or standard OS-9 error code (refer to the OS-9

Technical Manual Error Codes Section).

Example

RetVal = SMREL1DeInit(0);

Advertising
This manual is related to the following products: