I would like to insert a wait time of 500 msec after moving on the Z axis. Because the print bed is supported by a spring, the bed vibrates as the Z axis moves. I want to pause until the vibration stops. If you mention G4 in LayerChangeScript, sleep enters just before moving on the Z axis.
How can it be realized?