Ap HAC01
Ap HAC01
Appendix C
                                 This section also lists the function code execution times (in
                                 microseconds) for the Harmony area controller.
                                     NOTE: Except where otherwise noted, execution times are given for worst
                                     case conditions.
                                 Table C-1 shows the HAC memory requirements and the exe-
                                 cution time for each function code.
                                                                                        Checkpoint Execution
        Function                                              NVRAM          RAM
                                 Description                                            Buffer RAM   Times
         Code                                                 (Bytes)       (Bytes)
                                                                                          (Bytes)  (in µsecs)
             1      Function generator                           46            96            12                9
             2      Manual set constant                          12            44            12                4
             3      Lead/lag                                     18            66            22            30
             4      Pulse positioner                             24            84            24            14
             5      Pulse rate                                   16            70            18            25
WBPEEUI210504B0                                                                                                    C-1
Memory Utilization and Execution Times
                                                                              Checkpoint Execution
Function                                               NVRAM         RAM
                          Description                                         Buffer RAM   Times
 Code                                                  (Bytes)      (Bytes)
                                                                                (Bytes)  (in µsecs)
      6      High/low limiter                              16         52          12         8
      7      Square root                                   14         52          12         35
      8      Rate limiter                                  18         62          18         25
      9      Analog transfer                               20         70          22         34
      10     High select                                   16         56          12         11
      11     Low select                                    16         56          12         11
      12     High/low compare                              16         52          12         8
      13     Integer transfer                              14         50          10         5
      14     Four input summer                             16         56          12         13
      15     Two input summer                              18         56          12         18
      16     Multiply                                      14         52          12         15
      17     Divide                                        14         52          12         17
      18     PID error input                               34         98          26        107
      19     PID process variable and set point            36        102          30        115
      24     Adapt                                         12         54          12         6
      25     Analog input (peer-to-peer)                   12         79          34         20
      26     Analog input/loop                             12         66          20         7
      30     Analog exception report                       26        120          40         19
      31     Test quality                                  16         58          10         9
      32     Trip                                          12         42          10         4
      33     Not                                           12         42          10         4
      34     Memory                                        14         52          10         5
      35     Timer                                         14         56          18         14
      36     Qualified OR (eight input)                    26         74          10         12
      37     AND (two input)                               12         46          10         4
      38     AND (four input)                              16         54          10         6
      39     OR (two input)                                12         46          10         4
      40     OR (four input)                               16         54          10         6
      41     Digital input/bus (peer-to-peer)              12         78          33         20
      42     Digital input/loop                            12         60          14         6
      45     Digital exception report                      12         88          32         13
C-2                                                                                         WBPEEUI210504B0
                                                                                 Memory Utilization and Execution Times
                                                                                         Checkpoint Execution
        Function                                               NVRAM          RAM
                                  Description                                            Buffer RAM   Times
         Code                                                  (Bytes)       (Bytes)
                                                                                           (Bytes)  (in µsecs)
            50       Manual set switch                             8           40              10              4
            51       Manual set constant (nontunable)              12          36               8              4
            52       Manual set integer                            12          36               8              4
            55       Hydraulic servo                               60          332             88           1,182
            57       Terminating executive                         42       Equation 1    Equation 2           0
            58       Time delay (analog)                           18       Equation 3         22             28
            59       Digital transfer                              14          50              10              5
            61       Blink                                         12          50              14             20
            62       Remote control memory                         28          104             22             20
            63       Analog input list (peer-to-peer)              28          185            110             20
            64       Digital input list (peer-to-peer)             28          137             62             20
            65       Digital sum with gain (four input)            28          72              12             17
            66       Analog trend
                      Normal mode (slow)                           12          376            340             21
                      Fast mode                                    12          376            340             13
            68       Remote manual set constant                    22          122             36             17
                     (REMSET)
            69       Test alarm                                    12          48              12              7
            79       Control interface slave
                      First FC 79 block in segment                 48          276             68           7,855
                      Other FC 79 blocks in segment                48          276             68            527
            80       Control station                               84          316             80             59
            81       Executive block                               12          179             66              0
            82       Segment control                               66          260             56              0
            83       Digital output group                          32          96              10             67
            84       Digital input group                           16          88              42             67
            85       Up/down counter                               24          74              18             13
            86       Elapsed timer                                 20          76              24             18
            90       Extended executive                            52          107             58              0
            95       Module status monitor                         22          80              30             11
            96       Redundant analog input                        22          88              34             22
            97       Redundant digital input                       14          58              16             12
            98       Slave select                                  26          86              14             13
