FC 221 - I/O Device Definition

The I/O device definition function code supports multichannel Harmony I/O blocks. Each Harmony I/O block incorporates a specific combination of channel data types (digital input, digital output, analog input, and analog output). Function code 221 is used to make appropriate assignments of function codes 222 through 225 to Harmony I/O block channels. Definition of this function code is required for all Harmony I/O blocks. Application tables in this section provide usage examples.

 

NOTES:

  1. Function code 221 tunable specifications are not adaptable.

  2. This function code is used to support Harmony I/O blocks only.

  3. All HSOE points (HSOE enabled with S10=1 of FC224) must be constrained to the first sixteen channels (S2 through S17) of the associated I/O device definition (FC221).

 

 

 

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

 

Outputs:

Blk

Type

Description

N

B

Primary I/O block status with quality

N+1

B

Backup I/O block status with quality

N+2

B

Channel in override/simulation with quality

N+3

B

Spare output with quality

N+4

R4

Reserved output with quality

 

 

 

Specifications:

Spec

Tune

Default

Type

Range

Description

S1

N

Null

String

0 - 32

32-character device label

S2

N

2

I

Note 1

Block address of channel 1

S3

N

2

I

Note 1

Block address of channel 2

S4

N

2

I

Note 1

Block address of channel 3

S5

N

2

I

Note 1

Block address of channel 4

S6

N

2

I

Note 1

Block address of channel 5

S7

N

2

I

Note 1

Block address of channel 6

S8

N

2

I

Note 1

Block address of channel 7

S9

N

2

I

Note 1

Block address of channel 8

S10

N

2

I

Note 1

Block address of channel 9

S11

N

2

I

Note 1

Block address of channel 10

S12

N

2

I

Note 1

Block address of channel 11

S13

N

2

I

Note 1

Block address of channel 12

S14

N

2

I

Note 1

Block address of channel 13

S15

N

2

I

Note 1

Block address of channel 14

S16

N

2

I

Note 1

Block address of channel 15

S17

N

2

I

Note 1

Block address of channel 16

S18

N

2

I

Note 1

Block address of channel 17

S19

N

2

I

Note 1

Block address of channel 18

S20

N

2

I

Note 1

Block address of channel 19

S21

N

2

I

Note 1

Block address of channel 20

S22

N

2

I

Note 1

Block address of channel 21

S23

N

2

I

Note 1

Block address of channel 22

S24

N

2

I

Note 1

Block address of channel 23

S25

N

2

I

Note 1

Block address of channel 24

S26

N

0

I

Note 1

Block address of override/status error inhibit/simulation permit

S272

Y

0

B

0 or 1

Device status error inhibit

S28

N

0

B

0 or 1

Redundant I/O block expected

S29

N

2

I

Note 1

Block address of cold junction reference

S30

Y

Null

String

0 - 32

32-character user scratch area

S31

N

2

I

Note 1

Reserved for future use

S32

N

0

I

Full

Reserved for future use

S33

N

0

I

Note 1

Block address of next HSOE device definition

S34

N

0

I

Note 1

Spare

S35

N

0.000

R

Note 1

Spare

S36

Y

0.000

R

Note 1

Spare

 

 

221.1   Explanation

 

221.1.1  Specifications

 

S1

(Device label) Device label of string data type used as a logical address of the Harmony I/O block. This label must match the device label configured in the Harmony I/O block. The device label can be up to 32 characters long. For proper operation, the label cannot be null.

 

S2 through S25

(Block addresses of channels) Link the I/O device definition function code 221 to the channel function codes (function codes 222 through 225). The channel function codes actually process the data for each I/O point at the I/O block level. The function codes that are supported are analog in/channel function code 222, analog out/channel function code 223, digital in/channel function code 224, and digital out/channel function code 225. The relative order in the list of channels helps to specify the physical channel in the Harmony I/O block. Each channel function code must match the type of the physical channel on a particular Harmony I/O block. The default value indicates that the I/O channel is not used.

 

S26

(Block address of override/status error inhibit/simulation permit) Links to a function block which will provide a boolean indication as to whether a particular feature is permitted. If the value from the attached boolean output is zero, no override, status error inhibit, or simulation is permitted on any channel. If the value from the attached boolean output is one, override, status error inhibit, or simulation of any channel is permitted. This specification has no effect on the BRC-100 Harmony simulation block (SIM-100) simulation operation.

 

S27

(Device status error inhibit) If set to one, this specification inhibits all device or channel errors of this Harmony I/O block from being included in the BRC-100 controller status. The default value causes all block and channel errors to be included in the BRC-100 controller status if not otherwise inhibited at the channel level.

 

S28

(Redundant I/O block expected) If this specification is set to one, a redundant I/O block is always expected. If a redundant I/O block is not found (function code 221 output N+1 = 1 and has bad quality), the BRC-100 controller generates a block problem report. If set to a 0 then no redundant device is expected, but may exist.

 

S29

(Block address of cold junction reference) Links a point which may be used as the cold junction reference (CJR) temperature in degrees Centigrade for thermocouple analog inputs. The default value indicates that no point is referenced as a cold junction reference.

 

S30

(User scratch area) Provides a 32 character storage space for user string data. The space must be defined before the configuration is executed. Existing characters can be changed in the online mode, but the controller must be placed in the configuration mode to change the amount of characters in the field.

 

S31

Reserved for future use.

 

S32

Reserved for future use.

 

S33

(Block address of the next HSOE device definition) Block address of the next I/O device definition. This specification is only required when the inputs used by the I/O device definition are being used as part of a Harmony sequence of events system.

 

S34 through S36

Spare.

 

 

 

221.1.2  Outputs

 

The I/O device definition function code 221 has the following block outputs: primary I/O block status, backup I/O block status, channel was put in override or simulation flag, and two spares. The I/O block status outputs are the error summary of the I/O block’s overall operational status (i.e., Harmony network, redundancy, power, and configuration status) and error summary of all configured channels.

 

N

Primary I/O block status (0 = good, 1 = bad). Quality is set bad when function code 221 cannot communicate with the primary I/O block (N).

 

N+1

Backup I/O block status (0 = good, 1 = bad). Quality is set bad when function code 221 cannot communicate with the backup I/O block (N+1).

 

N+2

Channel in override/simulation (0 = no, 1 = yes). One or more of the I/O block channels are in either override or simulation mode. Quality is always set to good.

 

N+3

Spare output with quality always set good.

 

N+4

Reserved output with quality always set good.

 

NOTE: Can be referenced by Control Station (function code 80) for a non-bypass station application using a SAC station connected to a control I/O (CIO) block. Refer to the explanation of S28 of function code 80 for more information.

 

 

 

221.2   Application

 

Tables 221-1 through 221-6 show how function codes 221 through 225 are used in operation with the following Harmony I/O blocks:

 

Analog input blocks:

AIN-120, AIN-200, AIN-220, AIN-300

Analog output block:

AOT-150

Control I/O block:

CIO-100

Digital input block:

DIN-400

Digital I/O block:

DIO-400

Digital output blocks:

DOT-100, DOT-120

 

 

Specifications S2 through S25 contain the block address of the applicable channel function code. Function code 221 specifications for any unused channels should be set to 2.