Cpc400_digital_out – Watlow LogicPro User Manual
Page 229

LogicPro User’s Guide
Chapter 12: Function Blocks
Doc.# 28002-00 Rev 3.00
Watlow Anafaze
213
CPC400_Digital_Out
The CPC400_Digital_Out allows a logic program to access the state
of each of the digital outputs.
To read or set a digital output with a logic program variable:
1.
Open the
Add Program/Resource Variable
dialog box.
2.
Enter a unique variable
Name
.
3.
Select
BOOL
from the
Type
list.
4.
Select
Input
or
Output
by clicking the corresponding check
box.
5.
Select
CPC400_Digital_Out
from the
IO Driver
list.
6.
In the
IO Physical Address
field, enter the digital output
number (1 to 34).
7.
Click
[OK]
CPC400_Digital_Out Addressing Example
To create a variable named My_Dig_Out that sets the value of
the 23rd output on a CPC400, set the options in the
Add
Program/Resource Variable
dialog box as illustrated
below.