330 !
340 OUTPUT 707;":MENU 1,3"
350 !
360 ! Create a 5 level trigge r specification with the trigger on the
370 ! fourth level.
380 !
390 OUTPUT 70 7;":MACHINE1:STR IGGER:SEQUENCE 5 ,4"
400 !
410 ! Define pattern terms A, B, C, D, and E to be 11, 22, 33 , 44 and 59
420 ! decimal respectively.
430 !
440 OUTPUT 70 7;":MACHINE1:STR IGGER:TERM A,’SC OUNT’,’11’"
450 OUTPUT 70 7;":MACHINE1:STR IGGER:TERM B,’SC OUNT’,’22’"
460 OUTPUT 70 7;":MACHINE1:STR IGGER:TERM C,’SC OUNT’,’33’"
470 OUTPUT 70 7;":MACHINE1:STR IGGER:TERM D,’SC OUNT’,’44’"
480 OUTPUT 70 7;":MACHINE1:STR IGGER:TERM E,’SC OUNT’,’59’"
490 !
500 ! Define a Range having a lower limit of 50 and an upper limit of 58.
510 !
520 OUTPUT 70 7;":MACHINE1:STR IGGER:RANGE1 ’SC OUNT’,’50’,’58’"
530 !
540 ! ***************** CONFIGURE SEQUENCE LEVEL 1 ***************************
550 ! Store N OSTATE in level 1 and Then find resource term "A " once.
560 !
570 OUTPUT 70 7;":MACHINE1:STR IGGER:STORE1 ’NO STATE’"
580 OUTPUT 70 7;":MACHINE1:STR IGGER:FIND1 ’A’, 1"
590 !
600 ! ***************** CONFIGURE SEQUENCE LEVEL 2 ***************************
610 ! Store RANGE1 in level 2 and Then find resource term "E" once.
620 !
630 OUTPUT 70 7;":MACHINE1:STR IGGER:STORE2 ’IN _RANGE1’"
640 OUTPUT 70 7;":MACHINE1:STR IGGER:FIND2 ’E’, 1"
650 !
660 ! ***************** CONFIGURE SEQUENCE LEVEL 3 ***************************
670 ! Store NOSTATE in level 3 and Then find term "B" once.
680 !
690 OUTPUT 70 7;":MACHINE1:STR IGGER:STORE3 ’NO STATE’"
700 OUTPUT 70 7;":MACHINE1:STR IGGER:FIND3 ’B’, 1"
710 !
720 ! ***************** CONFIGURE SEQUENCE LEVEL 4 ***************************
730 ! Store a combination of resource terms (C or D or RANGE1) in level 4 and
740 ! Then Trigger on resource term "E."
750 !
760 OUTPUT 70 7;":MACHINE1:STR IGGER:STORE4 ’(C OR D OR IN_RANG E1)’"
770 !
Programming Examples
Making a State Analyzer Measurement43–6