VXI VT1538A manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of VXI VT1538A, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of VXI VT1538A one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of VXI VT1538A. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of VXI VT1538A should contain:
- informations concerning technical data of VXI VT1538A
- name of the manufacturer and a year of construction of the VXI VT1538A item
- rules of operation, control and maintenance of the VXI VT1538A item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of VXI VT1538A alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of VXI VT1538A, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the VXI service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of VXI VT1538A.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the VXI VT1538A item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    bus VT1538A E NHANCED F REQUENCY /T OTALIZE / PWM S IGNAL C ONDITIONING P LUG -O N U SER ’ S M ANUAL 82-0093-000 Release April 28, 2003 VXI Technology, Inc. 2031 Main Street Irvine, CA 92614-6509 (949) 955-1894[...]

  • Page 2

    VXI Technology, Inc. 2[...]

  • Page 3

    www.vxitech.com 3 I NTRODUCTION On May 1, 2003, VX I Technology, Inc. acquired Ag ilent Technology’s mechanical data acquisition product segment. During the transition period, Agilent branded ma nuals will be provided with the dynamic and static data acquisition produ cts until the man uals have been reb randed. The following products are provid [...]

  • Page 4

    VXI Technology, Inc. 4 S UPPORT R ESOURCES Support res ources for this pr oduct are availabl e on the Internet and at VXI Technology c ustomer support centers. VXI Technology World Headquarters VXI Technology, Inc. 2031 Main Street Irvine, CA 92614-6 509 Phone: (949 ) 955-1894 Fax: (949) 95 5-3041 VXI Technology Cleveland Division VXI Technology, I[...]

  • Page 5

    Where to Find it - Online and Printed Information: System in stallation (ha rdware/software) .......... .. VXIbus Configuration Gu ide* Agilent VIC (VXI in stallation software)* Module c onfigurat ion and wiri ng .......... ........ ..... This Manual SCPI pr ogramming ... ........... ....... ........... ........... .. This Manual VXI plug&p lay[...]

  • Page 6

    [...]

  • Page 7

    Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 3 Agilent E1538A Enhanced Frequency/T ot alize/PWM SCP About this Manual This manual describes h ow to confi gure the Signa l Conditioni ng Plug-on (SCP) using SCPI commands and explains t he capabiliti es of this SCP. The content s of this manua l are: • Introduct ion . . . . . . . . . . . . . .[...]

  • Page 8

    4 Agilent E1 538A Enhanced Fre quency/Totalize/PW M SCP Introduction The Agilent E1538A provides ei ght TTL compatible channels of digi tal I/O. Channels c an be indiv idually c onfigure d to perform any o ne of the f ollowing functi ons: • Input: -- Static di git al st ate -- Fr equency meas urement -- Pe riod meaure ment -- T otalize posit ive [...]

  • Page 9

    Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 5 both ful l and half step modes .(requir es 2 or 4 ch annels) The logic al sense of inpu t and outpu t chann els can be conf igured as inver ted or normal . Input-c onfigure d channel s have i ndividually programmable thr eshold l evels that ca n range fr om -46V to +46 V. Identifying the Plug-on [...]

  • Page 10

    6 Agilent E1 538A Enhanced Fre quency/Totalize/PW M SCP Setting Config uration Switches The SCP has t hree packa ges of eig ht switche s each. The package lab e led OE (Out put En ab le ) de termi n es a c h anne l’ s I /O d ir ecti on. T he pa cka ge lab ele d PU (pull-up ) controls whether or not a channel is fl oating or pulled up to an intern[...]

  • Page 11

    Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 7 Inst allation Instal lation f or this P lug-on is identical t o other SCPs and is co vered in Chapter 1 of your Agi lent E1415 or E1 419 User’ s Manual. Connecting T o The T ermi nal Module The SCP conne ctions fo r the Termi nal Modules are shown on the self-a dhesive l abels th at come with t[...]

  • Page 12

    8 Agilent E1 538A Enhanced Fre quency/Totalize/PW M SCP Recomm en ded Sign al Conn ections Figure 5 shows th e reco mmended meth od of wir ing di gital I/O c hannel s, as well a s the m axim um vo l tage li mita tions for t h e E15 38 A. Figure 5 shows the sh ields con nected dir ectly t o the E1415 g round. This i s to limit potential nois e on th[...]

  • Page 13

    Agilent E1538A Enhanced Frequency/Totalize/PWM SCP 9 Input and Output Characteristics This sec tion desc ribes the E153 8’ s channe l input an d output el ectrical charact eristi cs. Refer t o Figure 6 for the f ollowing dis cussions. Input Char a cteri stics When configured for i nput, E1538 chann els prov ide digit al input through the thresho [...]

  • Page 14

    10 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP is to ma intai n a con stant -le vel di gital o utpu t whil e the i nput v a ries from milliv olts to seve ral t en s of vo lts . For simple se nsing of switches and open coll ector logic device s, a channel’ s pull-up resist or can be co nnected by closing i ts PU switch. VRS Mode Input Oper[...]

  • Page 15

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 11 formula to calc ulate t he protec tion resis tor’ s value . Figure 7 shows the VRS mode input cha racteri stics. Outp ut Char acter istics The output stag e of the E1538A i s simply a MOS FET tra nsistor tha t is configur ed as "op en-drain " when the p ull-up re sistor is not co[...]

  • Page 16

    12 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Checking the ID of th e SCP To verif y the SCP type(s ) install ed on your VXI mod ule, use the SYSTem:CTYPe? (@< chann el >) com man d. • The cha nnel para meter s pecifies a sing le channe l in the c hannel range covered b y the SCP of int erest. Th e first ch annel number for each of[...]

  • Page 17

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 13 • Channels in < ch_list > must be input conf igured ch annels Determining the Input Threshold Level To determine a channel’ s input thre shold lev el, use th e command: INPut:THRes hold:LEVel? (@< channel >) Note Because t he E1538 roun ds < level > to the ne are st mul[...]

  • Page 18

    14 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Reading Static Digital State This means reading a cha nnel’ s cu rrent di gital stat e when an al gorithm exec utes . Th is is th e defa ult f u nct ion as sig ned to all d ig ita l inpu t ch an ne ls after *RST and at power- up. To set indi vidual cha nnels to thi s function us e the SCPI co[...]

  • Page 19

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 15 Totalize P ositive or Negative Edge State Changes Use [SENS e:]FUNCtion:TOTal ize (@< ch_li st >) to config ure channel s to total ize. T o tali z e mea ns to simp ly co unt st ate t ransi tion s (eit he r pos itiv e going, or negative going). Figure 9 A shows tot alizing tr ansitions [...]

  • Page 20

    16 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP About Period and Frequency Measur ements The E1538A ac tually mea sures sig nal peri od for both the peri od and frequen cy functi ons. If the me asureme nt function is set to fre quency rather than p e rio d, t he SC P retu rn s the reci proca l of th e m eas ured p eriod . The resolut ion of [...]

  • Page 21

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 17 Measure Frequency Use [SENS e:]FREQuency:APERtu re < ti me >, (@< ch_lis t >) to conf igure the fre quency count er channe ls’ measuremen t interv al. Use [SENS e:]FUNCtion:FREQuen cy (@< ch_list >) to confi gure channe ls to measur e signal f requency. To measu re freque[...]

  • Page 22

    18 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Measur e Period Use [SENSe:]PERiod :MODe APERture | NPERio ds,(@<ch_list>) to select the mea s ureme nt inte rval s ettin g mode . Depending on the mode sele cted above use [SENSe:]PERiod: APERture < time >,( @< ch_lis t >) or use [SENSe: ]PERiod:NPERiods < n_peri ods >,[...]

  • Page 23

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 19 To measu re period at channel 45 as the ave rage of 10 00 signal p eriods: *RST TRIGGER:TIMER .2 Alg executes at .2 s ec intervals SENS:FUNC:P ER (@145) ch 45 to measure signal p eriod SENS:PE R:RA NG E 1,(@1 45) set period ra nge 10 µ sec - 1sec SENS:PE R:MODE NPE R(@145) set meas i nterva[...]

  • Page 24

    20 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Measur e Pulse Width This means tha t the E1538 wil l measure the widt h of the l ogic 1 porti on of a pulse. The pulse wi dth is sen t to the a lgorith m in unit s of seco nds. To measure t he high por tion of a pulse (pos itive go ing edge to negative goi ng edge) se t the chan nel input pol [...]

  • Page 25

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 21 Sense Q uadra ture Positi on This means that the E1538 will conv er t a digital qua dra ture sign al pa ir int o an absol ute 24-bi t count. The count val ue can be re ad by the a lgorithm. The E1538’ s quadratu re position function increme nts a count er value eac h time the re is a t ran[...]

  • Page 26

    22 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Sense Rotational Velocity This me ans that the E1538 wi ll read the rota tional ve locity of a toothed wh eel sensor. The E1538 measure s tooth-to-t ooth period an d converts it into units of revolut ions per s econd (RPS). This functio n can only b e linked to t he E153 8’ s fi rst c hann el[...]

  • Page 27

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 23 • < index_typ e > can b e either of the st rings "MIS Sing", or " EXTRa" • < ch_list > must be the firs t channel on the SCP, but can conta in more than one channel provid ed that each chan nel is on a separat e E1538. See followi ng note. The related Erro[...]

  • Page 28

    24 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Programming Ou tp ut Channels This section d eals with all a spects of pr ogramming out put channe l functi ons. Channels are confi gured for output with t he I/O dir ection swi tches (see "Configu ring Input -Output d irection" on page 6 ). A relate d er ro r mes sage : 3124, "E[...]

  • Page 29

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 25 Variable Width Puls e Per Trigger This means that the channel ge nerates a pul se whose wid th is spec ified by the alg orithm each time the algori thm execute s. The valu e sent by t he algori thm can range f rom 7.87 µ Sec to 7.8 12mSec. The c o mmand s eque nce to set- u p this mode is :[...]

  • Page 30

    26 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Variable Width Pulse Train (PWM) This means t hat t he E1538 ou tputs a conti nuous t rain of pulse s whose l ogic 1 pulse wid th is cont rolled by t he algori thm. The frequ ency is set by a SCPI command bef ore INIT . Use the fol lowing command sequen ce t o set up thi s mode: SOURce:FUNCtion[...]

  • Page 31

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 27 Variable Frequency Fixed Width Pulse Train (FM) This means tha t the E1538 out puts a cont inuous trai n of pulse s whose frequen cy is control led by the algori thm. The logi c 1 level pulse wi dth is set by a SCPI co mmand before I NIT. Use the fol lowing command sequ ence: SOURce:FUNCtion[...]

  • Page 32

    28 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Variable Frequency Square-W ave Pulse Train (FM) This means that the E1538 outputs a cont inuous tr ain of pulse s whose frequen cy is cont rolled by the algorit hm. The the dut y-cycle of the wavefo rm is always 50 %. Use the fol lowing command sequ ence: SOURce:FUNCtion:SQUar e (@< ch_list[...]

  • Page 33

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 29 Rotationally Positioned Pulse Outp ut Thi s means that t he E1538 will genera te pulse s which are positi oned by angle (usuall y shaft a ngle). The rotatio nal pulse function req uires a rotati onal reference , and this is pr ovided by the SENS:RVEL func tion from the SCP’ s first channe [...]

  • Page 34

    30 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Rotational Pu lse Command Usage Use SOURce:FUNCtion:RPULs e (@< ref_ cha nnel >),(@ < ch_list >) to link cha nnels in < ch_ list > to the rot ational p ulse func tion. The ch annel in < ref_channe l > will be linked to the SENS:FUNC:RVEL functi on to pr ovide the rot ati[...]

  • Page 35

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 31 Rot ational Pulse Mode: V ariable Angular Position, Preset Pulse Wid th (by angle) In this m ode, the ang ular posi tion of the pulses is cont rolled by t he algori thm, and the width (durat ion in degr ees) is preset before INI T. See Figure 21.Use the fol lowing command sequ ence: SOURce:F[...]

  • Page 36

    32 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Rot ational Pulse Mode: V ariable Angular Positi on, Preset Pulse Wid th (by time) In this m ode, the ang ular posi tion of the pulses is cont rolled by t he algori thm, and the width (du ration in sec onds) is preset bef ore INIT. See Fig ure 22. Use the fol lowing command sequ ence: SOURce:FU[...]

  • Page 37

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 33 ALG: SCALA R’ALG1’,’ Po s3’,300 preset ch 47’ s pulse pos to 300 ° ALG:UPDATE . INIT start algorithm execution • • calculate values for NewPos(n) • ALG:S CALAR ' ALG1' ,'Pos1 ',New Pos1 lat er, adjus t channel 45 ’ s position w hile algorithm r unning A[...]

  • Page 38

    34 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SOURce:RPULse:POSit ion[:ANGLe] < degrees >,(@< ch_list >), t o preset the angul ar pulse position in degree s. The algor ithm will con trol the pulse durati on. SOUR:RPULse:VARType ANGLe,(@< ch_l ist >) to se t the typ e of value that wil l vary with a lgorithm cont rol (in t[...]

  • Page 39

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 35 Rot ational Pulse Mode: V ariable Pulse Wi dt h (by time), Preset Angular Positi on In this mode, t he pulse durati on (in seconds ) is cont rolle d by the alg orith m, and the a ngular pos ition is preset b efore INI T. See Figure 24. Use the followi ng command sequence : SOURce:FUNCtion:RP[...]

  • Page 40

    36 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SOUR:RPUL SE:POS :ANGL 140, (@146) preset chan nel 46 pulse posit i on to 140 d egree s SOUR:RPUL SE:POS :ANGL 260, (@147) preset chan nel 47 pulse posit i on to 260 d egree s SOUR:RPULSE :VART TIME,(@1 45:147) algori thm will cont rol pulse durati on by TI ME Algorithm outp uts pulses on al l [...]

  • Page 41

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 37 Stepper Motor Control Use the co mmand SOURce:FUNCtion:STEPp er < preset_pos >,< mode >,< max_v el >,< min_vel >,(@ < ch_list >) to contr ol stepper motors. The E1538 can operate 2 or 4 phase motors in full, and half step mod e. Position va lues are sent from t [...]

  • Page 42

    38 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP motor phas e channel group can no t be spli t across SCPs. The algor ithm sends new positi on values t o the fi rst chann el in a motor-gr oup. The algo rithm rea ds the cur rent posi tion value f rom the second ch annel in the motor -group. Example of full st ep, full s peed, 4 phas e stepper [...]

  • Page 43

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 39 Figure 27. Full Step Mode, Full and Half Spe ed, 4-Channel Figure 28. Half Step Mode, Full Speed, 4-Channel[...]

  • Page 44

    40 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Figure 29. Dire ctly Drivi ng 4-Phas e Stepper Motors[...]

  • Page 45

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 41 *RST and *TST (import ant!) The *RST and po wer-on cond ition (t rue also after *TST) for outp ut- configur ed channels wi ll outpu t a logical one (open-dra in output off). You should ke ep this behavior in mind when applyi ng the E1415 to your system. It is b est to hav e your syst em’ s[...]

  • Page 46

    42 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SCPI Command Reference Most of t he E1538’s commands were avai lable si nce its i ntroducti on. A s mall number of commands ar e only avai lable wi th E1538’s b uilt after February 1998. The f ollowing tabl e indicates these new c ommands with an X in the "for newer units only" co[...]

  • Page 47

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 43 [SENSe:]TOTalize:RESet:MODE? (@< channel >) 63 OUTPut:POLarity NORM | INV,(@< ch_l ist >) 46 OUTPut:POLarity ? (@< channe l >) 46 SOURce:FUNC tion:RPULse (@< ref_chan ),(@< ch_list >) 65 SOURce:RPULse:PO Sition[:ANGLe] < degrees >,(@ < ch _list >) 72 SO[...]

  • Page 48

    44 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP INPut:POLarity INPut : POLarity < mode >,< ch_list > sets log i cal inpu t pola rity on a digital SCP channel . Parameters Comment s • If the channel s specifi ed are on an SCP that doesn ’ t support t his funct ion, an error will be gener ated. See your SCP’ s User ’ s Manu[...]

  • Page 49

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 45 INPut:THR eshold [:LEV el] INPut:THReshold[:LEVel] < level >,(@ < ch_l ist >) • allows programmat ically set ting the i nput thr eshold le vel for e ach input configur ed channel . Parameters Comment s • < level > ca n be set t o a resol ution of .3 75V • . While inpu[...]

  • Page 50

    46 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Note Because t he E1538 roun ds < level > to the ne arest mult ip le of 0 .375 , the return ed value ca n be dif ferent from the value sent . • INP:THR:LEV? r eturns a numer ic value b etween -46 and + 46. The C-SCPI type is fl oat32 . • Related Commands: INPut :POLarity, INP:THR:LEVe[...]

  • Page 51

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 47 Parameters Comment s • Channel must speci fy a sing le channel • Retu rned V alue: returns one of NORM or INV . The type is strin g . • Send with VXIpl ug&play Function: hpe14XX_cmdS tring_Q(...) [SENSe:]FREQuency:APER ture [SENSe: ]FREQuency: A PERture < aper tur e >,< ch[...]

  • Page 52

    48 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP [SENSe:]FREQuency:APER ture? [SENSe:]FREQu ency:APERture? < channel > returns the currently set APERture ti me. Parameters Comment s • If the channel speci fied is on an SCP that doesn’ t support this funct ion, an error will be gene rated. See your SCP’ s User’ s Manual for its c[...]

  • Page 53

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 49 exceeds the time-ou t period (i .e. frequenc y below LIMit: LOWer), then a freque ncy of 0 Hz wi ll be ret urned to t he E1415/19 /22 algor ithm. • Typical use for t his command is to allow t he user t o bound the period of time that is allowed f or making a fr equency meas urement, th us,[...]

  • Page 54

    50 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SENSe:FREQuency:LIMit:LOWer? [SENSe:]FREQuency:LIMit:LOWer? <channel> re tu rns th e low er frequ ency limit cu rre n tly set for < channel > Parameters Comment s • < channel > must be a single cha nnel on an E1 538A SCP. • Returned Val ue: .01 667 to 250 , The t ype is fl[...]

  • Page 55

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 51 SENS:FUNC:COND (@1 44:147) [SENSe:]FUNCtion:FREQuency [SENSe:]FUNCtion:FREQuency < ch_list > sets the SENSe func tion to frequen cy for channel s in < ch_li st >. Also conf igures th e channels sp ecified as digi tal inputs. See “Abo ut Period a nd Frequen cy Me asurements ” [...]

  • Page 56

    52 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SENS:PER:MODE • *RST Condition: SENS:FUNC:COND an d INP:POL NORM for all digita l SCP channel s • Send with VXIpl ug&play Function: hpe14XX_cmd(...) Usage See “About Per iod and Fre quency Measurement s” on page 16. SENS:FUNC:P ER (@144) [SENSe:]FUNCtion:PWIDth [SENSe:]FUNCtion:PWID[...]

  • Page 57

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 53 Parameters Comment s • < count_preset > i f include d, allows pr esetting t he absolut e counter associa ted wit h the ch anne l pair . All qua dratu re pairs i n < c h_list > will be prese t to the s ame value. I f not inc luded, the default coun t at algori thm start will be [...]

  • Page 58

    54 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Parameters Com ments • Thi s function c an only be linked to the E153 8’ s first c hannel. The functi on work s fo r wheels that have ei the r a mis si ng, or an ext ra too th to mark the ir index pos ition. Figu re 14 on page 23 sh ows a wheel sens ed with a var iable reluc tance sensor (u[...]

  • Page 59

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 55 SENSe:]FUNCtion:T OT alize [SENSe:]FUNCtion:TOTalize < ch_list > sets the SENSe funct ion to TOT alize for ch anne ls in < ch_list >. S ee “ Total ize P ositi ve or Negat ive E dge State C hanges” on p age 15. Parameters Comment s • The totalize f unction c ounts ri sing ed[...]

  • Page 60

    56 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP [SENSe:]PERiod:APER ture [SENSe: ]PERio d:APERtur e < aperture >,< ch_l ist > sets the t ime allo wed to determ ine sign al period and return a reading to the a lgorithm. W hen APERture is large en ough to contai n more than o ne signal per iod, the SCP measures and averages the num[...]

  • Page 61

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 57 [SENSe:]PERiod:APER ture? [SENSe: ]PERio d:APERtur e? < channel > returns the currently set APERture ti me. Parameters Comment s • If the channel speci fied is on an SCP that doesn’ t support this funct ion, an error will be gene rated. See your SCP’ s User’ s Manual for its ca[...]

  • Page 62

    58 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP the L IMi t:U P Per p eriod , then a perio d of 0 s ec wi ll be re turne d to th e E1415/19/ 22 algorithm. (Note: A p eriod val ue of 0 sec is used as a specia l token th at must be tested for in th e user’s provided E1 415/19/22 a lgorithm.) • Typical use for t his command is to allow t he[...]

  • Page 63

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 59 [SENSe:]PERiod:LIMit:UPPer? [SENSe:]PE Riod:LIMit:UPPer? < channel > r eturns the uppe r pe riod limit curr ently se t for < cha nnel > Parameters Comment s • < channel > must be a single cha nnel on an E1 538A SCP. • RETURNS: .004 to 60 , Type is float 32 . SENSe:PERio[...]

  • Page 64

    60 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SENSe:PERio d:MODE? SENSe:PERiod:MODE? ( @< channel >) ret urns th e meas uremen t interval mode currently set for period measur ement. Parameters Comment s • < channel > must be a single cha nnel on an E1 538A SCP. • RETURNS: String val ue "APER" or "NPER", [...]

  • Page 65

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 61 SENSe:PERio d:NPERiods? SENSe:PERiod:NPE Riods? (@< channel >) returns the number of signal periods the SCP will measure and average to calculate the signal period. Parameters Com ments • < chan nel > mus t be single c hannel on a n E1538A SCP. • RETURNS: uin t32 va lue whic [...]

  • Page 66

    62 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP If SENSe:PERiod :RANGe = 1.0 then s ettings conf lict if 1 .0sec < APERtur e < 4.0sec. If SENSe:PERiod :RANGe = 4.0 then s ettings conf lict if 0 .01sec <= APERt ure < 0.04sec The E1415/1 9/22 drive r will r eport the se Settings Conflicts at INIT iate time with the foll owing erro [...]

  • Page 67

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 63 is tr ig ger e d. • If the cha nnels sp ecifi ed are not on a Freque ncy/T ota lize SCP , an err or will be g enerated . • Related Commands: SENS:FUNC:T OT , INPUT :POLARITY • *RST Condition: SENS:T OT :RESET :MOD E INIT • Send with VXIpl ug&play Function: hpe14XX_cmd(...) Usage [...]

  • Page 68

    64 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP is ON then the FM st ate is OFF . If both t he FM and the PULM states are OFF the n the PULS e channel i s in the sin gle pulse mode. • If the cha nnels sp ecifi ed are not on a Freque ncy/T ota lize SCP , an err or will be g enerated . • Use SOURce: FUNCtion[:SHAPe] :SQUare to se t FM puls[...]

  • Page 69

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 65 SOURce:FUNCtion :RPULse SOURce:FUNCtion:RPULse (@< ref_channel >),(@< ch_list >) links channels in < ch_l ist > to t he rotat ional pulse function. The channel in < ref_channe l > wi ll be lin ked to t he SENS:FUNC:RVEL function to provide the rot ational ref erence i[...]

  • Page 70

    66 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP these ap plicati ons. See Fig ure 30 . • Send with VXIpl ug&play Function: hpe14XX_cmd(...) Usage SENS E:FUNC:RPU LSE (@108),(@11 4,115) reference chan is 108, pulse output o n channel s 114 and 115 SOURce:FUNCtion [:SHAPe]:CONDition SOURce:FUNCtion[:SHAPe]:CONDition (@< ch_l ist >)[...]

  • Page 71

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 67 PULM state is ena bled the n the pulse width mod ulate d mode i s active . If bot h th e FM a n d the P ULM stat es ar e di sa ble d then the P ULS e channel is in the single pu lse mode. • Send with VXIpl ug&play Function: hpe14XX_cmd(...) SOURce:FUNCtion [:SHAPe]:SQUare SOURce:FUNCti[...]

  • Page 72

    68 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP • < mod e > is used t o select the steppi ng mode. the allowable values ar e: Related error message :3127, "Undefi ned E1538 Ste pper motor mod e." • The range of posi tion values tha t an algorit hm can send for the full -speed ("SF") mode is 0 to 65,53 5. • The[...]

  • Page 73

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 69 can be di rectly d riven by t he SCP. See Figu re 29 for a connecti on diagram t hat also shows the r equired us er-suppl ied output pr otectio n components . • < ch_list > speci fies the cha nnels that will co ntrol st epper motor s. The channels refere nced can be on more than one [...]

  • Page 74

    70 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SOURce:PULM:ST A T e? SOURce:PULM[:STATe]? (@< channel >) retur ns the pul se wid th modulated mode state for the PULSe channe l in < channel >. Parameters Comment s Channel must speci fy a sing le channel . • Retu rned V alue: returns 1 ( on) or 0 (of f). The type is int16 . • [...]

  • Page 75

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 71 Usage SOUR: PULS:PER .005,(@1 40) set PWM puls e tra in to 200 Hz on channel 40 SOURce:PULSe:PERiod? SOURce:PULSe:PERiod? (@< channel >) returns th e fixed pulse period value on the pulse width modulat ed pulse channel in < channe l >. Parameters Comment s • If the channels sp [...]

  • Page 76

    72 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP • Send with VXIpl ug&play Function: hpe14XX_cmd(...) Usage SOUR :PULS :WID TH 2. 50E-3, (@1 43) set fixed puls e width of 2.5 mse c on channel 43 SOURce:PULSe:WIDTh? SOURce:PULSe:WIDTh? (@< ch_list >) retur ns the fixe d pul se w idth val ue on a fre quency modula ted pulse channel.[...]

  • Page 77

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 73 Usage SOUR:RPUL SE:POS:A NGL 20,(@145) preset channel 45 pulse position to 20 de g rees SOURce:RPULse:POSition[:ANGLe]? SOURce:RPULse:POS ition[:ANGLe]? (@< chan nel >) returns th e ang ular positi on set for < channel >, Parameters Comment s • < channel > must s pecify a[...]

  • Page 78

    74 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SOUR:RPULSE :VART TIME,(@1 43:144) algori thm will cont rol pulse widt h by TI ME SOUR:RPU Lse:V ART ype? SOUR:RPULse:VARType? (@< channel >) ret urns the type of va lue that will be controll ed (var ied) by t he algori thm. Parameters Comment s • < ch_list > must specify a single[...]

  • Page 79

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 75 260 degr ees SOURce:RPULse:WIDTh[:ANGLe]? SOURce:RPULse:W IDTh[:ANGLe]? (@< channel >) retu rn s the w idth of the ro tatio nal ou tput p u lse cu rre nt ly set for < channel >. Parameters Comment s • < channel > must s pecify a s ingle cha nnel only . Usage SOUR:RPUL SE:[...]

  • Page 80

    76 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP SOURce:RPULse:WIDTh:TIME? SOURce:RPULse:W IDTh:TIME? (@< channel >) retur ns the w idth o f the rota tional o utput puls e currently set for < channel >. Parameters Comment s • < channel > must s pecify a s ingle cha nnel only . Usage SOUR:RPUL SE:WIDT:TIME ? (@147) return t[...]

  • Page 81

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 77 Specifications These spe ci fi cat io ns for t h e E1 538A ref le ct it s perfor manc e whi l e instal le d on your VXI mod ule. General Spe cifications Output Characte ristics Characteri stic Pull -Up Off Pull-Up On (10K to Vcc) current so urce (log ic 1) 0 .38mA @ 1.2V current si nk (log i[...]

  • Page 82

    78 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Totalizer Capacity Minimu m Pulse W idth Frequency Range 24 bits o r 16,777,21 5 500nS 0-100 KHz Frequency M easuremen t Gate Time ( t apert ure ) 1 mS ec to 1 Se co nd, resol uti on Range to Accuracy .01% Resol ution ( Hz) Minimu m Pulse W idth 500 nS 1 f in ----- 1 t apertu re ------- ---- --[...]

  • Page 83

    Agilent E1 538A Enhanc ed Frequency/Totali ze/PWM S CP 79 Auto-Gating (adaptiv e aper ture) 1mSec to 1Sec for Frequency 1mSec to 1Sec for Perid (using SENS:PER:RANGE 1) 4mSec to 4Sec for Perid (using SENS:PER:RANGE 4) Rotational Velocity Mea sure Characteris tics Extra Tooth Wheel or Missing Tooth Whee l Range in RPS to Accuracy .0 1% Reso luti on [...]

  • Page 84

    80 Agilent E1538A Enhanced Fr equency/Totalize/PWM SCP Rotational Pulse Source C haracteristics Extra Too th Wheel Missi ng Tooth W heel Positio n angle ran ge -33.554.4 30 to 33,55 4.430 Position resolutio n 1 degree up to 10,0000 RPS Position width range (ang le) 0 to 360 d egrees Puls e wi dth r esol uti on (ang le) the larger of or Pulse width [...]