Pepper Computer RS485, RS232 user manual SMREL1DeInit Syntax

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 128
Image 128

SMART I/O User’s Manual

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

Output

error_code

Example

SM-Port number to de-initialize (from 0 to 10)

SUCCESS

E_BMODE if the module is unknown or standard OS-9 error code (refer to the OS-9 Technical Manual Error Codes Section).

RetVal = SMREL1DeInit(0);

 

 

 

 

Page

4 - 40

©1996 PEP Modular Computers GmbH

March 12, 1996

 

 

 

Page 128
Image 128
Pepper Computer RS485, RS232 user manual SMREL1DeInit Syntax