beautypg.com

Instruction 101 function generator – Maple Systems MAPware-7000 User Manual

Page 171

background image

163

MAPware-7000 Ladder Logic Guide

1010-1041 rev. 00

Instruction 101 Function Generator

Expression:

Space Requirement: 1 line x 6 column Location Requirement: Middle, Right rail

Function:

The Function Generator is used to compute a value f(x) for a given value x stored in Register A.
The value f(x) is then stored into Register C. The computed value is derived based upon a linear
equation as represented by several points in a table of consecutive registers (of size 2n)
beginning with Register B. The table of points represents the X and Y values of a plotted linear
graph. The first half of registers represents the X axis plot points. The second half represent the
Y axis plot points.

Execution Condition:

Input

Operation

Output

OFF

No execution

OFF

ON

Execution

ON

Operand:

Coil or Bit

Register

Constant

Index

Name

X

Y B

S

T.

C.

M

X
W

Y
W

B
W

S
W

T C

D

I

J

K

M
W

A

Input value x

√ √

N

Parameter

Size

1-32

B

Start of

parameters

√ √

C

Function

Value f(x)

√ √