State number field, Tate, Umber – CTI Products RCD Standard - Remote Comparator Display User Manual

Page 76: Ield

Advertising
background image

MCN Remote Comparator Display

Appendix A

CTI Products, Inc.

Changing Status Message Text

68-10856-210

70

9.3 State Number Field

This field gives a numeric value for the text definition line. The valid range for
this field is 00 through 7F hex (states 80 through FF hex are reserved).

Important: When assigning a state number to a text definition line, any text
definition lines that have the same text (even though the input value field may be
different) should have the same state number.

The state number field is used in two ways by the MCNRCD software.

Logging
When logging is enabled (either error logging or statistics logging), the MCNRCD
software uses the state number to determine if the new log entry needs to be
created for the receiver state change. The MCNRCD software keeps track of the
current state of each receiver by saving the state number. When a receiver’s input
value changes, the MCNRCD software compares the current state number for that
receiver with the state number assigned to the new input value. If the state
numbers match, no log entry is stored. If the state number are different, a new log
entry is made showing the transition from the previous state to the new state. If
statistics logging is enabled (see section 7.6.2), the state numbers are stored in a
new log entry.

Keyboard Cursor Display
When the keyboard cursor is enabled, and the keyboard cursor is moved onto or
off of a display location, the MCNRCD software has to redisplay the status text
message for that display position so that the background can change colors.
During this status message redisplay, the MCNRCD software first gets the state
number that it has stored for the current receiver and then finds the first text
definition line in MCNRCD.CFG with that same state number to get the status
message text to display. If the status text message is different from the currently
displayed status text message, then the receiver’s status message will change.
Therefore, to avoid this problem, never assign the same state number to text
definition lines that have different status text messages.

Advertising