13.07.2015 Views

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AppendicesInstruction Mnemonic Code Symbol/Operand Function LocationSCALING 2SCL2@SCL2Executioncondition486 Output RequiredSCL2(486)Converts signed binary data into signed BCD data accordingto the specified linear function. An offset can be input inS defining the linear function.Positive OffsetNegative OffsetP1R (signed BCD)R (signed BCD)RS: Source wordP1: 1st parameterwordR: Result wordOffsetΔXΔYΔXΔYS (signed binary)OffsetS (signedbinary)P1P1 + 1P1 + 2OffsetΔYΔX(Signed binary)(Signed binary)(Signed BCD)Offset of 0000R (signed BCD)Offset = 0000 hexΔXΔYS (signedbinary)SCALING 3SCL3@SCL3487 Output RequiredSCL3(487)Converts signed BCD data into signed binary data accordingto the specified linear function. An offset can be input inS defining the linear function.P1Positive OffsetNegative OffsetRR (signed binary)R (signed binary)Max conversionS: Source word Max.P1: 1st parameter conversionwordR: Result wordΔYΔYMin.conversionΔXOffset OffsetS (signed BCD)Min. conversionΔXS (signed BCD)Offset of 0000R (signed binary)Max.conversionΔYΔXMin. conversionS (signed BCD)A-52 <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>

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

Saved successfully!

Ooh no, something went wrong!