PEP Modular Computers Modular Computers RS485 User Manual page 127

8 channel ac input unit micro plcs and real-time computers
Table of Contents

Advertisement

Chapter 4 Digital Modules
If the same SM-REL1 Module is to be accessed from different tasks, the
user must make sure that the actual output status is ensured by using for
example, semaphores within OS-9.
4.3.8.2 SMREL1Init
Syntax
error_code SMREL1Init(u_int8 PortNr);
Description
This function initializes the SM-REL1 Module on port PortNr by setting the
relays to OPEN, relay LED status to OFF and the external Vcc as input.
Input
u_int8 PortNr
Output
error_code
Example
RetVal = SMREL1Init(0);
March 12, 1996
Note
SM-Port to initialize
(from 0 to 10)
SUCCESS
E_BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
SMART I/O User's Manual
if the module is unknown
4
Page 4 - 39

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Modular Computers RS485 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Modular computers rs232Smart i/o

Table of Contents