WBPEEUI210504B0                                                                                                    C-3
Memory Utilization and Execution Times
                                                                              Checkpoint Execution
Function                                               NVRAM         RAM
                          Description                                         Buffer RAM   Times
 Code                                                  (Bytes)      (Bytes)
                                                                                (Bytes)  (in µsecs)
    100      Digital output readback check                 40        134          26         39
    101      Exclusive OR                                  12         46          10         4
    102      Pulse input/period                            24         96          20         81
    103      Pulse input/frequency                         24         96          20         85
    104      Pulse input/totalization                      26        114          32        102
    109      Pulse input/duration                          24         96          20         80
    110      Five input rung                               24         76          14         10
    111      Ten input rung                                38        106          14         15
    112      Twenty input rung                             68        166          14         25
    114      BCD input                                     20         70          18         57
    115      BCD output                                    22         76          12         75
    116      Jump/master control relay                     12         58          10         3
    117      Boolean recipe table                          28         74          10         12
    118      Real recipe table                             48        106          12         12
    119      Boolean signal multiplexer                    32         92          10         11
    120      Real signal multiplexer                       32         94          12         11
    121      Analog input/Cnet                             22         90          22         9
    122      Digital input/Cnet                            20         66          14         6
    123      Device driver                                 30        116          32         17
    124      Sequence monitor                              80        158          20         8
    125      Device monitor                                40        106          12         39
    126      Real signal demultiplexer                     12         84          24         23
    128      Slave default definition                      44         90          22         2
    129      Multistate device driver                      60        160          38         20
    132      Analog input/slave                            54        308          48        173
    133      Smart field device definition                 36        164          20         7
    134      Multi-sequence monitor                        96        248          36         7
    135      Sequence manager                              82        192          32         33
    136      Remote motor control                          52        166          50         27
    137      BASIC real output/quality                     12         62          32         2
    138      BASIC boolean output/quality                  12         54          24         2
C-4                                                                                         WBPEEUI210504B0
                                                                                 Memory Utilization and Execution Times
                                                                                         Checkpoint Execution
        Function                                               NVRAM          RAM
                                  Description                                            Buffer RAM   Times
         Code                                                  (Bytes)       (Bytes)
                                                                                           (Bytes)  (in µsecs)
            139      Passive station interface                     44          130             32             19
            140      Restore                            Refer to
                      Largest NVM utilization          formula in               92             12           2,571
                        (FC 165 with S2 = 249)          Function
                      Smallest NVM utilization (FC 33) Code 140.                92             12             62
            141      Sequence master                               80          134             24             17
            142      Sequence slave                                74          110             10              4
            143      Invoke C                                      28          102             22         Program
                                                                                                         dependent
            144      C allocation                             Equation 4    Equation 5    Equation 6           3
            145      Frequency counter/slave                       30          114             22             31
            146      Remote I/O interface                          68          290             54           1,008
            147      Remote I/O definition                        144          426             74             14
            148      Batch sequence                                36       Equation 7    Equation 8      Program
                                                                                                         dependent
            149      Analog output/slave
                      First FC 149 in segment                      82          282             52           8,207
                      Second FC 149 in segment                     82          282             52           8,207
                        (same ASO as first)
                      Additional FC 149s in segment                82          282             52            649
            150      Hydraulic servo slave                         32          148             42             82
            151      Text selector                                 46          156             26             10
            152      Model parameter estimator                     28          342             26              8
            153      Inferential smith controller                  42          182             30             37
                     parameter converter
            154      Adaptive parameter scheduler                  36          212             28             19
            155      Regression                                    68       Equation 9   Equation 10          14
            156      Advanced PID controller                       58          158             48            155
            157      General digital controller                    68       Equation 11 Equation 12           23
            160      Smith predictor                               36          236            122             73
            161      Sequence generator                            74          182             46             16
            162      Digital segment buffer                        16           70             24             11
            163      Analog segment buffer                         16           78             32             12
            165      Moving average                                16       Equation 13 Equation 14           48
