Script execution

This commit is contained in:
gac-x03da
2019-08-09 10:25:07 +02:00
parent 2f33725ed7
commit 2562ae0a72

View File

@@ -34,14 +34,14 @@ FrontendBladeUp.write(STARTPOS)
FrontendBladeDown.write(-2.0)
time.sleep(5.0)
fly_time = (ENDPOS - STARTPOS) / SPEED
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=fly_time, before_read=before_readout, after_read = after_readout, check_positions = False)
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=fly_time, check_positions = False)
POSITIONERS = (FrontendBladeDown)
FrontendBladeDown.write(STARTPOS)
FrontendBladeUp.write(+2.0)
time.sleep(5.0)
fly_time = (ENDPOS - STARTPOS) / SPEED
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=fly_time, before_read=before_readout, after_read = after_readout, check_positions = False)
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=fly_time, check_positions = False)
FrontendHSize.write(2.0)
FrontendVSize.write(2.0)
@@ -57,14 +57,14 @@ FrontendBladeRing.write(STARTPOS)
FrontendBladeWall.write(-4.0)
time.sleep(5.0)
fly_time = (ENDPOS - STARTPOS) / SPEED
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=fly_time, before_read=before_readout, after_read = after_readout, check_positions = False)
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=fly_time, check_positions = False)
POSITIONERS = (FrontendBladeWall)
FrontendBladeWall.write(STARTPOS)
FrontendBladeRing.write(+4.0)
time.sleep(5.0)
fly_time = (ENDPOS - STARTPOS) / SPEED
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=fly_time, before_read=before_readout, after_read = after_readout, check_positions = False)
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=fly_time, check_positions = False)
FrontendHSize.write(0.0)
FrontendVSize.write(0.0)