# Durant Ambassador Series Count Control Model 57601-400.

STXPOLL		>%02X\a
STXWRITE	>%02X\a
ETXPOLL		%02X\c(3,0,1,0)\r
ETXWRITE	%02X\c(3,0,1,0)\r

First
        Poll LPG
        Read (\w)\r
        String Initialize[2] $1

Input
	Poll RCD2
	Read AT\x20+(\d+)\x20%02X\c(3,0,1,0)\r
	Real Count $1

Counter
	Write RST
	Word Reset

	Write STP
	Word Hold

	Write RSM
	Word Resume

Program
	Write LPG
	Word Lock

	Write UPG
	Word Unlock
