beautypg.com

Encoder_analog_2030 – Watlow LogicPro User Manual

Page 210

background image

Chapter 12: Function Blocks

LogicPro User’s Guide

194

Watlow Anafaze

Doc.# 28002-00 Rev 3.00

PPC-2020 Analog In Module Addressing Example

To create a variable named My_Input_Var that reads the value of the
fourth thermocouple on a PPC-2021 module with its rotary address
switch set to 3, set the options in the Add Program/Resource
Variable
dialog box as illustrated below.

Encoder_Analog_2030

The Encoder_Analog_2030 driver supports the inputs and outputs
on PPC-2030 Encoder In Analog Out Module.

To associate a variable with an encoder input or an analog output:

1.

Open the Add Program/Resource Variable dialog box.

2.

Enter a unique variable Name.

3.

Select INT from the Type list.

4.

Select Input or Output by clicking the corresponding check
box.

5.

Select Encoder_Analog_2030 from the IO Driver list.

6.

Select WORD from the IO Size list.

7.

Enter the IO Physical Address. The address is:
X.Y.Z

X is the module address (11-14)
Y is the type of I/O (1 = Count,
2 = Frequency, 3 = Analog Out)
Z is the module I/O number (1-4)

8.

Click

[OK]

.