99
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
When the source data’s highest bit (16 bits: b15, 32 bits: b31) is 1, it is seemed to negative
number.
The comparison of 32 bits counter should use 32 bits instruction. If using 16 bits instruction,
the program or operation will be error.
Example: forbid the outputs when it reaches the certain time. In the below program, when the
date is June 30
th
, 2012, all the outputs will be disabled. The password 1234 is stored in
(D4000, D4001). When the password is correct, all the outputs are enabled.