beautypg.com

Setting up outputs for use with a logic program, Using logic to set an analog input, Starting and stopping logic programs – Watlow PPC-2000 User Manual

Page 137

background image

PPC-2000 User’s Guide

Chapter 3: Operating with AnaWin 3

Doc.# 30002-00 Rev 2.3

Watlow Anafaze

113

Setting up Analog Inputs for Use with a Logic Program

The closed-loop control program updates any analog input
whether it is selected as the source for a channel or not. A logic
program can read and use the scaled Input Value from the
PPC’s datatable.

Set up the input as you would for a closed-loop control channel.
Select an Input Type, set the Units, and set scaling parameters if
using a Linear Input type. See Setting up User Selectable
Linear Inputs on page 98
.

Setting up Outputs for Use with a Logic Program

Various types of conditioned outputs are available for logic
programs. These outputs include digital outputs conditioned
for time proportioning, DZC, SDAC and analog outputs scaled
in units of 0.0 to 100.0%. Conditioned outputs are not accessed
directly from the I/O physical address but rather through
channels’ output address. See Accessing Channel Parameters
with LogicPro on page 173.
In order to have the logic program
write to these outputs, a loop must be set up with the output
destination, output type, and PV source. An unused input may
be used for the PV source. The loop should be in Manual mode.
The logic program can then write to the Heat or Cool Output%,
and the Heat or Cool Output Type will determine the kind of
conditioning performed.

Using Logic to Set an Analog Input

A logic program can set a process variable by outputting a value
to one of the Soft Input registers. The Soft Inputs show up on the
Inputs Spreadsheet and the list of options for PV Source in
AnaWin. To use the logic calculated value, select the Soft Input
as the PV Source and set up the channel as usual.

Starting and Stopping Logic Programs

After developing and downloading a logic program with
LogicPro, use the PPC Globals screen in AnaWin3 to start and
stop the logic program.

To start the logic program:

1.

Select the View menu.

2.

Select PPC Globals.

3.

Double-click on the Start Logic Program button.

4.

Click on the Send button to command the PPC to start the
logic program
-or-
click Cancel.