II-36
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 5: PERIPHERAL CIRCUITS (SVD Circuit and Heavy Load Protection Function)
TI2HLO:AND
MX,XNOTHL
;
;
LD
X,76H
;
AND
MX,0011B
;
;
TI2RT: RET
;
TI21:
AND
MX,XTISF XOR 0FH ;
CALL
CK
;
;
RET
;
HLOFDLF = "1": Reset heavy load protection
flag set
Release heavy load protection mode
and fix BLS to "0"
Return to parent routine
TISF = "1": Reset the TIS flag
Execute basic timer "CK"
Return to parent routine
See page 42, "Example of using output ports" for details on
BZ control.
1. When the heavy load protection mode is set, the heavy
load protection flags must be reset.
2. BLS is fixed to "0" when the heavy load protection mode is
released, because the BLD result is not fed back to BLS
through the AND instruction.
Notes
(2) Method without using flags (S1C6S3L2/6S3B2)
When heavy load protection mode is set, this will be routine
"HLONBZ" which switches BZ ON and routine "BZHLOF"
which stop BZ then releases the heavy load protection mode.
Note, however, that unlike item (1) above, it does not use
flags.
BLS is used to release the heavy load protection mode with-
out using flags. After the heavy load drive terminates, the
BLS is set ON and OFF, and then the heavy load protection
mode is released.
Specifications
HLONBZ:LD
X,76H
;
OR
MX,1000B
;
LD
X,7CH
;
OR
MX,0001B
;
RET
;
;
;
BZHLOF:LD
X,7CH
;
AND
MX,1110B
;
LD
X,76H
;
Set the heavy load protection mode
Switch BZ ON
Return to parent routine
Stop BZ
BLS
ON
Program
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......