Instruction Parameters
Supported PLC Series
| PLC-AES | PLC-FB | PLC-ES |
|---|---|---|
| ✓ | ✓ | ✓ |
Supported Data Registers
| M | X | Y | K | L | F | T | C | S | Z | R | Q | D | @D | Constant | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| S1 | ✓ | – | ✓ | ✓ | ✓ | – | – | – | – | – | – | – | ✓ | ✓ | ✓ |
| S2 | ✓ | – | ✓ | ✓ | ✓ | – | – | – | – | – | – | – | ✓ | ✓ | ✓ |
| S3 | ✓ | – | ✓ | ✓ | ✓ | – | – | – | – | – | – | – | ✓ | ✓ | ✓ |
| D | ✓ | – | ✓ | ✓ | ✓ | – | – | – | – | – | – | – | ✓ | ✓ | – |
Supported Flags
| Flag | Bit | Support |
|---|---|---|
| Error | F11.0 | ✓ |
| Zero | F11.1 | – |
| Carry | F11.2 | – |
Number of Steps
| Steps |
|---|
| 5 |
Operands
| Operand | Description |
|---|---|
| S1 | The first operand. Entries are WORD data registers or constants. This is the starting value. 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. |
| S2 | The second operand. Entries are WORD data registers or constants. This is the final value. 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. |
| S3 | The third operand. Entries are WORD data registers or constants. This is the time to shift from the starting value to the final value. The unsigned value range is 0 ~ 65,535 (216-1). The Hexadecimal value range is H0000 ~ HFFFF. The time interval is in SECONDS. |
| D1 | The fourth operand. Entries are WORD data registers. This is the current value. This requires 4 data registers. |
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. F11.0 turns ON for one scan if the current value D1 does NOT reach the final value S2 even if the actual execution time has exceeded the S3 value.
Instruction Behavior
The TRAMP instruction behaves as follows:
- When the current value, D1, reaches the final value, S2, the instruction execution stops.
- The smallest possible value for the time value, S3, is 0.
- If time value, S3, is 0, the TRAMP instruction will not execute.
- The largest possible value for the time value, S3, is 65,535.
- If the execution condition turns OFF, the latest value is retained in D1.
- When the execution instruction goes from OFF to ON, the TRAMP instruction executes from the beginning.
- If the execution condition is OFF, an internal process is in execution.
- Use the indirect data register (@D) with caution.
- The current value, D1, is calculated:
- Current Value = Initial Value + (((Final value – Initial value) x Elapsed time (ms)) / Required Time)
Ladder Diagram Examples
TRAMP

The TRAMP instruction gradually changes the initial WORD value, S1, to the final WORD value, S2, in the time value interval, S3, seconds. The current value, D1, is saved as a WORD data register, and the remaining WORD data register, D1+1 ~ D1+4, is reserved for the internal timer.

When the contact, M2.0 is ON (1), the initial value, 25,000, will gradually change to the final value, 32,000, in 20 seconds. While gradually changing the value, the result data register, D70, is 0.

The initial value, D40, is currently 29,735 (D70) at the current scan.

Once the change is complete, the result data register, D70, is 32,000.
Memory Monitor

Binary result of the initial value, D40, at the current scan.

Binary result of the value to change to, D50, at the current scan.

Binary result of the seconds required to change the initial value to the final value, D60, at the current scan.

Binary result of the final value, D70, at the current scan.
