Справочник Пользователя для National Instruments FP-3000

Скачать
Страница из 118
Chapter 3
Example Applications
3-14
©
 National Instruments Corporation
Connect the PID to the AI and AO Blocks
1.
Drag the new PID block to the Function Block Application window. 
All three of your blocks (AI, AO, and PID) should be in the window. 
If not, drag the remaining blocks into the window now.
2.
Using the wiring tool, connect the 
OUT
 parameter from the AI to the 
IN
 
parameter of the PID. 
3.
Connect the 
OUT
 parameter of the PID to the 
CAS_IN
 parameter of 
the AO. 
4.
Connect the 
BKCAL_OUT
 parameter of the AO to the 
BKCAL_IN
 
parameter of the PID. Figure 3-4 shows what your connections should 
look like.
Figure 3-4.  PID Block Connections Dialog Box
Download and Bring the Loop into Auto
1.
Select Configure»Download Configuration to download your 
connection to the network. This establishes all the linkages that you 
“wired” in the previous step. It also schedules the PID function block, 
which has not yet been scheduled to execute.
2.
When the download is complete, open the PID block.
3.
Look at the 
MODE_BLK
 parameter. Set the 
TARGET
 to 
Auto