DAS  3.1.6 - 18/09/2017
Data Fields
stepm Struct Reference

Stepper motors parameters structure
. More...

#include <DAS_Spatramdef.h>

+ 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]
 

Detailed Description

Stepper motors parameters structure
.

stepm

Definition at line 495 of file DAS_Spatramdef.h.

Field Documentation

§ Addr

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().

§ cop_perc

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().

§ divider

unsigned long stepm::divider[AMSMAX][2]

Divider for the frequency.

Definition at line 515 of file DAS_Spatramdef.h.

Referenced by HomeMirror().

§ ESlope

int stepm::ESlope[AMSMAX][2]

Enable slope.

Definition at line 511 of file DAS_Spatramdef.h.

§ f1

unsigned long stepm::f1[AMSMAX][2]

F1 frequency.

Definition at line 522 of file DAS_Spatramdef.h.

§ firmrev

double stepm::firmrev[AMSMAX]

Firmware Revision.

Definition at line 527 of file DAS_Spatramdef.h.

Referenced by DB_InitAMS().

§ homemode

int stepm::homemode[AMSMAX][2]

Definition at line 519 of file DAS_Spatramdef.h.

§ hometype

int stepm::hometype[AMSMAX][2]

§ Invert

int stepm::Invert[AMSMAX][2]

Invert direction.

Definition at line 514 of file DAS_Spatramdef.h.

§ IOP

unsigned char stepm::IOP[AMSMAX]

2 byte Word for AMS Opto insulated Input Port Status

Definition at line 524 of file DAS_Spatramdef.h.

§ Moto

int stepm::Moto[AMSMAX]

Definition at line 510 of file DAS_Spatramdef.h.

§ mstatus

int stepm::mstatus[AMSMAX][2]

motor status, = 0 motor OFF, = 1 Motor ON

Definition at line 521 of file DAS_Spatramdef.h.

§ multiplier

float stepm::multiplier[AMSMAX][2]

§ NAMS

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().

§ nstep

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().

§ OOP

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().

§ polh

int stepm::polh[AMSMAX][2]

Polarity for Home.

Definition at line 512 of file DAS_Spatramdef.h.

§ polw

int stepm::polw[AMSMAX][2]

Polarity for Work.

Definition at line 513 of file DAS_Spatramdef.h.

§ postime

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().

§ power

int stepm::power[AMSMAX][2]

§ Revo

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().

§ slope

int stepm::slope[AMSMAX][2]

§ SM_A

int stepm::SM_A

§ SM_B

int stepm::SM_B

§ speed

int stepm::speed[AMSMAX][2]

§ speed_Hz

double stepm::speed_Hz[AMSMAX][2]

§ step

int stepm::step[AMSMAX][2]

§ step_fraz

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().

§ stepa

unsigned long stepm::stepa

Definition at line 507 of file DAS_Spatramdef.h.

§ stepb

unsigned long stepm::stepb

Definition at line 508 of file DAS_Spatramdef.h.

§ workmode

int stepm::workmode[AMSMAX][2]

Definition at line 520 of file DAS_Spatramdef.h.


The documentation for this struct was generated from the following file:
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:47:18 for DAS - Rel. 3.1.6 - 18/09/2017.