# Watch a value on hover

> Rest the pointer on a variable in the eaxPLC Studio's ST editor or ladder diagram to see its live value, type, quality and force state, and add it to the watch list or the open trend set. The card is read-only.

Product: eaxPLC · Type: How-to guide · Editions: Free, Pro
Source: https://eaxware.com/docs/eaxplc/how-to/watch-values-on-hover/
Verified against commit 154d4dd.

## Goal

Check a variable's value while you read the code, without opening the watch list: rest the pointer on it.

## Before you start

The Studio is **ONLINE** with the PLC. Offline, the card says *Offline: no live value*.

## Show the card

- **ST editor** (declarations or code): rest the pointer on a variable, a member path or a direct address for a moment. On a member, the card shows the path up to the part you point at: `T1.Q` on `Q`, `T1` on `T1`.
- **Ladder**: rest the pointer on a contact or a coil (its operand), a block (its instance) or a block pin (the variable assigned to it). Literals such as `TRUE` show no card.

The card shows:

| Field | Meaning |
|---|---|
| Name and type | The variable and its data type. |
| **Value** | The live value, refreshed four times a second while the card is open. |
| **Quality** | **Good**; **Bad** with the PLC's reason; *Waiting for the PLC*; *Offline: no live value*. A value that is not Good is shown as `—`, never as a number. |
| **Address** | The direct address, for a located variable. |
| **Force** | **FORCED** with the forced value and who forced it, or *Not forced*. |
[Image: The ST editor of PLC_PRG with live values at the line ends and the quick-watch card over the variable Motor: type BOOL, Value true, Quality Good, Force Not forced, and the Add to watch and Add to trend buttons.]
[Image: The ST editor of PLC_PRG with live values at the line ends and the quick-watch card over the variable Motor: type BOOL, Value true, Quality Good, Force Not forced, and the Add to watch and Add to trend buttons.]

The quick-watch card in the ST editor.
Move the pointer onto the card to use its buttons. Moving away, or **Escape**, closes it.

## Add to watch or trend

- **Add to watch** adds the name to the watch list (members such as `T1.Q` get their own row).
- **Add to trend** adds it to the open trend set in **Trends**. Save the set to keep it in the project ([Save trend sets](/docs/eaxplc/how-to/save-trend-sets/)).
[Image: A ladder diagram with the quick-watch card over the coil horn_out: type BOOL, Value false, Quality Good, Not forced, with Add to watch and Add to trend.]
[Image: A ladder diagram with the quick-watch card over the coil horn_out: type BOOL, Value false, Quality Good, Not forced, with Add to watch and Add to trend.]

The same card on a ladder coil.
## Limits

- **Read-only.** The card has no write and no force control and sends nothing to the PLC: it shows the live values the Studio already receives. To change a value use the watch list or the tag database, with their own checks.
- **Function block locals.** Inside a function block (FB) POU, a local variable has one value per instance, so resting on it in the FB's own code shows no card. Point at the instance member where the block is used instead (for example `feed.is_open` in the program that calls it), or add that path to the watch list.
- A name the PLC does not know shows no card.

## Related

- [Save trend sets](/docs/eaxplc/how-to/save-trend-sets/)
- [Set external access and write limits](/docs/eaxplc/how-to/set-external-access-and-write-limits/)
