PEP Modular Computers Modular Computers RS485 User Manual page 75

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

Advertisement

Chapter 2 SMART-BASE
O_START_COUNTER : This call starts the counter; it's syntax is as follows :
<RetVar> := OPERATE(<iovar>, O_START_COUNTER, <null>);
O_READ_COUNTER
<RetVar> := OPERATE(<iovar>, O_READ_COUNTER, <null>);
O_STOP_COUNTER
<RetVar> := OPERATE(<iovar>, O_STOP_COUNTER, <null>);
The counter/timer is configured automatically as MODE10 (refer to the 'C'
Programming section) and from within ISaGRAF there is no ability to alter
this configuration.
March 12, 1996
where the <iovar> is typically t_in.
: With this call the contents of the counter register
may be read. When this call is issued, the counter is
stopped, it's register read and then restarted. If a
high-frequency input exists then pulses may be lost
(not counted). The same effect may also be true due
to timeslicing during timer stop and start operations.
Therefore it is recommended that this call be only
used for low frequency inputs (<1kHz). There is no
detection for counter overflow and the call should
not be used for count down operations or square
wave generation. It's syntax is as follows :
where the <iovar> is typically t_in.
: This call stops the counter counting up or down and
square-wave generation and has the following
syntax :
where the <iovar> is typically t_in.
©1996 PEP Modular Computers GmbH
SMART I/O User's Manual
2
Page 2 - 35

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?

This manual is also suitable for:

Modular computers rs232Smart i/o

Table of Contents