FC 191 - User Defined Function One

The user defined function one function code executes a user defined function (UDF). The UDF1 block has inputs, parameters, outputs and program data. Specification S16 allocates the program data space.

 

The number of inputs, parameters and outputs can be expanded by use of auxiliary UDF blocks (function codes 198 and 199). Specification S15 links to the first auxiliary UDF block.

 

Specification S17 links the UDF one block to a UDF declaration block (function code 190).

 

For more information regarding user defined functions, refer to the Batch 90 and User Defined Function (UDF) Programming Language Reference product instruction.

 

 

Outputs:

Blk

Type

Description

N

R

Real output from UDF program

N+1

R

Real output from UDF program

 

 

 

Specifications:

Spec

Tune

Default

Type

Range

Description

S1

N

2

I

Note 1

Block address of any input

S2

N

2

I

Note 1

Block address of any input

S3

N

2

I

Note 1

Block address of any input

S4

N

2

I

Note 1

Block address of any input

S5

N

2

I

Note 1

Block address of any input

S6

N

2

I

Note 1

Block address of any input

S7

N

2

I

Note 1

Block address of any input

S8

N

2

I

Note 1

Block address of any input

S9

Y

0.000

R

Full

Tunable real parameter

S10

Y

0.000

R

Full

Tunable real parameter

S11

Y

0.000

R

Full

Tunable real parameter

S12

Y

0.000

R

Full

Tunable real parameter

S13

Y

0.000

R

Full

Tunable real parameter

S14

Y

0.000

R

Full

Tunable real parameter

S15

N

2

I

Note 1

Block address of first auxiliary UDF

S16

N

128

I

0 - 65535

Size of data (Bytes)

S17

N

2

I

Note 1

Block address of UDF declaration

S18

Y

0.000

R

Full

Spare

S19

Y

0.000

R

Full

Spare

S20

Y

0.000

R

Full

Spare

 

NOTES:

1. Maximum values are:9,998 for the BRC-100, IMMFP11/12 and 31,998 for the HAC