Ppc-2040 digital i/o addressing example – Watlow LogicPro User Manual
Page 212

Chapter 12: Function Blocks
LogicPro User’s Guide
196
Watlow Anafaze
Doc.# 28002-00 Rev 3.00
To associate a variable with a counter input:
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 by clicking the check box.
5.
Select Digital_IO_2040 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 (21-26)
Y is the type of I/O (1 =Count, 2 =Frequency)
Z is the module I/O number (1-2).
8.
Click
[OK]
.
PPC-2040 Digital I/O Addressing Example
To create a variable named DigIn_22 that reads the state of the 22
nd
input on a PPC-2040 module with its rotary address switch set to 21,
set the options in the Add Program/Resource Variable dialog
box as illustrated below.