Need help with Ps2 control and Mini ABB

When I went to program my mini abb so that i could control my L6 arm with a ps2 controller I followed the link for prgramming with the ps2 controller and a mini abb

When i downloaded the file they gave me and removed the semicolons they said to remove. I went to verify it but i got an error thing that said Available program memory on device exceeded and said errors detected
I would appreciate any help. Thanks in advance

A little short on info here. What version of the IDE are you using? Can you cut and paste the error message?