VXI VT1538A user manual Variable Frequency Fixed Width Pulse Train FM

Page 31

Variable Frequency Fixed Width Pulse Train (FM)

This means that the E1538 outputs a continuous train of pulses whose frequency is controlled by the algorithm. The logic 1 level pulse width is set by a SCPI command before INIT. Use the following command sequence:

SOURce:FUNCtion:PULSe (@<ch_list>) to enable pulse generation. SOURce:FM[:STATe] ON,(@<ch_list>) to select the FM mode. SOURce:PULSe:WIDTh <width>,(@<ch_list>) to pre-set the pulse width of the logic 1 portion of the waveform. <width> can range from 7.87μSec to 7.812mSec.

The frequency value sent by the algorithm can range from 128Hz to 40KHz.

 

2

 

fout

The frequency resolution is

4.194 MHz

 

---------------------------

To configure channel 45 to output variable frequency continuous train with fixed pulse width

SOUR:FUNC:PULS (@145)

channel sources pulses...

SOUR:FM ON,(@145)

and continuous pulse train

SOUR:PULS:WIDT .001,(@145)

1 msec fixed pulse width

The algorithm can now output a frequency value to channel 45:

O145 = 250 /* channel 45 will source 250 Hz pulse train */

Figure 18. Output Fixed Pulse Width Variable Frequency (FM)

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 27

Image 31
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 Comments INPutPOLarityINPutPOLarity? ParametersINPutTHResholdLEVel Level can be set to a resolutionINPutTHResholdLEVel? OUTPutPOLarity? OUTPutPOLaritySend with VXIplug&play Function hpe14XXcmdReal64Q SENSeFREQuencyAPERture SENSeFREQuencyAPERture? Related Commands SensfreqaperSENSeFREQuencyLIMitLOWer Init SENSeFREQuencyLIMitLOWer? Related Commands INPutPOLaritySENSeFUNCtionCONDition SENSeFUNCtionPERiod SENSeFUNCtionFREQuencySENSeFUNCtionQUADrature SENSeFUNCtionPWIDthSENSeFUNCtionRVELocity RPS SENSeFUNCtionTOTalize SENSePERiodAPERture SENSePERiodLIMitUPPer SENSePERiodAPERture?Init SENSePERiodMODE SENSePERiodLIMitUPPer?SENSePERiodMODE? Related Commands SENSePERiodMODESENSePERiodNPERiods SENSePERiodRANGeUPPer SENSePERiodNPERiods?Send with VXIplug&play Function hpe14XXcmdInt32Q SENSePERiodRANGeUPPer? SENSeTOTalizeRESetMODERST Condition is Send with VXIplug&play Function hpe14XXcmd SOURceFMSTATe SENSeTOTalizeRESetMODE?Send with VXIplug&play Function hpe14XXcmdInt16Q SOURceFMSTATe?SOURceFUNCtionRPULse SOURceFUNCtionSHAPePULSe SOURceFUNCtionSHAPeCONDitionSOURceFUNCtionSTEPper SOURceFUNCtionSHAPeSQUareComments Send with VXIplug&play Function hpe14XXcmd Relationship of minvel, and maxvel Usage See Stepper Motor Control on SOURcePULMSTATeSOURcePULSePERiod SOURcePULMSTATe?SOURcePULSeWIDTh SOURcePULSePERiod?SOURceRPULsePOSitionANGLe SOURcePULSeWIDTh?33,554,430 to 33,554,430 SOURRPULseVARType SOURceRPULsePOSitionANGLe?Usage SOURceRPULseWIDThANGLe SOURRPULseVARType?SOURceRPULseWIDThTIME SOURceRPULseWIDThANGLe?00000787 to SOURceRPULseWIDThTIME? General Specifications SpecificationsFrequency Measurement Pulse Width Measure Rotational Pulse Source