PEP Modular Computers Modular Computers RS485 User Manual page 74

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

Advertisement

SMART I/O User's Manual
A complete list of the operate COMMANDS may be obtained by selecting a
project from the ISaGRAF projects group, opening an application and
observing the Common defines in the Dictionary pull-down menu. Note that
not all calls in the list may be used within the SMART I/O environment
however, the calls applicable to this module are :
O_INIT_CODE
O_POWERFAIL_SET : The purpose of this operate call is to detect when
RetVar := OPERATE(s_time, O_POWERFAIL_SET, 0);
1
Page 2 - 34
: The syntax and usage have already been explained.
(if) the power to the PLC (SMART I/O) has failed.
The function is normally built into the initialization
stage of an application and has the following
syntax :
When the application is initialized, the start time is
recorded in battery backed ram (1) at the given
address (s_time). If the power to the PLC fails (2)
and recovers at a later stage (3), the software makes
a comparison with the actual clock time (via the
RTC) and the time stored in this memory location.
If a discrepancy exists then the RetVar will record
this fact. Refer to the PEP online help for more
information pertaining to the implementation of this
operate call.
2
Time
©1996 PEP Modular Computers GmbH
Chapter 2 SMART-BASE
3
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