Function blocks – Rockwell Automation 1395 Multi-Comm Hardware/Software User Manual

Page 16

Advertising
background image

Chapter 3

Configuration & Interfacing

3–5

Discrete Input Bit Specifier (Par #519) – This parameter determines
which bit of the parameter specified by the Discrete Input Map will be
affected by the discrete input.

Jumper J4, 115V AC/24V DC select – This jumper allows the selection
of the input voltage required to operate the discrete input. Refer to Table
3–B.

Discrete Input Operator (Par # 520) – Determines how the discrete
input will affect the bit specified by the Discrete Input Bit Specifier. Refer
to Table 3C for further details.

Value

Function

0

1

2

3

4

Table 3-C.

Discrete Input Operator Selections Parameter 520

Disable Input

AND input with parameter specified in 518

OR input with parameter specified in 518

Invert Input & OR with parameter specified in 518

Invert Input & AND with parameter specified in 518

Function Blocks

The MCA has four programmable function blocks which can be used to
manipulate data on the Adapter or from the Drive. The inputs and outputs
of these blocks can come directly from the Adapter or from the Drive via
configuration links.

All function blocks are executed every 1.7 milliseconds in the following
order:

1. Multiply Block #1

2. Multiply Block #2

3. Add Block

4. Filter Block

Cascading Function Blocks – These function blocks can be cascaded
based on application requirements. If the blocks are not cascaded in the
order shown above, then additional time delays will occur. A time delay of
1.7 milliseconds for each block executed out of sequence will occur.

In addition, there are two sets of parameters that can be used along with the
blocks. These are Constant parameters (parameters 550 – 553) and CA
Indirect parameters (parameters 364 – 369). The constant parameters can
be used to store a constant or preset value for use by a function block. The
CA Indirect parameters are used to direct data gathered from outside the
Adapter board for use by the function blocks. Examples are shown in
Figure 3–3.

Advertising