FC 163 - Analog Segment Buffer

The analog segment buffer function code takes a snapshot of four analog values simultaneously. Simultaneous snapshots eliminate the possibility of inconsistent data within a segment. Any series of segment buffer blocks (analog or digital) unbroken by nonbuffer blocks is an uninterruptible sequence within a segment. Thus, all outputs of the series of blocks are consistent for the duration of the segment cycle.

 

 

Outputs:

Blk

Type

Description

N

R

Value of first input

N+1

R

Value of second input

N+2

R

Value of third input

N+3

R

Value of fourth input

 

 

Specifications:

Spec

Tune

Default

Type

Range

Description

S1

N

5

I

Note 1

Block address of first input

S2

N

5

I

Note 1

Block address of second input

S3

N

5

I

Note 1

Block address of third input

S4

N

5

I

Note 1

Block address of fourth input

 

NOTES:

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

 

 

 

163.1   Explanation

 

Use the analog segment buffer function code in segments that are not the highest priority. This insures a higher priority segment cannot interrupt the current segment until all four of the specified inputs update. If a higher priority segment tries to interrupt the current segment after one or more of these inputs update in the current cycle, this block suspends execution of the higher priority segment until the four values update. If the higher priority segment interrupts the lower one before any of the values update while this function is executing, the previous values are output.

 

NOTE: The output update is protected from interruption, but the function code execution could be interrupted while reading the input values.