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>FUN 213 PFABSFLOATING POINT NUMBER ABSOLUTE VALUEFUN 213 PFABSD : Register to be taken absolute valueD may combine with V, Z, P0~P9 to serve indirectaddress applicationRange HR ROR DR K XROperandR0∣R3839R5000∣R8071D0∣D4095Integer16 BitnumberV、ZP0~P9D ○ ○* ○ ○Description• The format of floating point number of Fatek-PLC follows the IEEE-754 standard. For detail explanation of theformat please refer to 5.3 (Numbering System) page 5-9.• When operation control "EN" = 1 or "EN↑" ( P instruction) from 0 to 1, calculate the absolute value of thefloating point number register specified by D, and write it back into the original D register.X0EN213P.FABSR0• The instruction at left calculates the absolutevalue of the DR0 register, and stores it back inDR0.7-140

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

Saved successfully!

Ooh no, something went wrong!