FC 188 - Digital Output Subscriber

The digital output subscriber function code sends a group of real block outputs to a factory instrumentation protocol (FIP) device. Each digital output subscriber can handle a maximum of eight digital outputs. Four of these blocks with the same FIP identifier number may be linked together. This allows one FIP identifier to reference a total of 32 inputs. All FIP identifiers configured as digital output subscribers are linked together with each block specifying the next block address in the link.

 

The digital output subscriber function code has one output corresponding to the quality of the communication between the

FIP and the Harmony controller.

 

NOTES:

  1. For more information on factory instrumentation protocol, refer to the FIP Application Description C46-602 which is written by the French Commission AFNOR, and the INFBA01 Programming Reference Manual.

  2. If configuring function code 188 for an Ethernet device interface slave (IMEDI01), refer to the IMEDI01 instruction for details and explanations of this function code.

 

 

 

 

Outputs:

Blk

Type

Description

N

B

Output Value of Function

 

 

 

Specifications:

Spec

Tune

Default

Type

Range

Description

S1

N

2

I

Note 1

Block address of next digital output subscriber block

S2

N

0.000

R

0 - 60000

FIP variable identifier2

S3

N

0

I

Note 1

Group number (X) and number of elements (Y):

 

X = 0, 1, 2 or 3

Y = 1 through 8

 

X

Y

Total

0

1 - 8

8

1

1 - 8

16

2

1 - 8

24

3

1 - 8

32

 

S4

N

0

I

Note 1

Block address of output 1

S5

N

0

I

Note 1

Block address of output 2

S6

N

0

I

Note 1

Block address of output 3

S7

N

0

I

Note 1

Block address of output 4

S8

N

0

I

Note 1

Block address of output 5

S9

N

0

I

Note 1

Block address of output 6

S10

N

0

I

Note 1

Block address of output 7

S11

N

0

I

Note 1

Block address of output 8

S12

N

0

I

0 - 3

Output type:

0 = digital

1 = digital with check

2 = boolean

3 = boolean with check

S13

N

0.000

R

Full

Asynchronous promptitude period in msecs3

S14

N

0.000

R

Full

Synchronous promptitude period in msecs3

S15

N

0

I

0 or 1

Aperiodic and periodic variable:

0 = aperiodic variable

1 = periodic variable

S16

N

0

I

00, 01, 10 or 11

Asynchronous and synchronous refresh setting3:

00 = asynchronous and synchronous refresh disabled

01 = synchronous refresh enabled

10 = asynchronous refresh enabled

11 = partial refresh (asynchronous refresh and synchronous refresh enabled)

S17

Y

0.000

R

Full

Spare

S18

Y

0.000

R

Full

Spare

S19

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

  2. Refer to S2 under Specifications for additional information.

  3. For most applications, the default value shown will suffice for the specification.

 

 

188.1   Explanation

 

188.1.1   Specifications

 

S1

Block address of the next digital output module block.

 

S2

FIP variable identifier. All data transfer function codes refer to a FIP variable identifier. This is a 16-bit value (unsigned integer) and defines the variable (read or written from the controller module) for the application layer of the FIP identifier implemented in the I/O module.

 

For most WorldFIP applications, FIP variable identifiers are shown in a hexadecimal format. Refer to the following example of converting hexadecimal values to decimal values.

 

Example:

A hex number can be expressed as:

 

(H0 x 1) + (H1 x 16) + (H2 x 162) + (H3 x 163) ... etc.

 

where H0 is the least significant hex digit and H1 is the next significant, and so on.

 

Example:

 

If the variable identifier was 3AE0, to convert the hex number 3AE0 to decimal:

 

The least significant hex digit is 0. The next digit is E or 14. The next digit is A or 10. The next digit is 3 or 3. Referring to the preceding equation, the decimal number is:

 

(0 x 160) + (14 x 161) + (10 x 162) + (3 x 163)  =  0 x 224 + 2560 x 12288  =  15072

 

 

S3

Output group. digital output module subscribers handle up to four groups of eight outputs. The output group is identified as shown in Table 188-1.

 

 

 

S4 through S11

Block addresses of outputs one through eight.

 

S12

Function type.

0 = digital

1 = digital with check

2 = boolean

3 = boolean with check

 

NOTE: Refer to FIP Variable Input/Output Types in function code 184 for the format of each of these function types.

 

S13

Asynchronous refresh period. The asynchronous refresh period measures how well the FIP module is producing the FIP variable data on the field bus relative to when the Harmony controller refreshes the data. If the FIP variable is not produced on the field bus within the refresh period, then the refresh status flag associated with this FIP variable is reset to indicate that the data is old. Other FIP field devices that consume this variable can evaluate the refresh status flag to determine if the FIP variable data is valid or not. This specification must be set to a value that is equal to or slightly larger than a multiple of the segment cycle time (S2 of function code 82) of the segment in which this block resides.

 

S14

Synchronous refresh period. The synchronous refresh period is similar to the asynchronous refresh period. The difference between the two is that the synchronous refresh period is used to measure how well the FIP module is producing the FIP variable on the field bus relative to a synchronization variable produced on the field bus (refer to S10 of function code 184).

 

S15

Periodic and aperiodic variable setting.

 

Periodic variables are produced and consumed on a periodic basis by devices on the field bus. Periodic variables are typically used for process values that are updated regularly, for example, temperature and pressure values.  

 

Aperiodic variables are produced and consumed on the field bus only when requested by either the producer or a consumer of the variable. Aperiodic variables are typically used for status and alarm information, or in some cases, infrequently sampled process data such as chromatograph and pH meter readings. The use of aperiodic variables instead of periodic variables, where appropriate, allows for a more efficient use of the field bus.

 

When aperiodic is selected, function code 188 will produce the variable on the field bus only when one of the input values <S4> through <S11> has changed since the last time the variable was produced.

 

S16

Refresh setting. This setting determines how the refresh status for this produced FIP variable is to be determined.  

 

Asynchronous refreshment - refresh status is set to good if the FIP module produces the FIP variable on the field bus within the asynchronous refresh period (S13) of when the Harmony controller refreshes the FIP variable data. Set bad otherwise.

 

Synchronous refreshment - refresh status is set to good if the FIP module produces the FIP variable on the field bus within the synchronous refresh period (S14) of when the synchronization variable (S10 of function code 184) is received.  Set bad otherwise.

 

Partial refreshment - combination of both asynchronous and synchronous refreshment. For the refresh status to be set

good:

 

 

Set bad otherwise.

 

 

188.2   Applications

 

Refer to FIP handler (function code 184) for an example and application of FIP function codes 184 through 188.