How to ...

The desired speed and gap can be set as follows:

plcUndulator_client.py speed 100000 # set speed to 10%
plcUndulator_client.py gap 25000 # set desired gap (in um)
The movement will be started automatically when you set the gap value.

You can check that the status of the undulator with

plcUndulator_client.py status
“MOVING” means that it is still moving.

The movement can be stopped in any moment by running

plcUndulator_client.py stop

The movement to the desired position can be (re)started with

plcUndulator_client.py start