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.

AppendicesInstruction Mnemonic Code Symbol/Operand Function LocationFAILUREPOINTDETECTIONExecutionconditionFPD 269 Output RequiredFPD(269) Diagnoses a failure in an instruction block by monitoring thetime between execution of FPD(269) and execution of aC diagnostic output and finding which input is preventing anoutput from being turned ON.TTime monitoring function:RStarts timing when execution condition A goesON. Generates a non-fatal error if output Bisn't turned ON within the monitoring time.C: Control wordT: Monitoring timeR: 1st registerwordExecutioncondition ANext instruction blockLogic diagnosis block*Logic diagnosisexecution condition CTRError-processingblock (optional)Logic diagnosis functionDetermines which input in Cprevents output B from going ON.Diagnostic output BA-1 Instruction Functions AppA-1-29Other InstructionsInstruction Mnemonic Code Symbol/Operand Function LocationSET CARRYCLEARCARRYSELECT EMBANKSTC@STCCLC@CLCEMBC@EMBCExecutioncondition040 Sets the Carry Flag (CY). Output RequiredSTC(040)041 Turns OFF the Carry Flag (CY). Output RequiredCLC(041)281 Changes the current EM bank. Output RequiredEMBC(281)NN: EM banknumberA-1-29 Other InstructionsEXTENDMAXIMUMCYCLE TIMEWDT@WDT094 Extends the maximum cycle time, but only for the cycle in whichWDT(094) this instruction is executed.TOutputRequiredT: Timer settingSAVE CON-DITIONFLAGSLOAD CON-DITIONFLAGSCONVERTADDRESSFROM CVCCS@CCSCCL@CCLFRMCV@FRMCV282 Saves the status of the condition flags. Output RequiredCCS(282)283 Reads the status of the condition flags that was saved. Output RequiredCCL(283)284 Converts a CV-series PLC memory address to its equivalentFRMCV(284) CS/CJ-series PLC memory address.SDS: Word containingCV-seriesmemory addressD: DestinationIndex RegisterOutputRequired<strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>A-67

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

Saved successfully!

Ooh no, something went wrong!