13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Advanced Function <strong>Instruction</strong>FUN107 D PT_FILTABLE FILLFUN107 D PT_FILRs : Source data to fill, can be a constant or a registerTd : Starting register of destination tableL :Table lengthRs, Td may combine with V, Z, P0~P9 to serve indirectaddress applicationOperandRangeWX WY WM WS TMR CTR HR IR OR SR ROR DR K XRWX0∣WX240WY0∣WY240WM0∣WM1896WS0∣WS984T0∣T255C0∣C255R0∣R3839R3840∣R3903R3904∣R3967R3968∣R4167R5000∣R8071D0∣D409516/32-bit+/-numberP0~P9Ts ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○Td ○ ○ ○ ○ ○ ○ ○ ○* ○* ○ ○L ○ ○* ○ 2~256V、Z• When fill control "EN" = 1 or "EN↑" ( P instruction) has a transition from 0 to 1, the Rs data will be filled into allthe registers of the table Td.• This instruction is mainly used for clearing the table (fill 0) or unifying the table (filling in the same values). Itshould be used with the P instruction.X0EN TS :Td :L :107P.T_FIL5555R 010• The instruction at left will fill 5555 into the whole tableTd. The results are as shown in the diagram below.TdTdR0 1547 R0 5555R1 2314 R1 5555R2 7725 R2 5555Rs R3 0013 X0= R3 55555555 R4 5247 R4 5555R5 1925 R5 5555R6 6744 R6 5555R7 5319R7 5555R8 9788 R8 5555R9 2796 R9 5555Before executionAfter execution7-91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!