Subtraction Block - Mitsubishi Electric a2 Series Programming Manual

Simple application controllers
Table of Contents

Advertisement

α
2 Simple Application Controllers
6.25

Subtraction Block

The function block is used to subtract inputs B from A hence produce the resultant Y.
Table 6.33: Subtraction Function Block
Function
0 0
0
I
P
O
S
U
B
Setup of the Subtraction Function Block directly from the
1 ) Allocate the input pin to be used for the function block.
2 ) Press the "OK" key with the cursor in the function block. The function block edit screen is
displayed as shown.
3 ) Press the "OK" Key and enter the function block settings using the "
Subtraction operation y=A-B must be specified.
4 ) Using the "
Directset, Analog In or FB Value.
5 ) Repeat step 4 for Constant B and return to the FBd using the "ESC" key.
Set Item
I
Input pin for subtraction function block
This function block operates the expression Y=A-B.
The value of Y,A and B is in the range: -32768 to 32767
FB
a) A,B
- Constant value (Setting range:-32768 to 32767
- Analog value
- FB value
1) Word Output
When the input pin is ON, Y=A-B is executed and the word output will
be given the result. When the input pin is OFF the expression is not
executed and the Y value will retain the last result.
Output
2) Bit Output
- Operation result Y<-32768: Output pin turned ON and the operation
result Y will be set to -32768
- Operation result Y>32767: Output pin turned ON and the operation
result Y will be set to 32767
and
" keys highlight Constant A and press the "OK" key to enter either a
Description
α
2 Series Controller
B 0 0 1 : S
S e t u p F B
C h a n g e N o
D e l e t e F B
B 0 0 1 : S B
O u t p u t
y = A - B
B 0 0 1 : S B
D i r e c t S e t
A n a l o g
F B V a l u e
Function Blocks 6
U
B
and
" keys. The
U
V
a
l
0
U
I n
6 - 69

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Al2-mr-a seriesAl2-mr-d series

Table of Contents