VXI VT1538A user manual SENSeFUNCtionRVELocity

Page 57

Parameters

 

 

 

 

 

 

 

Parameter

Parameter

Range of

Default

 

 

Name

Type

Values

Units

 

 

 

 

 

 

 

 

preset_count

numeric (int32)

0 to 16,777,215

none

 

 

 

 

 

 

 

 

ch_list

string

100 - 163

none

 

 

 

 

 

 

 

 

 

 

 

 

 

Comments <count_preset> if included, allows presetting the absolute counter associated with the channel pair. All quadrature pairs in <ch_list> will be preset to the same value. If not included, the default count at algorithm start will be zero.

<ch_list> must always specify both channels of a pair. More than one pair can be specified. Both channels of any pair must be adjacent. <ch_list> can specify channels on more than one E1538. The channel numbers in <ch_list> must be in ascending order. The related error messages are:

3115, "Channels specified are not in ascending order."

3116, "Multiple channels specified are not grouped correctly." 3117, "Grouped channels are not adjacent."

3122, "This multiple channel function must not span multiple SCPs."

The algorithm reads the current count through the low numbered channel. The count is an unsigned 24-bit value ranging from 0 to 16,777,215. The counter can roll over from 16,777,2215 to 0, and roll under from 0 to 16,777,215 is 16,777,215.

*RST Condition: SENS:FUNC:COND and INP:POL NORM for all digital SCP channels.

Send with VXIplug&play Function: hpe14XX_cmd(...)

Usage See “Sense Quadrature Position” on page 21.

SENS:FUNC:QUAD 8192,(@142,143)

pair 42&43 will return quad count (on ch 142), count preset to 8192

[SENSe:]FUNCtion:RVELocity

[SENSe:]FUNCtion:RVELocity <n_teeth>,<index_type>,(@<ch_list>)

configures the first channel on E1538s to measure the rotational velocity of

atoothed wheel sensor. The E1538 measures tooth-to-tooth period and converts it into units of revolutions per second (RPS). See “Sense Rotational Velocity” on page 22.

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 53

Image 57
Contents VT1538A VXI Technology, Inc Introduction Support Resources User’s and Scpi Programming Manual Page About this Manual Agilent E1538A Enhanced Frequency/Totalize/PWM SCPIntroduction Identifying the Plug-on Important Switch Location and Example Settings Setting Configuration SwitchesConnecting To The Terminal Module InstallationE1419A Option 11 Terminal Module Connections Recommended Signal ConnectionsRecommended Connections and Voltage Limits Input and Output CharacteristicsE1538A Input/Output Characteristics VRS Mode Input Operation SCP Channels 0 & 1 onlyShows the VRS mode input characteristics Programming With Scpi CommandsSetting the Input Threshold Level Configuring I/O DirectionInppol Norm Determining the Input Threshold LevelTo set channels 40 through 43 to input digital states Reading Static Digital StateInit SENSDATACVT? @44 Totalize Positive or Negative Edge State ChangesAbout Period Frequency Measurements SENSDATACVT? @45 SENSDATACVT? @45 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Agilent E1538A Enhanced Frequency/Totalize/PWM SCP Sensfuncquad 0,@148,149 Sense Quadrature PositionRPS Sense Rotational Velocity Example of Rotational Velocity SenseOutput Static Digital State Controlling Output PolarityVariable 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 RST Sensfuncrvel 12,MISS,@140 Example of variable position, preset widthVariable Position, Width Preset by Time Example of variable width by angle, preset position Fixed Position, Variable Width by Angle Example of variable width by time, preset positionALGSCALAR’ALG1’,’Width2’,.010 Stepping mode values Stepper Motor Control Use the commandSensfuncvolt @100 Full Step Mode, Full and Half Speed, 4-Channel Page RST and *TST important Command Syntax For newer Units only Scpi Command ReferenceCommand Syntax For newer Units only Discussed INPutPOLarity? INPutPOLarityParameters 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 SENSeFUNCtionPERiod SENSeFUNCtionFREQuencySENSeFUNCtionQUADrature SENSeFUNCtionPWIDthSENSeFUNCtionRVELocity RPS SENSeFUNCtionTOTalize SENSePERiodAPERture SENSePERiodLIMitUPPer SENSePERiodAPERture?Init SENSePERiodMODE SENSePERiodLIMitUPPer?Related Commands SENSePERiodMODE SENSePERiodMODE?SENSePERiodNPERiods SENSePERiodNPERiods? SENSePERiodRANGeUPPerSend with VXIplug&play Function hpe14XXcmdInt32Q SENSeTOTalizeRESetMODE SENSePERiodRANGeUPPer?RST Condition is Send with VXIplug&play Function hpe14XXcmd SOURceFMSTATe SENSeTOTalizeRESetMODE?Send with VXIplug&play Function hpe14XXcmdInt16Q SOURceFMSTATe?SOURceFUNCtionRPULse SOURceFUNCtionSHAPePULSe SOURceFUNCtionSHAPeCONDitionSOURceFUNCtionSHAPeSQUare SOURceFUNCtionSTEPperComments Send with VXIplug&play Function hpe14XXcmd Relationship of minvel, and maxvel Usage See Stepper Motor Control on SOURcePULMSTATeSOURcePULSePERiod SOURcePULMSTATe?SOURcePULSeWIDTh SOURcePULSePERiod?SOURcePULSeWIDTh? SOURceRPULsePOSitionANGLe33,554,430 to 33,554,430 SOURceRPULsePOSitionANGLe? SOURRPULseVARTypeUsage SOURceRPULseWIDThANGLe SOURRPULseVARType?SOURceRPULseWIDThANGLe? SOURceRPULseWIDThTIME00000787 to SOURceRPULseWIDThTIME? General Specifications SpecificationsFrequency Measurement Pulse Width Measure Rotational Pulse Source