
Chapter 12: Function Blocks LogicPro User’s Guide
212 Watlow Anafaze Doc.# 28002-00 Rev 3.00
CPC400_Digital_In
The CPC400_Digital_In driver allows a logic program to
access the state of each of the digital inputs.
To read a digital input 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 by clicking the check box.
NOTE! A variable using the CPC400_Digital_ln driver
should always be an input and never an output.
5. Select CPC400_Digital_In from the IO Driver list.
6. In IO Physical Address field, enter the digital input number
(1 to 8).
7. Click [OK].
CPC400_Digital_In Addressing Example
To create a variable named My_Input_Var that reads the value
of the 4th digital input on a CPC400, set the options in the
Add Program/Resource Variable dialog box as listed
below.
Comentarios a estos manuales