Instruction Parameters
Supported PLC Series
| PLC-AES | PLC-FB | PLC-ES |
|---|---|---|
| ✓ | ✓ | ✓ |
Supported Positioning Modules
| PLC Series |
|---|
| PLC-ES0808P |
| PLC-ES1616P |
| MOD-SPOS02 |
Supported Data Registers
| M | X | Y | K | L | F | T | C | S | Z | R | Q | D | @D | Constant | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Base/Slot | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | – | ✓ | – | ✓ | ✓ | ✓ | ✓ |
| S | ✓ | ✓ | ✓ | ✓ | ✓ | – | – | – | – | ✓ | – | ✓ | ✓ | ✓ | ✓ |
| D | ✓ | – | ✓ | ✓ | ✓ | – | – | – | – | ✓ | – | ✓ | ✓ | ✓ | – |
Supported Flags
| Flag | Bit | Support |
|---|---|---|
| Error | F11.0 | ✓ |
| Zero | F11.1 | – |
| Carry | F11.2 | – |
Number of Steps
| Steps |
|---|
| 4 |
Operands
| Operand | Description |
|---|---|
| Base/Slot | The first operand. Entries are Hexadecimal data registers or constants. This is the base and slot number where the positioning module is located. This location depends on the amount of expansion modules the chassis contains. If the CPU supports positioning, refer below. |
| S | The second operand. Entries are WORD data registers or constants. This is the set of absolute coordinates. |
| D | The third operand. Entries are only WORD data registers. This is where the result of the operation status is stored. |
Assignment Example
The following example shows how to assign values to Base/Slot.
Module/Slot (PLC-ES/AES)
| Module | Slot | Example |
|---|---|---|
| CPU | Slot 0 | H0000 or 0 |
| 1st Expansion | Slot 1 | H0001 or 1 |
| 5th Expansion | Slot 5 | H0005 or 5 |
| 10th Expansion | Slot 10 | H000A |
| 15th Expansion | Slot 15 | H000F |
PLC-AES/ES CPU
If the CPU module is a PLC-AES/ES CPU, assign H0000 to Base/Slot.
Notice
Error Flag (F11.0) Notice
The error flag, F11.0, will be ON for one scan when the address of the data register assigned by @D exceeds the range of the data register, D. The range of the data register, D, is dependent on the CPU type.
Ladder Diagram Examples
ABRST
The ABRST instruction sets the absolute coordinates of the first positioning axis from the WORD operand, S, and saves the results in the WORD data register, D.
