National Instruments NI-FBUS User Manual

Page 62

Advertising
background image

Chapter 3

NI-FBUS Configurator Tutorials

NI-FBUS Configurator User Manual

3-4

ni.com

11. Modify the scaling of the AO module. Double-click the AO function

block. Scaling for the AO block is similar to that of the AI block, only
in the reverse direction.

PV_SCALE

and

PV

for an AO block correspond

to the

OUT_SCALE

and

OUT

of the AI block—they are the values that

are seen on the bus.

PV_SCALE

EU_100

400

EU_0

–100

Units_Index

°C

Decimal

3

XD_SCALE

EU_100

50

EU_0

–50

Units_Index

mV

Decimal

3

L_TYPEindirect

12. Adjust the macrocycle of your configuration. The macrocycle is the

least common multiple of all the loop times on a given link. To edit the
schedule, double-click the Schedule icon from the configuration tree.
If you are using a fast device, you might be able to decrease the Loop
Time to .1 second for this configuration. If you decrease the
macrocycle too much, a warning will appear on the Errors tab.

13. Download your configuration by clicking the Download Project

button.

In the download configuration window that appears, select Clear
Devices
and Automatic Mode Handling.

Click the Download button when you are ready to download your
configuration. Downloading can take several minutes to complete.
When finished, a dialog box appears informing you that the download
is complete.

14. Test your configuration.

a.

Click the Monitoring Mode button in the Function Block
Application Editor window.

b.

In the dialog box that appears, select Monitor Block Outputs,
Monitor Wired Parameters, and set the rate to two seconds.

c.

Click Start Monitoring.

Advertising