FC 225 - Digital Out / Channel

The exception reporting digital out/channel function code provides addressing, startup, run-time, and failure mode specifications for an individual or redundant pair of digital output channels on a Harmony I/O block or an S800 I/O module. The digital out/channel function code must reside in the same segment as the I/O device definition function code 221 or foreign device function code 228 to which it is mapped. This function is required for all configured digital output I/O block channels.

 

The control system must be carefully evaluated to establish

default values that will prevent personal injury and/or property

damage in the case of I/O block or S800 I/O module failure.

 

NOTES:

  1. This function code is used to support Harmony I/O blocks and S800 I/O modules only. Refer to the IOR-800 Gateway instruction for specific differences between Harmony I/O and S800 I/O.

  2. Function code 225 tunable specifications are not adaptable.

 

 

 

 

 

Outputs:

Blk

Type

Description

N

R

Output Value of Function

 

 

 

Specifications:

Spec

Tune

Default

Type

Range

Description

S1

N

Null

String

0 - 32

32-character channel label

S2

N

0

I

Note 1

Block address of value to be output

S3

Y

2

I

0, 1, or 2

Alarm state, non-normal state

S4

N

0

I

0, 1, or 2

Default state on stall

S5

N

0

B

0 or 1

Readback enable

S6

N

0

B

0 or 1

Normal output/undefined

S7

Y

0

B

0 or 1

Override value

S8

Y2

0

B

0 or 1

Override enable

S9

N

2

I

Note 1

Block address of simulation value

S10

Y2

0

I

0 or 1

Simulation enable

S11

Y2

0

B

0 or 1

Status error inhibit

S12

N

Null

String

0 - 32

Foreign device configuration parameters

S13

N

0

I

Full

Reserved for future use

S14

N

0

B

0 or 1

Spare

S15

N

2

I

Note 1

Block address of the next element of the foreign device

S16

N

0

I

Full

Spare

S17

N

0.000

R

Full

Spare

S18

Y

0.000

R

Full

Spare

 

NOTES:

  1. 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

  2. The specification value active state is permitted to operate only when S26 of the device definition function code 221 or S11 of the gateway function code 227 is enabled.

 

 

 

225.1   Explanation

 

225.1.1  Specifications

 

S1

(Channel label) Optional channel identifier. It is not required to be configured and can be null. The channel label can be up to 32 characters long.

 

S2

(Block address of value to be output) Block address on the BRC controller of the value to be output.

 

S3

(Alarm state, non-normal state) This specification is tunable but not adaptable.

0 = logic 0 alarm

1 = logic 1 alarm

2 = no alarm

 

S4

(Default state on stall) The state that the field outputs enter when a loss of communications with the BRC controller occurs.

0 = 0

1 = 1

2 = Hold

 

S5

(Readback enable) The output channels can have optional readback hardware present. This specification must match the hardware configuration with respect to whether this option is enabled.

0 = disable readback

1 = enable readback

 

This option must always be enabled for foreign device definition (function code 228) channels.

 

S6

(Normal output/undefined) A value of 0 selects normal output (S2) to standard I/O. A value of 1 puts the channel into an undefined state which will not affect the channel status. Specifications S8 and S10 take precedence when S6 = 0, but not when specification S6 = 1.

0 = normal

1 = undefined

 

S7

(Override value) The channel output value is overridden with this value if override enable (S8) is set to 1.

 

S8

(Override enable) A value of 0 disables override for this channel. A value of 1 enables override in this channel. Override, if enabled, will take precedence over normal output (S6) and simulation (S10). Specification S26 of the I/O device definition function code 221 must reference a boolean output that is set to a 1 to permit this operation; otherwise, it is ignored.

0 = disabled

1 = enabled

 

S9

(Block address of simulation value) The channel output value is simulated with this block input when simulation is enabled (S10 = 1).

 

S10

(Simulation enable) A value of 0 disables simulation for this channel. A value of 1 enables simulation for this channel and receives its input from S9. Simulation has precedence over S6 normal output, but not S8 override. Specification S26 of the I/O device definition function code 221 must reference a boolean output that is set to a 1 to permit this operation; otherwise, it is ignored.

0 = disabled

1 = enabled

 

NOTE: The field output channel on the I/O block is not affected by the simulation value. When simulation is enabled, the I/O block physical channels will be held at their last known non-simulated value.

 

S11

(Status error inhibit) Inhibits this channel I/O error contribution to Harmony controller status. Specification S26 of the I/O device definition function code 221 or specification S5 of the foreign device function code 228 must reference a Boolean output that is set to a 1 to permit this operation. Otherwise, it is ignored.

0 = no

1 = yes

 

S12

(Foreign device configuration parameters) A string data type containing configuration information specific to the digital output channel of a foreign device. The configuration parameters can be up to 32 characters long. No spaces are allowed within an individual parameter specification, and a blank character must separate each successive parameter specification.  Only the DO840 has a defined configuration parameter to specify the action to be taken when a channel fault is detected. Refer to the following table for more information.

 

 

Parameter

Meaning

FAILMODE=(0...3)

Action to take when an output channel error is detected.

 

FAILMODE=0 (default), channel error is automatically reset for all channels.

FAILMODE=1, channel error is automatically reset for channels 9-16, but channel error is latched for channels 1-8.

FAILMODE=2, channel error is latched for channels 9-16, but channel error is automatically reset for channels 1-8.

FAILMODE=3, channel error is latched for channels 1-16.

 

 

S13

Reserved for future use.

 

S14

Spare.

 

S15

(Block address of next element of the foreign device) Link to the next element of the foreign device definition function code 228. The default value indicates that this block is the last element. S15 must be set to the default value if function code 225 is configured as a channel of an I/O device definition function code 221.

 

S16 through S18

Spare.

 

 

 

225.1.2  Output

 

The digital out/channel function code has one output.

 

N

Boolean block output value, with quality.

 

 

225.2   Applications

 

 

The following notes apply to the function code operation in NORMAL, OVERRIDE, and SIMULATION modes:

 

In NORMAL mode (S6=0, S8=0, S10=0) with both outputs having quality good but the states do not match, the output channel will be considered in error (SUSP set in the exception report and the LIO error bit set in the Harmony controller status).

 

In OVERRIDE mode (S6=0, S8=1, S10=X) or in SIMULATION mode (S4=0, S5=0, S8=1), the primary readback state and the output demand state (<S2>) are compared and if they do not match, will cause a suspect condition for this channel (SUSP flag set in the exception report but no LIO error set in the Harmony controller status) since a bump both in the field output and in the block output value will occur upon exiting the OVERRIDE or SIMULATION mode.