VXI VT1538A user manual Relationship of minvel, and maxvel

Page 72

<mode> is used to select the stepping mode. the allowable values are:

Table 3. Stepping <mode> values

 

<mode> string

Stepping Mode

Speed

Channel

 

 

 

 

 

 

 

 

MFSFC2

Full

Full

2

 

 

 

 

 

 

 

 

MFSFC4

Full

Full

4

 

 

 

 

 

 

 

 

MFSHC2

Full

Half

2

 

 

 

 

 

 

 

 

MFSHC4

Full

Half

4

 

 

 

 

 

 

 

 

MHSFC2

Half

Full

4

 

 

 

 

 

 

 

 

 

 

 

 

 

Related error message:3127, "Undefined E1538 Stepper motor mode."

The range of position values that an algorithm can send for the full-speed ("SF") mode is 0 to 65,535.

The range of position values that an algorithm can send for the half-speed ("SH") mode is 0 to 32,767.

<min_vel> is specified in steps per second and is the beginning step rate at the start of the 14 or 38 step ramp-up to <max_vel>. The <min_vel> should be a step rate that the motor can achieve from a standstill without missing a step. <min_vel> can range from 128 to 40,000 (64 to 40,000 for half speed "SH" modes).

<max_vel> is specified in steps per second and is the maximum step rate that will be sent to the motor after ramp-up is complete. <max_vel> can range from 128 to 40,000 (64 to 40,000 for half speed "SH" modes).

The increase in step rate from <min_vel> to <max_vel> will occur in 14 steps for a 2-Channel configuration, and will occur in 38 steps for a 4-channel configuration. Figure 25 shows the relationship between these parameters. A related error message: 3120, "Minimum velocity parameter must not exceed maximum velocity parameter."

Figure 31. Relationship of min_vel, and max_vel

Four-phase stepper motors that require less than 100mA phase current

68 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP

Image 72
Contents VT1538A VXI Technology, Inc Introduction Support Resources User’s and Scpi Programming Manual Page Agilent E1538A Enhanced Frequency/Totalize/PWM SCP About this ManualIntroduction Identifying the Plug-on Important Setting Configuration Switches Switch Location and Example SettingsInstallation Connecting To The Terminal ModuleRecommended Signal Connections E1419A Option 11 Terminal Module ConnectionsInput and Output Characteristics Recommended Connections and Voltage LimitsVRS Mode Input Operation SCP Channels 0 & 1 only E1538A Input/Output CharacteristicsProgramming With Scpi Commands Shows the VRS mode input characteristicsConfiguring I/O Direction Setting the Input Threshold LevelDetermining the Input Threshold Level Inppol NormReading Static Digital State To set channels 40 through 43 to input digital statesTotalize Positive or Negative Edge State Changes Init SENSDATACVT? @44About Period Frequency Measurements SENSDATACVT? @45 SENSDATACVT? @45 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Sense Quadrature Position Sensfuncquad 0,@148,149RPS Example of Rotational Velocity Sense Sense Rotational VelocityControlling Output Polarity Output Static Digital StateVariable Width Pulse Per Trigger Variable Width Pulse Train PWM Variable Frequency Fixed Width Pulse Train FM Variable Frequency Square-Wave Pulse Train Rotationally Positioned Pulse Output Rotational Pulse Command Usage Algupdate Init Example of variable position, preset width RST Sensfuncrvel 12,MISS,@140Variable Position, Width Preset by Time Example of variable width by angle, preset position Example of variable width by time, preset position Fixed Position, Variable Width by AngleALGSCALAR’ALG1’,’Width2’,.010 Stepper Motor Control Use the command Stepping mode valuesSensfuncvolt @100 Full Step Mode, Full and Half Speed, 4-Channel Page RST and *TST important Scpi Command Reference Command Syntax For newer Units onlyCommand Syntax For newer Units only Discussed INPutPOLarity INPutPOLarity?Parameters CommentsLevel can be set to a resolution INPutTHResholdLEVelINPutTHResholdLEVel? OUTPutPOLarity OUTPutPOLarity?Send with VXIplug&play Function hpe14XXcmdReal64Q SENSeFREQuencyAPERture Related Commands Sensfreqaper SENSeFREQuencyAPERture?SENSeFREQuencyLIMitLOWer Init Related Commands INPutPOLarity SENSeFREQuencyLIMitLOWer?SENSeFUNCtionCONDition SENSeFUNCtionFREQuency SENSeFUNCtionPERiodSENSeFUNCtionPWIDth SENSeFUNCtionQUADratureSENSeFUNCtionRVELocity RPS SENSeFUNCtionTOTalize SENSePERiodAPERture SENSePERiodAPERture? SENSePERiodLIMitUPPerInit SENSePERiodLIMitUPPer? SENSePERiodMODERelated Commands SENSePERiodMODE SENSePERiodMODE?SENSePERiodNPERiods SENSePERiodNPERiods? SENSePERiodRANGeUPPerSend with VXIplug&play Function hpe14XXcmdInt32Q SENSeTOTalizeRESetMODE SENSePERiodRANGeUPPer?RST Condition is Send with VXIplug&play Function hpe14XXcmd SENSeTOTalizeRESetMODE? SOURceFMSTATeSOURceFMSTATe? Send with VXIplug&play Function hpe14XXcmdInt16QSOURceFUNCtionRPULse SOURceFUNCtionSHAPeCONDition SOURceFUNCtionSHAPePULSeSOURceFUNCtionSHAPeSQUare SOURceFUNCtionSTEPperComments Send with VXIplug&play Function hpe14XXcmd Relationship of minvel, and maxvel SOURcePULMSTATe Usage See Stepper Motor Control onSOURcePULMSTATe? SOURcePULSePERiodSOURcePULSePERiod? SOURcePULSeWIDThSOURcePULSeWIDTh? SOURceRPULsePOSitionANGLe33,554,430 to 33,554,430 SOURceRPULsePOSitionANGLe? SOURRPULseVARTypeUsage SOURRPULseVARType? SOURceRPULseWIDThANGLeSOURceRPULseWIDThANGLe? SOURceRPULseWIDThTIME00000787 to SOURceRPULseWIDThTIME? Specifications General SpecificationsFrequency Measurement Pulse Width Measure Rotational Pulse Source