WBPEEUI210504B0                                                                                                    C-5
Memory Utilization and Execution Times
                                                                                  Checkpoint Execution
Function                                               NVRAM           RAM
                          Description                                             Buffer RAM   Times
 Code                                                  (Bytes)        (Bytes)
                                                                                    (Bytes)  (in µsecs)
    166      Integrator                                    28           84            24         32
    167      Polynomial
              Most complicated                             68          112            12        108
              All zero                                     68          112            12         41
    168      Interpolator                                  98          198            14         84
    169      Matrix addition                               44          144            44         43
    170      Matrix multiplication                         44          144            44        312
    171      Trigonometric
               Sine                                        14           52            12         75
               Secant                                      14           52            12         81
    172      Exponential                                   12           48            12         68
    173      Power                                         14           52            12        114
    174      Logarithm                                     14           54            14         76
    177      Data acquisition analog                      104          334            94         59
    178      Data acquisition analog input/loop            20          124            52         15
    179      Enhanced trend                                         FDB + FOB
              Normal sampling                              52        memory   Equation 15        49
              Normal and statistical sampling              52         usage   Equation 15        94
    184      Factory instrumentation protocol              42          1274           84        1,562
             handler
    185      Digital input subscriber                      32          178            60         44
    186      Analog input subscriber                       32          194            76        234
    187      Analog output subscriber                      48          214            32        418
    188      Digital output subscriber                     48          190            32         46
    190      User defined function declaration             30       Equation 16       12         3
    191      User defined function one                     56       440 + S16      96 + S16    Program
                                                                                              dependent
    192      User defined function two                     70       508 + S24     112 + S24    Program
                                                                                              dependent
    193      User defined data import                      48       Equation 19    72 + S5       16
    194      User defined data export                      48       Equation 20    62 + S4       28
    198      Aux. real user defined function               38          142            24         3
    199      Aux. digital user defined function            38          134            16         3
    211      Data acquisition digital                      62          260            84         62
C-6                                                                                             WBPEEUI210504B0
                                                                                          Memory Utilization and Execution Times
                                                                                                    Checkpoint Execution
        Function                                                     NVRAM            RAM
                                    Description                                                     Buffer RAM   Times
         Code                                                        (Bytes)         (Bytes)
                                                                                                      (Bytes)  (in µsecs)
            212       Data acquisition digital input/loop               20              106               34               10
            215       Enhanced analog slave definition                  30              196               26              383
            216       Enhanced analog input definition                  42              114               16              150
            217       Enhanced calibration command                      24              154               40                6
            218       Phase execution                                   43         Equation 22       308 + S12         Program
                                                                                                                      dependent
            219       Common sequence                                   46         Equation 17 Equation 18             Program
                                                                                                                      dependent
            220       Batch historian                                   46          476 + S11        226 + S11         Program
                                                                                                                      dependent
            221       I/O device definition                         Equation            966               50            Note 1
                                                                      23
            222       Analog in/channel                             Equation            298               64              702
                                                                        24
            223       Analog out/channel                            Equation            298               64              852
                                                                      25
            224       Digital in/channel                            Equation            298               64              502
                                                                      26
            225       Digital out/channel                           Equation            298               64              502
                                                                      27
            226       Test status                                   Equation            144               16               52
                                                                      21
            227       Gateway                                          TBD             TBD               TBD             TBD
            228       Foreign device definition                        TBD             TBD               TBD             TBD
            241       DSOE interface SEM to MFP
                       No SED resynch performed                         18              315               30               53
                       SED resynch performed (1/sec.)                   18              315               30              235
            242       DSOE digital event interface
                       No data on SED I/O module                        84              246               96               39
                       Data on SED I/O module                           84              246               96              398
            247       Condition monitoring                             TBD             TBD               TBD             TBD
        NOTES:
        1. Time dependent on the I/O block type configured and on the presence or absence of redundant blocks. Refer to Table C-2.
        2. With exception reports enabled.
