serial communication

You are right.Thank you Robin.

I would like to display Wpos and Mpos on lcd while grbl connect with pc.

I have found shapeoko forum and study their's code,but i can't understand how to isolate pc with grbl while display on lcd.