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.

Advanced Function <strong>Instruction</strong>FUN 37 D PZNCMPZONE COMPAREFUN 37 D PZNCMPS : Register for zone comparisonSU : The upper limit valueSL : The lower limit valueS, SU, SL may combine with V, Z,P0~P9 to serve indirect addressapplicationOperandRangeWX 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~P9S ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○SU ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○SL ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○V、Z• When operation control "EN" = 1 or "EN↑" ( P instruction) changes from 0 to 1, compares S with upperlimit SU and lower limit SL. If S is between the upper limit and the lower limit (S L≦S≦S U), then set theinside zone flag "INZ" to 1. If the value of S is greater than the upper limit S U, then set the higher thanupper limit flag "S>U" to 1. If the value of S is smaller then the lower limit S L, then set the lower than lowerlimit flag "S

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

Saved successfully!

Ooh no, something went wrong!