| DAS
    3.1.6  - 18/09/2017
    | 
Stepper motors parameters structure
.  
 More...
#include <DAS_Spatramdef.h>
 Collaboration diagram for stepm:
 Collaboration diagram for stepm:| Data Fields | |
| int | Addr [AMSMAX] | 
| address of AMs  More... | |
| double | cop_perc [AMSMAX][2] | 
| Stepper Motors Power percent.  More... | |
| unsigned long | divider [AMSMAX][2] | 
| Divider for the frequency.  More... | |
| int | ESlope [AMSMAX][2] | 
| Enable slope.  More... | |
| unsigned long | f1 [AMSMAX][2] | 
| F1 frequency.  More... | |
| double | firmrev [AMSMAX] | 
| Firmware Revision.  More... | |
| int | homemode [AMSMAX][2] | 
| int | hometype [AMSMAX][2] | 
| int | Invert [AMSMAX][2] | 
| Invert direction.  More... | |
| unsigned char | IOP [AMSMAX] | 
| 2 byte Word for AMS Opto insulated Input Port Status  More... | |
| int | Moto [AMSMAX] | 
| int | mstatus [AMSMAX][2] | 
| motor status, = 0 motor OFF, = 1 Motor ON  More... | |
| float | multiplier [AMSMAX][2] | 
| multiplier, > 0 multiplier, < 0 demultiplier  More... | |
| int | NAMS | 
| Number of AMSs Devices.  More... | |
| unsigned long | nstep [AMSMAX][2] | 
| Number of steps to be executed.  More... | |
| unsigned char | OOP [AMSMAX] | 
| 2 byte Word for AMS Opto insulated Output Port Status  More... | |
| int | polh [AMSMAX][2] | 
| Polarity for Home.  More... | |
| int | polw [AMSMAX][2] | 
| Polarity for Work.  More... | |
| long | postime [AMSMAX][2] | 
| time necessary for positioning  More... | |
| int | power [AMSMAX][2] | 
| Stepper Motors Power.  More... | |
| int | Revo [AMSMAX][2] | 
| Revolution Direction CW CCW.  More... | |
| int | slope [AMSMAX][2] | 
| Stepper Motors Slope.  More... | |
| int | SM_A | 
| Motor A (su Y11) respectively: ID=0->InputMirror,ID=1->FilterWheel,ID=2->Zenith.  More... | |
| int | SM_B | 
| Motor B (su Y12) respectively: ID=0->Grating,ID=1->Not Connected,ID=2->Azimuth.  More... | |
| int | speed [AMSMAX][2] | 
| Stepper Motors Speed.  More... | |
| double | speed_Hz [AMSMAX][2] | 
| Stepper Motors Speed [Hz].  More... | |
| int | step [AMSMAX][2] | 
| Stepper Motors Step.  More... | |
| char | step_fraz [AMSMAX][2][6] | 
| Stepper Motors Step fraction.  More... | |
| unsigned long | stepa | 
| unsigned long | stepb | 
| int | workmode [AMSMAX][2] | 
| int stepm::Addr[AMSMAX] | 
address of AMs
Definition at line 506 of file DAS_Spatramdef.h.
Referenced by ActMvAzimCB(), ActMvZenCB(), InitFlags(), OOP_CB(), and ReadInputCB().
| double stepm::cop_perc[AMSMAX][2] | 
Stepper Motors Power percent.
Definition at line 503 of file DAS_Spatramdef.h.
Referenced by ApplyChCB(), AssignParam(), CONFP_AMS_TabSingMotor(), and WriteAMSCB().
| unsigned long stepm::divider[AMSMAX][2] | 
Divider for the frequency.
Definition at line 515 of file DAS_Spatramdef.h.
Referenced by HomeMirror().
| int stepm::ESlope[AMSMAX][2] | 
Enable slope.
Definition at line 511 of file DAS_Spatramdef.h.
| unsigned long stepm::f1[AMSMAX][2] | 
F1 frequency.
Definition at line 522 of file DAS_Spatramdef.h.
| double stepm::firmrev[AMSMAX] | 
| int stepm::homemode[AMSMAX][2] | 
Definition at line 519 of file DAS_Spatramdef.h.
| int stepm::hometype[AMSMAX][2] | 
Definition at line 525 of file DAS_Spatramdef.h.
Referenced by CONFP_AMS_TabSingMotor(), DB_HomeTypeCB(), FrmNOVA_IO_Test(), FrmStepperHomeMode(), HomeGratingFast(), HomeMirror(), HomeZenithFast(), LoadAMS(), and WriteAMSCB().
| int stepm::Invert[AMSMAX][2] | 
Invert direction.
Definition at line 514 of file DAS_Spatramdef.h.
| unsigned char stepm::IOP[AMSMAX] | 
2 byte Word for AMS Opto insulated Input Port Status
Definition at line 524 of file DAS_Spatramdef.h.
| int stepm::Moto[AMSMAX] | 
Definition at line 510 of file DAS_Spatramdef.h.
| int stepm::mstatus[AMSMAX][2] | 
motor status, = 0 motor OFF, = 1 Motor ON
Definition at line 521 of file DAS_Spatramdef.h.
| float stepm::multiplier[AMSMAX][2] | 
multiplier, > 0 multiplier, < 0 demultiplier
Definition at line 502 of file DAS_Spatramdef.h.
Referenced by ActMvGratCB(), ApplyChCB(), CONFP_AMS_TabSingMotor(), HomeMirror(), LoadAMS(), SD_Azimuth(), SD_Grating(), SD_Mirror(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), SD_Zenith(), SD_Zenith_H(), and WriteAMSCB().
| int stepm::NAMS | 
Number of AMSs Devices.
Definition at line 497 of file DAS_Spatramdef.h.
Referenced by ApplyChCB(), AssignParam(), LoadAMS(), MDCreate_CP(), MDCreateDASConfig(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), and WriteAMSCB().
| unsigned long stepm::nstep[AMSMAX][2] | 
Number of steps to be executed.
Definition at line 518 of file DAS_Spatramdef.h.
Referenced by SD_Azimuth(), SD_Grating(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), and SD_Zenith().
| unsigned char stepm::OOP[AMSMAX] | 
2 byte Word for AMS Opto insulated Output Port Status
Definition at line 523 of file DAS_Spatramdef.h.
Referenced by AMS_PWM_Zero(), CONFP_AMS_IOPort(), DB_KeyB_CB(), ExtLamp(), ExtShutt(), FANECU(), FANPeltier(), HgLamp(), HiresPS(), OOP_CB(), Peltier(), PeltierPS(), QjLamp(), and SD_FNTorqueM().
| int stepm::polh[AMSMAX][2] | 
Polarity for Home.
Definition at line 512 of file DAS_Spatramdef.h.
| int stepm::polw[AMSMAX][2] | 
Polarity for Work.
Definition at line 513 of file DAS_Spatramdef.h.
| long stepm::postime[AMSMAX][2] | 
time necessary for positioning
Definition at line 526 of file DAS_Spatramdef.h.
Referenced by AMS_DoPos(), D_Positioning(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), and Task_HomeGrat().
| int stepm::power[AMSMAX][2] | 
Stepper Motors Power.
Definition at line 498 of file DAS_Spatramdef.h.
Referenced by ApplyChCB(), AssignParam(), CONFP_AMS_TabSingMotor(), DB_Home_CB(), DB_InitMotor(), E_Home_SM4(), E_Home_SM6(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), LoadAMS(), and WriteAMSCB().
| int stepm::Revo[AMSMAX][2] | 
Revolution Direction CW CCW.
Definition at line 509 of file DAS_Spatramdef.h.
Referenced by SD_Azimuth(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), and SD_Zenith().
| int stepm::slope[AMSMAX][2] | 
Stepper Motors Slope.
Definition at line 500 of file DAS_Spatramdef.h.
Referenced by ApplyChCB(), AssignParam(), CONFP_AMS_TabSingMotor(), DB_Home_CB(), DB_InitMotor(), E_Home_SM4(), E_Home_SM6(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), LoadAMS(), and WriteAMSCB().
| int stepm::SM_A | 
Motor A (su Y11) respectively: ID=0->InputMirror,ID=1->FilterWheel,ID=2->Zenith.
Definition at line 516 of file DAS_Spatramdef.h.
Referenced by ActMvZenCB(), AMS_DoPos(), DB_Home_CB(), DB_InitMotor(), E_Home_SM4(), E_Home_SM6(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), InitFlags(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), and SD_Zenith().
| int stepm::SM_B | 
Motor B (su Y12) respectively: ID=0->Grating,ID=1->Not Connected,ID=2->Azimuth.
Definition at line 517 of file DAS_Spatramdef.h.
Referenced by ActMvAzimCB(), ActMvGratCB(), AMS_DoPos(), D_Calibra(), D_Positioning(), DB_Home_CB(), DB_InitMotor(), E_Home_SM4(), E_Home_SM6(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), InitFlags(), SD_Azimuth(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), and Task_HomeGrat().
| int stepm::speed[AMSMAX][2] | 
Stepper Motors Speed.
Definition at line 501 of file DAS_Spatramdef.h.
Referenced by ApplyChCB(), AssignParam(), CONFP_AMS_TabSingMotor(), DB_Home_CB(), DB_InitMotor(), E_Home_SM4(), E_Home_SM6(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), LoadAMS(), and WriteAMSCB().
| double stepm::speed_Hz[AMSMAX][2] | 
Stepper Motors Speed [Hz].
Definition at line 505 of file DAS_Spatramdef.h.
Referenced by AMS_DoPos(), ApplyChCB(), AssignParam(), CONFP_AMS_TabSingMotor(), HomeAzimFast(), HomeFiltersFast(), HomeMirror(), HomeNDFiltersFast(), HomeTrack(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), and WriteAMSCB().
| int stepm::step[AMSMAX][2] | 
Stepper Motors Step.
Definition at line 499 of file DAS_Spatramdef.h.
Referenced by ActMvAzimCB(), ActMvGratCB(), ActMvZenCB(), ApplyChCB(), AssignParam(), CONFP_AMS_TabSingMotor(), D_Calibra(), DB_Home_CB(), DB_InitMotor(), E_Home_SM4(), E_Home_SM6(), HomeAzimFast(), HomeFiltersFast(), HomeGratingFast(), HomeMirror(), HomeNDFiltersFast(), HomeZenithFast(), LoadAMS(), SD_Azimuth(), SD_FilterW(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_PosAADev(), SD_Position(), SD_PosOMUDev(), SD_Zenith(), SD_Zenith_H(), and WriteAMSCB().
| char stepm::step_fraz[AMSMAX][2][6] | 
Stepper Motors Step fraction.
Definition at line 504 of file DAS_Spatramdef.h.
Referenced by ApplyChCB(), AssignParam(), CONFP_AMS_TabSingMotor(), val2fraz(), and WriteAMSCB().
| unsigned long stepm::stepa | 
Definition at line 507 of file DAS_Spatramdef.h.
| unsigned long stepm::stepb | 
Definition at line 508 of file DAS_Spatramdef.h.
| int stepm::workmode[AMSMAX][2] | 
Definition at line 520 of file DAS_Spatramdef.h.
