Hi,
The best way to tram a router is to buy a tramming tool like this: https://www.machine-dro.co.uk/edge-technology-pro-tram-system-with-1-2-inch-shank?gclid=CjwKCAjw19z6BRAYEiwAmo64LcDq103vQIee9hBPDdivHumNGM3jkVzU9yMvC7jFDnx-ylJaJjVNQBoCzwcQAvD_BwE
This will measure how much out of tram the router is. You can make your own version with an indicator dial on a rod.
To Tram the X this can be simply done by adjusting the angle corner positions.
To Tram the Y, also known as the nod, it is more difficult. Minute adjustment is needed. Therefore adding something as thin a tin foil underneath the top/bottom angle corners to get the correct adjustment would work. Or you could shim in between the Z-Plate and X-Plate-Front.
Best Regards
Ryan Lock[br]