Sunteți pe pagina 1din 3

1.

DIFU(013) turns the designated bit ON for one cycle when the eecution condition goes
fro! OFF to ON (rising edge).
Function " #hen the eecution condition goes fro! OFF to ON$ DIFU(013) turns % ON. #hen
DIFU(013) is reached in the net cycle$ % is turned OFF.
&. 'I( or 'I()(**0) o+erates a decre!enting ti!er with units of 0.1,s.
Function " #hen the ti!er in+ut is OFF$ the ti!er s+ecified by N is reset$ i.e.$ the ti!er-s ./ is
reset to the 0/ and its 1o!+letion Flag is turned OFF.
2#hen the ti!er in+ut goes fro! OFF to ON$ 'I(3'I()(**0) starts decre!enting the ./. 'he
./ will continue ti!ing down as long as the ti!er in+ut re!ains ON and the ti!er-s 1o!+letion
Flag will be turned ON when the ./ reaches 0.
2'he status of the ti!er-s ./ and 1o!+letion Flag will be !aintained after the ti!er ti!es out.
'o restart the ti!er$ the ti!er in+ut !ust be turned OFF and then ON again or the ti!er-s ./
!ust be changed to a non,4ero 5alue (by (O/(0&1)$ for ea!+le).
2'he setting range for the set 5alue (0/) is 0 to 666.6 s for 'I( and 0 to 7$**3.* s for
'I()(**0).
2'he ti!er accuracy is ,0.01 to 0 s.
3. ''I((089)3''I()(***) o+erates an incre!enting ti!er with units of 0.1,s.
Function " #hen the ti!er in+ut is ON$ ''I((089)3''I()(***) incre!ents the ./.
#hen the ti!er in+ut goes OFF$ the ti!er will sto+ incre!enting the ./$ but the ./ will
retain its 5alue. 'he ./ will resu!e ti!ing when the ti!er in+ut goes ON again. 'he
ti!er-s 1o!+letion Flag will be turned ON when the ./ reaches the 0/.
2'he status of the ti!er-s ./ and 1o!+letion Flag will be !aintained after the ti!er
ti!es out. 'here are three ways to restart the ti!er" the ti!er-s ./ can be changed to a
non,4ero 5alue (by (O/(0&1)$ for ea!+le)$ the reset in+ut can be turned ON$ or
1N%(*:*)31N%)(*:9) can be eecuted.
'he setting range for the set 5alue (0/) is 0 to 666.6 s for ''I((089) and 0 to 7$**3.* s
for ''I()(***).
'he ti!er accuracy is ,0.01 to 0s.
:. ;< " =dds :,digit (single,word) <1D data and3or constants.
Function "
;<(:0:) adds the <1D 5alues in =u and =d and out+uts the result to %.
*. >?@ " In+ut co!+arison instructions co!+are two 5alues (constants and3or the contents of
s+ecified words) and create an ON eecution condition when the co!+arison condition is
true.
In+ut co!+arison instructions are a5ailable to co!+are signed or unsigned data of one,
word or double length data.
Functioni
'he in+ut co!+arison instruction co!+ares 01 and 0& as signed or unsigned 5alues and creates an
ON eecution condition when the co!+arison condition is true.
'he in+ut co!+arison instructions are treated Aust liBe the @D$ =ND$ and O% instructions to control
the eecution of subseCuent instructions.
7. ;:00 " =dds :,digit (single,word) headeci!al data and3or constants.
9. D?@ " In+ut co!+arison instructions co!+are two 5alues (constants and3or the contents of
s+ecified words) and create an ON eecution condition when the co!+arison condition is
true.
In+ut co!+arison instructions are a5ailable to co!+are signed or unsigned data of one,
word or double length data.
8. 0IENFD <IN=%G 0U<'%=1' #I'HOU' 1=%%G " 0ubtracts :,digit (single,word)
headeci!al data and3or constants.
Fungsi " ,(:00) subtracts the binary 5alues in 0u fro! (i and out+uts the result to %.
#hen the result is negati5e$ it is out+ut to % as a &-s co!+le!ent.
8*&7
(o5 (0&1) " 'ransfer data dari satu te!+at Be Bata tertentu. 'ransfer Bata data untuB Bata
tertentu.
1ontoh " (O/ (0&1) transfer 0 Be D. IiBa 0 adalah sebuah Bonstanta$ nilai da+at digunaBan
untuB +engaturan data.
(O/ (0&1) !e!iliBi 5ariasi !enyegarBan langsung (J (O/ (0&1)). Unit 1.U <uilt,in !asuBan
bit da+at ditentuBan untuB 0 dan bit out+ut eBsternal da+at ditentuBan untuB D. bit in+ut yang
digunaBan untuB 0 aBan disegarBan sebelu!$ dan bit out+ut yang digunaBan untuB D aBan
disegarBan setelah eBseBusi.
KetiBa 0atuan 1.U <uilt,in in+ut ditentuBan untuB 0$ nilai 0 aBan di,refresh BetiBa instruBsi ini
diAalanBan dan di+indahBan Be D. KetiBa out+ut eBsternal ditentuBan untuB D$ nilai 0 aBan
ditransfer Be D dan langsung out,refresh BetiBa instruBsi diAalanBan. Hal ini Auga !e!ungBinBan
untuB di,!enyegarBan 0 dan Beluar refresh D +ada saat yang sa!a.

S-ar putea să vă placă și