Cruise control's speed limit is set by pressing "L" (default key). Assuming you're in your vehicle, driving at a speed of 100 km/h, then pressing "L" will activate cruise control with a target speed of 100 km/h. Pressing "W" or "S" is no longer needed from this point on (except if you arrived at your destination or want to avoid a crash).
The value is stored for each player: If you stop your vehicle and exit while "cruise control" is still active (by not pressing "L" to disable it), then the value is still present. If you get into your car again and press "W" for a short time, then cruise control will automaticaly accelerate your vehicle to its already present value (in this case 100 km/h).
Unfortunately, PDA is not applicable to trains, as their speed is handled differently from that of a car (as far as i know). But this might be a good idea for a new mod though.