Commande CUPOLA dans les procedures

 


 

0 CUPOLA 
	/ACTUAL
	/CLOSE(,#02@,)
	/EAMOV(,#01@,)
	/INTERFACE
	/LOCKED
	/MODE
	/MOVE
	/NOECHO
	/OFFSET(,#01@,)
	/OPEN(,#02@,)
	/POSITION(,#01@,)
	/SENSE(,#01@,)
	/SHUTTER
	/START
	/STATE(,#01",)
	/STOP
	/TIME
	#00#00

CUPOLA /ACTUAL : Lecture de la position courante
cmd: cupola.ask.position
var: o_cupposmes
t120/coupo.prc:				cupo   /actual 
t120/coupo.prc:				cupo   /actual 
t120/cupola_attente_fin_position.prc:	cupola /actu
t120/t120_inithard.prc:			cupola /actual 
t120/t120_get_position_debut_pose.prc:	cupola /actual 
t120/t120_get_position_fin_pose.prc:	cupola /actual 
t120/t120_get_positions.prc:		cupola /actual !cupposmes

CUPOLA /SHUTTER /CLOSE= : fermeture coupole avec time out n secondes
cmd: cupola.shutter.close
var: o_cupbotclti, o_cuptopclti
t120/cimier.prc:			cupola /shutter /close=te.shubott,te.shutopt 

CUPOLA /EAMOV  : lecture ou ecriture de la position
cmd: cupola.eamov
var: o_cupposcons,o_cupposmes
t120/t120_inithard.prc:			cupola /eamov=iposcup
t120/t120_inithard.prc:			cupola /eamov=-90

CUPOLA /LOCKED : Demande si la coupole est en position
cmd: cupola.locked
var: o_cupstat (tserCupolaOperations.c: SER_CUPOLA_Active), o_cupposlock(tserCupolaOperations.c: SER_CUPOLA_Position_Locked)
t120/cupola_attente_fin_position.prc:	cupo /lock 
t120/track.prc:				cupo /lock 
t120/track.prc:				cupo /lock 
t120/track.prc:				cupo /lock 
t120/t120_end.prc:			cupo /lock 

CUPOLA /MODE : Demande etat commutateur auto/manuel de la rotation coupole
cmd: cupola.ask.mode -> tserCupolaOperations.c:cupolaMode() -> CUPOLA_driver.c:cupola_Ask_Mode()
var: o_cupmode
t120/t120_end.prc:			cup    /mode  ! Contrôle du mode de commande du dôme

CUPOLA /MOVE /SENSE=<0..1> : sens de deplacement
cmd: cupola.move
t120/t120_gui_axes.prc:			cupola /move /sense=1 
t120/t120_gui_axes.prc:			cupola /move /sense=0 

CUPOLA /OFFSET  : lecture ou ecriture de l'offset
cmd: cupola.set.offset
cmd: cupola.read.offset
var: o_cupposoff
t120/check_top_zero.prc:		cupo /offset=newoffset 
t120/t120_initsoft.prc:			cupo /offset=te.cup.off 

CUPOLA /SHUTTER /OPEN= : ouverture coupole avec time out n secondes
cmd: cupola.shutter.open
var: o_cupbotopti, o_cuptopopti
t120/cimier.prc:			cupola /shutter /open=te.shubott,te.shutopt 

CUPOLA /SHUTTER /POSITION : Demande la position du shutter de la coupole
cmd: cupola.shutter.position
var: o_cupbotclos, o_cupbotopen, o_cuptopclos, o_cuptopopen
t120/cimier.prc:			cupola /shutter /position 
t120/cupwait.prc:			cupola /shutter /position 
t120/t120_init.prc:			cupola /shutter /position 
t120/t120_end.prc:			cupola /shutter /position 

CUPOLA /POSITION  : lecture ou ecriture de la consigne de position
cmd: cupola.set.position
cmd: cupola.read.position
var: o_cupposcons
t120/t120_end.prc:			cup  /pos=pcuppark  ! Consigne de parcage
t120/t120_control_meteo.prc:		cupo /pos=te.cuppark
t120/align_coupole.prc:			cupo /pos=scrregcpaz 
t120/coupo.prc:				cupo /pos=scrregcpaz 

CUPOLA /STATE : enclenche ou declenche la surveillance de position
cmd: cupola.set.switch  -> serverLibs.tserCommands.c:cupolaSetSwitch
cmd: cupola.read.switch -> serverLibs.tserCommands.c:cupolaAskSwitch
var: o_cupstat (dans les procedure la var te.cupstat semble inutile)
t120/coupo.prc:				cupo /state=1
t120/coupo.prc:				cupo /state  
t120/t120_inithard.prc:			cupo /state=cupstat 
t120/t120_end.prc:			cup  /stat=1  ! Mise en marche du positionneur
t120/t120_end.prc:			cup  /stat   
t120/t120_end.prc:			cup  /stat=0 
t120/track.prc:				cupo /stat=0 
t120/track.prc:				cupo /stat=1 
t120/track.prc:				cupo /stat 

CUPOLA /SHUTTER /STOP : stop
cmd: cupola.shutter.stop
var: o_cupdomstop
t120/cupola_attente_fin_position.prc:	cupo   /stop
t120/t120_gui_axes.prc:			cupola /stop 
t120/t120_gui_axes.prc:			cupola /stop 

CUPOLA /SHUTTER /TIME : Demande le temps restant pour la fermeture ou l'ouverture
cmd: cupola.shutter.time
var: o_cupbottime, o_cuptoptime
t120/cupwait.prc:			cupola /shutter /time 



--NOT IN USE __
CUPOLA /INTERFACE : initialise les interfaces
cmd: cupola.interface

CUPOLA /START : start
cmd: cupola.start

	
Fins de course
	-CUPTOPCLOS	v
	-CUPTOPOPEN	v
	-CUPBOTCLOS	v
	-CUPBOTOPEN	v
	
Temps fermeture, ouverture, temps restant
	-CUPBOTCLTI	v
	-CUPBOTOPTI	v
	-CUPBOTTIME	v	
	-CUPTOPCLTI	v
	-CUPTOPOPTI	v
	-CUPTOPTIME	v

	-CUPPOSCONS	vv
	-CUPPOSLOCK	v
	-CUPPOSMES	vv
	-CUPPOSOFF	v

	-CUPDOMSTOP	v
	-CUPMODE	v
	-CUPSHUSTOP	v
	-CUPSTAT	vv
	-ERROR
	-USELOG