! STATES devices have SSDNs that are constructed
as shown below. Also see
! the example entry for details on the otther attributes of the database
! entry. Contact Brian Hendricks with any questions.
!
! See console page D88 (and its help) for more on the States front-end.
!
! SSDN: NN06/00XX/min/max
!
! NN - reserved: use 00 normally
! legacy clients (identified by
a 01 here) are: frig and tlg...
! this indicates their state-change
requests assume byte-wide values instead of newer word-wide values
! 06 - reserved: specifies the STATES front-end
!
! 00 - reserved for future use
! XX - usage typecode: 0 = usual; 1 = user configured
!
! min - number of minimum state [0 - 0xFFFF], 0 is the NULL state
!
! max - number of maximum state [0 - 0xFFFF], 0 is the NULL state
!
! Setting and reading properties have unitary scaling.
! Basic setting and control contains ON/OFF which ALLOWS/DISALLOWS
! state changes for the virtual FSM represented by that device.
!
! Reading and Setting lengths are 2.
!
ADD V:TSCRAP ( 'State of Tev scraping ' , CFSS , , 7FFFFFE )
! ^name ^descriptive text is your choice ^default
! the name should be of the form: V:xxxxxx, where 'xxxxxx' is your
choice
!
SSDNHX READNG (0006/0000/0001/0002)
PRO READNG ( 2 , 2 , 60 )
SSDNHX BASTAT (0006/0000/0001/0002)
PRO BASTAT ( 2 , 2 , 60 )
SSDNHX BCNTRL (0006/0000/0001/0002)
PRO BCNTRL ( 2 , 2 , 60 , 2 , 0 )
! ^ ^
! |-- need initial control value ("on")
SSDNHX SETTNG (0006/0000/0001/0001)
PRO SETTNG ( 2 , 2 , 60 , 0 )
! ^
! |-- need initial setting (e.g. 0)
!
PDB READNG ( 'fsmS' , 'fsmS' , 20 , 0 , 2 , 0 , 0 , 0 , 0.000000E+00
,
0.000000E+00)
PDB BASTAT ( 01 , 00 , 00000001 , 00000000 , 00000000 , 00000000 ,
2 ,
00000000 , 00000000 , 00000000 , 00000000 )
PRO EXTEXT ( 1, 0, 4, "No ", 2, "Yes ", "State transition enabled")
PDB BCNTRL ( 06 , 00000000 , 00000002 , 00000001 , 00000000 , 00000000
,
00000000 , 00000000 )
PDB SETTNG ( 'fsmS' , 'fsmS' , 20 , 0 , 2 , 0 , 0 , 2 , 0.000000E+00
,
0.000000E+00)
PRO SAVE( 10 , 0000 , 0000 , READNG )
! ^
! |the save list IDs can be viewed on D80 (pgm_tools)
! !consult an Operations specials for picking the appropriate ID
Security, Privacy, Legal