MKS DLC 32 with K40

Hello, I came again to disturb you.
I give some test job to My Laser machine (K40 under upgradation with MKS DLC 32 V2.1) before starting the job laser machine is at homing position, it started the job and after competition of job Y gantry touches the limit switch this massage shown in console.


According to my little bit knowledge Y axis gantry did not comeback at which position it started the job.
I change $27=8.000, $27=7.000, $27=6.000, $27=5.000, I tried these commands also but no change in behavior of machine. Sometime another massage displayed in console which is

Please help me how to rectify it.