VXI VT1538A user manual Agilent E1538A Enhanced Frequency/Totalize/PWM SCP, About this Manual

Page 7

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP

About this Manual

This manual describes how to configure the Signal Conditioning Plug-on (SCP) using SCPI commands and explains the capabilities of this SCP. The contents of this manual are:

Introduction

. page 4

Identifying the Plug-on (IMPORTANT)

. page 5

Setting Configuration Switches

. page 6

Installation

. page 7

Connecting To The Terminal Module

. page 7

Recommended Signal Connections

. page 8

Input and Output Characteristics

. page 9

Programming With SCPI Commands

page 11

--Configuring I/O Direction

page 12

Programming Input Channels

page 12

 

--Setting the Input Threshold Level

page 12

 

--Set Input Logic Sense

page 13

 

--Reading Static Digital State

page 14

 

--Totalize Positive or Negative Edge State Changes . . . .

page 15

 

--About Period and Frequency Measurements

page 16

 

--Measure Frequency

page 17

 

--Measure Period

page 18

 

--Measure Pulse Width

page 20

 

--Sense Quadrature Position

page 21

--Sense Rotational Velocity

page 22

Programming Output Channels

page 24

 

--Controlling Output Polarity

page 24

 

--Output Static Digital State

page 24

 

--Variable Width Pulse Per Trigger

page 25

 

--Variable Width Pulse Train (PWM)

page 26

 

--Variable Frequency Fixed Width Pulse Train (FM) . . .

page 27

 

--Variable Frequency Square-Wave Pulse Train (FM) . .

page 28

 

--Rotationally Positioned Pulse Output

page 29

 

--Rotational Pulse Command Usage

page 30

--Stepper Motor Control

page 37

*RST and *TST (important!)

page 41

SCPI Command Reference

page 42

Specifications

page 77

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 3

Image 7
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