WBPEEUI210504B0                                                                                                                 C-7
Memory Usage Equations
                                             Non-Redundant
                                                               Redundant Blocks
                           I/O Block            Blocks
                                                                   (µsecs)
                                                (µsecs)
                            AIN-120                1500              2800
                            AOT-120                2500              5000
                            CIO-100                2500               N/A
                            DIO-400                2400              4300
                            DOT-120                2300              4200
3. 72 + [8 x (S5)]
4. 12 + [1024 x (S2)]
5. 42 + [1024 x (S1)]
6. 10 + [1024 x (S1)]
13. 79 + [4 x (S2)]
14. 34 + [4 x (S2)]
where:
C-8                                                                                   WBPEEUI210504B0
                                                                             Function Blocks - HAC
WBPEEUI210504B0                                                                              C-9
Function Blocks - HAC
C - 10                                                                                                WBPEEUI210504B0
                                                                                                 Module Status Information - HAC
                                                                             Bit
           Byte
                            7             6              5              4            3            2              1       0
               1          ES                   MODE                                             TYPE
               2          FTX            RDF            RIO            LIO          CFG          NVF         NVI       STA
               3                                                       Error code
               4                                              Error code descriptor byte 1
               5                                              Error code descriptor byte 2
               6                                                         ETYPE
               7      CHnetA         CHnetB            RDA            RDB           PER         COM        IOHnetA   IOHnetB
               8       SIME          Reserved        Reserved        SIMES                            Reserved
               9     IOHnetRA       IOHnetRB         Reserved         MOV           NDT1        NDT2        NDC1      NDC2
               10         PRI            CFC         Reserved         CHK           RID         RDEXP        OCE      RDDET
               11         PA             PB             PS            SOA           RNO          NOL        FDNL       BFM
               12     NODES              RER1          RER2           TER1          TER2        RID1         RID2      RCF
               14                                            Hardware nomenclature (hex)
               15                                            Firmware revision letter (ASCII)
               16                                        Firmware revision number (ASCII)
                                Field Size
         Byte       Field                                                          Description
                                 or Value
           1         ES             80         Error summary: 0 = good, 1 = errors
                    MODE            60         Module mode: 00 = configure, 10 = error, 11 = execute
                    TYPE            1F         Module type=0x15 enhanced status (ETYPE).
           2        FTX             80         First time in execute: 0 = no, 1 = yes
                    RDF             40         Redundant failure status:
                                                0 = good; no error or not configured for redundancy.
                                                1 = bad; primary halted, backup controller module expected and
                                                not present or halted.
                    RIO             20         Summary remote I/O status: 0=good, 1=bad.
                                               Physical I/O that is not available over local I/O expander bus and Hnet, but
                                               available via some other communications channel.
