Skip to main content

Example - Ladder Diagram

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.

Ladder Diagram Example


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.