Multiply (mul), C.3.4 multiply (mul) – Nematron Pointe Controller User Manual

Page 365

Advertising
background image

Pointe Controller User Guide

Appendix C: Ladder Diagram Block Reference

363

Param

Name

Config

Var Type

Description

IN2

Input
Value 2

req

any Input

any Output

any Memory

T_DONE

T_VALUE

T_PREVAL

Numeric

The second input value.

OUT

Output
Value

req

any Input

any Output

any Memory

The result of dividing the first input
value by the second input value.

NOTE: This function does not check for bit register overflow. You can assign any
variables you wish, but mixing variable sizes – for example, a 32-bit input and an
8-bit output – may result in unusable output.

NOTE: This function cannot perform division by zero. Floating point division by
zero generates an overflow condition. Integer division by zero causes an
exception and shuts down the application.

C.3.4 Multiply (MUL)

When used in a Ladder Diagram, the MUL block multiplies two inputs and sends
the result to output.

Select the

tool (from the

Math Blocks

toolbar) and click on a ladder rung to

insert the following block:

Once the block is inserted, you can double-click on it to

configure

it.

Functional Description

This block always passes the Enable input state (EN) through to the Enable Out
output state (ENO) without change; when EN becomes on, ENO is turned on, and
when EN becomes off, ENO is turned off.

When EN becomes on, the block function is executed: the Input Value 1 (IN1) is
multiplied by the Input Value 2 (IN2) and the result is placed in the Output Value
(OUT).

Advertising