Write Table Data
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 value to write to the table. The signed value range is -32,768 ~ 32,767 (216). The unsigned value range is 0 ~ 65,535 (216-1). The Hexadecimal value range is H0000 ~ HFFFF. |
| 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 FIFW and FIFWP instructions behave as follows:
- If there is already data saved to TBL, DEV will be saved to the next available slot of TBL.
- The overall amount of data saved in TBL will increase by 1.
- The first value of TBL is an integer number representing the amount of data saved in TBL.
Execution Condition
The FIFW instruction must be used with a pulse contact or an open contact with the FIFWP instruction due to the instruction continuously executing.
If the execution goes past the last possible data register block number, an error occurs and F11.0 turns ON.