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 205 PFDIVFLOATING POINT NUMBER DIVISIONFUN 205 PFDIVSa: DividendSb: DivisorD : Destination register to store the resultsof the divisionSa, Sb, D may combine with V, Z, P0~P9 toserve indirect addressingRangeOperandHR ROR DR K XRR0∣R3839R5000∣R8071D0∣D4095FloatingpointnumberV、ZP0~P9Sa ○ ○ ○ ○ ○Sb ○ ○ ○ ○ ○D ○ ○* ○ ○Description• The format of floating point number of Fatek-PLC follows the IEEE-754 standard. For detail explanation ofthe format please refer to 5.3 (Numbering System) page 5-9.• Performs the division of the data specified at Sa and Sb and writes the result to the registers specified byregister D when the division control input "EN" =1 or "EN↑" ( P instruction) from 0 to 1. If the result exceedthe range that the floating point number can be expressed(±3.4*10 38 ) then the error flag FO0 will be setto 1 and the D register will be intact.X5EN205P.FDIVSa : R0Sb : R2ERRD :R47-131

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

Saved successfully!

Ooh no, something went wrong!