Read Table Data (Last)
Instruction Parameters
Supported PLC Series
| XPnA/1R | XPnB | XPnE | XPnF | CP3A/B/P/U CP4A~D/U | CPnE | CPnF | BP | PLC-S |
|---|---|---|---|---|---|---|---|---|
| ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Supported Data Registers
| M | X | Y | K | L | F | T | C | S | Z | R | Q | D | @D | Constant | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DEV | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| TBL | - | - | - | - | - | - | - | - | - | ✓ | ✓ | ✓ | ✓ | ✓ | - |
Supported Flags
| Flag | Bit | Support |
|---|---|---|
| Error | F11.0 | ✓ |
| Zero | F11.1 | - |
| Carry | F11.2 | - |
Number of Steps
| Steps |
|---|
| 3 |
Operands
| Operand | Description |
|---|---|
| DEV | The first operand. Entries are WORD data registers or constants. This is the storage location for the first value read. |
| TBL | The second operand. Entries are only WORD data registers. This is the starting address for the table. |
Notice
Error Flag (F11.0) Notice
Instruction Behavior
The FPOP and FPOPP instructions behave as follows:
- The newest value, or last value, in TBL + n is read.
- n is an integer number representing the amount of data saved in the table, TBL.
- The table will remove this value and decrease the overall amount by 1.
- The first value of TBL is an integer number representing the amount of data saved in the table, TBL.