FC 192 - User Defined Function Two

The user defined function two function code executes a user defined function (UDF). The UDF2 block has inputs, parameters, outputs and program data. Specification S24 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 S23 links to the first auxiliary UDF block.

 

Specification S25 links the UDF2 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

B

Boolean output from UDF program

N+1

B

Boolean output from UDF program

N+2

B

Boolean output from UDF program

N+3

B

Boolean output from UDF program

N+4

B

Boolean output from UDF program

N+5

B

Boolean output from UDF program

N+6

B

Boolean output from UDF program

N+7

B

Boolean output from UDF program

N+8

R

Real output from UDF program

N+9

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

N

2

I

Note 1

Block address of any input

S10

N

2

I

Note 1

Block address of any input

S11

N

2

I

Note 1

Block address of any input

S12

N

2

I

Note 1

Block address of any input

S13

N

2

I

Note 1

Block address of any input

S14

N

2

I

Note 1

Block address of any input

S15

N

2

I

Note 1

Block address of any input

S16

N

2

I

Note 1

Block address of any input

S17

N

2

I

Note 1

Block address of any input

S18

N

2

I

Note 1

Block address of any input

S19

Y

0.000

R

Full

Tunable real parameter

S20

Y

0.000

R

Full

Tunable real parameter

S21

Y

0.000

R

Full

Tunable real parameter

S22

Y

0.000

R

Full

Tunable real parameter

S23

N

2

I

Note1

Block address of first auxiliary UDF

S24

N

128

I

32 - 65535

Size of data (bytes)

S25

N

2

I

Note 1

Block address of UDF declaration

S26

Y

0.000

R

Full

Spare

S27

Y

0.000

R

Full

Spare

S28

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