Smtsettout - PEP Modular Computers Modular Computers RS485 User Manual

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

Advertisement

SMART I/O User's Manual

2.6.3 SMTsettout

Syntax
error_code SMTsettout(u_int8 mode);
Description
This function sets the timer output (TOUT) control.
Input
u_int8 mode
Output
error_code
Example
RetVal = SMTsettout(MODE_SQUARE);
T
OUT
The high state of TOUT illustrated in the above diagram shows that the
output is deactivated i.e. OFF. Only when TOUT is in the low state can a
load be driven.
Page 2 - 20
Two modes of TOUT control are available. They are:
MODE_PORTC
MODE_SQUARE
When the timer is stopped, tout is high (see diagram).
SUCCESS
E_BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
OFF
ON
©1996 PEP Modular Computers GmbH
Chapter 2 SMART-BASE
tout has the Simple I/O function.
tout toggles on counter zero.
Unsupported mode
Timer
Stop
t
March 12, 1996

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