WBPEEUI210504B0                                                                                                           C - 11
Module Status Information - HAC
                      Field Size
 Byte       Field                                                      Description
                       or Value
   2         LIO           10        Summary local I/O status: 0 = good, 1 = bad.
  (cont)                             Physical I/O that is available over local I/O expander bus and Hnet.
             CFG           08        Online configuration:
                                      0 = no change to configuration.
                                      1 = backup module configuration changed.
             NVF           04        NVRAM status: 0=good, 1=bad.
             NVI           02        NVRAM initialized (default configuration): 0=no, 1=yes.
             STA           01        Station error status: 0=good, 1=bad (no response).
                                     Bad indicates station offline due to loss of station link communication.
  3-5       Error     3    42 52
            Code
 Note 1                              NVRAM error:
                      01 01     —     Write failure
                         02     —     Checksum failure
                         03     —     Bad data
                         FF     —     Reset during write
                      02 (1) (2)     Analog input reference error:
                                      (1), (2) = block number of control I/O module function block
                      03 (1) (2)     Missing rack I/O module:
                                      (1), (2) = block number of I/O module or station
                      04 — —         Checkpoint buffer allocation error – configuration is too large to fit in available
                                     checkpoint memory.
                      05 (1) (2)     Configuration error – undefined block:
                                      (1), (2) = block number making reference
                      06 (1) (2)     Configuration error – input data type is incorrect. Specification S8 for func-
                                     tion code 57 was set too low.
                                        (1), (2) = block number making reference
                      08 (1) (2)     Trip block activated:
                                       (1), (2) = block number of trip block
                      09 — —         Segment violation - priority set the same in two segments, or more than eight
                                     segments defined.
                      0F — —         Primary module has failed, and the redundant module configuration is not
                                     current.
                      10 — —         Primary module has failed, and the dynamic RAM data in the redundant
                                     module is not current.
                      11 — —         NVRAM write failure error.
                      1C — —         Network I/O hardware is offline. Online configuration test cannot be com-
                                     pleted.
                      1E (1) (2)     Duplicate device definition label – multiple function code 221 function blocks
                                     contain the same device label.
                                     (1), (2) = block number making reference.
C - 12                                                                                                         WBPEEUI210504B0
                                                                                              Module Status Information - HAC
                              Field Size
         Byte       Field                                                     Description
                               or Value
          3-5       Error     3    42 52
                    Code
          (cont)              1F (1) —       Software licensing error. (1) equals:
                                              01 - License key not valid.
                                              02 - Function block license exceeded.
                                              03 - C license not available.
                                              04 - Batch 90/UDF license not available.
                              20 — —         Program format error - inconsistent format table.
                              21 (1) (2)     File system error:
                                               (1), (2) = file number
                              22 (1) (2)     Invoke C error:
                                               (1), (2) = block number making reference.
                              24 (1) (2)     C program stack overflow:
                                               (1), (2) = block number making reference
                              28 (1) (2)     User defined function (UDF) reference is invalid:
                                              (1), (2) = block number making reference
                              29 (1) (2)     UDF block cannot read program file:
                                              (1), (2) = block number making reference
                              2A (1) (2)     Not enough memory for UDF:
                                              (1), (2) = block number making reference
                              2B (1) (2)     Missing UDF declaration:
                                              (1), (2) = block number making reference
                              2C (1) (2)     Wrong UDF type:
                                              (1), (2) = block number making reference
                              2D (1) (2)     Missing UDF auxiliary block:
                                              (1), (2) = block number making reference
                              2E (1) (2)     UDF compiler and firmware are incompatible:
                                              (1), (2) = block number making reference
            6      ETYPE           1F        Enhanced module type = 0x24 (module address 2 & 3).
            7      CHnetA          80        Controller peer-to-peer Hnet channel/relay A failure: 0 = good, 1 = fail
                   CHnetB          40        Controller peer-to-peer Hnet channel/relay B failure: 0 = good, 1 = fail
                     RDA           20        Redundancy link channel 1 failure: 0 = good, 1 = fail
                     RDB           10        Redundancy link channel 2 failure: 0 = good, 1 = fail
                     PER           08        Peripheral failure: 0 = good, 1 = fail
                    COM            40        I/O Hnet communication established: 0=no, 1 = yes
                   IOHnetA         02        I/O Hnet channel A failure: 0 = good, 1 = fail
                   IOHnetB         01        I/O Hnet channel B failure: 0 = good, 1 = fail
