# FC 141 - Sequence Master 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:

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)

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.

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.