You need to specify the state type of an object so the object knows how to
determine its state. The following table describes each of the four state types.
|
State Type
|
For
|
How to decide the state |
|
Bit |
Bit Variable |
The state is the value of the variable.
Example:
1) The state of $U1.3 is 0 when $U1.3 is 0 (off).
2) The state of WX3.f is 1 when WX3.f is 1 (on). |
|
Value |
Word Variable,
Double-word Variable |
The state is the value of the variable. The valid states
are from 0 to 255.
Example:
1) The state of $U200 is 123 when $U200 is 123.
2) The state of WX20 is 0 when WX20 is 0.
3) The state of $N300 is invalid when $N300 is 999. |
|
LSB |
Word Variable, Double-word Variable |
The state is the number of the least significant bit of
the variable’s value that is 1 (on). For a word
variable, the valid state are from 0 to 16 and state 16
means all the bits are 0. For a double-word variable,
the valid state are from 0 to 32 and state 32 means all
the bits are 0.
Example:
1) The state of $U200 is 1 when $U200 is 246H.
2) The state of WX20 is 19 when WX20 is 80000H.
3) The state of $N300 is 16 when $N300 is 0. |
|
Custom |
Word Variable, Double-word Variable |
When you configure an object with the Custom state type,
you assign each valid state a unique number which is
called a state value. The assigned state values will be
used to determine the state of the object. If the
variable’s value is equal to one of the state values,
the corresponding state of the state value is the state
of the object. If the value is equal to none of the
state values, the state is invalid.
Example:
An object monitors $U100 and its state
type is Custom. There are three valid states and you
assigned 300, 200, and 100 to state 0, 1, and 2
respectively. The state is 2 when $U100 is 100 and the
state is 0 when $U100 is 300. |
Source.Section 4.4.1.1 of the PM Designer Software User Manual, Edition 2.0, © Cermate Technologies Inc. (www.cermate.com, service@cermate.com). Reproduced online, with the manual's own figures, by TSL Automation Solutions, authorised Cermate distributor, for users of Cermate HMI panels. PM Designer and PanelMaster are trademarks of Cermate Technologies Inc.
Text and figures are the manufacturer's and may describe features your panel or software version does not have. For a plain-language introduction read the PM Designer guide; for help with a specific panel contact TSL Automation.