FC 226 - Test Status

The test status function code identifies and monitors specific status conditions of the Harmony function codes that are not available as block outputs. The test status function code is able to monitor more than a single status condition simultaneously. The multiple status conditions are monitored in a logical OR fashion, with the expected result being that if any of the monitored status conditions would transfer to a true state, the output of the test status function code would indicate a single true status (logic 1) output. Otherwise, the output of the block is a false status (logic 0) output.

 

The output of the test status function code can be used for control logic and exception reporting functions.

 

 

 

Outputs:

Blk

Type

Description

N

B

Result of status conditions 1 through 4:

0 = false

1 = true

 

 

 

Specifications:

Spec

Tune

Default

Type

Range

Description

S1

N

2

I

Note 3

Block address of Harmony I/O function code to test.

S2

Y1

Null

E90 String2

0 - 4

Status condition 1

S3

Y1

Null

E90 String2

0 - 4

Status condition 2

S4

Y1

Null

E90 String2

0 - 4

Status condition 3

S5

Y1

Null

E90 String2

0 - 4

Status condition 4

S6

Y1

0

I

Full

Spare

S7

Y1

0

I

Full

Spare

S8

Y1

0

I

Full

Spare

S9

Y1

0

I

Full

Spare

S10

Y1

Null

E90 String2

0 - 32

Spare

 

NOTES:

  1. These specifications are tunable, but not adaptable.

  2. The E90 string type cannot be tuned to a string that is longer than the length of the originally configured string. Thus, this specification cannot be tuned if it is configured with the default null string.

  3. Maximum values are:9,998 for the BRC-100, BRC-200, BRC-300, and IMMFP11/12 and 31,998 for the BRC-400 and HAC

 

 

226.1   Explanation

 

226.1.1  Specifications

 

S1

Block address of the Harmony I/O function code to be tested. The test status function block must reside in the same controller segment as the block to be tested.

 

S2

Specifies the first status condition to test on the block specified by specification S1. Each Harmony I/O function code has a list of valid status conditions that can be tested. The status condition is specified as a string of characters which must be valid for the function code. (The null string represents a logic zero). Refer to the following in this section:

 

 

S3

Specifies the second status condition to test on the block specified by specification S1. Refer to the preceding explanation for specification S2.

 

S4

Specifies the third status condition to test on the block specified by specification S1. Refer to the preceding explanation for specification S2.

 

S5

Specifies the fourth status condition to test on the block specified by specification S1. Refer to the preceding explanation for specification S2.

 

S6 through S9

Spare integer parameters.

 

S10

Spare E90 string parameter.

 

 

226.1.2  FC 146 Status Conditions

 

Remote I/O BRC300/400 (function code 146) can be tested for the status conditions shown in Table 226-1. The term primary or backup refers to the current logical state of a device and does not represent the physical position of the device in a MMU slot. If redundant devices are not installed (i.e., no backup device exists), all status conditions applied to the backup device evaluate to a logic zero.

 

 

 

226.1.3  FC 221 Status Conditions

 

Harmony I/O device definition (function code 221) blocks can be tested for the status conditions shown in Table 226-2. The terms primary or backup refer to the current logical state of a device and do not represent the physical position of the device in a redundant termination base. If redundant devices are not installed (i.e., no backup device exists), all status conditions applied to the backup device evaluate to a logic zero.

 

 

 

Figure 226-1 illustrates the connection made to function code 221 to test for status conditions.

 

 

226.1.4  FC 222 and FC 223 Status Conditions

 

Harmony I/O analog in/channel (function code 222) and analog out/channel (function code 223) function code blocks can be tested for the status conditions shown in Table 226-3. The status conditions apply only to the primary channel of a redundant pair.

 

 

 

 

 

 

226.1.5  FC 224 and FC 225 Status Conditions

 

Harmony I/O digital in/channel (function code 224) and digital out/channel (function code 225) function code blocks can be tested for the status conditions shown in Table 226-4. The status conditions apply only to the primary channel of a redundant pair.

 

 

 

 

226.1.6  FC 227 Status Conditions

 

Gateway (function code 227) blocks can be tested for the status conditions shown in Table 226-5. The term primary or backup refers to the current logical state of a device and does not represent the physical position of the device in a redundant termination base. If redundant devices are not installed (i.e., no backup device exists), all status conditions applied to the backup device evaluate to a logic zero.

 

 

 

 

 

226.1.7  FC 228 Status Conditions

 

Foreign device definition (function code 228) function code blocks can be tested for the status conditions shown in Table 226-6. The status conditions apply to the primary device or a backup device of a redundant pair.

 

 

 

226.1.8  FC 229 Status Conditions

 

Pulse In/Channel (function code 229) function code blocks can be tested for the status conditions shown in Table 226-7. The status conditions apply only to the primary channel of a redundant pair.

 

 

 

 

226.1.9  FC 247 Status Conditions

 

Gateway (function code 247) modules can be tested for the status conditions shown in Table 226-8.