Division Block - SMC Networks aPNEUALPHA2 Series Programming Manual

Simple application controller
Table of Contents

Advertisement

α
PneuAlpha2 Simple Application
6.25

Division Block

The function block is used to divide inputs A and B hence produce the quotient Q and
remainder R.
Table 6.25: Division Function Block
Function
Setup of the Division 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 "
Division operation Q=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 division function block
This function block operates the expression Q=A/B, R=A%B
The value of Q, R, 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, Q=A/B, R=A%B and the word output will
be given the result. When the input pin is OFF the expression is not
executed and the Q and R values will retain the last result.
Output
2) Bit Output
- Input value (B) = 0: Output pin is turned ON and the quotient Q and
R will reset to 0.
- Quotient (Q) > 32767: Output pin is turned ON and the quotient Q
will be set to 32767.
and
" keys highlight Constant A and press the "OK" key to enter either a
Description
α
PneuAlpha2 Series Controller
Function Blocks 6
and
" keys. The
6 - 54

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the aPNEUALPHA2 Series and is the answer not in the manual?

Table of Contents