FC 141 - Sequence Master

The sequence master function code contains a series of masks selected by the step jump input. The masks define the states of the four boolean outputs for each step. A mask is specified as a series of zeroes, ones or twos. Each digit in the mask is associated with a specific output. A value of two represents the don't care state. When this state is selected, the output value assumes the value of the previous step's state. There is a disable mask in addition to the step masks. The disable mask defines the safe state of the outputs. The default mask is output for step zero. If additional steps are required, a sequence master block can be linked to a sequence slave block. Sequence slave blocks can also be linked together.  Series of sequence master and slave blocks can be run in parallel to provide multiples of four boolean outputs.

 

 

Outputs:

Blk

Type

Description

N

B

Ones digit of current mask

N+1

B

Tens digit of current mask

N+2

B

Hundreds digit of current mask

N+3

B

Thousands digit of current mask

N+4

R

Current Step Number

 

NOTE: If mask digit is two, then output equals previous step output value.

 

Specifications:

Spec

Tune

Default

Type

Range

Description

S1

N

0

I

Note 1

Block address of sequence slave (0 = end)

S2

N

0

I

Note 1

Block address of step jump trigger. Requires a 0 to

1 transition after start-up is complete.

S3

N

5

I

Note 1

Block address of step jump number

S4

Y

0

I

0 - 2222

Default Mask

S5

Y

0

I

0 - 2222

Step 1 Mask

S6

Y

0

I

0 - 2222

Step 2 Mask

S7

Y

0

I

0 - 2222

Step 3 Mask

S8

Y

0

I

0 - 2222

Step 4 Mask

S9

Y

0

I

0 - 2222

Step 5 Mask

S10

Y

0

I

0 - 2222

Step 6 Mask

S11

Y

0

I

0 - 2222

Step 7 Mask

S12

Y

0

I

0 - 2222

Step 8 Mask

S13

Y

0

I

0 - 2222

Step 9 Mask

S14

Y

0

I

0 - 2222

Step 10 Mask

S15

Y

0

I

0 - 2222

Step 11 Mask

S16

Y

0

I

0 - 2222

Step 12 Mask

S17

Y

0

I

0 - 2222

Step 13 Mask

S18

Y

0

I

0 - 2222

Step 14 Mask

S19

Y

0

I

0 - 2222

Step 15 Mask

S20

Y

0

I

0 - 2222

Step 16 Mask

S21

Y

0

I

0 - 2222

Step 17 Mask

S22

Y

0

I

0 - 2222

Step 18 Mask

S23

Y

0

I

0 - 2222

Step 19 Mask

S24

Y

0

I

0 - 2222

Step 20 Mask

S25

Y

0

I

0 - 2222

Step 21 Mask

S26

Y

0

I

0 - 2222

Step 22 Mask

S27

Y

0

I

0 - 2222

Step 23 Mask

S28

Y

0

I

0 - 2222

Step 24 Mask

S29

Y

0

I

0 - 2222

Step 25 Mask

S30

Y

0

I

0 - 2222

Step 26 Mask

S31

Y

0

I

0 - 2222

Step 27 Mask

S32

Y

0

I

0 - 2222

Step 28 Mask

S33

Y

0

I

0 - 2222

Step 29 Mask

S34

Y

0

I

0 - 2222

Step 30 Mask

S35

Y

0

I

0 - 2222

Step 31 Mask

S36

Y

0

I

0 - 2222

Step 32 Mask

 

NOTES:

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

 

 

141.1   Explanation

 

141.1.1Specifications

 

S1

Block address of the sequence slave (function code 142).

 

0 = none (Steps zero to 32 supported)

 

Each additional sequence slave adds another 32 step masks to the selection.

 

S2

Block address of the step jump trigger. When <S2> transitions from zero to one, the step jump number <S3> is loaded as the current step number (N+4) and the appropriate mask is loaded to update the outputs N, N+1, N+2 and N+3.

 

S3

Block address of the step jump number. The input value is forced equal to zero when it is less than or equal to zero. If the input value is greater than the maximum step number, the maximum step number is used. The maximum step number is determined from the number of sequence slaves linked to the sequence master block.

 

maximum step number = (master + N) 32

 

where:

N = 0           32 Steps

N = 1           64 Steps

N = 2           96 Steps

N = 3         128 Steps

etc

 

        

S4

Specification S4 is the default mask.

 

Step 0 = default mask

 

S5 through S36

Step 1 to Step 32 masks.

where:

 

X = 0 Output equals zero

X = 1 Output equals one

X = 2 Output equals hold previous output

 

Figure 141-1 and Table 141-6 show a series of sequence master and slave blocks run in parallel to provide multiple outputs.

 

 

 

 

Figure 141-2 shows a logic diagram with the sequence master block used in a batch operation. The sequence master block can be thought of as a simpler version of the sequence generator block (function code 161). In most batch applications of the sequence generator block, the sequence master block may be used instead.

 

 

The number of steps for an application can be expanded in multiples of 32 by linking sequence slave blocks (function code 142). Additional sequence master blocks can be run in parallel to provide expanded step masks in multiples of four output states per step number.