VXI VT1538A user manual Programming With Scpi Commands, Shows the VRS mode input characteristics

Page 15

formula(Vs en sor – 17.5) to calculate the protection resistor’s value. Rext er na l = --------------------------------------

0.0032

Figure 7 shows the VRS mode input characteristics.

Figure 7. VRS Mode Input Characteristics

Output Characteristics The output stage of the E1538A is simply a MOS FET transistor that is configured as "open-drain" when the pull-up resistor is not connected (PU switch is OFF). For simple interfacing to logic devices, the pull-up resistor can be connected by turning the PU switch ON. Operating voltages (output transistor off) at an output-configured channel can range from 0 to 48 volts. The output can sink up to 100mA of current (output transistor on).

Caution If the Hnn terminal is driven below the Lnn terminal while a channel is output-configured, an "inherent diode" in the output transistor will conduct heavily. This reverse current must be limited to 100mA, or damage to the SCP could result.

Note The *RST and power-on condition (true also after *TST) for output- configured channels will output a logical one (open-drain output off). You should keep this behavior in mind when applying the E1415 to your system. It is best to have your system’s digital inputs use a high (one) as their safe state.

Programming With SCPI Commands

The SCPI commands shown here configure E1538 functions. The E1415 and E1419 don’t provide SCPI commands to read an input channel or control an output channel. This communication with the SCP is provided by the Algorithm Language. Examples will show communication with algorithms.

Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 11

Image 15
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? ParametersLevel 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