Contec BX-100n-DC5000-C01 User Manual page 140

Ipc series box-pc for bx100n series
Table of Contents

Advertisement

7. Appendix
;------------------------------------------
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
;================================
;<WDT START : counter set and a start >
;================================
;---------------------------------------------
;Enter the extended function mode
;---------------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
;------------------------------------------------
;Select logical device WDT(number 8)
;------------------------------------------------
MOV DX,2EH
MOV AL,07H
OUT DX,AL
MOV DX,2FH
MOV AL,08H
OUT DX,AL
;------------------------------------------------------
;Set time of WDT and start to count down
;------------------------------------------------------
MOV DX,2EH
MOV AL,F6H
OUT DX,AL
MOV DX,2FH
;----------------------------------------------------------------------------------
;The data of an example is 15 seconds.(01H=1sec.- FFH=255sec.)
MOV AL,0FH
; 0FH = 15Sec.
;-----------------------------------------------------------------------------------
OUT DX,AL
;-----------------------------------
;Exit the extended function mode
;-----------------------------------
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
;==============
;<WDT STOP>
;==============
;-----------------------------------
;Enter the extended function mode
;-----------------------------------
MOV DX,2EH
MOV AL,87H
133
BX-100n User's manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bx-100n-dc5121-c01Bx-100n-dc5000-c02Bx-100n-dc5311-c02

Table of Contents