VXI VT1538A user manual SOURceRPULsePOSitionANGLe?, SOURRPULseVARType, Usage

Page 77

Usage SOUR:RPULSE:POS:ANGL 20,(@145)

preset channel 45 pulse position

 

to 20 degrees

SOURce:RPULse:POSition[:ANGLe]?

SOURce:RPULse:POSition[:ANGLe]? (@<channel>) returns the angular position set for <channel>,

Parameters

 

 

 

 

 

 

 

Parameter

Parameter

Range of

Default

 

 

Name

Type

Values

Units

 

 

 

 

 

 

 

 

channel

string

100 - 163

none

 

 

 

 

 

 

 

 

 

 

 

 

 

Comments

<channel> must specify a single channel only

Usage

SOUR:RPULSE:POS:ANGL? (@145)

return pulse pos set for channel

 

 

45

SOUR:RPULse:VARType

SOUR:RPULse:VARType <type>,(@<ch_list>) specifies the type of value that will be controlled (varied) by the algorithm. Depending on how the RPULse system is set up, the varied property can be either pulse position, or pulse width.

Parameters

 

 

 

 

 

 

 

Parameter

Parameter

Range of

Default

 

 

Name

Type

Values

Units

 

 

 

 

 

 

 

 

type

discrete (string)

TIME ANGLe

seconds

 

 

 

 

 

 

 

 

ch_list

string

100 - 163

none

 

 

 

 

 

 

 

 

 

 

 

 

 

Comments <type> specifies the that the algorithm will send values of either: ANGLe (in degrees) to the channel(s).

or

TIME (in seconds) to the channel(s).

<ch_list> specifies the SOUR:FUNC:RPUL channel(s) that will be controlled (varied) by the algorithm. Channels in <ch_list> must be referenced in a SOUR:FUNC:RPUL command before the next INIT command. Related error messages:

3113, "Channel specified is not in same SCP as reference channel." 3114, "First channel in SCP can not be used in RPULse output channel list."

Usage SOUR:RPULSE:VART ANGL,(@145:147) algorithm will control pulse width by ANGLE

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 73

Image 77
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 CommentsINPutTHResholdLEVel? Level can be set to a resolutionINPutTHResholdLEVel Send with VXIplug&play Function hpe14XXcmdReal64Q OUTPutPOLarityOUTPutPOLarity? SENSeFREQuencyAPERture SENSeFREQuencyLIMitLOWer Related Commands SensfreqaperSENSeFREQuencyAPERture? Init SENSeFUNCtionCONDition Related Commands INPutPOLaritySENSeFREQuencyLIMitLOWer? SENSeFUNCtionPERiod SENSeFUNCtionFREQuencySENSeFUNCtionQUADrature SENSeFUNCtionPWIDthSENSeFUNCtionRVELocity RPS SENSeFUNCtionTOTalize SENSePERiodAPERture SENSePERiodLIMitUPPer SENSePERiodAPERture?Init SENSePERiodMODE SENSePERiodLIMitUPPer?SENSePERiodNPERiods Related Commands SENSePERiodMODESENSePERiodMODE? Send with VXIplug&play Function hpe14XXcmdInt32Q SENSePERiodNPERiods?SENSePERiodRANGeUPPer RST Condition is Send with VXIplug&play Function hpe14XXcmd SENSeTOTalizeRESetMODESENSePERiodRANGeUPPer? SOURceFMSTATe SENSeTOTalizeRESetMODE?Send with VXIplug&play Function hpe14XXcmdInt16Q SOURceFMSTATe?SOURceFUNCtionRPULse SOURceFUNCtionSHAPePULSe SOURceFUNCtionSHAPeCONDitionComments Send with VXIplug&play Function hpe14XXcmd SOURceFUNCtionSHAPeSQUareSOURceFUNCtionSTEPper Relationship of minvel, and maxvel Usage See Stepper Motor Control on SOURcePULMSTATeSOURcePULSePERiod SOURcePULMSTATe?SOURcePULSeWIDTh SOURcePULSePERiod?33,554,430 to 33,554,430 SOURcePULSeWIDTh?SOURceRPULsePOSitionANGLe Usage SOURceRPULsePOSitionANGLe?SOURRPULseVARType SOURceRPULseWIDThANGLe SOURRPULseVARType?00000787 to SOURceRPULseWIDThANGLe?SOURceRPULseWIDThTIME SOURceRPULseWIDThTIME? General Specifications SpecificationsFrequency Measurement Pulse Width Measure Rotational Pulse Source