Desmond, Welcome to the forum. There are two posibilities to reversed axis. Standing at the frequency controller end of the machine looking at the spindle. The X axis is left to right across the narrow (width) of the table. Positive X is to your right and negative X is to the left. The Y axis is the up and down the length of the table (the travel of the gantry) and positive is behind the spindle looking from the frequency controler end and negative Y is towards you. Z positive is up and Z negative is down towards the table.
If in manual mode you don't get X and Y axis travel in these directions there are two posibilities. If the X butons are moving the Y axis and vice versa then the cables are connected to the wrong connector on the back of the drivers cabinet. If they are controlling the axises as described above your perameters need changed. Click window on the top tool bar. On the menu that appears select the perameters window. On the left side of that window there are two choices "machining" and manufactory" As I recall the manufactory one has the list you need. Scroll down and look at the check boxes for "mirror X" and "mirror Y" they are normally unchecked. However if you need to reverse the machine this is where to swap the travel directions.
I would suggest that you download the free program cncsimulator from
CncSimulator.com and test run a simulation of your code to see what it is supposed to look like according to the G-code. To use it open your file and make entries in three sections of the simulation menu. Pick a tool from the edit tool menu, define stock size in the details section and the zero of your workpiece below the stock sizes, then for the next menu item you can just enter the same zero point with a z value included that is the top of the stock. Under settings check the crash check. Click the left icon at the bottom and when the code reappears click it again. If you want to resize the windows do that before clicking the icons.
wizzardworks