I've had a similar problem on the wifes ST170, ABS light and TC light came on, changed the ABS sensor, still stayed on.
On taking the hub apart found a stone or something had got in between the hub and knuckle ( rear ) and damaged a circular magnetic ring that the ABS reads from, changed this and all is now fine
Dont know if this helps.
Kev