beautypg.com

Functions and demo programs, 5 functions and demo programs – B&B Electronics I-7060 - Quick Start Guide User Manual

Page 45

background image

Getting Started

for I-7000 Series Modules

Date: Jan-08, 2002 Version 1.02 page: 45

5.5 Functions and Demo Programs

There are several functions designed for the Watchdog. For detailed

information about these functions, please refer to the NAP7000P user’s
manual. These functions are listed as follows:

HostIsOK :

Tells all modules "Host is OK" by sending the "~**" command.

ReadModuleResetStatus :

Reads the module reset status.

ToSetupHostWatchdog :

Sets up the module's Host Watchdog.

ToReadHostWatchdog

:

Reads the module's Host Watchdog setup values.

ReadModuleHostWatchdogStatus :

Reads the module's Host Watchdog status.

ResetModuleHostWatchdogStatus :

Resets the module's Host Watchdog status.

SetSafeValueForDo :

Sets up the safe values for DO modules.

SetPowerOnValueForDo :

Sets up the power on values for DO modules.

SetSafeValueForAo :

Sets up the safe values for AO modules.

SetPowerOnValueForAo :

Sets up the power on values for AO modules.

SetPowerOnSafeValue :

Sets up the power on and safe values for modules.

There are some sample programs for the Watchdog. They are written

in VB, Delphi and BCB computer languages, and placed into their respective
demo folders. These demo programs are listed as follows:

SafeAI :

Host Watchdog and Safe value demo for analog input modules.

SafeAO :

Host Watchdog and Safe value demo for analog output modules.

SafeDO :

Host Watchdog and Safe value demo for digital output modules.

Watchdog :

Host Watchdog and Module Watchdog demo.

Users can find these functions and demo programs in the

NAP7000P

version 3.3

.