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 206 PFCMPFLOATING POINT NUMBER COMPAREFUN 206 PFCMPSa: The register to be comparedSb: The register to be comparedSa, Sb may combine with V, Z, P0~P9 to serveindirect addressing.RangeOperandHR ROR DR K XRR0∣R3839R5000∣R8071D0∣D4095FloatingpointnumberV、ZP0~P9Sa ○ ○ ○ ○ ○Sb ○ ○ ○ ○ ○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.• Compares the data of Sa and Sb when the compare control input "EN" =1 or "EN↑" ( P instruction) from 0to 1. If the data of Sa is equal to Sb, then set FO0 to 1. If the data of Sa>Sb, then set FO1 to 1. If the dataof Saba

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

Saved successfully!

Ooh no, something went wrong!