WBPEEUI210504B0                                                                                                         C - 13
Module Status Information - HAC
                      Field Size
 Byte       Field                                                    Description
                       or Value
   8        SIME           80        Simulation enabled: 0 = no, 1 = yes. This field is set for both INFI 90 OPEN
                                     and Symphony simulation.
           SIMES           10        Hnet I/O block simulation enabled: 0 = no, 1 = yes. This field, in addition to
                                     the SIME field, is set when Symphony simulation is enabled.
   9      IOHnetRA         80        I/O Hnet channel A relay fault: 0 = good, 1 = fail
          IOHnetRB         40        I/O Hnet channel B relay fault: 0 = good, 1 = fail
            MOV            10        Module memory overflow: 0 = no, 1 = yes
            NDT1           08        Network I/O board drive transistor/relay one failure: 0 = no, 1 = yes
            NDT2           04        Network I/O board drive transistor/relay two failure: 0 = no, 1 = yes
            NCD1           02        Network I/O board channel one failure: 0 = no, 1 = yes
            NCD2           01        Network I/O board channel two failure: 0 = no, 1 = yes
   10        PRI           80        Primary/backup status: 0 = backup module, 1 = primary module
             CFC           40        Configuration current (latched until backup is reset):
                                      0 = configuration initialization not complete.
                                      1 = all configuration initialization complete.
             CHK           10        Backup has completed check pointing (latched until backup is reset).
                                      0 = no, always set to 0 on the primary module.
                                      1 = yes
             RID           08        Redundancy ID. Indicates position on the backplane:
                                      0 = left position, 1 = right position
           RDEXP           04        Redundant module expected.
                                       0 = no.
                                       1 = yes, always set to 1 on the backup module.
                                     Follows state of function code 90, specification S3 on the primary module.
            OCE            02        Online configuration is enabled: 0 = no, 1 = yes.
           RDDET           01        Redundant module detected: 0 = no, 1 = yes.
                                     Latched until module is reset or it changes from backup to primary or primary
                                     to backup.
C - 14                                                                                                       WBPEEUI210504B0
                                                                                                      Module Status Information - HAC
                                Field Size
         Byte       Field                                                           Description
                                 or Value
           11         PA             80         24 VDC logic power input A status: 0 = good, 1 = bad
                      PB             40         24 VDC logic power input B status: 0 = good, 1 = bad
                      PS             20         Internal power system non-fatal error: 0 = good, 1 = bad.
                                                Status display on the HAC must be checked for further information on the
                                                cause of the PS flag being set.
                     SOA             10         Status output alarm: 0 = good; 1 = bad.
                                                Indicates the status of the system +24 volt power and the I/O block’s power
                                                (logic and field power) for a single cabinet.
                     RNO             08         Redundancy NVM overrun (latched indication):
                                                 0 = no.
                                                 1 = yes, set to 1 in primary module if NVM checkpoint overruns
                                                 have occurred.
                                                NVM checkpoint overruns cause the primary module to reset the backup
                                                module.
                     NOL             04         Network I/O board offline: 0 = no, 1 = yes.
                    FDNL             02         Firmware download in progress: 0 = no, 1 = yes
                     BFM             01         Backup firmware mismatch:
                                                 0 = no.
                                                 1 = yes, backup has determined the primary firmware revision is different
                                                 from its own.
           12     NODES3             80         Nodes offline: 0 = no, 1 = yes
                    RER1             40         Receive errors on loop channel 1: 0 = no, 1 = yes
                    RER2             20         Receive errors on loop channel 2: 0 = no, 1 = yes
                    TER1             10         Transmit errors on loop channel 1: 0 = no, 1 = yes
                    TER2             08         Transmit errors on loop channel 2: 0 = no, 1 = yes
                     RID1            04         Receiver idle on loop channel 1: 0 = no, 1 = yes
                     RID2            02         Receiver idle on loop channel 2: 0 = no, 1 = yes
                     RCF             01         Local Cnet loop communication failure: 0 = no, 1 = yes
           14         —              FF         Module nomenclature: 0x08 = HAC
           15         —              FF         Revision letter (in ASCII code). For example, 0x41 = A
           16         —              FF         Revision number (in ASCII code). For example, 0x30 = 0
        NOTES:
        1. The error description corresponding to byte 3 is displayed on the front panel LCD display when the module is in ERROR mode.
        2. All block numbers are encoded in hexadecimal, with (1) equaling the most significant digits and (2) equaling the least signifi-
        cant digits. Example: (1) = 4E, (2) = 20 is block number 20,000.
        3. Active only when the controller is in execute mode.
WBPEEUI210504B0                                                                                                                     C - 15
WBPEEUI210504B0