So, after several hours I stumbled on something and somehow I managed to get it working my self
Only thing I did was to change the "setp cia402.0.pos-scale" to -2000. I have no idea what it means even... but I saw the difference when looking through Marcorep's github (
github.com/marcoreps/linuxcnc_leadshine_EL8
).
At least I'm starting to see the connection between all the .ini .hal and .xml files.
EDIT :
Okay so it was not actually the negative number, it was the fact that I removed it from the .ini and set it directly in the .hal file.
I had these two lines in .ini:
POSSCALE = 100000
VELOSCALE = 100000
and in .hal i had this:
setp cia402.0.pos-scale [JOINT_0]POSSCALE
setp cia402.0.velo-scale [JOINT_0]VELOSCALE
after the change I removed the two lines from .ini and changed the .hal to:
setp cia402.0.pos-scale -2000
And now I understand that the negative number just inverts the encoder

Anyways I'm leaving my mistakes here so someone else might benefit from them.