13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Basic Function <strong>Instruction</strong>FUN 9 D PMOV/SymbolMOVE INVERSE(Inverts the data of S and moves the result to a specified device D)OperandFUN 9 D PMOV/S: Source register numberD: Destination register numberS, N, D may combine with V, Z, P0~P9 to serveindirect addressingRangeOperandWX WY WM WS TMR CTR HR IR OR SR ROR DR K XRWX0∣WX240WY0∣WY240WM0∣WM1896WS0∣WS984T0∣T255C0∣C255R0∣R3839R3840∣R3847R3904∣R3967R3968∣R4167R5000∣R8071D0∣D409516/32-bit+/− numberP0~P9S ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○D ○ ○ ○ ○ ○ ○ ○ ○* ○* ○ ○V、ZDescription●Inverts the data of S (changes the status from 0 to 1 and from 1 to 0) and moves the results to a specifiedregister D when the move control input "EN" =1 or "EN↑" ( P instruction) from 0 to1.ExampleMoves the inverted data of a 16-bit register to another 16-bit register.Ladder Diagram Key Operations Mnemonic CodesX0EN9.MOV/S : R 0D : WY 8ORG ORG X 0FUN 9S: R 0D: WY 8B15B0S R0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 5555H X0=1Y23Y8↓↓D WY8 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 AAAAH6-24

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

Saved successfully!

Ooh no, something went wrong!