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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

AppendicesA-1-26Clock InstructionsInstruction Mnemonic Code Symbol/Operand Function LocationCALENDARADDCADD@CADDExecutioncondition730 Output RequiredCADD(730) Adds time to the calendar data in the specified words.CTRCC+1C+2MinutesDayYearSecondsHourMonthCALENDARSUBTRACTCSUB@CSUBC: 1st calendarwordT: 1st time wordR: 1st result wordTT+1RR+1R+2Minutes SecondsHoursMinutesDayYearSecondsHourMonth731Subtracts time from the calendar data in the specified words.Output RequiredCSUB(731)CTRC: 1st calendarwordT: 1st time wordR: 1st result wordCC+1C+2TT+1RR+1R+2MinutesDayYear−SecondsHourMonthMinutes SecondsHoursMinutesDayYearSecondsHourMonthA-1 Instruction Functions AppA-1-26 Clock InstructionsHOURS TOSECONDSSEC@SEC065 Output RequiredSEC(065)Converts time data in hours/minutes/seconds formatto an equivalent time in seconds only.SDMinutes SecondsHoursS: 1st sourcewordD: 1st destinationwordSecondsSECONDSTO HOURSHMS@HMS066 Output RequiredConverts seconds data to an equivalent time inHMS(066)hours/minutes/seconds format.SDSecondsS: 1st sourcewordD: 1st destinationwordMinutes SecondsHours<strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>A-65

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

Saved successfully!

Ooh no, something went wrong!