beautypg.com

Totalizer block parameters – Micromod MOD: 1800P - MOD 30ML Identity Module (Version 2) Algorithms, Tables and Sequential Logic Functions User Manual

Page 105

background image

Logic Functions - Book 2

Totalizer Block

8-97

8.10.3

Totalizer Block Parameters

The mnemonics, valid values, and data types for all fields that may be selected for display
and/or be used in making softwiring connections are listed in Table 8-9. A description of each
attribute is provided in the attribute list that follows the table. Initial values are written when
the block is initially downloaded. They may be overwritten when the block executes.

Table 8-9. Totalizer Block Attributes, Valid Values, Mnemonics, and Data Types

Field Name /

Attribute

Mnemonic

Valid Values

CWR

Data Type

Attr

Version

VERSION

Version number of the block.

--R

Long State

00

Block Length

BLKLEN

Number of database bytes in the block.

--R

Count

01

State

STATE

RUN (0), HOLD (1), OFF (2), DEBUG (3).

CWR Short State

02

Bad Inputs

BADINP

REJECTED (0), ACCEPTED (1).

CWR Discrete

03

Input Type

INTYPE

ANALOG TYPE (0)
PULSE TYPE (1) (Not Available)

C-R

Discrete

04

Auto Wrap

WRAP

NO (0), YES (1) Default is 0 (NO).

CWR Discrete

05

Rate

RATE

Analog Type only. Totalizer rate can be per:
SECONDS (0), MINUTES (1), HOURS (2),
DAYS (3). Default is 0 (SECONDS).

CWR Short State

06

Restart Mode

RESMODE Cold or frozen restart initialization value.

RUN (0), HOLD (1), PREV (2)
Default value is PREV.

CWR Short State

07

Command

CMD

The value read from this location will always
be 0. Commands are:
RESET (1), STOP(2), RUN (3), HOLD (4)

-WR Long State

08

Threshold

THRESH

Allowed value is 0.0 or greater. Default is 0.0.

CWR Floating

Point

09

Scale Factor

SF

A number greater than zero (0) where 10.0
divides total by 10 and 0.1 multiplies total by
10. Default is 1.0.

CWR Floating

Point

10

High Limit

HL

This value must be greater than the low limit
and less than or equal to 9999999.0. Default
is 9999999.0.

CWR Floating

Point

11

Low Limit

LL

This value must be less than the high limit and
equal or greater than 0.0. Default is 0.0.

CWR Floating

Point

12

(Predetermined)
Pred. Count 1

PC1

Valid value is 0.0 to 9999999.0. Default is 0.0. CWR Floating

Point

13

(Predetermined)
Pred. Count 2

PC2

Valid value is 0.0 to 9999999.0. Default is 0.0. CWR Floating

Point

14

Total Count

TC

0.0 to 9999999.0. The default value is 0.0.

CWR Floating

Point

15

Total Count Quality TCQ

GOOD (0), BAD (1)

-WR Discrete

16

High Limit Status

HLSTAT

FALSE (0), TRUE (1) Default value is FALSE. CWR Discrete

17

High Limit Status
Quality

HLSTATQ

GOOD (0), BAD (1)

-WR Discrete

18

Low Limit Status

LLSTAT

FALSE (0), TRUE (1) Default value is FALSE. CWR Discrete

19

Low Limit Status
Quality

LLSTATQ

GOOD (0), BAD (1)

-WR Discrete

20

Pred. Count 1
Status

PC1STAT

FALSE (0), TRUE (1) Default value is FALSE. CWR Discrete

21